Hello. I'm trying to integrate z-wave to my own home automation system. My automation system use CAN-bus. My system include dimmable light groups what I want to control wireless with z-wave. I also need to pass information like temperature from z-wave to my system.
Right now I have Raspberry pi 3, can-module and RaZberry-module. Smarthome works and I can use wall-c switch. I have also RGBW-controller for testing purpose. I still haven't figured out what is best way to get information from smarthome to can-bus. My can-bus communication also work so that is not a problem.
I think best way to do this is to configure Z-wave network from smarthome but do I then have to do virtualDevices to my own system or what? If I have to make virtualDevices do I also have to make my own JavaScript extensions so I can communicate CAN-bus with C. Another options is to use C-api but what would you guys suggest?
Any help is appreciated because I'm kinda stuck right now.
Passing z-wave information through CAN-bus
Re: Passing z-wave information through CAN-bus
Ok. So I have manage to do my own Javascript extension-module that send message to the CAN-bus. I can call that this from javascript module. Now my only problem seems to be that I do not know how to trigger this when some z-way actions happends.
Re: Passing z-wave information through CAN-bus
You should subscribe to different event from devices. Would be nice to see your h/w and your module. May be we can improve it and add to the trunk or you might want to publish it in our store.
Talking about the s/w design, I would suggest to make a full map of CAN devices into vDev and then bind CAN vDev with Z-Wave vDev in home automation. This is the Z-Way way
Talking about the s/w design, I would suggest to make a full map of CAN devices into vDev and then bind CAN vDev with Z-Wave vDev in home automation. This is the Z-Way way
