sinuswave Geschrieben May 2, 2019 at 17:46 Geschrieben May 2, 2019 at 17:46 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? Zitieren
rtrbt Geschrieben May 3, 2019 at 09:43 Geschrieben May 3, 2019 at 09:43 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. Zitieren
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.