Hello everyone 😀
For my time-lapse camera project I needed a way to control my Witty Pi from Python, so I've developed a little Python library that I thought maybe someone would find useful. With the library you can do the following things:
- Sensor Reading: Read sensor values such as voltage, current and temperature from the Witty Pi 4 onboard sensors.
- Configuration: Configure different parameters of the Witty Pi like the low and recovery voltage or synchronize the time with the internet.
- Scheduling: Create (and apply) very simple daily recurring schedules.
The library is open source and can be found here: https://github.com/Eagleshot/WittyPi4Python (Feedback is very welcome!)
I'm also currently working on an update that will allow you to create more complex schedules (e.g. with sunrise and sunset according to your location).
Best regards
Eagleshot
Â
Good of you to share.
Eagleshot,
Thanks very much for sharing your python library.
I'm running a number of wildlife cameras on PiZ 2W / wittyPi4 and hope to make use of your library in the near future.
Regards, guldberg