AMoo-Miki / homebridge-tuya-lan

Homebridge plugin for IoT devices that use Tuya Smart's platform
MIT License
200 stars 51 forks source link

New Convector Signature #44

Open DanijelMalik opened 5 years ago

DanijelMalik commented 5 years ago

I've got two heater panels that visually look the same but they must be using different firmware. These are signatures for both of them: The old one (working): {"2":30,"3":27,"4":"High","6":false,"7":true,"8":0} The new one (not-working): {"1":true,"2":false,"3":30,"4":22,"5":0,"6":0,"7":"Low"}

From what I see parameters come in a different order. This a likely mapping (New => Old): 1 => 7 2 => 6 3 => 2 4 => 3 5 => 8 6 => ? 7 => 4

AMoo-Miki commented 5 years ago

@DanijelMalik, I just pushed some changes that should allow you to override the data-points; take a look here. Please update to the latest stable release (v1.4.0) or the rc by running npm i -g homebridge-tuya-lan@rc. The latter includes logic to understand this newer API.

Lemme know how it goes.

chyumcha commented 4 years ago

I'm facing a similar issue. Ready to handle Heater with signature {"2":24,"3":18,"4":"Low","6":false,"7":false,"8":0}

I've tried the override with 1 through to 8 but still no luck being able to turn on/off. Any ideas @AMoo-Miki how did you go @DanijelMalik