make-all / tuya-local

Local support for Tuya devices in Home Assistant
MIT License
1.42k stars 544 forks source link

Add support for Solar Inverter GTB series #2436

Closed SimonAnnetts closed 3 weeks ago

SimonAnnetts commented 1 month ago

Product name:

Smart GTB-800 PV Micro inverter

Product id:

bf27badb1abd9bfc5beeuq

Where to buy:

https://www.aliexpress.com/item/1005007385290819.html

Also known as:

Solar Grid, and with models GTB-300 GTB-350 GTB-400 GTB-500 GTB-600 GTB-700 GTB-800 etc up to GTB-2000

Data values for AC and DC current/voltage/power and frequency cannot be asked for. Must wait for them to be sent by the device when a value changes. DC values use dp:3 AC values use dp:7 and are base 64 encoded range of bytes. Other data is the same as most other solar inverters.

image

Pull request created after dark so energy readings showing 0...

make-all commented 1 month ago

Product id is not the same as device id. Can you check that again?

If you have tinytuya installed, you can use python -m tinytuya scan to check (may require device to not be configured in tuya-local and mobile app to not be running if the device only accepts one local connection).

SimonAnnetts commented 3 weeks ago

The device uses protocol version 3.4