Geschrieben May 2, 2019 at 17:462. Mai 2019 Hi all, how can multiple stations oder sensors be distinguished in callback mode? Right now I have one sensor running using tinkerforge_mqtt. Output: mosquitto_sub -t 'tinkerforge/callback/outdoor_weather_bricklet/Ehg/sensor_data' {"identifier": 164, "temperature": 118, "humidity": 57} Is the datastructure going to change when another sensor starts sending?
Geschrieben May 3, 2019 at 09:433. Mai 2019 Hi, You can distinguish multiple sensors and stations with the identifier field. If another sensor starts sending, it should change from 164 to another value.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.