Are you using HA-Bridge?

Started by Tuicemen, January 23, 2019, 07:58:20 AM

Previous topic - Next topic

Should HA-Bridge be removed from the PXH image?

Yes
1 (25%)
No
3 (75%)

Total Members Voted: 4

Tuicemen

With the popularity of the HG Echo Bridge interface and the reliable performance of it is HA-Bridge still needed in the PiX10Hub image?
I've started to create a new image which I've  removed the HA-Bridge from however I still use it even though I also use the Echo Bridge.
So I'm having second thoughts about removing it as there maybe others that use both or prefer it.
Please Read Topic:
General Forum Etiquette
Before you post!

dhouston

This message was composed entirely from recycled letters of the alphabet using only renewable, caffeinated energy sources.
No twees, wabbits, chimps or whales died in the process.
https://www.laser.com/dhouston

Tuicemen

 rofl Currently no! It only allows Alexa control of devices configured in HG. So it won't control the bath tub or Alexa Shower either at present. ;)
Please Read Topic:
General Forum Etiquette
Before you post!

petera

No. Personally I don't see the point adding the overhead to the OS. Whatever you are using the HA Bridge for you could post an enhancement request on the GitHub for support for it.

IMO its best to integrate all these 3rd party solutions into the main body of the HG application. Cleaner solution all round. One less thing to worry about on the OS too.

alzy

I also like the integrated solution as long as the HGEB has the dim fix that should hopefully be in the next HGEB release.

petera

Quote from: alzy on January 25, 2019, 12:20:49 PM
I also like the integrated solution as long as the HGEB has the dim fix that should hopefully be in the next HGEB release.

That is completely in the gift of the GitHub maintainer and all the pleading on the planet will make no difference. Alternatively you can edit the source code, compile it and create your own MIG interface. You can clearly see from the source code where you need to add the variable for this function. Now that would be a good exercise to embark on.

alzy


petera

Not as difficult as you think. All the hard work has been done. Here’s the variable for the on/off function. Just create one for Control.Level

var device = new Device
            {
                name = module.Name,
                offUrl = $"http://{hgEndpoint}/api/{module.Domain}/{module.Address}/Control.Off",
                onUrl = $"http://{hgEndpoint}/api/{module.Domain}/{module.Address}/Control.On",
                deviceType = "switch"
            };

What do you reckon.

Don’t push too hard or they may forget you. rofl

alzy


petera

Quote from: alzy on January 25, 2019, 07:29:18 PM
Piece a cake! >!

Exactly now exercise a little patience and it will happen. Just register on the maintainers GitHub and you will be notified of an update when it happens.

alzy


petera

Quote from: alzy on January 25, 2019, 08:38:02 PM
I registered last week.

Ok. Good things come to those who wait  >*<

SMF spam blocked by CleanTalk