I'm very happy with current pilight module in FHEM and I added an illuminance sensor to my pilight.
The sensor is BH1750 and connected via I2C on my RPI. On pilight I loaded a custom module and now the sensor is generating messages in pre-defined interval like this:
rcv_raw: {"message":{"id":"0x23","illuminance":0},"origin":"receiver","protocol":"bh1750","uuid":"0000-b8-27-eb-c56be9"}
I messed up pilight_ctrl and used pilight_temp to load this module. But I would be happy if you could consider this protocol in your FHEM module too.
Beside "illumincance" there is no further reading to be considered.
Hi,
I'm very happy with current pilight module in FHEM and I added an illuminance sensor to my pilight. The sensor is BH1750 and connected via I2C on my RPI. On pilight I loaded a custom module and now the sensor is generating messages in pre-defined interval like this: rcv_raw: {"message":{"id":"0x23","illuminance":0},"origin":"receiver","protocol":"bh1750","uuid":"0000-b8-27-eb-c56be9"}
I messed up pilight_ctrl and used pilight_temp to load this module. But I would be happy if you could consider this protocol in your FHEM module too. Beside "illumincance" there is no further reading to be considered.
For add. reference of the pilight module, please see below thread: https://forum.pilight.org/showthread.php?tid=2738
Thanks in advanced! Best Regards, Florian