Manual: Domoticz devices to Toon (HA-Bridge solution)

Forum about Toon related manuals and tutorials. Read-only for most members.

Moderators: marcelr, TheHogNL, Toonz

TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Manual: Domoticz devices to Toon (HA-Bridge solution)

Post by TerrorSource »

Hi all,

Wanted to share a quick work-in-progress guide to get control the Domoticz devices in Toon via HA-bridge.
Screenshots will be added later.

HA-Bridge is a java-based solution to "fake" a Hue-bridge device on your Raspberry.
Toon only accepts Hue Bridge, Fibaro Smokedetectors and Fibaro WallPlugs directly, for all other devices you need to use a interposing solution (software in between Toon and your Domotica solution)

This manual is for Raspberry Pi users, i cannot support other systems myself due to the fact that I'm using a Raspberry Pi 3 myself for Domoticz.

Github: https://github.com/bwssytems/ha-bridge

----------------------------------

A. Install HA-Bridge:
1. Install HA-bridge using this manual: github.com/bwssytems/ha-bridge/blob/mas ... /README.md
So:
https://github.com/bwssytems/ha-bridge/ ... E.md#build
https://github.com/bwssytems/ha-bridge/ ... DME.md#run
https://github.com/bwssytems/ha-bridge/ ... ux-systems
https://github.com/bwssytems/ha-bridge/ ... -preferred
https://github.com/bwssytems/ha-bridge/ ... ge-on-a-pi

STOP NOW!, do not do this part and everything below:
https://github.com/bwssytems/ha-bridge/ ... on-port-80

B. Configure HA-Bridge:
2. Go to the IP of your raspberry via webbrowser, no port is needed (HA-Bridge runs on Port 80).
3. Go to tab "Bridge Control" in "Home".
4. Fill in your Domoticz server configuration (cq. Name/IP/Port/username/password).
5. Scroll to the top and press the green button "Save".

C. Add devices into HA-Bridge
6. Go to "Domoticz Devices" in "Home".
7. You can either add 1 device at a time or "bulk add".
. To add 1 device at a time press "Build Item" at the end of a device line.
. To add multiple devices at a time, check the checkboxes of all devices you want to add and press "Bulk Add" at the bottom of the page.
8. Your devices show up under "Bridge Devices" in "Home" tab.

D. Connect HA-Bridge in Toon
9. Go to "Bedien opties" in the Menu of Toon.
10. Go to "Lampen", press "Koppel Bridge" and press "Zoeken" in the next screen.
. Connecting the HA-Bridge will take a few minutes and some checkboxes will be marked. Press "Gereed" in the right top of the screen when it's done connecting.
11. The devices which you configured in HA-bridge at step 7 will shown up on the Toon.

Known issues
- I tried to make a "Scene" within Toon with the Domoticz Devices, didnt get it to work. Needs to be checked again later on.
- Names of the Devices can be changed on the Toon, dont know if they will be overwriten by HA-Bridge or Domoticz.
- "Groep Aan" and "Groep Uit" Buttons will turn ON/OFF all configured devices, Dont know if a devices can be in the Devices list but not touched by the Group buttons so be carefull using these buttons or think about it when configure the devices in HA-Bridge.
Last edited by TerrorSource on Thu Aug 10, 2017 1:20 pm, edited 1 time in total.
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Manual: Domoticz devices to Toon (HA-Bridge solution)

Post by mAiden »

Hmm.. My Toon dont found the HA-Bridge. Can you help me?
Member of the Toon Software Collective
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Manual: Domoticz devices to Toon (HA-Bridge solution)

Post by TerrorSource »

mAiden wrote:Hmm.. My Toon dont found the HA-Bridge. Can you help me?
Then there's something wrong with the setup of the HA-bridge. Try rebooting the pi and if the HA-bridge doesn't start up automatically, start it manually.
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Manual: Domoticz devices to Toon (HA-Bridge solution)

Post by mAiden »

TerrorSource wrote:
mAiden wrote:Hmm.. My Toon dont found the HA-Bridge. Can you help me?
Then there's something wrong with the setup of the HA-bridge. Try rebooting the pi and if the HA-bridge doesn't start up automatically, start it manually.
I've already done your steps, that you said to work well. No success
There is also no link button?
Member of the Toon Software Collective
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Manual: Domoticz devices to Toon (HA-Bridge solution)

Post by mAiden »

A few days later, I know now that HUE app will see my HA-Bridge.. Toon don't see him, Toon only gives me the reason "There is no bridge found on you're network."
Member of the Toon Software Collective
Nielsch
Starting Member
Starting Member
Posts: 5
Joined: Mon Jul 24, 2017 5:02 pm

