mafrosis / tinytuya2mqtt

A bridge between https://github.com/jasonacox/tinytuya and Home Assistant via MQTT
MIT License
18 stars 7 forks source link

wizard creates incomplete snapshot.json file #1

Open MalHarwood opened 2 years ago

MalHarwood commented 2 years ago

I have just been trying this with two new fans ..

python -m tinytuya wizard -nocolor creates a snapshot.json file .. when running in tinytuya2mqtt errors are raised about incomplete data in the file.

running python -m tinytuya scan -nocolor fixed up the file ..

Not sure if others have seen the same? Maybe update the docos?

Xenomes commented 2 years ago

Hi, You need to install pip3 install getmac when you python3 -m tinytuya wizard -nocolor -force it will detect the mac addresses.