W1 Sensors and Node Red - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: Node Red (https://forum.openmarine.net/forumdisplay.php?fid=15) +--- Thread: W1 Sensors and Node Red (/showthread.php?tid=1632) |
W1 Sensors and Node Red - skipper@sy-barranas - 2019-01-10 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 RE: W1 Sensors and Node Red - jim321 - 2019-01-10 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 |