powersync-plugins/daylightsensor
Michael Zanetti f74d956797 Rename devices to things 2020-03-04 17:52:36 +01:00
..
translations Rename devices to things 2020-03-04 17:52:36 +01:00
README.md DaylightSensor: Update README.md 2019-11-13 20:02:12 +01:00
daylightsensor.pro Rename devices to things 2020-03-04 17:52:36 +01:00
integrationplugindaylightsensor.cpp Rename devices to things 2020-03-04 17:52:36 +01:00
integrationplugindaylightsensor.h Rename devices to things 2020-03-04 17:52:36 +01:00
integrationplugindaylightsensor.json Rename devices to things 2020-03-04 17:52:36 +01:00

README.md

Daylight sensor

A simple daylight "sensor". Works offline, just like that, no hardware required.

During setup, a one time geolocation lookup is performed using local network's public IP address. After that, the plugin calculates sunset and sunrise for your location completely offline.

This comes in handy for setting up rules, e.g. automatically turn on lights at sunset.