Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save martonmiklos/2676ad5b708ed37503c62894b3f7e9aa to your computer and use it in GitHub Desktop.
Save martonmiklos/2676ad5b708ed37503c62894b3f7e9aa to your computer and use it in GitHub Desktop.
Address is not set. Trying to discover.
Connecting to device 192.168.8.1...
Sending handshake to get token
Starting local http server...
Serving http server at 192.168.8.235:32811
Sending ota command with parameters: {"mode": "normal", "install": "1", "app_url": "http://192.168.8.235:32811/v11_004018.12edfghb75.fullos.pkg", "file_md5": "74f6635fc618cc5dc9c18dc561905bd2", "proc": "dnld install"}
unable to parse json '': Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "flasher.py", line 210, in <module>
main()
File "flasher.py", line 188, in main
r = vacuum.send('miIO.ota', ota_params)
File "/home/mm/Projektek/dustcloud/.venv/lib/python3.8/site-packages/miio/device.py", line 278, in send
self.__id = m.data.value["id"]
TypeError: 'NoneType' object is not subscriptable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment