jimhe / homebridge-infinitude

Infinitude Plugin for Homebridge
ISC License
7 stars 4 forks source link

Unexpected Activity Errors #1

Closed Tangston311 closed 5 years ago

Tangston311 commented 5 years ago

First, thank you for developing this! I've been searching for a way to integrate my Bryant thermostat. I've got Infinitude up and running and working well, but I'm running into a few issues when I install this plugin:

First, I got a number of deprecation errors when I initially installed this. Not sure what those mean, but thought I would mention it. I also got an "Unexpected activity for ZONE 1 Thermostat" error when I first launched Homebridge:

object deprecated warning

unexpected activity error

Second, I can see the thermostat in my Home app and it displays the current temp properly, but when I try to update the temp settings (using Auto mode), I get the following errors in Homebridge and then the temp never actually updates on the thermostat (or in Infinitude):

unsupported threshold temp errors

My thermostat is set to a schedule using the Comfort Profiles, so it seems like when I try and change the temperature the plugin can't get the thermostat out of it's current Comfort Profile (and into Manual mode or something), and errors out.

Lastly, just to make sure I have it setup correctly, should the infinitude host in the json file be the ip of my computer running infinitude, or the ip of the infinitude server?

Really appreciate your help. Guthrie

rcoletti116 commented 5 years ago

I have the same problem. Seems that the Home can read the settings, but not update the thermostat. From the update two days ago, this issue still persists, and after updating via Home app the thermostat reads as “No Response.” I hope this project will allow me to use my Infinity Touch with HomeKit.

Tangston311 commented 5 years ago

Yeah I tried installing the latest version and encountered the same issue. The switch appeared, and the thermostat icon appeared in the Home app displaying the correct temperature (but it was in an "off" state and said "Heating to 50" on the icon when the thermostat was actually was on and heating to 71). By selecting "Auto" as a state in the home app it did actually change the thermostat to a "Home" comfort profile which was progress, but when I tried to change the temp I got the following errors:

screen shot 2019-02-10 at 9 38 36 am

Still some work to do but glad it's being worked on!

johnnylonz commented 5 years ago

I’m having same issue as above. It seems like something isn’t mapped right with the comfort profiles and the commands being sent from homebridge. If I leave my thermostat on “home” and “auto” it at least shows me the current info in HomeKit. But if I change it to “manual” on the thermostat to adjust the temp, it breaks the connection to HomeKit. Likewise, if I try to shush the temp in HomeKit, it errors out in homebridge and then will show the accessory as not responding in HomeKit.

Would love to see this working! I’m not much of a programmer but will help in any way possible.

tobylutz commented 5 years ago

The code in InfinitudeThermostat.js is missing thermostat characteristics for the following comfort [sleep, wake, manual] profiles.

I am not the original developer of this plug-in and my HVAC system isn't fancy enough to require a propriety communication protocol. However, I can certainly create a pull request to try and help fix the issues you're reporting.

Let me know if there is still a desire to get this working and I'll add this project to my briefcase.

Tangston311 commented 5 years ago

@tobylutz yes! I desire very much. Thank you!

jimhe commented 5 years ago

Hi all, sorry for the confusion. Also, sorry for the delay in this response. I did not realize people were using this plugin!

The current version of this plugin is very simple. The thermostats are only there to show you the temperature and status, but you are not able to control the temperature with them. Alongside each thermostat I have created a switch to toggle the thermostat "on" and "off". When it is turned on, that zone is brought to "home" mode. When it is turned off, it is brought to "away" mode.

I did this because my infinitude set up has historically been very flaky. After a while, it seems that the infinity system stops listening to infinitude's temperature changes. In an effort to make it more stable, I made things a lot simpler. However, it seems that the flakiness is still there. So I would like to bring back temperature control functionality whenever I am able to get around to it.

Tangston311 commented 5 years ago

FYI, I recently found a HomeAsisstant Component that integrates with Infinitude and is running smoothly so far for anyone interested in going down the HomeAssistant route: [https://github.com/ccalica/homeassistant-infinitude] (this link is a branch of the main repo that fixes an issue with the AUTO setting).

jimhe commented 5 years ago

The newest version now supports changing profiles and temperatures with the thermostat accessories. I am closing this for now but it's possible not all the issues have been resolved. Feel free to open new issues for any remaining bugs or requests.