I've read a number of posts on various ways people have integrated Home Assistant (HA) into Hubitat (HE). i.e., mention of HACS in HA, which I've installed, mention of Hubitat Package Manager, which I've also installed. I've also seen mention of the Home Assistant Device Bridge,
which mentions using Hubitat Package Manager. I just got the HE C8 Pro delivered, and setup, I had a C7 previously in our last home, two years ago, so it's been a minute since diving into HE....
What I'm looking to do:
I setup Home Assistant over Christmas, discovered I missed Hubitat, so bought the C8 Pro, and want to expose everything in HA to HE, with the easiest method possible. As mentioned previously I already did install the Hubitat Package Manager (but have no idea how that works or what to do with it) and I also have HACS installed on HA.
I ultimately want to setup a test between some zigbee motion sensors in HA and HE to see which ones turn on a light fastest to improve the WAF.
You want HADB, search for " HE-HA-control" in Package Manager and install that.
You do not need to install anything on HA for it to work, it uses a websocket connection.
That will bring all the entities you select over to HE as child devices of the bridge device (which is created by the app). IMO its not ideal but it seems to work very well.
Follow the instructions in the HADB post you linked.
The Hubitat Plugin you can get on HA from HACS allows you to bring Hubitat devices over to HA, if you need to do that at all. It uses Maker API on HE.
Okay now, when I go to Apps, and click on Home Assistant Device Bridge, I've inputted the IP Address, port, long live token, clicked on discover devices, I see all the devices, I toggled them all on, clicked done. I walked around my house triggering motion sensors, door locks, lights, etc., and I keep checking the Devices, but do not see any of the Devices populating. Maybe I'm looking in the wrong place for them to populate?
I see them when I go through the discover process, and have them all selected, and click done. And per the install page it said they don't get added till a state change, so I walked around triggering motion, lights, etc..
Yeah I tried removing all devices, and re adding some devices, still not working. I’ll try removing the bridge and driver and reinstall it. Maybe I’m missing something in the install.
In the device list make sure this top entry does not remain checked, that is what the error is complaining about.
You might need to uncheck it and then select all the devices one by one. Could be a bug in the UI or in the app itself. I dont want to click it and mess up my selections but maybe I will set it up on my dev hub so I can try it out.
I went in and unselected everything, and then only selected a single light, and a single motion sensor in the Living Room. It has a bunch of attributes, assuming I select all of those. I then went and triggered the motion sensor and light. Checked Hubitat, and now I see those two devices.
So maybe one of the devices I had selected (I initially selected everything) was throwing the error. I'll add one device at a time, trigger it, and then verify it gets added to find the trouble device. Thanks for your help @jtp10181
From the error, it looks like the "Toggle All On/Off" was included as a device in the list to subscribe to. Which is kind of odd.
I wanted to see if and how it is included in order to fix the problem. But if you select device one by one instead of ticking the All device option, the problem won't occur, hence the list will not show it.
There is no device at fault. If you don't use the Toggle all option, you can select all the device you want in one shot.