Matthias

Results 60 comments of Matthias

Hi @wodi248 , from the README: > - Uses the latest CLIP/v2 API version of the Philips Hue Bridge > It supports the square-shaped Hue Bridge with the firmware 1948086000+...

@Foddy: I just recently stumbled into node development, even if I'm not a developer at all. One of my first issues was the setup of a dev environment. Maybe it...

Hi @dewenni, do you have some experience with debugging node apps? If yes, you can try to attach a debugger and inspect the code of `hue-light.js` around https://github.com/Foddy/node-red-contrib-huemagic/blob/1af6c29676c0cabd02f2cd1b105b95acff24d77f/huemagic/hue-light.js#L820-L832 Ref: -...

Well, to explore all the resources of your Hue Bridge just use this flow: ``` [{"id":"060c172c7f7865d4","type":"inject","z":"88d7eed7ca3d10ac","name":"Resource","props":[{"p":"event","v":"__internal__","vt":"str"},{"p":"method","v":"GET","vt":"str"},{"p":"command","v":"resource","vt":"str"},{"p":"apiVersion","v":"2","vt":"num"}],"repeat":"","crontab":"","once":true,"onceDelay":"0.5","topic":"","x":305,"y":1180,"wires":[["77ef28c6346fbb26"]],"icon":"font-awesome/fa-question-circle","l":false},{"id":"77ef28c6346fbb26","type":"function","z":"88d7eed7ca3d10ac","name":"headers","func":"msg.ip = env.get('hue-bridge-ip');\n\nmsg.headers = {\n 'hue-application-key': env.get('hue-application-key')\n};\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":420,"y":1180,"wires":[["aa9ce271971213a0"]]},{"id":"aa9ce271971213a0","type":"http request","z":"88d7eed7ca3d10ac","name":"Hue API v2","method":"use","ret":"obj","paytoqs":"ignore","url":"https://{{{ip}}}/clip/v2/{{{command}}}","tls":"56879bcc1f459306","persist":false,"proxy":"","authType":"","senderr":false,"x":590,"y":1180,"wires":[["eecbd864bfa0ea3c"]]},{"id":"c23bf9a4d9b1e65c","type":"debug","z":"88d7eed7ca3d10ac","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":775,"y":1180,"wires":[],"l":false},{"id":"eecbd864bfa0ea3c","type":"change","z":"88d7eed7ca3d10ac","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.data{`type`: [$]}","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":715,"y":1180,"wires":[["c23bf9a4d9b1e65c"]],"l":false},{"id":"56879bcc1f459306","type":"tls-config","name":"Hue Bridge","cert":"","key":"","ca":"","certname":"","keyname":"","caname":"","servername":"","verifyservercert":false,"alpnprotocol":""}] ``` and...

@MrTeal: your inject node should be like this: ``` [{"id":"dae91c25821b9ad4","type":"inject","z":"88d7eed7ca3d10ac","name":"Schlafzimmer ON","props":[{"p":"resource","v":"grouped_light","vt":"str"},{"p":"id","v":"661b2302-2be1-4143-a74e-9a15edf0d23e","vt":"str"},{"p":"payload"},{"p":"method","v":"put","vt":"str"},{"p":"command","v":"'resource/' & resource & '/' & id","vt":"jsonata"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"on\":{\"on\":true}}","payloadType":"json","x":390,"y":1520,"wires":[["64520a8d94126124"]]}] ``` BTW: please use code tags for your example json EDIT: Ups, I...

Hi @GRX, are the affected bulbs original Signify / Hue ones?

Hi guys, what versions of `node` and `npm` have you installed

@tocDK: so, you don't know about your npm or node version?

Hm, maybe you are using a docker for Node-Red: https://github.com/hassio-addons/addon-node-red/blob/278e54c468b64e42804fc232317d72741a2847bf/node-red/Dockerfile#L25-L32 && apk add --no-cache \ git=2.34.1-r0 \ nginx=1.20.2-r0 \ nodejs=16.14.0-r0 \ npm=8.1.3-r0 \ openssh-client=8.8_p1-r1 \ patch=2.7.6-r7 \ python3=3.9.7-r4 \