I’m still working on this. However I found out that it works under VirtualBox 5.x but doesn’t work under VirtualBox 6.x - both installs running on Fedora 30.
Trying to get an answer on the VirtualBox forum on this…
For now I have successfully connected to Elk-M1 on VirtualBox 5.x and love it!
General question: is the ELK M1 integration designed to be used exclusively with version 5.X firmware?
The reason I ask is because when I tried it, it failed to discover the outputs configured on my ELK M1 which uses V4.X firmware.
I used the config-flow process for installing the integration and it returned 231 entities (the vast majority being unused zones). It found all zones, scenes, and PLC devices (lights) but none of the outputs (or Tasks).
Should I be doing something differently to make it see the outputs or this is due to the older firmware I’ve using? As far as I know, the API command to discover outputs hasn’t changed since V4.X. However, i may be wrong because it’s been a long time since I looked into it. FWIW, I created an ELK M1 driver for Premise over a decade ago (so things may have changed since then).
Basically, says it is expected to work on the 4.6.8. However there are so many caveats in the ElkM1 docs that they are not all reflected on the page.
If you open a issue on the base ElkM1 library (check the README first) then I will take a look. The discovery stuff is new, it could be broken or it could be just the version of the Elk panel is too old, or…
Cheers Wench, I remember you from my CQC days. Just today, I finally shut down my CQC machine. I haven’t updated it in several years, but needed to keep it running until I finally got rid of some legacy devices which have no HASS driver. It’s a great relief to be pure HASS from here on. Richard
Cheers Richard, good to see you here. Been running HASS for a couple of years now. It meets my needs so far and aligns with the stuff I do in my day job more. But I have to admit I do miss CQC’s stability at times…
No issues with the Elk integration, it is definitely one of the high points…
As an update here for anyone running Home Assistant in VirtualBox. It is confirmed that VirtualBox 6.x has an issue using serial ports and Oracle is working on. In the meantime it runs successfully on VirtualBox 5.x.
Hey folks, lots of new ElkM1 stuff added. Should be showing up in the next release or the one after that. The docs have been significantly upgraded with all the services added and a new event. Also docs added around how to setup you ElkM1 correctly so that the integration works.
In addition, under the covers the ElkM1 library has been cleaned up a fair bit. It should not have any effect on performance and stability, but the code is a bit easier to maintain.
Almost all the feature requests from this thread and other places have been addressed.
My favorite is that a keypress on a keypad generates an event that can be used to drive an automation.
Thank you very much Glenn! I guess it’s time to update my system as I have been running a very early version of HA (v0.78.3) and really want to avoid breaking everything
Off topic but have you considered running HA on a virtual machine? This way you can easily create a backup disk before making any changes and then update your main install. If you break it you can always restore the backup disk
Can you say more? What do you mean that the sensor “become unavailable”? What are you seeing in the front end? Are they any logs?
I’m running 0.117.4 and my sensor.elkm1 is showing connected.
Edit: are you running autoconfig? There was some cleanup in that area. I’m just looking at my test system that has autoconfig and I don’t see sensor.elkm1. Investigating.