bwssytems / ha-bridge

Home automation bridge that emulates a Philips Hue light system and can control other systems such as a Vera, Harmony Hub, Nest, MiLight bulbs or any other system that has an http/https/tcp/udp interface. This is a compact impl to run on small format computers. This is impl started from this project https://github.com/armzilla/amazon-echo-ha-bridge.
Apache License 2.0
1.45k stars 199 forks source link

V5.2.2 Release Candidate Testing #1017

Closed bwssytems closed 5 years ago

bwssytems commented 6 years ago

Release Candidate V3 out. Only updated the connection retry on the current XMPP harmony hub communication. No new api was put in for the harmony.

https://github.com/bwssytems/ha-bridge/releases/download/v5.2.2RC3

Please verify results and post here.

v5.2.2 Bug fixes found through issues

923 HABridge sometimes executes both "on" and "dim" command enhancement question

927 Added quotes around strings in json response for huemulator

944 Binding to all IP addresses bug question

945 Harmony activities not working after restarting hub enhancement question

970 wrong IP address from habridge bug question

980 UPnP listen by interface rather than address? Or listen on 0.0.0.0? bug question

992 Domoticz discovery fails when using https without any credentials enhancement question

1001 MQTT / Java 8 Issue question

1013 Cant set dim to 1 enhancement question

toms001 commented 6 years ago

Error "Could not parse state change body. Light state not changed." on all my devices.

-> http://name:password@fibaro.local.domain/api/callAction?deviceID=xx&name=turnOn

Nothing works.

bwssytems commented 6 years ago

@toms001 what release were you using previously?

toms001 commented 6 years ago

5.2.1 / aptalca / docker-image

bwssytems commented 6 years ago

@toms001 assuming you are still using docker here. I will need to check how the new changes play with docker's IP handling.

bwssytems commented 6 years ago

@toms001 Confirmed, not a docker issue but a code issue. Thanks for testing, new RC2 soon.

DrMichael commented 6 years ago

I get a java.lang.Error:

Nov 15 15:24:41 raspi2 java[17147]: java.lang.Error: Unresolved compilation problem: |?Syntax error, insert ";" to complete Statement| Nov 15 15:24:41 raspi2 java[17147]: #011at com.bwssystems.HABridge.hue.BrightnessDecode.replaceIntensityValue(BrightnessDecode.java:65)

bwssytems commented 6 years ago

Yep, built the ha-bridge with a bad class. new version coming.

gohamstergo commented 6 years ago

Thanks for the update!

This might be a good time to bring up a tiny thing that I didn't want to create a whole new ticket for. Would it be possible to have the 'bridge devices' page remember my preferred sorting? For example, when sorting by ID, name, etc. it would be great if it saved that. Currently, it seems to sort randomly on each page load.

Running 5.2.2RC2

bwssytems commented 6 years ago

@gohamstergo Well, currently with the angular control I use, that would be a ticket for an enhancement.

gohamstergo commented 6 years ago

okie doke, I can create a ticket

scholzmichael commented 6 years ago

Harmony communication does still not work after hub restart here with 5.2.2RC2. Allthough Alexa now confirms "ok" on a Harmony activity nothing happens, it works after a bridge reinit though. Log shows:

WARN | Send heartbeat failed | net.whistlingfish.harmony.HarmonyClient then WARN | Issue in communcicating with Harmony Hub, retrying connect.... but without reinit of ha bridge communication will not pick up again

bwssytems commented 6 years ago

@scholzmichael Thanks for the testing... We are a step further as in the past the reinit would not fix it,

scholzmichael commented 6 years ago

hmmm, at least here the reinit always did the trick immediately, this is why I do a reinit via script 3 times a day, nothing else necesarry.

bwssytems commented 5 years ago

I will look into the harmony issue as I thought I had it internally reinit the plugin.

BaBa483 commented 5 years ago

@scholzmichael would you please share your script to reinit three times a day? i have the exact same issue and i'm very new to all this stuff :)

Thanks in advance and have a merry christmas to all :)

scholzmichael commented 5 years ago

@BaBa483 actually doing nothing else but sending "IP of HA-Bridge":"Port of HA-Bridge"/system/control/reinit" with put 3 times a day via my Light Manager Air. I had to remove user and password from the HA-Bridge though, did not work if login is required. Someone did it via Safari's timeline check this thread: https://github.com/bwssytems/ha-bridge/issues/945 Hope you will get it working, and wish everybody here a merry Christmas and a happy new year! My new NEEO should be ariving soon, looking forward to play arround with my new toy.

pojomojo1982 commented 5 years ago

Connection retry on XMPP still doesn't work - Alexa now says "OK" on harmony commands but nothing happens. Reinit fixes it.

2019-01-13 16:55:52,337 [qtp1521256589-3113] WARN com.bwssystems.HABridge.plugins.harmony.HarmonyHandler - Issue in communcicating with Harmony Hub, retrying connect.... 2019-01-13 17:07:07,362 [qtp1521256589-3124] WARN com.bwssystems.HABridge.plugins.harmony.HarmonyHandler - Issue in communcicating with Harmony Hub, retrying connect....

bwssytems commented 5 years ago

RC4 is now available and should run in most Java Run-times due to the removal of JAXB and also updated Harmony Hub disconnect detection.

scholzmichael commented 5 years ago

Right now: positive feedback to Harmony issue, no fallout up to now (approx. 24h). Will monitor further...on RC4

bwssytems commented 5 years ago

This is now released!