jasonacox / tinytuya

Python API for Tuya WiFi smart devices using a direct local area network (LAN) connection or the cloud (TuyaCloud API).
MIT License
937 stars 167 forks source link

Add MQTT to tinytuya server #255

Open fhempy opened 1 year ago

fhempy commented 1 year ago

Hi, are there any plans to add MQTT support to the tinytuya server? I think that would make a lot of users happy 😄 The API calls are great already, but MQTT would allow everybody to include tinytuya easily in their smart home environment.

Many thanks for your work!

jasonacox commented 1 year ago

This is a great idea @fhempy ! I'll tag this as an enhancement request.

jasonacox commented 1 year ago

In the meantime, check out what @mafrosis has done at https://github.com/mafrosis/tinytuya2mqtt

heggink commented 1 year ago

@jasonacox +1 from me. This would be a great addition. Having mqtt autodiscovery support would be brilliant. I am not an expert but happy to help do some of the work.

jasonacox commented 1 year ago

Thanks @heggink ! We are getting closer to having something more... follow along in https://github.com/jasonacox/tinytuya/discussions/312.