bwp91 / homebridge-govee

Homebridge plugin to integrate Govee devices into HomeKit.
MIT License
454 stars 48 forks source link

Humidifier (H7142) controls don't work #365

Closed DuckMasterAl closed 6 months ago

DuckMasterAl commented 1 year ago

What issue do you have? Please be as thorough and explicit as possible.

Govee H7142 (humidifier) does not change speeds when updating speed on HomeKit and goes to speed 8 on first use.

Details of your setup.

Please paste any relevant logs below.

Restarted Homebridge with the humidifier on auto. Moved the slider to 20% (it was set to the last speed I tried which was 100%). The humidifier went to speed 8 with further changes not being registered in the logs.

[27/11/2022, 15:00:35] [Govee] [Smart Humidifier] [AWS] sending update {"msg":{"cmd":"ptReal","cmdVersion":0,"data":{"command":["MwUBCAAAAAAAAAAAAAAAAAAAAD8="]},"transaction":"v_1669579235994000","type":1}}.
[27/11/2022, 15:00:35] [Govee] [Smart Humidifier] current speed [8].
[27/11/2022, 15:00:36] [Govee] [AWS] message event [{"proType":2,"sku":"H7142","device":"16:94:D4:AD:FC:35:C5:46","softVersion":"1.00.25","wifiSoftVersion":"1.00.25","cmd":"ptReal","type":0,"transaction":"v_1669579235994000","pactType":1,"pactCode":1,"state":{"sta":{"stc":"06F02A"},"result":1},"op":{"command":["MwUAAAAAAAAAAAAAAAAAAAAAADY=","qgUAAQAAAAAAAAAAAAAAAAAAAK4=","qgUBCAAAAAAAAAAAAAAAAAAAAKY="]}}].
[27/11/2022, 15:00:36] [Govee] [Smart Humidifier] [AWS] receiving update {"source":"AWS","sta":{"stc":"06F02A"},"result":1,"commands":["MwUAAAAAAAAAAAAAAAAAAAAAADY=","qgUAAQAAAAAAAAAAAAAAAAAAAK4=","qgUBCAAAAAAAAAAAAAAAAAAAAKY="]}.
[Govee] [AWS] message event [{"proType":2,"sku":"H7142","device":"16:94:D4:AD:FC:35:C5:46","softVersion":"1.00.25","wifiSoftVersion":"1.00.25","cmd":"ptReal","type":1,"transaction":"v_1669579240372188","pactType":1,"pactCode":1,"state":{"result":1},"op":{"command":["qhABAAGkAAAAAAAAAAAAAAAAAB4="]}}].
[27/11/2022, 15:00:40] [Govee] [Smart Humidifier] [AWS] receiving update {"source":"AWS","result":1,"commands":["qhABAAGkAAAAAAAAAAAAAAAAAB4="]}.
[27/11/2022, 15:00:45] [Govee] [Smart Humidifier] [AWS] sending update {"msg":{"cmd":"status","cmdVersion":2,"transaction":"v_1669579245416000","type":0}}.
[27/11/2022, 15:00:45] [Govee] [AWS] message event [{"proType":2,"sku":"H7142","device":"16:94:D4:AD:FC:35:C5:46","softVersion":"1.00.25","wifiSoftVersion":"1.00.25","cmd":"status","type":0,"transaction":"v_1669579245416000","pactType":1,"pactCode":1,"state":{"onOff":1,"sta":{"stc":"06F02A"},"result":1},"op":{"command":["qhIAAAAAAAAAAAAAAAAAAAAAALg=","qhEAAAAAAAAAAAAAAAAAAAAAALs=","qgUAAQAAAAAAAAAAAAAAAAAAAK4=","qgUBCAAAAAAAAAAAAAAAAAAAAKY=","qgUCAAkAPAA8BQA8ADwB/////6A=","qgUDLAAAAAAAAAAAAAAAAAAAAIA=","qhoAAAAAAAAAAAAAAAAAAAAAALA=","qhsBFMFC/wAAAAAAAAAAAAAAANg=","qhgB/////wAAAAAAAAAAAAAAALM="]}}].
[27/11/2022, 15:00:45] [Govee] [Smart Humidifier] [AWS] receiving update {"source":"AWS","onOff":1,"sta":{"stc":"06F02A"},"result":1,"commands":["qhIAAAAAAAAAAAAAAAAAAAAAALg=","qhEAAAAAAAAAAAAAAAAAAAAAALs=","qgUAAQAAAAAAAAAAAAAAAAAAAK4=","qgUBCAAAAAAAAAAAAAAAAAAAAKY=","qgUCAAkAPAA8BQA8ADwB/////6A=","qgUDLAAAAAAAAAAAAAAAAAAAAIA=","qhoAAAAAAAAAAAAAAAAAAAAAALA=","qhsBFMFC/wAAAAAAAAAAAAAAANg=","qhgB/////wAAAAAAAAAAAAAAALM="]}.
bwp91 commented 1 year ago

Hi @DuckMasterAl

I have recently been going through each device type, trying to make sure each is working as best possible. So far I have completed heaters and fans.

My next project is the humidifier, so hopefully your issues will be resolved soon.

Thanks for this issue, this is something I will look into initially.

I'll keep in contact on here when I make beta versions available with improvements :)

DuckMasterAl commented 1 year ago

@bwp91, thanks for fixing this in v7.7.1! Are you planning on adding a way for appliance owners to set humidifiers to an automatic percentage?

bwp91 commented 1 year ago

@bwp91, thanks for fixing this in v7.7.1! Are you planning on adding a way for appliance owners to set humidifiers to an automatic percentage?

maybe next year… oh wait 🤣