Notifications
Clear all

Control your Witty Pi 4 with Python

2 Posts
2 Users
1 Likes
67 Views
(@eagleshot)
Posts: 14
Eminent Member
Topic starter
 

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

 

 
Posted : 27/04/2024 10:09 pm
mmoollllee reacted
Topic Tags
(@andrew-simpson17)
Posts: 53
Trusted Member Customer
 

Good of you to share.

 
Posted : 30/04/2024 2:24 pm
Join Waitlist We will inform you when the product arrives in stock. Please leave your valid email address below.