-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Support Hue Smart Button #123
Comments
I have the same question! Happy to help develop it, just a bit new to JS. |
I started working on it but I couldn’t find any docs for this device. I mean I don’t know what kind of button events there are available for this device and how the bridge addresses them. Maybe somebody can provide me this information? |
Hi @Foddy, thanks. There's not much documentation, even Philips doesn't have it in their documentation yet. I did find this thread, which contains the events: I don't have one yet, but maybe someone else with one can confirm. |
+1 for me too |
I am also curious about this. I looked at the thread linked to by @dongennl and according to this comment it looks like the Smart Button presents itself as
It looks to me like the buttonevents (1000, 1001, 1002, 1003) match up to the events here: node-red-contrib-huemagic/huemagic/hue-switch.js Lines 70 to 91 in 9a2010e
So as far as I can tell, the Smart Button should already show up in HueMagic as a Hue Switch that acts like it only has an "On" button. Can anyone confirm? Thanks! |
Thanks @bacongravy ; I've just ordered one, as need one anyway; hopefully be able to confirm your findings soon. |
Looking forwards to this, literally just has a look to see if I could trigger some logic. Sadly, doesn't appear in the Hue Switch List. |
Yep, just got mine, It does NOT show up as a Switch or Tap. Do we need to make a new component? |
It would be great if we could! |
Any update on this? Would be really cool to see it added |
I'm very new to all this, but reading the js/html I think we need this info from my bridge to be able to select the Smart Button:
I'm looking at 'hue-switch.html' to see how the selection is done: I don't see this value anywhere in the JSON for the Switch, I only see: So not sure how we change the selection here to make it show buttons instead of switches... |
Ok, did some work on this, the "Hue Wireless Dimmer Switch" comes from Huejay, a dependency; it doesn't seem to be maintained. Any help testing/reviewing appreciated, my fork is here: |
Nice, I’ll test it later, thanks for this :)
Jimmy White
…________________________________
From: Boudewijn van Dongen <notifications@github.com>
Sent: Sunday, August 16, 2020 9:49:07 AM
To: Foddy/node-red-contrib-huemagic <node-red-contrib-huemagic@noreply.github.com>
Cc: Jimmy White <jimmy@deviousweb.com>; Comment <comment@noreply.github.com>
Subject: Re: [Foddy/node-red-contrib-huemagic] Support Hue Smart Button (#123)
Ok, did some work on this, the "Hue Wireless Dimmer Switch" comes from Huejay, a dependency; it doesn't seem to be maintained.
Created a new mechanism using the bridge JSON to separate the Switches from the Buttons; got it working locally; need to clean up and will do a pull request (I'm new to this!).
Any help testing/reviewing appreciated, my fork is here:
https://github.com/dongennl/node-red-contrib-huemagic
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#123 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABHVAB5MDVBXGFMDSRWT5L3SA6MQHANCNFSM4KC2QBBA>.
|
Just created pull request #191 |
Darn, I run Node-Red in a docker, looks like I'll have to wait for the Pull to be merged first. Everytime I restart Node-Red it just overwrites the package with the original version :/ |
Oh @jimmyeao it's super-easy on Docker; I use it too; just copy your main node-red container on another port (make sure to map to different volumes if using); now you have a blank node-red install; attach to the container, apt install npm, go into the node-red directory and 'npm install [github URL (not ssh, use https)]'. |
Edit, never mind, got it installed with https 👍 |
try probably a permission issue; there is a package.json in the root. |
Got it installed now, can detect long and short presses just fine :) |
Thanks you all for contributing and testing! I've just merged the new Hue Button node along with updated docs in v2.8.5+ :)! |
Awesome! Thanks a lot guys. Looking forward to test it out. 😉 |
Hmm, since updating my palette the Hue Button node isn't outputting anything, despite its status text changing |
Same for me, I had cloned the Switch Message, but looks like Foddy is already making a fix for 2.8.6 (change to HueButtonMessage). |
Just updated to 2.8.6 and works now. Thanks @Foddy |
Hi, is there a way how to connect Hue Smart Button with this project?
If not, would that be possible to add it to the component stack? 🙂
The text was updated successfully, but these errors were encountered: