Skip to content

Added API Timeout#12

Open
yah00078 wants to merge 5 commits intopFenners:masterfrom
yah00078:master
Open

Added API Timeout#12
yah00078 wants to merge 5 commits intopFenners:masterfrom
yah00078:master

Conversation

@yah00078
Copy link

Change encodestr to encodebytes to work.
Added base Time at 10sec for Domoticz API request, to avoid loop script running.
Added Try & Except to catch Time error.

yah00078 and others added 5 commits January 10, 2022 16:08
Changed encodestring to encodebytes
Added Try: except: for API call with 10s of timeout (Avoid plugin wait indefinitely if API is down)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant