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
W1 Sensors and Node Red
#1
My idea is to use DHT22 or DS18B20 sensors and/or 433MHz external sensors to inject their messages into the SignalK Server stream.


There are different modules in Node Red for the DS18B20 sensor
node-red-contrib-ds18b20
node-red-contrib-ds18b20-sensor
node-red-contrib-sensor-ds18b20
 
and others referring to W1.
 
Problem:
In the current standard installation of open plotter there are two Node-Red entry points (after adding signal-node-red to the server)
http://localhost:1880 >>> standard Node Red (SNR)
http://localhost:3000/plugins/signalk-node-red/redAdmin >>> Integrated Node Red (INR)
 
I have tried to build Node-Red entries to SignalK from DHT22, DS18B20 and via 433 MHz (with RTL-SDR and with 433-Sensor). Without success.
I started with the Node Red server (standard) which is ready available in the link list. I didn’t realize that this is not the server integrated in OpenPlotter.
Anyway, with this SNR (standard node red)  I could read the signals from
          DHT22
          DS18B20
          Sensors vis 433 MHz
The INR doesn’t connect to W1.
Device-Ids which should come from the entries in /sys/bus/w1/devices are not shown in the dropdown lists of the node-red nodes. In SNR they do.
In SNR environment everything is fine on the sensor – input side. But I cannot connect to the SignalK Server.
What are the differences between I N R and S N R  ????
Some ideas?

kind regards

Peter
Reply
#2
the signak nodes only work on the embedded instance of nr and are not available in the standard one

i use the standard one
http://localhost:1880
attach 1wire temp to raspberry pi and use the 1w tab in oplotter to give it an sk key....
a better solution for wireless is mqtt and esp8266 tried & tested or
there is a project for esp8266/32 that works for sk under development.
https://github.com/mxtommy/SigkSens
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)