This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Node-red DHT send to KPLEX
#1
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,
Reply
#2
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
Reply
#3
Thank you Abarrow,

So how can I use my dht sensor?
Reply
#4
Hi ! You should link the measured values to a SignalK path. Please check these posts

https://pysselilivet.blogspot.com/2018/0...ature.html

https://pysselilivet.blogspot.com/2018/0...-boat.html

they will probably help You. /Mats
________________________________________

Blog; https://pysselilivet.blogspot.com/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)