Re: Manual: Domoticz devices to Toon (HA-Bridge solution)

Post by Nielsch »

mAiden wrote:A few days later, I know now that HUE app will see my HA-Bridge.. Toon don't see him, Toon only gives me the reason "There is no bridge found on you're network."
Did you find out what went wrong? I'm having the same issue. My Hue app can find the bridge, as well as my Logitech Harmony Hub. I read somewhere that Toon uses the 'notify-messages' instead of sending UPnP requests itself. But when I scan my network HA-BRIDGE also sends these notifcations successfully:

HA-BRIDGE:

Code: Select all

^'E\ @0llHNOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
LOCATION: http://192.168.178.16:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.19.0
NTS: ssdp:alive
hue-bridgeid: B827EBFFFE80C4DD
NT: uuid:2f402f80-da50-11e1-9b23-b827eb80c4dd
USN: uuid:2f402f80-da50-11e1-9b23-b827eb80c4dd
HUE:

Code: Select all

^	EU
IJllANOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
LOCATION: http://192.168.178.11:80/description.xml
SERVER: FreeRTOS/7.4.2 UPnP/1.0 IpBridge/1.16.0
NTS: ssdp:alive
hue-bridgeid: 001788FFFE09EEE4
NT: upnp:rootdevice
USN: uuid:2f402f80-da50-11e1-9b23-00178809eee4::upnp:rootdevice
It doesn't matter whether or not Hue is connected when I try to find HA-BRIDGE.

Any ideas?
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Manual: Domoticz devices to Toon (HA-Bridge solution)

Post by TerrorSource »

mAiden wrote:A few days later, I know now that HUE app will see my HA-Bridge.. Toon don't see him, Toon only gives me the reason "There is no bridge found on you're network."
I removed my HA-Bridge installation from my RPi and started all over again to find any possible errors in the short manual but nothing so far...

Is the installation correctly?
In "A. Install HA-bridge" you need to do the steps between "Build" and "Run ha-bridge alongside web server already on port 80"(dont do this last one!!!)
So:
https://github.com/bwssytems/ha-bridge/ ... E.md#build
https://github.com/bwssytems/ha-bridge/ ... DME.md#run
https://github.com/bwssytems/ha-bridge/ ... ux-systems
https://github.com/bwssytems/ha-bridge/ ... -preferred
https://github.com/bwssytems/ha-bridge/ ... ge-on-a-pi

Stop now, follow my manual. Dont do this one and everything below:
https://github.com/bwssytems/ha-bridge/ ... on-port-80
Nielsch
Starting Member
Starting Member
Posts: 5
Joined: Mon Jul 24, 2017 5:02 pm

Re: Manual: Domoticz devices to Toon (HA-Bridge solution)

Post by Nielsch »

TerrorSource wrote:
mAiden wrote:A few days later, I know now that HUE app will see my HA-Bridge.. Toon don't see him, Toon only gives me the reason "There is no bridge found on you're network."
I removed my HA-Bridge installation from my RPi and started all over again to find any possible errors in the short manual but nothing so far...

Is the installation correctly?
In "A. Install HA-bridge" you need to do the steps between "Build" and "Run ha-bridge alongside web server already on port 80"(dont do this last one!!!)
So:
https://github.com/bwssytems/ha-bridge/ ... E.md#build
https://github.com/bwssytems/ha-bridge/ ... DME.md#run
https://github.com/bwssytems/ha-bridge/ ... ux-systems
https://github.com/bwssytems/ha-bridge/ ... -preferred
https://github.com/bwssytems/ha-bridge/ ... ge-on-a-pi

Stop now, follow my manual. Dont do this one and everything below:
https://github.com/bwssytems/ha-bridge/ ... on-port-80
Do you use the latest version of the Toon firmware? Assuming you're Dutch, see also https://forum.toon.nl/de-huiskamer-29/h ... ndex2.html
I have the same problem as mAiden, HA-Bridge works perfectly with my Harmony Hub but Toon cannot find it...
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Manual: Domoticz devices to Toon (HA-Bridge solution)

Post by TerrorSource »

Nielsch wrote:
TerrorSource wrote:
mAiden wrote:A few days later, I know now that HUE app will see my HA-Bridge.. Toon don't see him, Toon only gives me the reason "There is no bridge found on you're network."
I removed my HA-Bridge installation from my RPi and started all over again to find any possible errors in the short manual but nothing so far...

