Closed mvtkurd closed 3 years ago
The problem is that you named the InfluxDBClient object and the PubSubClient object the same thing… “client” if you change the name and references for one of them to something different (like “iclient” for the influx one) it should work. This is not caused by a bug in this library, you should be able to close this issue.
The problem is that you named the InfluxDBClient object and the PubSubClient object the same thing… “client” if you change the name and references for one of them to something different (like “iclient” for the influx one) it should work. This is not caused by a bug in this library, you should be able to close this issue.
oh kind of stupid mistake (= Thank you
Not stupid, easy to overlook, I almost made that exact same mistake using MQTT and InfluxDB together last week. If it wasn’t so fresh in my head I probably would have overlooked it myself.
Not stupid, easy to overlook, I almost made that exact same mistake using MQTT and InfluxDB together last week. If it wasn’t so fresh in my head I probably would have overlooked it myself.
So I'm glad you experienced it (=. And thanks for sharing and one more question(_) do you have any experience about configuration of data bridge plugin like Telegraf in influxdb?
I am struggling with that myself, that’s the reason I opted to send directly to Influx along with MQTT. With my solar powered project it adds about 200 extra milliseconds to each run that I’d love to shave off!
I am struggling with that myself, that’s the reason I opted to send directly to Influx along with MQTT. With my solar powered project it adds about 200 extra milliseconds to each run that I’d love to shave off!
so we are in common , I tried to config telegraf and other Py scripts to handle this issue but no result till now . let me know if you find something to solve it . Thanks
hi guys. I have a project which is sending data of sensors to a webserver( by http messaging protocol) and change the triggers of them on a MQTT server. and finally send these data to influxdb. these sketches work correctly when they are separate but when I combined them , I got this error : conflicting declaration 'PubSubClient client' would you please help me to overcome this isuue. here's my code: