Skip to content

Avoid exiting program when SolisCloud returns not filled data

Compare
Choose a tag to compare
@ZuinigeRijder ZuinigeRijder released this 31 May 06:22
· 11 commits to main since this release

I encounter that SolisCloud returned data without error, but the data was not filled correctly. As a result an exception occurred and the program exited. Fortunately I noticed it, so I could start the script the same day again.

Added a try/catch and when such an exception occurs, wait one minute and try again.

Also renamed some variables for better readability.