merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
391 stars 61 forks source link

Kettle only responds after turning on then off and on again #570

Closed Movieaholic closed 5 months ago

Movieaholic commented 8 months ago

I have a smart kettle 2 pro and it works perfectly apart from this one issue. I have to toggle on then off and it will respond as it should for a while, I havent tested exactly how much time but im not sure why that first time i have to toggle it on off then on again to get it to work?

merdok commented 8 months ago

Well, you would have to provide some debug log so i can check if the connection is ok.

Movieaholic commented 8 months ago

I enabled deep debug logs but nothing shows on the plugin logs screen some logs from the plugin show on the main log screen but not debug logs and also when the kettle does turn on and of nothing is shown on the main log screen Screenshot 2024-02-05 213748 Screenshot 2024-02-05 213944 Screenshot 2024-02-05 214156

merdok commented 8 months ago

Please read the linked section carefully! For it to take effect you have to start homebridge in debug mode.

Movieaholic commented 7 months ago

If i turned it on and waited for HomeKit to update naturally i could keep turning it on with nothing happening it doesnt actually turn the kettle on untill i turn it on then off then on again Miotlogs.txt

merdok commented 7 months ago

Thanks! The logs look fine, there are no connection errors or other issues. I guess this how the device behaves. What is the exact device model of your device? It is usually written in the logs during startup so i can check the spec here https://www.merdok.org/miotspec/ to check how it behaves.

Movieaholic commented 7 months ago

IMG_0709

merdok commented 7 months ago

The device model must be wrong which you entered.

Movieaholic commented 7 months ago

Screenshot 2024-02-07 064144

merdok commented 7 months ago

You must had a typo in the model as it indeed works: https://www.merdok.org/miotspec/?model=yunmi.kettle.v19

It looks fine so I guess this is how the kettle behaves. I actually want to also buy this kettle but I am waiting for the official Europe release. After I get it myself then I can validate if it works as expected.

Movieaholic commented 7 months ago

Yeah sorry my error, im not to sure what you mean by this is how the kettle behaves? It turns on fine every time with the mi app.

merdok commented 7 months ago

Every device behaves differently, some need special handling which might be the case for the kettle. Without having access to the actual device it is hard to tell...

Movieaholic commented 7 months ago

Ok thanks