A change in porch light control approach.

 

   Up to this point, I had, tentatively, decided to use python and bash scipting to create a sysemd service and timer to control the front, and back porch lights, using calculated sunrise and sunset times on a daily basis. The calculations woiuld be done using a python script I translated from a NOAA Excel spreadsheet, years ago. The same script is used to calculate the solar elevation and azimuth plotted in the online graphs..

   I've discovered, after extensive searching on the web, there is a ''virtual' sensor in the HUE bridge that performs the same calculations using GPS coordinates supplied by me. I previously discovered how to enter those coordinates and have done so. This morning, I worked to enter the rest of the necessary code.

   The success of my efforts remains to be seen.

   Tonight the code will be activated for the first time.


Comments

Popular posts from this blog

HUE reset and intro to ESP8266/ESP32

Porch lighting schedule upgrade

Introduction and first post