Possibility to use python script to set parameters

136 views
0 Comments

I think it is great that you are updating the firmware all the time and am happy to see the improvements. One update that I would really like to see is to be able to set the strompi parameters via a python script instead of using the ’sudo screen /dev/serial0 38400 command‘. As it is now possible with the new firmware to get the strompi status, perhaps this is not too difficult to add? A simple script could have functions like: wakeup_alarm(mode = „Time-Alarm“, time = „00:00“, status = „Enabled“) etc. Would that be possible?

Answered question

3 Answers

Nils (Joy-IT) (anonymous) 0 Comments

Hi joljols,
yes, that’s correct. But be aware that this script is written for Python 3. Start it with:
python3 ./strompi_config.py
Best regards.
Nils

Answered question
You are viewing 1 out of 3 answers, click here to view all answers.
Write your answer.