I'm using HABridge with my Echo and it's working fine. I'm trying to use it to add devices to my Harmony Hub so that when I start my TV it can also power-on some LED backlights, etc. The Harmony finds the HA Bridge as a Hue device and adds it, but it only seems to add one device out of the 17 I have in there. Any ideas how to get this to detect all the devices in there? Thanks

I have added the Harmony Hub hardware to Domoticz. This gives me a switch for each "activity" plus "power off".
I then use a simple blockley to call a lighting scene and other switches when "Watch TV" is on.

So when I say:- "Alexa, turn on Watch TV", the HA-Bridge tells the harmony hub what to do, and Domoticz detects the harmony activity and sorts the lights out.

doh wrote:I'm using HABridge with my Echo and it's working fine. I'm trying to use it to add devices to my Harmony Hub so that when I start my TV it can also power-on some LED backlights, etc. The Harmony finds the HA Bridge as a Hue device and adds it, but it only seems to add one device out of the 17 I have in there. Any ideas how to get this to detect all the devices in there? Thanks

Never mind - figured it out. I had created multiple switches as copies and updated the URL's, but they all had the same Hue ID so it only kept the last one it found. I've re-created them and they're all now visible.

It tells you how to use a simple starthabridge.sh script to start ha-bridge and keep it running. If you want ha-bridge to run on port 80, you may also just configure that under the "Bridge Control" tab. After saving the new config, and restarting ha-bridge, you will find it will listen on port 80 by default.

It tells you how to use a simple starthabridge.sh script to start ha-bridge and keep it running. If you want ha-bridge to run on port 80, you may also just configure that under the "Bridge Control" tab. After saving the new config, and restarting ha-bridge, you will find it will listen on port 80 by default.

The UI of ha-bridge is a bit confusing. When you enter all the Domoticz information, you need to click the green "Add" button on the right (next to the line you just added information on) to add the Domoticz information and then click the "Save" button at the top of the settings page in ha-bridge. Same goes for adding action for ha-bridge devices.

jeroenvanpelt wrote:The UI of ha-bridge is a bit confusing. When you enter all the Domoticz information, you need to click the green "Add" button on the right (next to the line you just added information on) to add the Domoticz information and then click the "Save" button at the top of the settings page in ha-bridge. Same goes for adding action for ha-bridge devices.

yeah i did that,
i also tried it for adding the Harmony hub.. but everytime (after i added it (domoticz/harmony) and saved it) it wasnt there anymore after it saved an reinitilazed..

can it be that it uses an old config file or something (from the previous version?) instad of the new one after reinitialzing or something?

why do i think that?
--> there was an harmony device device allready in it (my harmony with the old ip adress) , i deleted this, and added the harmony with the new ip adresss and saved.. but then the new one was gone, an the old one was there again..
so what i did then was (with putty) i opened:

Have you stopped and started the ha-bridge after you updated it? From the log you quoted earlier, it looks like ha-bridge can't read your device.db.

Let's start at the beginning: How did you update ha-bridge? I have done so this morning by just downloading the 4.1.0 jar file and placing it in the habridge directory I had created. After that I killed the old ha-bridge process. After updating the starthabridge.sh script with the correct version, I started ha-bridge again.

jeroenvanpelt wrote:Have you stopped and started the ha-bridge after you updated it? From the log you quoted earlier, it looks like ha-bridge can't read your device.db.

Let's start at the beginning: How did you update ha-bridge? I have done so this morning by just downloading the 4.1.0 jar file and placing it in the habridge directory I had created. After that I killed the old ha-bridge process. After updating the starthabridge.sh script with the correct version, I started ha-bridge again.

no i didn't stop the old one, i just installed the new one (following the instructions on github) but i did a reboot of the rpi allready.. the old habridge didnt start up at reboot..
yeah i changed the Starthabridge.sh script to the new version..

but it still doens't work to edit the config file from the webinterface

That is really strange. I am just trying to eliminate most likely causes. Did you start starthabridge.sh as root? Is the data/device.db file there if you check from the command line? Is the config file in the data directory?

jeroenvanpelt wrote:That is really strange. I am just trying to eliminate most likely causes. Did you start starthabridge.sh as root? Is the data/device.db file there if you check from the command line? Is the config file in the data directory?

And, do you see any of the config you did before the update?

the only thing i saw in the config from before the update was the harmony hub with the old ip.. (my devices that i added allready (with manual ad) were gone)