Posts by Xaum

    root@ioBroker-Rock:~/dustcloud/devices/xiaomi.vacuum/firmwarebuilder# python3 flasher.py -a 192.168.178.34 -t Token -f output/v11_003468.fullos.pkg

    Flasher for Xiaomi Vacuum

    Connecting to device 192.168.178.34...

    Starting local http server...

    Serving http server at 192.168.178.71:46264

    Sending ota command with parameters: {"file_md5": " 4848488484848484848484848", "app_url": "http://192.168.178.71:46264/output/v11_003468.fullos.pkg", "install": "1", "proc": "dnld install", "mode": "normal"}

    unable to parse json '': Expecting value: line 1 column 1 (char 0)

    Traceback (most recent call last):

    File "flasher.py", line 207, in <module>

    main()

    File "flasher.py", line 185, in main

    r = vacuum.send('miIO.ota', ota_params)

    File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 265, in send

    self.__id = m.data.value["id"]

    TypeError: 'NoneType' object is not subscriptable