OpenMarine
Node-red DHT send to KPLEX - Printable Version

+- OpenMarine (http://forum.openmarine.net)
+-- Forum: OpenPlotter (http://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (http://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: Node-red DHT send to KPLEX (/showthread.php?tid=1533)



Node-red DHT send to KPLEX - blacktoli - 10-08-2018

Hi,

I am trying to send the temperature and humidity to kplex, but no success, I tried to send UDP message to port 55559, and 10110, but kplex debug do not see them!

Is there a special function to make, for the json format or something?

Here is the message I receive from the DHT22:

Code:
{"topic":"rpi-dht22","payload":"24.70","_msgid":"d00c3f25.92dab","humidity":"39.90","location":"dht","sensorid":"dht22"}

Thank you for your help,


RE: Node-red DHT send to KPLEX - abarrow - 10-08-2018

Kplex is looking for an NMEA string. The strings for Air Temperature and Humidity are obsolete, unfortunately.

Read about it here: http://www.catb.org/gpsd/NMEA.html


RE: Node-red DHT send to KPLEX - blacktoli - 10-08-2018

Thank you Abarrow,

So how can I use my dht sensor?


RE: Node-red DHT send to KPLEX - MatsA - 10-10-2018

Hi ! You should link the measured values to a SignalK path. Please check these posts

https://pysselilivet.blogspot.com/2018/07/signalk-measuring-temperature.html

https://pysselilivet.blogspot.com/2018/09/exhaust-temperature-measure-boat.html

they will probably help You. /Mats