-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class HeaterCooler hombridge dont work. #572
Comments
Support for a heater / cooler device is included, but translates to a thermostat within the Alexa environment. Could you share what is not working ? Also if you could share a homebridge accessory dump from your heater cooler device it would help with any changes required. |
Hi, Here is the dump
|
these are the changes from the thermostat class to the heatercooler class Heater Cooler Current heater/cooler state can be INACTIVE, IDLE, HEATING or COOLING. To use different values, specify an array of strings in currentHeaterCoolerValues. INACTIVE should be used in response if "Active" is set to false. IDLE, HEATING or COOLING should be used in response if "Active" is set to true. Target heater/cooler state can be AUTO, HEAT or COOL. To use different values, specify an array of strings in targetHeaterCoolerValues. |
this is the dump of accesories
|
Tks for this I presume that this is the issue you are seeing ?
|
yes, Why can this be? the alexa app tells me that the device is not responding. It may be that the correct values are not arriving at the iid? Thanks!!!!! |
One quick thing to try is to ask Alexa to discover devices again. This will update the aid and iid with the current values. Alexa will say that she found no new devices, but will update the values. if this doesn’t fix it, I will attempt to recreate your setup. |
I just tried but it gives me the same error. If instead I configure the air conditioner as a thermostat it works perfectly. When I set it as HeaterCooler is when it fails. The class HeaterCooler has differences with the Thermostat class such as Active. Could it be that? |
It is likely that, let me recreate this with mqttthing |
thanks @NorthernMan54 |
Found the issue - requesting status multiple times from the same iid triggers the error
I have published release 0.6.6 with a fix for this. Please update to the latest and ask Alexa to discovery devices again. This should resolve the status request issue. |
Runs Perfect @NorthernMan54 !!!!!!, a lot of thanks!!!!!!!!! Regards |
I have been testing the plugin and it works correctly, but there is a problem when I raise or lower the desired temperature from the amazon alexa application, the thermostat stops working for a few seconds. It could be made that, as with the thermostat, it only appreciates one desired temperature instead of two. Then I have also seen that the power class turns on and off but it makes the thermostat mode not work well. Could it be done that, as in the thermostat, the power class did not appear and everything was controlled from the mode? |
Can you share a debug log of the temperature change, it should show what is actually being shared between Alexa and Homebridge |
The problem is not in the communication between homebridge and alexa, the communication is correct. The problem is in the controls of the alexa application of Cooling Threshold Temperature and Heating Threshold Temperature that sometimes work and sometimes don't, what I have done is leave the single control of settargettemperature and that's how it works perfectly. On the other hand, it would be necessary to add the rotationspeed characteristic of the homebridge heatercooler, would it be possible? |
The Alexa thermostat does not support rotation speed https://developer.amazon.com/en-US/docs/alexa/device-apis/alexa-thermostatcontroller.html |
the problem is in two setpoints control, with a single setpoint control works perfect. Two set points control is in the other way around, "lower temperature to" control is raise temperature to, and sometimes double setpoint fails. Could the minstep be controlled for temperature control? My minstep is 1º not 0.5º |
Minstep is within the HomeKit / Homebridge side and not within Alexa. |
Thanks @NorthernMan54 |
Hi class thermostat work Perfect, but class HeaterCooler dont work properly.
This parameters are for mqqthing for class HeaterCooler
{
"accessory": "mqttthing",
"type": "heaterCooler",
"name": "",
"url": "<url of MQTT server (optional)>",
"username": "<username for MQTT (optional)>",
"password": "<password for MQTT (optional)>",
"logMqtt": true | false,
"topics": {
"setActive": "<topic used to control 'active' state>",
"getActive": "<topic used to report 'active' state>",
"getCurrentHeaterCoolerState": "<topic used to report 'current heater/cooler state'>",
"setTargetHeaterCoolerState": "<topic used to control 'target heater/cooler state'>",
"getTargetHeaterCoolerState": "<topic used to report 'target heater/cooler state'>",
"getCurrentTemperature": "<topic used to report 'current temperature'>",
"setCoolingThresholdTemperature": "<topic used to control 'cooling threshold temperature'>",
"getCoolingThresholdTemperature": "<topic used to report 'cooling threshold temperature'>",
"setHeatingThresholdTemperature": "<topic used to control 'heating threshold temperature'>",
"getHeatingThresholdTemperature": "<topic used to report 'heating threshold temperature'>",
"setTemperatureDisplayUnits": "<topic used to control 'temperature display units'>",
"getTemperatureDisplayUnits": "<topic used to report 'temperature display units'>",
"setRotationMode": "<topic used to control 'rotation mode' (optional)>",
"getRotationMode": "<topic used to report 'rotation mode' (optional)>",
"setSwingMode": "<topic used to control 'swing mode' (optional)>",
"getSwingMode": "<topic used to report 'swing mode' (optional)>",
"setRotationSpeed": "<topic used to control 'rotation speed' (optional)>",
"getRotationSpeed": "<topic used to report 'rotation speed' (optional)>",
"getStatusFault": "<topic used to provide 'fault' status (optional)>"
},
"currentHeaterCoolerValues": "<array of values to be used to represent INACTIVE, IDLE, HEATING, COOLING respectively (optional)>",
"targetHeaterCoolerValues": "<array of values to be used to represent AUTO, HEAT, COOL respectively (optional)>",
"lockPhysicalControlsValues": "<array of values to be used to represent DISABLED and ENABLED respectively (optional)>",
"swingModeValues": "<array of values to be used to represent DISABLED and ENABLED respectively (optional)>",
"temperatureDisplayUnitsValues": "<array of values to be used to represent Celsius and Fahrenheit respectively (optional)>",
"minTemperature": minimum_target_temperature,
"maxTemperature": maximum_target_temperature,
"restrictHeaterCoolerState": "<array of allowed values - see notes above (optional)>"
}
Regards
The text was updated successfully, but these errors were encountered: