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

This module wants lowercase keys but HAP-NodeJS-based modules send uppercase #14

Open
hollyhudson opened this issue Oct 28, 2018 · 0 comments

Comments

@hollyhudson
Copy link

Thank you for creating this module! It is super useful for me. Here's my issue:

I'm trying to connect my LIFX lights to my iOS Home app so that I can control them via node-red or Siri, but all the HomeKit node modules I've tried so far send messages with the keys in uppercase (so "On": true instead of "on": true. So I have to use another node to transform the homekit node output before sending it to your LIFX nodes, every single time.

The root of the issue seems to be the HAP-NodeJS library that all the homekit modules use, which is where the capitalized keys are defined. And I'm guessing they're not going to change their side because some huge projects like HomeBridge, which is used by Home Assistant, for instance, also rely on the HAP-NodeJS code. So here I am.

Not sure what to say. If you change to uppercase I assume it will break all of your integrations, but if folks are trying to use this with iOS devices, they're going to run into problems.

My Hue node module is also having this lowercase problem, so I'll be reporting it to them, as well.

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

No branches or pull requests

1 participant