OpenZWave nodes for node-red. Uses the OpenZWave binding for Node.JS (https://github.com/jperkin/node-openzwave). It includes:
'zwave-controller' : a unique CONFIG node (not able to participate in flows) that holds configuration for initializing OpenZWave and will acts as the encapsulator for OZW access. As a node-red 'config' node, it cannot be added to a graph, but it acts as a singleton object that gets created in the the background when you add 'zwave' or 'zwave-node' nodes and configure them accordingly.
'zwave' : a generic zwave node that can do ZWave I/O with arbitrary messages, so it can be used with function blocks.
'zwave-node': use this to target a specific ZWave node's function ("ValueID" in OpenZWave terminology) that can be parameterised for individual ZWave device endpoints. For instance, a ZWave switch can be an input node, or a ZWave dimmer can be a Node-Red output node.
--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You probably need libudev-dev. Type "sudo apt-get install libudev-dev" to get in on ubuntu or debian.
--
http://nodered.org
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/W7TVBvR6BXQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.
Forgot to add, this is a weekend project, so its not working yet :)
Elias great to see your getting started with node-red (weekends only :)
I've just ordered the ROT KNX/EIB board will post when I've got something to share.
Lawrence
--
http://nodered.org
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/W7TVBvR6BXQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
npm install node-red-contrib-openzwave
npm install node-red-contrib-openzwave
--
http://nodered.org
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/W7TVBvR6BXQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
http://nodered.org
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/W7TVBvR6BXQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Its not yet complete. Be patient:)
Yes that would be a good idea to try. However, I'm not sure if ozwcp does any extra stuff upon initialization (like setting up polling).please share your findings, should it be a nice way to use ozwcp end par node-red. Bear in mind that I'm gradually adding all the management API into node.js
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/W7TVBvR6BXQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+unsubscribe@googlegroups.com.To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/0678f06f-5396-418f-818e-13f60a8527f6%40googlegroups.com.
msg = {"topic": "setValue", "payload": {"nodeid":3, "cmdclass":98, "cmdidx":0, "instance":1, "value":false}};
return msg
{"topic":"getNodeStatistics","payload":{"args":[3],"result":{"sentCnt":12,"sentFailed":0,"retries":0,"receivedCnt":22,"receivedDups":0,"receivedUnsolicited":20,"lastRequestRTT":1290,"lastResponseRTT":1333,"averageRequestRTT":1269,"averageResponseRTT":1317,"quality":0,"sentTS":"2018-01-08
[{"id":"6749421e.5ab17c","type":"zwave-out","z":"49e77309.11683c","name":"Z-Wave ut","controller":"15641374.bcdded","x":610,"y":160,"wires":[["194ba270.1732fe"]]},{"id":"194ba270.1732fe","type":"debug","z":"49e77309.11683c","name":"","active":true,"console":"false","complete":"true","x":790,"y":160,"wires":[]},{"id":"42a6320.113b3d","type":"inject","z":"49e77309.11683c","name":"","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"x":210,"y":160,"wires":[["dc62fb9.2c9d508"]]},{"id":"dc62fb9.2c9d508","type":"function","z":"49e77309.11683c","name":"DoorUnlock","func":"msg = {\"topic\": \"setValue\", \"payload\": {\"nodeid\":3, \"cmdclass\":98, \"cmdidx\":0, \"instance\":1, \"value\":false}};\nreturn msg;","outputs":1,"noerr":0,"x":390,"y":160,"wires":[["6749421e.5ab17c"]]},{"id":"b5868c4a.5a37e","type":"inject","z":"49e77309.11683c","name":"","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"x":210,"y":200,"wires":[["3bb5b099.c1d23"]]},{"id":"3bb5b099.c1d23","type":"function","z":"49e77309.11683c","name":"DoorLock","func":"msg = {topic: 'setValue', payload: {\"nodeid\":3, \"cmdclass\":98, \"cmdidx\":0, \"instance\":1, \"value\":true}};\nreturn msg;","outputs":1,"noerr":0,"x":380,"y":200,"wires":[["6749421e.5ab17c"]]},{"id":"76cb6bd6.f97ad4","type":"comment","z":"49e77309.11683c","name":"Z-Wave","info":"","x":210,"y":120,"wires":[]},{"id":"338fa751.38e918","type":"inject","z":"49e77309.11683c","name":"","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"x":210,"y":280,"wires":[["f816fb8.1e35408"]]},{"id":"f816fb8.1e35408","type":"function","z":"49e77309.11683c","name":"","func":"msg = {\"topic\": \"getNodeStatistics\", \"payload\": {\"args\": [2]}};\nreturn msg;","outputs":1,"noerr":0,"x":370,"y":280,"wires":[["6749421e.5ab17c"]]},{"id":"15641374.bcdded","type":"zwave-controller","z":"","port":"/dev/ttyAMA0","driverattempts":"3","pollinterval":"10000","allowunreadyupdates":false,"networkkey":"\"0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,0x10\"","logging":"full"}]
[{"id":"e9cef7ff.dee088","type":"zwave-out","z":"d5c97481.664918","name":"","controller":"4e05476a.59dcd8","x":1110,"y":120,"wires":[["b06bd4d7.1f4a98"]]},{"id":"b06bd4d7.1f4a98","type":"debug","z":"d5c97481.664918","name":"","active":true,"console":"false","complete":"true","x":1250,"y":120,"wires":[]},{"id":"14a2130d.615d8d","type":"inject","z":"d5c97481.664918","name":"Add device","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"x":790,"y":80,"wires":[["824457bc.28bb48"]]},{"id":"824457bc.28bb48","type":"function","z":"d5c97481.664918","name":"","func":"msg = {\"topic\": \"addNode\", \"payload\": true};\nreturn msg;\n","outputs":1,"noerr":0,"x":970,"y":80,"wires":[["e9cef7ff.dee088"]]},{"id":"fdd7b6c1.558f38","type":"function","z":"d5c97481.664918","name":"","func":"//RemoveNode\nmsg = {\"topic\": \"removeNode\", \"payload\": {\"prependHomeId\":true}};\nreturn msg;","outputs":1,"noerr":0,"x":970,"y":160,"wires":[["e9cef7ff.dee088"]]},{"id":"72e2f479.5fb31c","type":"inject","z":"d5c97481.664918","name":"Remove device","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"x":800,"y":160,"wires":[["fdd7b6c1.558f38"]]},{"id":"4e05476a.59dcd8","type":"zwave-controller","z":"","port":"/dev/ttyACM0","driverattempts":"3","pollinterval":"10000","allowunreadyupdates":false,"networkkey":"\"0x00,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,0x10\"","logging":"full"}]