Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

influxdb send sensor by id is not working #882

Closed
lfarkas opened this issue May 24, 2018 · 1 comment
Closed

influxdb send sensor by id is not working #882

lfarkas opened this issue May 24, 2018 · 1 comment

Comments

@lfarkas
Copy link

lfarkas commented May 24, 2018

this is the code snippet from influxdb.ino:

bool idbSend(const char * topic, unsigned char id, const char * payload) {
    char measurement[64];
    snprintf(measurement, sizeof(measurement), "%s,id=%d", topic, id);
    return idbSend(topic, payload);
}

it's clear that it's only change the measurement and do nothing with this result. it should have to send the measurement as the topic in the last line.

@xoseperez
Copy link
Owner

You are right. Fixed in dev. Thank you!

@xoseperez xoseperez added this to the 1.12.7 milestone May 26, 2018
@xoseperez xoseperez self-assigned this May 26, 2018
@xoseperez xoseperez modified the milestones: 1.12.7, 1.13.0 Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants