Jump to content


RPi NodeRed-MQTT-OWFS tinkering

Posted by pete_c , 15 March 2018 · 1309 views

Over the last few months here have been tinkering with my 1-wire stuff.
Moved the post to here from Automation.  I cannot attach pictures to my posts these days such that this blog will be pictureless.
That said I see no interest so will continue to post what I am doing with this stuff.
Old configuration was using multiple 1-Wire controllers serially connected to one computer and talking to 1-wire devices connected via cat5e all over the house.
New 1-wire configuration is using a created RPi 1-wire hub connected to a few sensors.
Currently running POE connected RPi in the attic is just generating a text file from Digitemp for second floor sensors. Configured a new RPi for main floor sensors in the last few days.
RPi is running Stretch and uses a Maxim 9097 serial to USB device.  Base wiring is alarm 22/4 for parasitic, 12VDC and 5VDC power.
1 - installed Digitemp and configured it for test sensors.  First testing is creating Homeseer variables via a text read every few minutes.  This has been working fine now for over a year.
Stretch175:/opt/digitemp# ./digitemp.sh
10A04713000800D9 : DS1820/DS18S20/DS1920 Temperature Sensor
10AE56130008007B : DS1820/DS18S20/DS1920 Temperature Sensor
10A147E900080084 : DS1820/DS18S20/DS1920 Temperature Sensor
10F197E101080043 : DS1820/DS18S20/DS1920 Temperature Sensor
104B5613000800B9 : DS1820/DS18S20/DS1920 Temperature Sensor
265CD3F1000000DC : DS2438 Temperature, A/D Battery Monitor
2606157500000054 : DS2438 Temperature, A/D Battery Monitor
ROM #0 : 10A04713000800D9
ROM #1 : 10AE56130008007B
ROM #2 : 10A147E900080084
ROM #3 : 10F197E101080043
ROM #4 : 104B5613000800B9
ROM #5 : 265CD3F1000000DC
ROM #6 : 2606157500000054
Mar 10 10:57:34 Sensor 0 C: 20.25 F: 68.45
Mar 10 10:57:35 Sensor 1 C: 20.69 F: 69.24
Mar 10 10:57:36 Sensor 2 C: 20.50 F: 68.90
Mar 10 10:57:37 Sensor 3 C: 20.62 F: 69.12
Mar 10 10:57:38 Sensor 4 C: 20.25 F: 68.45
Mar 10 10:57:39 Sensor 5 C: 20.38 F: 68.68 H: 45%
Mar 10 10:57:40 Sensor 6 C: 20.19 F: 68.34 H: 49%
2 - installed OWFS and configured it for test sensors.

3 - installed mqtt - IE: apt install mqtt.
4 - installed node red and the OWFS modules.  Here is a picture of my Node Red Flows.
5 - configuring Node Red to send out MQTT stuff.
OWFS NodeRed



Updated today:


22nd of April, 2018.


MQTT values being read by the Homeseer Mothership using a PI called mcsMQTT.


There are two 1-wire RPI hubs.  One in the attic covering the attic and 2nd floor and one in the basement covering the outside and main floor of home.


Shut off old Digitemp script which was writing a text file and being read by a VB script in Homeseer every 10 minutes.

  • Report
May 07 2018 01:58 PM

I need to get smarter on the MQTT stuff. I've heard numerous guys mention it recently... I've been doing a lot of work relating to my side-business and have been left behind in the tech world for sure. 

  • Report

August 2020

9 101112131415

Recent Comments