-
Script to disable all the mios/vera proprietary program and broadcast its zwave and zigbee radio serial ports in your network so it can be picked up by another controller... For example z-way.
-
Is this just as good as buying a zigbee stick ?
I was thinking of using the zigbee through vera, but mabye this is better in terms of device compatibility? -
Looking at the code and depending on the version of Ser2net that’s installed, adding e.g. max-connections=3 to the end of the Ser2net command would allow multiple connections ?
-
So... I have been using this for 10 months now and yeah it is better than a zigbee stick because you bypass the usb interface. It is a direct serial uart so I got to fool around with the firmware without ever bricking it due incorrect bootloader etc which usb requires.
You know there are only a handful of zigbee chipsets so... this is the silabs one and is the most generically compatible. The conbee would be the only zigbee stick I would consider with the TI one being last though it is cheap.
@parkerc... yup I am using it with two connections. I have a uzb plugged into my vera at the center of my house sending both the zigbee and the uzb serial ports down to my z-way/openluup/homeassistant VMs in my server down in my garage. You can practically make it send any number of serial port you want. -
Hey @rafale77
I’m going to have a play with this later, as a comprehensive usb/serial server (https://smarthome.community/topic/209/home-automation-serial-server-raspberry-pi ) is something I’ve been tinkering with for years ! (https://community.getvera.com/t/building-a-ser2net-serial-to-ip-server/173673) - wow has it really been that long .. 2012 !!!
Once announced and eventually added to Vera, Zigbee has been a capability that I’ve been keen to explore, but due to it’s lack of consistency (compared to z-wave) I’ve not invested much time.
Although; it is on my HA to-do list, - out of my league, but by opening up the zigbee on Vera, is there the potential to extend its usage with (https://github.com/koenkk/zigbee-herdsman ) and (https://github.com/koenkk/zigbee2mqtt) ?
-
Have not looked at these project in quite some time but if my memory serves me well, they support only the TI chipset stacks so no they are not compatible with the chip on the vera. The stack on the vera works with the bellows-zigpy project: https://github.com/zigpy/bellows, EZSP stack, which was the base of the initial Home assistant zigbee support.
-
@rafale77. I want to neuter my Vera Plus and socat the zwave, but keep the client wifi connectivity so I can place the Vera more centrally. I modified the nuke vera script to not do "wifi down". This seemed to work for a while, my ra0 interface had an IP, and I was able to reboot the Vera and it still worked. After a couple days the Vera dropped off the wifi, even the wired interface wouldn't link up. I did a factory reset and that got the wired interface working again.
I'm not sure how to configure the wireless interface. Using iwconfig to try and configure ra0 w/ the wifi ssid gave me "SET failed on device ra0 ; Operation not supported." Any ideas on what I might need to do to get the client wifi working?
-
Interesting. Not sure why none of the interface would work after a few days. You may want to look for system logs. This should not happen unless something on your network kicked the vera out. I am thinking of a DHCP lease renewal failing for example.
I would suggest to set everything with a static IP for a start if you have not done so. Note also that if you are using 2.4GHz wifi and don't have the channels setup right you may have your wifi interfere with zigbee. -
So, I nuked my Vera.. (Just the bakup vera though)
Can you extrapolate your guide to the point where i see them in z-way?
-
Hmm it won't work on z-way... this is more for other platforms for example homeseer or home assistant. z-way unfortunately requires a key which requires the hardware to be specific (uzb or razberry).
The compatibility is only one way. You can use any usb zwave stick, including the uzb on homeseer, domotcz, homeassistant, vera etc... because they all use the same zwave serial API but z-way only works with their hardware.
With this nuking process, you basically turned the vera into a usb zwave and zigbee stick over IP. -
Aha, OK.
Anyway, i found the way to install socat at least (for anyone wondering about this later):
So, this is not a way to get zigbee to Openluup instead of the vera bridge?
-
Throwing out a thought; could it be possible to reinstall a VeraPlus with HASSio?
I'm really sick of the zigbee handling of the vera, so if HA can use the zigbee chip in the vera, that could be even more elegant than HASS on the main unit and Socat..
Found this thread: https://community.home-assistant.io/t/ha-on-openwrt/118125/16
It may be possible to do that on a nuked vera?
-
..which links to this: https://community.home-assistant.io/t/how-to-install-ha-on-your-router/126937
I may have a go at this..
-
I've been looking a bit more at this, taking in zigbee and rfxtrx from a vera to HASS.
Zigbee is in, and runs well, but the second connection is rough, wether its z-wave or RFXTRX (I added a line for it in ser2net.conf).
I noticed that the Vera seems to have a timeout on the connections, is there a way to disable this or to change it?
-
I have never observed this, Are you sure it isn't a network problem (switch maybe?)
-
Can't see that my router does anything here, but I do see that the RFXTRX integration in HASS has some issues, so it may just be that implementation. Zigbee to ZHA in hass is completely stable..
I just noticed that my SSH connection dropped out if i wasn't active on it, so I thought that this may be the case for the RFX connection as well..
-
I've gotten all the connections up (problem was on the other side), but one issue is still here: Rotate_Logs.sh is still called every 20 minutes, and it causes a reboot. Can I just delete the script?
-
I did a test of just modifying a line from the nukevera script, and now the vera is stable. No idea if it's correct (or will survive a reboot), but it works..
sed -i '2 a exit 0' /usr/bin/Rotate_Logs.sh
-
Hello, I would like to use Home Assistant (HA) instead of the Vera Lite or Edge, which are becoming obsolete. The only thing is that Alexa works quite well with the Vera, but I believe that sooner or later, Ezlo will remove that functionality. There haven’t been any firmware updates for a while, so I’m wondering if it’s still possible to use a Vera with HA, as discussed in a previous post. Is it easily reversible in case it doesn’t work for me and I need to go back to the Vera? I’m thinking of using the “rafale77 nukevera.sh” script, but I suspect that despite a reboot, it may still leave some traces. So, to return to the original state, can we still access the interface to create a backup of the Vera? Thank you for the information. Also, for HA, how can I use socat because things might have changed over time?
-
I havent needed Socat, just using Z2MQTT in a docker, and it connects to the vera just fine over network.. I ended up retiring the vera in the end in favour of UZB and Z-Stick, as some functions and security didn't work, but basic z-wave works well.