No commitment or guarantee but I have a basic command line app working via the API. Much to the annoyance of my wife I can control everything from my laptop
I have no experience building HA integrations but have started reading up a little and will have a better look on the weekend.
If you want to play you can just netcat (or putty in windows) to port 5003
nc your-zcc- ip-address 5003
to get properties request
{ârequestâ: {âpathâ: âapi/v1/controlpoint/propertiesâ,âmethodâ: âGETâ}}\r\n
to get states request
{ârequestâ: {âpathâ: âapi/v1/controlpoint/statesâ,âmethodâ: âGETâ}}\r\n
to get actions request
{ârequestâ: {âpathâ: âapi/v1/controlpoint/actionsâ,âmethodâ: âGETâ}}\r\n
to perform an action (replace PUT YOUR ADDRESS IN HERE with your control point id
{ârequestâ: {âpathâ: âapi/v1/controlpoint/actionsâ,âmethodâ: âPOSTâ, âbodyâ: {âactionsâ:[{âidâ: âPUT YOUR ADDRESS IN HEREâ,âactionâ: âTurnOnâ}]}}}\r\n
The support team have been great, we probably need to make sure there isnât too many people hitting them with questions!
Yes, absolutely need to do the UDP discovery as a first step. I have issues with this part, I think it is due to my network configuration (changes I have made to get my Sonos configuration stable). Iâll have to get back to it at some stage. Will be interesting to see if @llundberg has any success.
Hi Nick, I just installed netcat and socat and tried running those commands; no response at all in the first terminal. I entered the commands exactly as you had them. Anything I could look for that could be wrong?
I am a bit of a dummy so I need handholding along the way. I do have a hub if that helps.
Yes absolutely and the devices are working via the hub. But please have a look at the screenshots I sent to make sure I entered the commands correctly.
Ok, just a quick update to let you know this is still aliveâŚ
Iâve engaged a friend to help as this quickly became more than I am capable of doing properly. We now have a python library that will scan for all the deices, print out status and monitor for changes. You can then fire messages to turn on / off, adjust dimming etc.
The next step is to sort out the HA integration stuff. Will start this next weekend.
We do have some feedback we will providing to the Zimi Dev team as we think we have uncovered a few issues (including that we still canât get the UDP discovery component to work), and a performance improvement request.
This image shows the device tree build after the ZCC is scanned
Thank you so much guys, you are both stars in my eyes.
Unfortunately, I probably wonât be able to help much other than some testing but if there is anything at all I can do, please let me know.
Donât if this helps but Airtouch 4 has been working with Zimi to integrate these systems together.
The Airtouch which is a android tablet came out with a new option to link the two together and all is displayed on the Airtouch.
I spoke to Zimi tech support and a new firmware update is coming out for the Zimi cloud connect hub on or before the 30/9/21 which will allow the two to talk.
Iâm very excited by all this progress (which to me happened in the space of 5 minutes because I last checked months ago)!!!
Iâve been holding off on making my choice between Zimi/Powermesh and SAL/Pixie (or others) until I had some confidence that theyâd be able to be integrated with HA. This is giving me a lot of hope!
Could you clarify - is all this communication youâre doing above to collect device states occurring locally between your PC and the Zimi Cloud Connect hub? And is this the interface that the API documents? Very exciting!
Hello again - Iâve created a new account as the typo in âHA4begginersâ was doing my head inâŚ
Anyway, sorry itâs been quiet. We now have a fully functional python module that supports discovery, monitoring and triggering of all device types (well, donât have fan to test on but Iâm pretty confident on that one). We have now started integration with HA.
No guarantees however, I am getting another 8 endpoints installed this week so I am targeting the end of the month for at least a beta version.
We are still learning a little about how to manage âgroupsâ of lights as the API doesnât support. Iâve also raised a support ticket to see if we can get the power consumption data exposed via the API. Not holding out a lot of hope on that but we will see.
@teleksterling yes, this is all locally with the zcc hub and based on the API doco that is floating around.
I want to say thank you to all you people who have been progressing this, you are all stars in my book.
I am not much use as a developer but I am hoping that at some point I can learn how to integrate my Zimi hub.
Is it ready for this yet and if so, how do I go about doing this?
Are you hosting this in a public GitHub repo that you can share?
I have the Hub, some switches and access to the developer API. I have been planning to start on a HA integration, just not made it that far yet.
If you have a starting point, maybe I can also work on your code base. @Bystander00 - Just read that you changed your name
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.