publish MQTT topic on indi-allsky MQTT sensors chart #1531
-
Hi, the goal is graph on indi-allsky graph the data from a remote sensor through MQTT. To simulate the publish of sensor data, I'm using an app on iphone, like mqttanalyser and easymqtt. The mosquitto was installed on the indi-allsky with the install script and connection with username and password is fine from the app MQTTAnalyzer or Easymqtt, however the data published with topic like "sensor/temp" and payload: 24 is not graphed on indi-allsky. Once this will work, I will enable the real sensors and mqtt on esp32 . Please , if you can advice how to correctly configure in order to receive and graph MQTT data on indi-allsky from a remote mqtt publisher sensor? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I tried again with mqtt from esp32 with dht11 sensor and data arrives correctly on mqtt indi-allsky, but is not present on charts graph ( the password is changed in the next log.: raspberry indi-allsky side: and on esp32 side: |
Beta Was this translation helpful? Give feedback.
-
all good,the the MQTT data from esp32 with dht11 sensor is on the charts now.The data with two different topics to indi-allsky mqtt as "floats", one for temp and one for humidity and without other information, then on indi-allsky are configured both topics in "PIN" field of MQTT broker sensor, separated by ",". |
Beta Was this translation helpful? Give feedback.
all good,the the MQTT data from esp32 with dht11 sensor is on the charts now.The data with two different topics to indi-allsky mqtt as "floats", one for temp and one for humidity and without other information, then on indi-allsky are configured both topics in "PIN" field of MQTT broker sensor, separated by ",".
Next the topics, the data received from CLI:
pi@astro:~ $ mosquitto_sub -h localhost -t "esp32/dht11/temp" -u "indi-allsky" -P "password"
23.00
23.00
pi@astro:~ $ mosquitto_sub -h localhost -t "esp32/dht11/hum" -u "indi-allsky" -P "password"
17.00
17.00