Recently Home Assistant was made avaliable in the App Central of Asustor since 9-11-2019, which is great of course. Credits to Patrick who is the maintainer.
But… how to make HA work with the Aeotec Z-stick Gen5 ???
When I try to add it the popup says “Z-Wave-validatie mislukt. Is het pad naar de USB-stick correct?” (translated Z-Wave validation failed. Is the path to the USB-stick correct?).
I also tried /dev/ttyACM0 as the network path.
I even tried 0x01 as the network key to no reveil.
The stick is working fine with same path in Domoticz. I tried to turn the Domoticz app off and rebooted the NAS after.
Try following the troubleshooting docs. Your error could be for any number of reasons. Maybe you should provide more information about your configuration. Hass.io? HA venv? Docker? etc.
I even tried 0x01 as the network key to no reveil.
0x1 is not a valid key. You don’t need to set a key, HA will generate one for you, unless you added secure devices with Domoticz. In that case you need to specify the same key for the secure devices to work.
Also, if you’re using an Aeotec Z-Stick, it’s recommended to use the path /dev/serial/by-id/usb-0658_0200-if00 which always points to the correct /dev/ttyACM<N> value.
Thanks for your help @freshcoast, much appreciated.
By ssh ls -ltr /dev/tty*|tail -n 1
gives crwxrwxrwx 1 root root 166, 0 Dec 6 01:30 /dev/ttyACM0
Details… Well, I do not have hass.io manually installed, it is the “prefab” installation of Home Assistant v0.101.0.r1 from the Asustor App Central.
This way Docker v18.06.3.r5 is also needed and installed automatically.
The path /dev/serial/by-id/usb-0658_0200-if00 also does not work and is producing the same result, see above. Also looking in the directories, folder /serial does not exist, although I certainly like the idea.
I tried removing and reinstalling everything again and I ran out of options.
I also had a look at the rest of the troubleshooting info but it looks that this is not applying to the Asustor platform and produces error messages because the command lines are probably for other environments (like the PI).
I don’t know anything about that platform, but if it’s using Docker it will need to pass in the the usb device path into the container, as seen here. You’ll want to confirm that that device is available in the container.
Unfortunately I am lost what is meant with “docker command” and “container” and so where to add this command. I do not feel that this is completely out of my league but I am mystified by what is said here.
The whole Z-stick thing starts to feel a bit fragile in Home Assistant. At the same time it is the key functionality in it and this not being able to work is a total dealbreaker. It would be good if Home Assistant had some ways to detect and auto-configurate this port.
Like I mentioned before, the Z-stick is working fine in Domoticz and was up and running in this application in no time.
This way Docker v18.06.3.r5 is also needed and installed automatically.
I assumed you meant that whatever this Ausutor App Central is doing is using Docker to run HA. If that’s the case, it’s their/your responsibility to pass the device to the container. HA cannot use the device if it’s not there. If that’s not the case, then I don’t understand what was meant.
I see, OK, thank you for explaining.
I will read myself in the container thing and investigate a bit how I can check if the Z-wave stick is passed to Docker and its HA container.
I found an application called Portainer, perhaps I can make use of that.
I am also thinking if putting so much time into this and if it would be a better idea of dropping the whole Asustor platform as being the home automation server and walk the Raspberry PI route. But I saw some mentioning about the Aeotec stick giving problems on the R-PI 4… So that would also mean another stick…
You mentioned the Asustor Domoticz was working, did you use the docker version of that? If so, however that app works was able to passthrough the USB devices. You might try contacting the maintainer of the Asustor HA app to see if USB devices are supported.
But I saw some mentioning about the Aeotec stick giving problems on the R-PI 4
It works fine if you connect it via certain USB hubs.
Systeemstatus
archx 86_64
dev false
docker true
hassio false
os_name Linux
python_version 3.7.4
timezone Europe/Amsterdam
version 0.102.3
virtualenv false
Lovelace
mode auto-gen
It is a pity to conclude that I cannot wrap my mind around the container thing and had a look at the Portainer application for the Asustor platform too, but I simply do not find enough help and examples how a device can be connected to containers and via containers to Home Assistant.
I am afraid it will only bring more regrets to put more time in it, so I drop the whole thing before I begin to feel serious frustrations and wait for my move to Raspberry PI and try HA on that (or alternatively stick with Domoticz).
I have never seen a HA based system for real and do not even know if I like it above Domoticz. It would be great to know…
Also a bit disappointing that the creator/facilitator of HA for ADM (the Asustor OS) does not respond to messages in order to provide some assistance with his product.
Anyway, thank you again @freshcoast for your help.
Update…
In the meantime I am in contact with the maintainer of Home Assistant for Asustor, and I have succesfully tested a working version that recognises the Aeotec Z-Stick Gen 5 properly, providing the correct path to the USB device is entered.
I presume there will be an updated version of HA in the Asustor App Central soon.
I am still running Domoticz on it and still need to find my love for HA, as I am not capable yet to use it the way I am using DZ which has a more attractive user interface.
Never received a notification of this reply, sorry @iebooker
Hope in the meantime you were able to integrate your nice combo stick!
As you might noticed if you still are using Home Assistant it is currently capable in auto-recognising at lot of attached hardware and this way my Aeotect Z-Stick Gen5 and later a Conbee II stick for Zigbee devices were perfectly recognised.
I wish this would be the same for your Nortek HUSBZB-1 stick.
Same here, actually I could get my hands on a new Home Assistant Blue Odroid N2+ model that will be delivered in like a week. Much more rest for the Asustor soon, that was getting really busy with some recent integrations that I added. The SlimmeMeter+ is creating a lot of HD traffic I noticed when turning it on and off as a test.
Now I realised that HA running on dedicated hardware will actually be a lot better for the NAS which will be used even more intensely this year for other purposes for my business. I can also relocate HA to a more strategic place regarding connections so win-win (except for the wallet that lost quite a bit).