This plugin calculates the location of the sun, stores them in devices.
Calculates the virtual lux based on the sun location, the cloud layer and your altitude.
- Install Plugin:
cd domoticz/plugins
git clone https://github.com/Tsjippy/Sunscreen
- Install dependecies:
sudo pip3 install requests
sudo pip3 install pandas
sudo apt-get install libatlas-base-dev
Also make sure you are on the latest domoticz beta version or Domoticz won't find requests, or pandas.
The installation of pandas can take up to 30 minutes.
- Restart domoticz:
sudo service domoticz.sh restart
- Add hardware, fill in the required fields.
2019-04-01 (2.0.0): Fully tested version.
2019-03-31 (1.7.0): Store autmatically found info in the database.
2019-03-25 (1.6.0): Better hardware page and device checks.
2019-02-15 (1.5.0): No longer a need to specify wheather devices.
2019-01-02 (1.4.1): Ogimet url bug fix, it now uses leading zeros for month and day in the url.
2018-12-18 (1.1.3): Fixes a problem resulting not being able to update the hardware, added a sunscreen override button.
2018-12-17 (1.1.0): Now supports multiple sunscreens, and searches for the best Ogimet station automatically. Also retrieves the altitude automatically.
2018-12-13 (1.0.0): Initial release
If you want, you can thank me by donating via https://www.paypal.me/Tsjippy