charlielito / node-red-contrib-sensor-ds18b20

Node-Red Contrib module to read temperature from DS19B20 Temperature Sensor
Apache License 2.0
2 stars 4 forks source link

No 1-wire device/sensor in the dropdown #3

Open MatsA opened 6 years ago

MatsA commented 6 years ago

Pretty new to NodeRed. Using RPi Stretch/NR 0.18.7

Checked with $ cat /sys/bus/w1/devices/w1_bus_master1/w1_master_slaves 28-051693ea56ff

$ cat /sys/bus/w1/devices/28-051693ea56ff/w1_slave 76 01 4b 46 7f ff 0c 10 d3 : crc=d3 YES 76 01 4b 46 7f ff 0c 10 d3 t=23375

any idea ?

Node https://flows.nodered.org/node/node-red-contrib-ds18b20-sensor works.

Caprico85 commented 5 years ago

Same problem here. No sensors in dropdown and the browser console shows messages like this:

image

I guess this is caused because I customized httpAdminRoot in settings.js. This module does not take the customized httpAdminRoot into account and tries to read example.com:1880/sensors/1wire/. If I open example.com:1880/node-red/sensors/1wire/ (including my customized httpAdminRoot "node-red"), it works.

kalapragu commented 3 years ago

I have same problem. Did you find the fix?