author

Duffy28

1
Inbox View Profile
1Instructables873Views9Comments

Tell us about yourself!

Achievements

  • Super Simple RGB WiFi Lamp

    Here is an example of a bidirectional Node-Red-Apple-Homekit-Integration via websocket. It just implements a simple switch to turn the lamp on and off. Of course you have to change the parameters like websocket-address. You could delete the debug-outputs as well:[{"id":"a860dcaf.e8835","type":"websocket in","z":"dccb0857.36db48","name":"","server":"","client":"c1ae6b7.6174998","x":210,"y":240,"wires":[["ca429c73.bd133","44a24fc0.97187"]]},{"id":"ca429c73.bd133","type":"debug","z":"dccb0857.36db48","name":"Debug Out","active":true,&qu…

    see more »

    Here is an example of a bidirectional Node-Red-Apple-Homekit-Integration via websocket. It just implements a simple switch to turn the lamp on and off. Of course you have to change the parameters like websocket-address. You could delete the debug-outputs as well:[{"id":"a860dcaf.e8835","type":"websocket in","z":"dccb0857.36db48","name":"","server":"","client":"c1ae6b7.6174998","x":210,"y":240,"wires":[["ca429c73.bd133","44a24fc0.97187"]]},{"id":"ca429c73.bd133","type":"debug","z":"dccb0857.36db48","name":"Debug Out","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":510,"y":100,"wires":[]},{"id":"bd068e2f.5779e","type":"inject","z":"dccb0857.36db48","name":"On","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"On\":true}","payloadType":"json","x":170,"y":460,"wires":[["d080512f.ca061"]]},{"id":"b8f6d075.8991e","type":"debug","z":"dccb0857.36db48","name":"HomeKit Out","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":530,"y":380,"wires":[]},{"id":"ffbbe1f4.97bf1","type":"inject","z":"dccb0857.36db48","name":"Off","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"On\":false}","payloadType":"json","x":170,"y":500,"wires":[["d080512f.ca061"]]},{"id":"d080512f.ca061","type":"homekit-service","z":"dccb0857.36db48","accessory":"515939a3.30e2a8","name":"Lampe_2","serviceName":"Switch","x":320,"y":480,"wires":[["46e02ca2.340464","b8f6d075.8991e"]]},{"id":"fc8a0fa7.66c79","type":"websocket out","z":"dccb0857.36db48","name":"","server":"","client":"c1ae6b7.6174998","x":880,"y":480,"wires":[]},{"id":"21b88e1c.43d4c2","type":"change","z":"dccb0857.36db48","name":"State:false","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"State\":false}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":670,"y":520,"wires":[["fc8a0fa7.66c79"]]},{"id":"37e5dbd6.768414","type":"change","z":"dccb0857.36db48","name":"State:true","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"State\":true}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":660,"y":440,"wires":[["fc8a0fa7.66c79"]]},{"id":"46e02ca2.340464","type":"switch","z":"dccb0857.36db48","name":"","property":"payload.On","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":520,"y":480,"wires":[["37e5dbd6.768414"],["21b88e1c.43d4c2"]]},{"id":"44a24fc0.97187","type":"switch","z":"dccb0857.36db48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"\"State\":true","vt":"str"},{"t":"cont","v":"\"State\":false","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":490,"y":220,"wires":[["a71db511.cec048"],["3008a81b.a4cc58"]]},{"id":"a71db511.cec048","type":"change","z":"dccb0857.36db48","name":"On:true","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"On\":true}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":700,"y":160,"wires":[["7495dc54.4bbe14","d080512f.ca061"]]},{"id":"3008a81b.a4cc58","type":"change","z":"dccb0857.36db48","name":"On:false","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"On\":false}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":700,"y":220,"wires":[["7495dc54.4bbe14","d080512f.ca061"]]},{"id":"7495dc54.4bbe14","type":"debug","z":"dccb0857.36db48","name":"Websocket_Out","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":960,"y":100,"wires":[]},{"id":"c1ae6b7.6174998","type":"websocket-client","path":"ws://172.16.17.178:81","tls":"","wholemsg":"false"},{"id":"515939a3.30e2a8","type":"homekit-accessory","accessoryName":"Lampe_2","pinCode":"111-11-111","port":"","manufacturer":"DaMe","model":"Default Model","serialNo":"Default Serial Number","accessoryType":"10"}]

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Figured it out by myself. Node-Red-Export of simple putting the lamp on and off:[{"id":"930eead9.1d3368","type":"inject","z":"dccb0857.36db48","name":"Turn ON","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"State\":true}","payloadType":"json","x":200,"y":200,"wires":[["3ed9eff5.5386d"]]},{"id":"3ed9eff5.5386d","type":"websocket out","z":"d…

    see more »

    Figured it out by myself. Node-Red-Export of simple putting the lamp on and off:[{"id":"930eead9.1d3368","type":"inject","z":"dccb0857.36db48","name":"Turn ON","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"State\":true}","payloadType":"json","x":200,"y":200,"wires":[["3ed9eff5.5386d"]]},{"id":"3ed9eff5.5386d","type":"websocket out","z":"dccb0857.36db48","name":"","server":"","client":"c1ae6b7.6174998","x":510,"y":200,"wires":[]},{"id":"a860dcaf.e8835","type":"websocket in","z":"dccb0857.36db48","name":"","server":"","client":"c1ae6b7.6174998","x":230,"y":280,"wires":[["ca429c73.bd133"]]},{"id":"ca429c73.bd133","type":"debug","z":"dccb0857.36db48","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":470,"y":280,"wires":[]},{"id":"774737e.192d0c8","type":"inject","z":"dccb0857.36db48","name":"Turn OFF","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"State\":false}","payloadType":"json","x":200,"y":120,"wires":[["3ed9eff5.5386d"]]},{"id":"c1ae6b7.6174998","type":"websocket-client","path":"ws://172.16.17.178:81","tls":"","wholemsg":"false"}]Just change the websocket-IP-addressI love open source ;-)Thank you!

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Could you please give us more info about the node-red-integration?I just want to turn the lamp on and off.Thanks in advance and kind regards.

    View Instructable »
  • Duffy28's instructable Birdhouse (parametric)'s weekly stats:
    • Birdhouse (parametric)
      155 views
      2 favorites
      2 comments
  • Duffy28 commented on Duffy28's instructable Birdhouse (parametric)
  • Duffy28 made the instructable Super Simple RGB WiFi Lamp
    Super Simple RGB WiFi Lamp

    Just put some hooks on that lamp and you have a very cool skateboard-lamp! Thank you very much for your work!!! I made it completely out of wood with some hangers. If you find time: More lightmodes would be brilliant.

    View Instructable »
  • Duffy28 commented on brichtl's instructable Laser Engraved Journal

    Great!What laser do you have and where did you buy it?

    View Instructable »
  • Duffy28 followed photography, cnc, reuse, arduino and 7 others channel