Sounds like there has been some great progress, any chance of a Christmas Miracle for this?
Needless to say should have some spare time to be a guinea pig if we are at that stage.
All - apologies for going silent, had a few real world issues push this to the back burner, coupled with the fact I have outsourced to someone competent While I am reticent to build too much anticipation I wanted to update and let you know much progress has been made, and we are still working at it.
The HA integration is largely built - lights and switch (incl dimmer) are working, just sorting out the garagedoor which is almost complete.
Focus will then shift to performance and state awareness. This might be trivial, or not… the zcc can be slow and is currently prone to locking up / becoming unresponsive. It is too unstable at the moment to consider releasing. This phase could take a bit of time as the zcc API is limited and it is difficult to trace what is causing behaviour. Lots of trial and error…
The acc appears to operate independently of the app (that is another rabbit hole … android vs. apple app stability has proven to be an interesting topic). The mobile app bridges to the closest(?) endpoint via bluetooth. I have seen the devices state take a little while to update in the app but I suspect this is more to do with the number of devices rather than the zcc.
In terms of performance there are a few things planned for testing.
don’t have a reference on how the number of connected devices may impact performance. Once we are happy with all the base functionally I’ll have to remove a bunch of devices from my network (currently at 49) and start adding a few at a time to see if this impacts performance. This action obviously has a low WAF so needs to be planned carefully!
the socket management on the zcc appears to be rudimentary so the plan is to try and actively manage
the current build is conservative in timings due to above, perhaps we can tune up wait times a bit once we get the socket management under control.
so glad youve come back lol, Just bought enough devices to fit two houses so was looking forward to your integration, nice to see some progress still happening, Hopefully the life issues manage to take a backseat
Thank you for the update, very much appreciated.
I cannot tell you how grateful I am for this and I hope your other real life get resolved without too much pain.
Garage door is pretty much done. One bug to be squashed but not a major issue, have a good idea on what the problem is and it has a workaround for now
Integration now automatically assigns entities to an area based on Zimi name / data. Obviously this can be overwritten in HA as required. Makes large installs much easier to manage
Refresh of integration picks up changes (add / remove / rename) - most of the time…
Added some more debugging to help with next phase of performance testing
Config flow updated, more robust discovery and no longer need to provide IP of zcc
Next steps:
Performance optimisation - some improvement already made, chipping away
Event logging - perhaps… basic HA logging is working fine however may add more in debug mode to help users if experiencing issues / unexpected behaviour, especially on initial release
Code clean up / adherence to style guidelines
Add support for Fan Controller and Dimmer (I don’t have these to test but based on learnings so far this shouldn’t be too difficult) - will need to find someone to test, or wait for the bug report
Engage with zimi team to discuss some suggested potential API updates to improve overall functionality
It’s getting closer. Have made more progress in the last 2 weeks than in the previous 2 months which is nice.
Unplanned feature is the ability to use scripts and automations with any switch point (ideally a “spare”), to trigger some other HA entity e.g. I have a spare switch on a 2 point light switch in the WIR that I can now use to run a couple of scripts to put the blinds up and down
Still work required to be “production ready”, I suspect we will go down the HACS Custom repositories path in the early days when we need some more testing.
Update: Massive performance improvements made. The integration is fast and stable now, it is also state aware of external activity (app / physical switch).
Good news is that we are moving onto documentation as many of the outstanding items are not blockers and can be ticked off as minor updates. I’m getting close to deploying it in my main instance of HA. Won’t be too much longer before it can be released for further testing and feedback…
Incredible work mate, I was just in the phone to a support rep about weird inconsistent set up issues which sorted themselves out with a new account. Also just emailed the developers asking for API information to get to work on a HomeAssistant integration and eventually HomeBridge for my more simplistic household. Excited to see the results as I’d love to get working on a HomeBridge plugin from your work!