wyzeapy icon indicating copy to clipboard operation
wyzeapy copied to clipboard

Thermostat updates in mobile app but not on thermostat itself

Open th3jesta opened this issue 1 year ago • 4 comments

Hello, Home Assistant user, here. I've had a problem for a long time where temperature and various other updates via Home Assistant will be reflected on the mobile Wyze app, but not on the thermostat itself. This was reported by someone else and ignored on the Home Assistant Wyze integration repository here: https://github.com/SecKatie/ha-wyzeapi/issues/437

After doing some digging, I found the same behavior was reported in another Wyze API Python library here: https://github.com/shauntarves/wyze-sdk/issues/15

They solved the issue by changing the endpoint of various set functions from set_iot_prop to set_iot_prop_by_topic. I checked the code for this repo's thermostat control and it appears to me that it is indeed using set_iot_prop to set various states.

th3jesta avatar Jan 10 '24 18:01 th3jesta

Have you tried changing the endpoint yourself? I don’t have any thermostats so I don’t have a way to test if it works or not.

brg468 avatar Jan 20 '24 15:01 brg468

Actually I just looked and it appears it is using set_iot_prop_by_topic already.

brg468 avatar Jan 20 '24 15:01 brg468

Whoops. I guess mistook the get with the set.

I wish I knew what was going on , here. I would love to be able to use the integration for more than turning the HVAC on and off. It used to work.

th3jesta avatar Jan 25 '24 14:01 th3jesta

Yea I don’t see anything obviously different than what Shaun has in his code. I’d troubleshoot more, but like I said, I don’t have the thermostat, sorry!

brg468 avatar Jan 25 '24 17:01 brg468