Skip to content
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

[Help needed]: Set a device as unreachable #506

Open
Tazintosh opened this issue Nov 5, 2022 · 1 comment
Open

[Help needed]: Set a device as unreachable #506

Tazintosh opened this issue Nov 5, 2022 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@Tazintosh
Copy link

Your Current NRCHKB Plugin Version

1.4.3

Operating System

macOS

How can we help?

Hi folks,

I'm using a Shelly Plus 1 to control my old gaz heater and turn it into an HomeKit compatible device.
For this, I've created a "thermostat" in NRCHKB which current temperature is feed by my Xiami Air Purifier (all using Node-RED and NRCHKB). So far, so good.
However, I've installed a physical switch button to my Shelly in case I need to override any command and force heating.
To make this clean, whenever the physical switch button is turned on (I can detect this, no prob), I would like to "disable" my thermostat UI on Home.app. This way, it would no be usable (like "no response"), thus visually telling me that the physical button is actually in override mode.

For testing, I've tried to Inject to the thermostat some NO_REPONSE, like {"CurrentTemperature": "NO_RESPONSE"} etc.
I also tried to inject msg.hap.reachable to false.
No luck with either of them. With NO_RESPONSE, the message only appears when touching the thermostat to enter the detailed view. It's not instantly visible on the default icon.
Please note my Shelly switch is set in NRCHKB as a link child of the thermostat.

What msg can I send to my thermostat so it's fully deactivate while the physical button is on?
Thanks a lot in advance.

Any more details?

If this is specific to some hardware or specific software version, please explain here.

Any code or functions to add?

No response

@Tazintosh Tazintosh added the question Further information is requested label Nov 5, 2022
@Shaquu Shaquu self-assigned this Aug 15, 2023
@twocolors
Copy link
Contributor

@Shaquu for TemperatureSensor also not work NO_RESPONSE

node-red  | [kubik3 NR@Температура@Температура@Current Temperature] characteristic value expected valid finite number and received "NaN" (number)
node-red  | 23 Sep 08:34:58 - [info] [debug:debug 3]
node-red  | { CurrentTemperature: 'NO_RESPONSE' }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants