yaourdt / mgos-to-tasmota

A minimal firmware for OTA (over the air) flashing Tasmota, HAA, or ESPurna from Mongoose OS or compatible firmware types.
GNU General Public License v3.0
418 stars 67 forks source link

flash_shelly script does not run due to zeroconf error #107

Closed OvisMaximus closed 10 months ago

OvisMaximus commented 10 months ago

executed in the Power Shell on Windows 11

PS C:\Users\ada\bin\pythonScripts> python -V
Python 3.10.11
PS C:\Users\ada\bin\pythonScripts> python .\flash_shelly.py -a
Scanning for Shelly devices...
Traceback (most recent call last):
  File "C:\Users\lorenz\bin\pythonScripts\flash_shelly.py", line 517, in <module>
    device_scan(args.hosts, args.do_all, args.dry_run, args.silent_run, args.target, args.exclude)
  File "C:\Users\lorenz\bin\pythonScripts\flash_shelly.py", line 438, in device_scan
    zc.wait(100)
AttributeError: 'Zeroconf' object has no attribute 'wait'
OvisMaximus commented 10 months ago

It's a duplicate to #103