FHEM Forum

FHEM => English Corner => Thema gestartet von: user7743 am 30 Januar 2018, 11:49:47

Titel: Remote reading
Beitrag von: user7743 am 30 Januar 2018, 11:49:47
Hi all,

I have been using FHEM for years to control and log radiator valves around my house and I love its flexibility.
My next step is to use a Raspberry Pi Zero and a couple of ds18b20 sensors to log the temperatures of my boiler. I have this running and it produces a CSV file with regular readings. I would love to integrate those into the overall FHEM setup I have but I am not sure what the best method to do this is. A bit more information on the scenario:

I have seen that there is the custom reading module - so I could write the reading to a file on the FHEM server and read that way. Is this the best way to do it? Is there another method that gives a more suitable integration?

Thanks in advance.
Titel: Antw:Remote reading
Beitrag von: RaspiLED am 30 Januar 2018, 16:40:10
Hi,
Instead of using a pi zero, use a esp8266 with espeasy firmware. Like a nodemcu v2 devkit.
Regards Arnd


Raspi2 mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, Bravia, ...
Titel: Antw:Remote reading
Beitrag von: Paul Guijt am 30 Januar 2018, 16:43:02
Perhaps it is an option to mount the directory containing the data through NFS?
Titel: Antw:Remote reading
Beitrag von: user7743 am 31 Januar 2018, 08:59:07
Thanks for the hints guys.
Whilst the NodeMCU stuff looks good, and would be fine for logging temps - that is not the only thing the PiZero is doing and the NodeMCU isn't suitable. 2 devices doesn't make sense in this case to me. I might look at it later for other temperature application. It would still have the same issues that I see now though - there needs to be an iteration between the device taking the temperature reading and FHEM.
Given there is no clear statement on "this is the correct integration" I will have a play around with the different methods I can see and report back when I have it working.
Titel: Antw:Remote reading
Beitrag von: RaspiLED am 04 Februar 2018, 15:40:09
Hi,
Okay then my second try ;-)

a) You could still use the ESPBRIDGE Device in FHEM and feed this with the data of your PiZero. The code is available in github and you are anyhow planning to develop some code on the Pi, right?
b) You could use MQTT to deliver the DS18B20 data to the Mosquitto on the FHEM server and subscribe to it with the MQTT module.
3) You could use FHEM2FHEM or sernet or ...

Warm regards
Arnd


Raspi2 mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, Bravia, ...