Code: Select all
pi@raspberrypi:~ $ sudo /usr/bin/python3 /home/pi/domoticz/scripts/python/miflora/domoticz.py
/home/pi/domoticz/scripts/python/miflora/domoticz.py:25: DeprecationWarning: encodestring() is a deprecated alias since 3.1, use encodebytes()
base64string = base64.encodestring(('%s:%s' % (domoticzusername, domoticzpassword)).encode()).decode().replace('\n', '')
1: Palm
Patched: Error reading value retry after 5 seconds...
Patched: Error reading value retry after 5 seconds...
Patched: Error reading value
pi@raspberrypi:~ $
Code: Select all
pi@raspberrypi:~ $ /usr/bin/python3 /home/pi/domoticz/scripts/python/miflora/domoticz.py
/home/pi/domoticz/scripts/python/miflora/domoticz.py:25: DeprecationWarning: encodestring() is a deprecated alias since 3.1, use encodebytes()
base64string = base64.encodestring(('%s:%s' % (domoticzusername, domoticzpassword)).encode()).decode().replace('\n', '')
1: Palm
connect error: Function not implemented (38)
Mi Flora: C4:7C:8D:66:CB:FB
Firmware: 3.1.9
Name: Flower care
Temperature: 23.2°C
Moisture: 82%
Light: 280 lux
Fertility: 2131 uS/cm?
Battery: 99%
pi@raspberrypi:~ $