NRCHKB / node-red-contrib-homekit-bridged

Node-RED Contribution - HomeKit Bridged : Node-RED nodes to simulate Apple HomeKit devices.
https://nrchkb.github.io
MIT License
412 stars 52 forks source link

[Bug]: HeaterCooler set to "auto" does not display UI in Home app #537

Closed MicheleSilla810 closed 6 months ago

MicheleSilla810 commented 6 months ago

NRCHKB Plugin Version

1.5.0

Node JS Version

16.20.2

NPM Version

8.19.4

Node-RED Version

3.2.3

Operating System

Docker

What happened?

I have a HeaterCooler service used to control a Heater. It is configured to allow "heat" and "auto" states.

This is the configuration

{
    "TargetHeaterCoolerState": {
        "validValues": [
            0,
            1
        ]
    },
    "HeatingThresholdTemperature": {
        "minValue": 20,
        "maxValue": 60,
        "minStep": 1
    }
}

It all worked fine until iOS 17, where now the controls for the service disappear when set to "auto" mode. in "heat" or "off" it works fine.

IMG_9201 IMG_9202 IMG_9203

I can still turn it on or off from the main page, but cannot modify the temperature or state.

Is this a bug with NRCHKB or iOS? I'm running the latest iOS version.

How to reproduce?

Set a HeaterCooler service to "auto"

Expected behavior:

To show the UI like it used to do in previous iOS versions

Additional comments?

No response

Relevant log output

No response

Shaquu commented 6 months ago

@MicheleSilla810 you need to also use CoolingThresholdTemperature Characteristic :)

Once added and selected auto, it will allow to set temperature threshold, min and max.

MicheleSilla810 commented 6 months ago

@Shaquu but really tho? I’ve used this setup for quite sometime now and it always worked fine. Also have the same setup with Thermostat services, and those have no problem. I don’t need those to control cooling that’s why i didn’t add it

Shaquu commented 6 months ago

I would rather say, it is not a NRCHKB bug. Might be some implementation change in Apple HomeApp. I just tested with that additional param and it got my UI to work.

So do not treat that as a final answer, I am just sharing solution :) (one of many)

MicheleSilla810 commented 6 months ago

yea that's what I was thinking. I think i will use the Thermostat service for now, maybe in the future it will get "fixed" in iOS. thanks anyways!