Is the installation correctly?
In "A. Install HA-bridge" you need to do the steps between "Build" and "Run ha-bridge alongside web server already on port 80"(dont do this last one!!!)
So:
https://github.com/bwssytems/ha-bridge/ ... E.md#build
https://github.com/bwssytems/ha-bridge/ ... DME.md#run
https://github.com/bwssytems/ha-bridge/ ... ux-systems
https://github.com/bwssytems/ha-bridge/ ... -preferred
https://github.com/bwssytems/ha-bridge/ ... ge-on-a-pi

Stop now, follow my manual. Dont do this one and everything below:
https://github.com/bwssytems/ha-bridge/ ... on-port-80
Do you use the latest version of the Toon firmware? Assuming you're Dutch, see also https://forum.toon.nl/de-huiskamer-29/h ... ndex2.html
I have the same problem as mAiden, HA-Bridge works perfectly with my Harmony Hub but Toon cannot find it...
Mmm, nice to see that someone else is going to make a manual of this manual :roll:

I did a remote session with mAiden a few days ago, he had a fake Raspberry Pi (an orangepi) and he did too much of the HA-bridge manual while installing the HA-bridge so asked him to re-image the orangepi and start from scratch. Havent heard anything back from him so far.

Im using the latest firmware on my Toon, also running an official RPi3 with latest Raspbian linux on it.
georon
Starting Member
Starting Member
Posts: 25
Joined: Wed Jul 19, 2017 8:23 pm

Re: Manual: Domoticz devices to Toon (HA-Bridge solution)

Post by georon »

The same issue here.
Toon is not detecting the HA-Bridge.

The HUE app isn't detecting is either, but a manual IP entry gets the HUE app to work with HA bridge.

Reading up on this, leads to (what seems to be) the fact that Toon will be using https://www.meethue.com/api/nupnp for its discovery. Google Home does the same (see https://github.com/bwssytems/ha-bridge/ ... -assistant)


Is there any option to manually add the bridge IP to Toon?

Maybe someone can share its configuration file? If I am not mistaking it is config/config_hdrv_hue.xml

Or anybody that has made any progress?

Thanks in advance
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Manual: Domoticz devices to Toon (HA-Bridge solution)

Post by TerrorSource »

georon wrote:The same issue here.
Toon is not detecting the HA-Bridge.

The HUE app isn't detecting is either, but a manual IP entry gets the HUE app to work with HA bridge.

Reading up on this, leads to (what seems to be) the fact that Toon will be using https://www.meethue.com/api/nupnp for its discovery. Google Home does the same (see https://github.com/bwssytems/ha-bridge/ ... -assistant)


Is there any option to manually add the bridge IP to Toon?

Maybe someone can share its configuration file? If I am not mistaking it is config/config_hdrv_hue.xml

Or anybody that has made any progress?

Thanks in advance
I really think that it's not the Toon because i bought a different one to root and it detected HA-bridge instantly after it booted for the first time in my network.
Maybe it's network related.
georon
Starting Member
Starting Member
Posts: 25
Joined: Wed Jul 19, 2017 8:23 pm

Re: Manual: Domoticz devices to Toon (HA-Bridge solution)

Post by georon »

what version HA bridge are you using then? I installed 4.5.6
georon
Starting Member
Starting Member
Posts: 25
Joined: Wed Jul 19, 2017 8:23 pm

Re: Manual: Domoticz devices to Toon (HA-Bridge solution)

Post by georon »

For the moment, I will assume it is because I have a standalone Toon, in which I manually enabled the controlPanel app.

I assume the binaries do more checking on contract agreements.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Manual: Domoticz devices to Toon (HA-Bridge solution)

Post by TheHogNL »

It doesn't work for me either. Using 4.5.6 hue-brigde. Toon can't find the bridge. Don't have a real bridge to try with.

Running a tcpdump on my raspberrypi (where the hue-bridge is running on) doesn't show any traffic towards or from the Toon. It could easily be a network issue. I'm using a fritzbox router which is maybe blocking necessary traffic from the Toon (like mdns/multicast stuff).
Member of the Toon Software Collective
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Manual: Domoticz devices to Toon (HA-Bridge solution)

Post by TerrorSource »

georon wrote:what version HA bridge are you using then? I installed 4.5.6
Got the same one installed.
TheHogNL wrote:It doesn't work for me either. Using 4.5.6 hue-brigde. Toon can't find the bridge. Don't have a real bridge to try with.

Running a tcpdump on my raspberrypi (where the hue-bridge is running on) doesn't show any traffic towards or from the Toon. It could easily be a network issue. I'm using a fritzbox router which is maybe blocking necessary traffic from the Toon (like mdns/multicast stuff).
I’m using a Netgear R7000 behind my Ziggo modem.
Will try some things the next couple of days with different Toons, got a few new ones to test with.
Post Reply

Return to “Manuals/tutorials”