Continuous stream of data #91
alexanderfitu
started this conversation in
General
Replies: 1 comment
-
Yeah, well the final state would be reasonably complicated. I'd go for a daemon or service as the target |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As a follow up for the issue I raised.
You mention the best way would be to have a python script rather than the complex bash script I have written.
You mention the script needs to loop and maintain state, at the moment it runs one iterance every 30 seconds, and I have tried to trap every failure mode with an ending statement the kills the relay and terminates the script.
Cron calls the script every 30 seconds.
I suppose if I were to recreate in python, I could use the snippets of your code to make a connection to the bms units and only obtain the data I need.
Just need to figure out how to make a continous connection like the app does
Beta Was this translation helpful? Give feedback.
All reactions