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

How to change thermostat circle color? #497

Closed houser42 closed 3 weeks ago

houser42 commented 1 year ago

NRCHKB Plugin Version

1.4.3

Node JS Version

16.16.0

NPM Version

8.11.0

Node-RED Version

3.0.2

Operating System

Ubuntu 20.04

What happened?

Just a minor aesthetic colour issue. I assume the thermostat on button in the Home app should be blue when cooling and amber when heating. like the colour of numbers on the icon are for a thermostat on the main page in the app. I have no other thermostats so can not check if this is a bug in HK or this node. The cooling thermostat shows blue both for numbers and button. Correct. The heating thermostat shows amber for numbers but blue for button. I assume this is incorrect.

How to reproduce?

Use a heating thermostat in the iOS16 home app and observe the colour of the thermostat button.

Expected behavior:

The heating thermostat should shows amber for both numbers and for button.

Additional comments?

Many thanks again for this excellent node! So useful!

Relevant log output

No response

crxporter commented 1 year ago

Some questions:

Did this work on iOS 15?

Have you made any changes apart from the iOS update?

Are you on iOS beta or release? Beta should expect things like this to happen.

If it worked in 15 and not 16, wait on the final iOS release and test again. Or report to apple if you're on final release.

If it's never worked, we can try troubleshooting. I can test tomorrow with my official thermostats on iOS 16, I have a beta running at my office.

houser42 commented 1 year ago

iOS 15 was actually the other way around. Correct amber on heating thermostat, but amber button on freezing also. No other changes than upgrading to iOS16. I am on the iOS 16 RC, as it is being released tomorrow. Likely the same version. Again, no biggie, it is just aesthetics, but it would be nice to have blue for freezing and amber for heating, same on numbers as on button as I assume it is intended. But again, could of course be an iOS bug rather than NRCHKB. You would see it if you have some other hard thermostat I suppose. Many thanks.

Shaquu commented 1 year ago

Pretty sure it is not our fault 😅 We do not manage colours but who knows...

caitken-com commented 1 year ago

@houser42 For future reference, we do not have any control on how the Home.app works, especially aesthetics. If NRCHKB somehow messed up the Thermostat, it’s behaviour would be wrong - not just colours.

crxporter commented 1 year ago

iOS 15 was actually the other way around. Correct amber on heating thermostat, but amber button on freezing also.

This comment makes me think we need to look deeper at your setup. Are you on discord with us? Let's dig into it and work on which thing you've missed when sending to HomeKit nodes. I don't use nrchkb thermostat or heater/cooler - but these colors worked as expected every time I've tested it.

houser42 commented 1 year ago

Thanks for replies. The actual functionality is 100% and spot on. I have reported this issue to Apple too. I can live with this minor colour snag for now and see if it is an Apple bug that gets fixed or. feature that stays. Have posted on discord with images. Many thanks, appreciated!

Screenshot 2022-09-12 at 07 33 50
caitken-com commented 10 months ago

@houser42 Did iOS 16 solve this issue?

houser42 commented 10 months ago

Hello. Yes. For various reasons I am on the public beta of iOS 17 and the design has changed somewhat and that issue is gone. This is what it loss like now with a NRKCB thermostat:

Screenshot 2023-08-16 at 08 35 26 Screenshot 2023-08-16 at 08 31 45
Shaquu commented 3 weeks ago

I believe we can close it, :) Apple controls the colours, and most look and feel. We just try to use what they give us, which are some base blocks.