SecKatie / wyzeapy

35 stars 26 forks source link

Thermostat updates in mobile app but not on thermostat itself #78

Open th3jesta opened 7 months ago

th3jesta commented 7 months ago

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.

brg468 commented 7 months ago

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 commented 7 months ago

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

th3jesta commented 6 months ago

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.

brg468 commented 6 months ago

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!