You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to add #! /usr/bin/python3 to the script to get it to execute at all.
Now I am getting:
./domoticz_mijia.py
./domoticz_mijia.py:24: DeprecationWarning: encodestring() is a deprecated alias since 3.1, use encodebytes()
base64string = base64.encodestring(('%s:%s' % (domoticzusername, domoticzpassword)).encode()).decode().replace('\n', '')
I had to add #! /usr/bin/python3 to the script to get it to execute at all.
Now I am getting:
./domoticz_mijia.py
./domoticz_mijia.py:24: DeprecationWarning: encodestring() is a deprecated alias since 3.1, use encodebytes()
base64string = base64.encodestring(('%s:%s' % (domoticzusername, domoticzpassword)).encode()).decode().replace('\n', '')
1: updating
Characteristic value/descriptor read failed: Invalid handle
Characteristic value/descriptor read failed: Invalid handle
Characteristic value/descriptor read failed: Invalid handle
Characteristic value/descriptor read failed: Invalid handle
Error reading value retry after 5 seconds...
Changing encodestring to encodebytes gets rid of the deprecation warning, but nets the same consecutive errors.
The text was updated successfully, but these errors were encountered: