Untangling MQTT Broker values #1764
-
The physical distance from my camera/sensor head to the R-Pi running INDI-AllSky (in the observatory) is too far for I2C or One-Wire interfaces to be reliable. So I have a little Arduino in the sensor head connected to the relevant sensors, and it sends its data via an MQTT Broker on another Pi in the observatory. There are 5 variables from both a SHT31 mounted outside and a Melexis medium beamwidth IR sensor inside. They are external temperature and RH, plus computed dew point, internal temperature and the IR temperature of the dome (the emissivity of acrylic is close to 1 in the region of the iR used by the Melexis sensor and I've verified it gives a representative temperature). As far as I understand the Sensors tab I must put all the MQTT parameters in one slot (so I have the 5 parameters named in the Label filed, and the 5 topics in the Pin/Port field, all associated with Sensor A slot (User Slot 10). In the Charts I can only find 4 of these parameters (and I haven't found out how to show the 5th), but in each case they are identified as "MSTT Broker - [list of parameters] - Value 1" etc. I don't see how I can extract either the dew point or the humidity to use to drive the dew heater. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
There is just currently a limit of 4 custom graph slots. I could add another graph or two. If one of the MQTT values is the dew point, you should be able to configure that MQTT value slot on the dew heater configuration as the data value to use for the thresholds. Assuming the MQTT sensor is configured for slot 10, the MQTT sensor will return 5 values, starting at slot 10. The 5 values will be in slots 10, 11, 12, 13, and 14. |
Beta Was this translation helpful? Give feedback.
There is just currently a limit of 4 custom graph slots. I could add another graph or two.
If one of the MQTT values is the dew point, you should be able to configure that MQTT value slot on the dew heater configuration as the data value to use for the thresholds. Assuming the MQTT sensor is configured for slot 10, the MQTT sensor will return 5 values, starting at slot 10. The 5 values will be in slots 10, 11, 12, 13, and 14.