Light sensor and Domoticz

Moderator: leecollings

Post Reply
tapas
Posts: 16
Joined: Thursday 18 May 2017 23:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Light sensor and Domoticz

Post by tapas »

Hello,

I have this light sensor: http://www.uugear.com/product/uugear-li ... og-output/

It seems to work well and I can read it's status from Raspi3 GPIO pin. The status is either 1 or 0 (light/dark). I have a problem connecting this to Domoticz. I am able to add the hardware and "switch" but I can't figure out how to get readings out so that the "switch" changes it' state to on or off. What am I missing here, do I need scripting?

Any help is greatly appreciated!
Misterik
Posts: 28
Joined: Sunday 11 December 2016 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Light sensor and Domoticz

Post by Misterik »

did you already have looked into the Mysensors project ? https://www.mysensors.org/build/light-bh1750
RPI-3 : RFLink + Zigbee2MQTT + Shelly + MySensors + Milight
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest