Beiträge von Peekie

    I ended up buying a Raspberry Pi Zero W and added Grove Base Hat and Grove - Light Sensor v1.2.

    The documentation of the light sensor provides a python script that you can run from the RPi Zero. I adjusted the code so that the light value is published to the MQTT broker (other RPi, or one at internet). Node red uses this light value to switch the lights based upon the light value.

    When this all worked, I made the python script run as a service at the RPi zero, so that it keeps running and also starts again after a reboot of the RPi.

    I tried the actions, but didn't succeed in to get it to work reliably. I have also tried several options, but in the end had lights being turned on at inconvenient times (like in the middle of the night).

    I returned the DW2 sensor to the reseller and changed all the Shelly equipment to MQTT. And installed a Raspberry Pi with MQTT broker and Node-Red. Finally I have added a light sensor to the Pi, which provides light levels all the time. Now I am able to let the lights be controlled with a time schedule or by the light levels.

    Thank you for your warm welcome and reply to my question.

    I found the settings for Illumination Definition. And also managed to setup a scene. I did it through the app since the webui seems unreachable when the DW2 is in deepsleep modus.

    I will experiment with the illumination levels to get it the way I would like to.

    Can you tell me how often the DW2 is measuring the illumination levels? In the log I see hourly levels. Does this also mean it measures every hour? Or more frequently?

    Hi,

    I'm a happy user of the Shelly products, which I mainly use to control the lights in my house.

    I've set time schedules in the relays to turn on the lights based on sunset times.

    But there are days that I would like to turn on the lights earlier because it is darker due to cloudy weather conditions.

    So, I bought the Shelly door window sensor v2, since it has a lux sensor. I noticed that the DW2 goes into deep sleep after a while. Will the sensor still measure the lux values? And will it be able to trigger a scene based on the lux values?

    Thanks for your help!