Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing for v5.3.1 Release Candidate #1192

Closed
bwssytems opened this issue Mar 26, 2020 · 68 comments
Closed

Testing for v5.3.1 Release Candidate #1192

bwssytems opened this issue Mar 26, 2020 · 68 comments
Assignees
Labels
Testing This is a testing item

Comments

@bwssytems
Copy link
Owner

bwssytems commented Mar 26, 2020

Please post your issues or success with this new release candidate

https://github.com/bwssytems/ha-bridge/releases/download/v5.3.1RC5/ha-bridge-5.3.1RC5.jar
https://github.com/bwssytems/ha-bridge/releases/download/v5.3.1RC5/ha-bridge-5.3.1RC5-java11.jar

This release fixes the following issues:

#1044 Alexa app, error "Device doesn't support requested value" bug question
#1118 Device status update in Alexa App is not working correctly for ha-bridge devices bug duplicate question
#1126 Can't get XY ColorData into URL enhancement question
#1127 Can't get separate hue, saturation and brightness enhancement question
#1128 Wrong color calucation in HS mode bug question
#1131 Changing color temperatur is not working correctly bug question
#1132 Conversion from CIE to RGB incorrect bug question
#1139 Device ID creation fails bug question
#1170 Alexa not sending the correct color codes duplicate
#1171 Please add option: If bright request present with on, only send dim enhancement
#1184 Alexa will not discover HABridge question
#1191 When "Use UPNP Address Interface Only" is selected, echo cannot find ha-bridge bug
#1210 [Enahnacement] Have link button timeout be configurable enhancement
#1215 Alexa unable to discover recently added devices to ha-bridge duplicate question
#1227 Feature request: ${intensity.previous} value passing control enhancement
#1239 HA-Bridge has suddenly given up itself - Exception in thread "main" java.lang.NullPointerException bug question
#1243 Alexa device discovery now broke question
#1253 HABridge hue ColorDecode 0 0 0 bug question

@bwssytems bwssytems added the Testing This is a testing item label Mar 26, 2020
@bwssytems bwssytems self-assigned this Mar 26, 2020
@gohamstergo
Copy link

awesome! will check it out. thanks for the continued work.

@altheeagle
Copy link

Thank you, all my devices have been rediscoverd!

@gohamstergo
Copy link

gohamstergo commented Mar 26, 2020

Bugs #1044 and #1118 look to be fixed.

Note to others: All devices may still display "Device doesn't support requested value" at first in the app, but once you power cycle each device, it will go away and the correct state will be displayed.

@bwssytems
Copy link
Owner Author

@gohamstergo Thanks for pointing that out!

@bwssytems
Copy link
Owner Author

Finally got to working on this as staying home more during these times.

Everyone stay safe and social distance....

@cylon147
Copy link

Setting Device Brightness to 3% is not working. Alexa says OK but on the app, it shows Brightness 4%.

I am Using 3% level to execute some routins.

@altheeagle
Copy link

Note to others: All devices may still display "Device doesn't support requested value" at first in the app, but once you power cycle each device, it will go away and the correct state will be displayed.

I didn't get that message, but i used the website (https://alexa.amazon.de/spa/index.html#appliances) to search for new devices. My Alex still says that the device seems not to work properly, but this is a different problem.

@gohamstergo
Copy link

gohamstergo commented Mar 26, 2020

@altheeagle

For the devices saying that.. do you have "No State (Do not update state for device)" true or false? I've noticed Alexa saying that when I have that setting set true. When false, the problem goes away.

@Mooose1
Copy link

Mooose1 commented Mar 26, 2020

It did not work for me. I still cannot discover HA-bridge devices.

@cylon147
Copy link

@gohamstergo
Do not use the web interface of Alexa. it seems to be buggy as it has not been updated for a long time. I have found that if you forget devices from the Web interface and then you discover the Device Alexa will show the Forgotten devices also.

Same thing if you do it from Mobile app by Deleting the Devices one by one then Alexa will not discover the Deleted Devices.

@Nachtfalke49
Copy link

Same here. It doesn't work.

@gohamstergo
Copy link

gohamstergo commented Mar 26, 2020

@cylon147 I don't use the web interface... what is your comment related to? Were you meaning to reply to @altheeagle?

@Nachtfalke49 have you tried creating a completely new device AFTER updating and trying to discover that? You might have to recreate your devices if any possibly have the device ID errors related to bug #1139.

@Nachtfalke49
Copy link

@gohamstergo It works with new devices.

@Nachtfalke49
Copy link

Nachtfalke49 commented Mar 26, 2020

Oh i have a lot of devices. That is a hard work.

Thank you for the fast solution!

@Mooose1
Copy link

Mooose1 commented Mar 26, 2020

I tried creating a brand new device. It still will not discover any Ha-bridge devices.

@cylon147
Copy link

Setting Device Brightness to 3% is not working. Alexa says OK but on the app, it shows Brightness 4%.

I am Using 3% level to execute some routines.

Can anyone test this and Confirm Please.

@gohamstergo
Copy link

gohamstergo commented Mar 27, 2020

Can confirm. Here's my Domoticz log:

2020-03-27 09:32:17.938 Status: User: Admin initiated a switch command (368/Hallway/On)
2020-03-27 09:32:17.950 (Z-Stick) Light/Switch (Hallway)
2020-03-27 09:32:18.962 Status: User: Admin initiated a switch command (368/Hallway/On)
2020-03-27 09:32:18.969 (Z-Stick) Light/Switch (Hallway)
2020-03-27 09:32:19.041 Status: User: Admin initiated a switch command (368/Hallway/On)
2020-03-27 09:32:19.048 (Z-Stick) Light/Switch (Hallway)
2020-03-27 09:32:20.156 Status: User: Admin initiated a switch command (368/Hallway/On)
2020-03-27 09:32:20.159 (Z-Stick) Light/Switch (Hallway)
2020-03-27 09:32:20.269 Status: User: Admin initiated a switch command (368/Hallway/Set Level)
2020-03-27 09:32:20.270 OpenZWave: Domoticz has send a Switch command!, Level: 4, NodeID: 15 (0x0f)
2020-03-27 09:32:20.274 (Z-Stick) Light/Switch (Hallway)

Four "On" commands and then the level+1. Interesting. I only have it set to send two commands. Not sure why it's doubling.

@bwssytems
Copy link
Owner Author

Interesting as I get 3 for saying set to 3...

Mar 27 11:45:29 condopi java[8865]: 2020-03-27 11:45:29,455 [qtp15028939-96] DEBUG com.bwssystems.HABridge.hue.HueMulator - Calling dim as requested.
Mar 27 11:45:29 condopi java[8865]: 2020-03-27 11:45:29,556 [qtp15028939-96] DEBUG com.bwssystems.HABridge.hue.HueMulator - Decode Json for url items: [{"item":"http://192.168.2.25:3480/data_request?id=action&output_format=json&DeviceNum=36&serviceId=urn:upnp-org:serviceId:Dimming1&action=SetLoadLevelTarget&newLoadlevelTarget=${intensity.percent}","type":"veraDevice"}]
Mar 27 11:45:29 condopi java[8865]: 2020-03-27 11:45:29,557 [qtp15028939-96] DEBUG com.bwssystems.HABridge.hue.HueMulator - Calling Home device handler for type : veraDevice
Mar 27 11:45:29 condopi java[8865]: 2020-03-27 11:45:29,559 [qtp15028939-96] DEBUG com.bwssystems.HABridge.plugins.http.HTTPHandler - doHttpRequest with url <<http://192.168.2.25:3480/data_request?id=action&output_format=json&DeviceNum=36&serviceId=urn:upnp-org:serviceId:Dimming1&action=SetLoadLevelTarget&newLoadlevelTarget=3>>, verb: null, contentType: null, body <<>>
Mar 27 11:45:29 condopi java[8865]: 2020-03-27 11:45:29,560 [qtp15028939-96] DEBUG com.bwssystems.HABridge.plugins.http.HTTPHandler - Making outbound call in doHttpRequest: <<<GET http://192.168.2.25:3480/data_request?id=action&output_format=json&DeviceNum=36&serviceId=urn:upnp-org:serviceId:Dimming1&action=SetLoadLevelTarget&newLoadlevelTarget=3 HTTP/1.1>>>
Mar 27 11:45:34 condopi java[8865]: 2020-03-27 11:45:34,102 [qtp15028939-96] DEBUG com.bwssystems.HABridge.plugins.http.HTTPHandler - GET execute (0) on URL responded: 200
Mar 27 11:45:34 condopi java[8865]: 2020-03-27 11:45:34,104 [qtp15028939-96] DEBUG com.bwssystems.HABridge.plugins.http.HTTPHandler - Successfull response - The http response is <<<{ "u:SetLoadLevelTargetResponse": { "OK": "OK" } }>>>
Mar 27 11:45:34 condopi java[8865]: 2020-03-27 11:45:34,226 [qtp15028939-84] DEBUG com.bwssystems.HABridge.hue.HueMulator - HueMulator GET called on api/* with request <<</api/78f07df39ddf4763b61966422bf81443/lights/107>>>, and body <<<>>>
Mar 27 11:45:34 condopi java[8865]: 2020-03-27 11:45:34,229 [qtp15028939-84] DEBUG com.bwssystems.HABridge.hue.HueMulator - hue light requested: 107 for user: 78f07df39ddf4763b61966422bf81443 from 192.168.2.210
Mar 27 11:45:34 condopi java[8865]: 2020-03-27 11:45:34,229 [qtp15028939-84] DEBUG com.bwssystems.HABridge.hue.HueMulator - found device named: Living Room Ceiling

@Nachtfalke49
Copy link

Hi,

I tested it with two more new devices. Alexa has found the newly created devices. Then I hit "Forget All" and I had created more new devices. After that Alexa doesn't find any of my devices again.

Unfortunately, that was not the full solution.

@Nachtfalke49
Copy link

Oh I have to make more devices. The last two have now been found. So it's a number problem. It seems that I cannot use the number again in Alexa after pressing "Forget All".

@gohamstergo
Copy link

gohamstergo commented Mar 27, 2020

Figured out my duplicate issue was just my two echos each sending the command...thought they were smarter than that, oh well.

I asked for level 3 and am indeed getting 4 tho. Think its something to do with converting the 3% 0-100 scale to bri:9 0-255 scale?

03-27-2020 16:02:02.942 | DEBUG | HueMulator GET called on api/* with request <<</api/--/lights>>>, and body <<<>>> | com.bwssystems.HABridge.hue.HueMulator
03-27-2020 16:02:08.784 | DEBUG | HueMulator PUT called on api/* with request <<</api/--/lights/134/state>>>, and body <<<{"on":true,"bri":9}>>> | com.bwssystems.HABridge.hue.HueMulator
03-27-2020 16:02:08.785 | DEBUG | hue state change requested: -- from 192.168.-.--- body: {"on":true,"bri":9} | com.bwssystems.HABridge.hue.HueMulator
03-27-2020 16:02:08.785 | DEBUG | Calling on-off as requested. | com.bwssystems.HABridge.hue.HueMulator
03-27-2020 16:02:08.785 | DEBUG | Decode Json for url items: [{"item":"http://192.168.-.---:----/json.htm?type=command&param=switchlight&idx=368&switchcmd=On","type":"domoticzDevice","delay":"1000","count":"2"}] | com.bwssystems.HABridge.hue.HueMulator
03-27-2020 16:02:08.785 | DEBUG | Calling Home device handler for type : domoticzDevice | com.bwssystems.HABridge.hue.HueMulator
03-27-2020 16:02:08.786 | DEBUG | Request <<json.htm?type=command&param=switchlight&idx=368&switchcmd=On>>, not done: false | com.bwssystems.HABridge.hue.DeviceDataDecode
03-27-2020 16:02:09.808 | DEBUG | Calling Home device handler for type : domoticzDevice | com.bwssystems.HABridge.hue.HueMulator
03-27-2020 16:02:09.809 | DEBUG | Request <<json.htm?type=command&param=switchlight&idx=368&switchcmd=On>>, not done: false | com.bwssystems.HABridge.hue.DeviceDataDecode
03-27-2020 16:02:09.857 | DEBUG | Calling dim as requested. | com.bwssystems.HABridge.hue.HueMulator
03-27-2020 16:02:09.959 | DEBUG | Decode Json for url items: [{"item":"http://192.168.-.---/json.htm?type=command&param=switchlight&idx=368&switchcmd=Set%20Level&level=${intensity.percent}","type":"domoticzDevice"}] | com.bwssystems.HABridge.hue.HueMulator
03-27-2020 16:02:09.960 | DEBUG | Calling Home device handler for type : domoticzDevice | com.bwssystems.HABridge.hue.HueMulator
03-27-2020 16:02:09.961 | DEBUG | Request <<json.htm?type=command&param=switchlight&idx=368&switchcmd=Set%20Level&level=4>>, not done: false | com.bwssystems.HABridge.hue.DeviceDataDecode
03-27-2020 16:02:09.984 | DEBUG | HueMulator GET called on api/* with request <<</api/--/lights/134>>>, and body <<<>>> | com.bwssystems.HABridge.hue.HueMulator
03-27-2020 16:02:09.986 | DEBUG | hue light requested: 134 for user: -- from 192.168.-.--- | com.bwssystems.HABridge.hue.HueMulator
03-27-2020 16:02:09.986 | DEBUG | found device named: Hallway

@bwssytems
Copy link
Owner Author

@gohamstergo So how did you get 9? I have the echo sending 7 and if I use the test dim on the page I get 8. Which both of those numbers get converted back to 3. What source are you using to control the ha-bridge to get 9?

@gohamstergo
Copy link

gohamstergo commented Mar 27, 2020

Im just asking my echo dot gen3 to 'set hallway to 3' and the log above is what i get.

edit: tested with my echo dot gen1 and get same values.

@EnGamma
Copy link

EnGamma commented Mar 27, 2020

I just updated from 5.3.0RC9 to 5.3.1RC1. Alexa is not finding new devices with either.

@gohamstergo
Copy link

@EnGamma choose a device, edit/copy, give it a different name, then add bridge device. see if that one gets discovered.

@cylon147
Copy link

cylon147 commented Apr 1, 2020

ok... I have come across the Major bug in my previous post I have mentioned that Alexa Executing different commands. This is because after Doing Renumber Device Alexa Not finding the change in uniqueid. As this is not being Changed when we do renumber devices.

To test this out I have entered Devices with the name "Test 100" with Device ID 100 and so on up to Test 110 with Device id 110.
Behavior

Alexa Discover Device
Working perfectly without calling another Device.

Now, I pressed the Renumber device so it did the re-id all the device. Again I rediscover the device as there is no Device Added only the IDs are changed Alexa Didn't find any Devices. this is Correct behavior but should work as it is as we have sent the updated Device list with Changed Device Ids but not when I execute Test 100 it Executed Device 102 as its Unique id didn't get updated after Renumber Device.

So I have done Wireshark to check before and after the response(after pressing the Renumber Devices) of the Alexa nad Fond it's not updated the Uniquid means it's keeping the same uniques ID and this Brokes the whole Setup.

I am POsting the Json Device list.

Before pressing the Renumber Devices.
{"110":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 110","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:6E-00","swversion":"66012040"},"100":{"state":{"on":true,"bri":254,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 100","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:64-00","swversion":"66012040"},"101":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 101","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:65-00","swversion":"66012040"},"102":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 102","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:66-00","swversion":"66012040"},"103":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 103","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:67-00","swversion":"66012040"},"104":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 104","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:68-00","swversion":"66012040"},"105":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 105","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:69-00","swversion":"66012040"},"106":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 106","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:6A-00","swversion":"66012040"},"107":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 107","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:6B-00","swversion":"66012040"},"108":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 108","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:6C-00","swversion":"66012040"},"109":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 109","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:6D-00","swversion":"66012040"}}

After Pressing the Renumber devices as you can see Device id and Name gets reassociated but uniqueid remains the same. and this is why Alexa not differentiating the change.

{"110":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 109","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:6E-00","swversion":"66012040"},"100":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 102","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:64-00","swversion":"66012040"},"101":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 107","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:65-00","swversion":"66012040"},"102":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 100","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:66-00","swversion":"66012040"},"103":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 108","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:67-00","swversion":"66012040"},"104":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 110","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:68-00","swversion":"66012040"},"105":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 105","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:69-00","swversion":"66012040"},"106":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 104","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:6A-00","swversion":"66012040"},"107":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 101","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:6B-00","swversion":"66012040"},"108":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 106","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:6C-00","swversion":"66012040"},"109":{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Test 103","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:6D-00","swversion":"66012040"}}

To fix this problem i guess Device id and uniqueid and Device Name should be linked with each other.

@juergen2345
Copy link

juergen2345 commented Apr 4, 2020

After update the device status update works fine.

The REST API

curl 192.168.0.2/api/pi/lights/3
{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Side Blind","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:03-03","swversion":"66012040"}

works fine, but i can not switch on/off

curl -X PUT -d "{"on": true}" "192.168.0.2/api/pi/lights/3/state"
[]

Did i do something wrong?
Thx

@SchmuFoo
Copy link

SchmuFoo commented Apr 7, 2020

#1044 fix is working fine, thanks

@bwssytems
Copy link
Owner Author

@juergen2345 That looks correct. Did you turn on trace state changes and look at the log?

@juergen2345
Copy link

@juergen2345 That looks correct. Did you turn on trace state changes and look at the log?

When i send the off command:..

4-08-2020 19:54:19.318 | INFO | Tracestate: hue state change requested: pi from 192.168.0.2 body: {on: false} | com.bwssystems.HABridge.hue.HueMulator

i have also tried this on 5.3.0 - same result.
On 4.5.6. it worked fine.
Thx

@bwssytems
Copy link
Owner Author

Ok, the off command is represented properly by the {on:false} body.

@juergen2345
Copy link

juergen2345 commented Apr 8, 2020

The log above was from an off command, when i try on then the log shows
Tracestate: hue state change requested: pi from 192.168.0.2 body: {on: true}

but ha-bridge doesn't execute the script..
The curl response is only []

(On 4.5.6 curl responses {"success":{"/lights/3/state/on":true}}, And the script was executed.)

When i use for example the Test Off Button, the Command will be executed and the log shows

04-09-2020 07:17:05.616 | INFO | Tracestate: Calling on-off as requested: false | com.bwssystems.HABridge.hue.HueMulator

04-09-2020 07:17:05.635 | INFO | Tracestate: Decode Json for url items: [{"item":"/home/pi/Fernbedienung/Sonnenschutz.py up","type":"cmdDevice"}] | com.bwssystems.HABridge.hue.HueMulator

04-09-2020 07:17:05.676 | INFO | Tracestate: Calling Home device handler for type : cmdDevice | com.bwssystems.HABridge.hue.HueMulator

@bwssytems
Copy link
Owner Author

@juergen2345 will take a look

@SchmuFoo
Copy link

#1044 fix is working fine, thanks

Had to rollback to 5.3.0 because Alexa Voice Control wasn't reliable anymore -> Sometime Alexa sends the "ok signal" but nothing happens, sometimes Alexa didn't recognized the device etc.

Not sure if this is realy HA-Bridge related but I will observe the situation now after the rollback

@stitchbit
Copy link

stitchbit commented Apr 22, 2020

Switched to 5.3.1RC1 after Alexa stopped working with my devices on 20. April 2020. I got the message 'Device not responding' for all my devices. So I upgraded to RC1, added a new device in ha-bridge but Alexa is unable to discover neither any of the old devices nor the new one.

I´m running on a Pi 2 port 80 and have 3 3rd gen. Echos, 3 FireTV Sticks and one Show 5 in my system.

@jamietang68
Copy link

I'm using echo dot v1 & fibaro. facing issue that cant discover any device. Here's the log of me trying to discover, then turn on/off on of the device, then discover again.

05-08-2020 11:32:54.679 INFO HA Bridge (v5.3.0) reinitialization requessted.... com.bwssystems.HABridge.HABridge
05-08-2020 11:32:54.680 INFO Going to close all homes com.bwssystems.HABridge.HABridge
05-08-2020 11:32:54.681 INFO Manager close homes called.... com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.684 INFO Closing home: com.bwssystems.HABridge.plugins.tcp.TCPHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.686 INFO Closing home: com.bwssystems.HABridge.plugins.NestBridge.NestHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.687 INFO Closing home: com.bwssystems.HABridge.plugins.hal.HalHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.688 INFO Closing home: com.bwssystems.HABridge.plugins.NestBridge.NestHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.690 INFO Closing home: com.bwssystems.HABridge.plugins.lifx.LifxHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.691 INFO Closing home: com.bwssystems.HABridge.plugins.somfy.SomfyHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.692 INFO Closing home: com.bwssystems.HABridge.plugins.moziot.MozIotHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.694 INFO Closing home: com.bwssystems.HABridge.plugins.http.HTTPHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.695 INFO Closing home: com.bwssystems.HABridge.plugins.openhab.OpenHABHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.697 INFO Closing home: com.bwssystems.HABridge.plugins.hal.HalHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.698 INFO Closing home: com.bwssystems.HABridge.plugins.homewizard.HomeWizardHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.700 INFO Closing home: com.bwssystems.HABridge.plugins.fhem.FHEMHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.701 INFO Closing home: com.bwssystems.HABridge.plugins.http.HTTPHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.702 INFO Closing home: com.bwssystems.HABridge.plugins.udp.UDPHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.703 INFO Closing home: com.bwssystems.HABridge.plugins.hal.HalHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.704 INFO Closing home: com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.705 INFO Closing home: com.bwssystems.HABridge.plugins.exec.CommandHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.707 INFO Closing home: com.bwssystems.HABridge.plugins.http.HTTPHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.708 INFO Closing home: com.bwssystems.HABridge.plugins.hass.HassHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.709 INFO Closing home: com.bwssystems.HABridge.plugins.harmony.HarmonyHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.710 INFO Closing home: com.bwssystems.HABridge.plugins.hal.HalHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.711 INFO Closing home: com.bwssystems.HABridge.plugins.homegenie.HomeGenieHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.713 INFO Closing home: com.bwssystems.HABridge.plugins.udp.UDPHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.714 INFO Closing home: com.bwssystems.HABridge.plugins.hue.HueHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.715 INFO Closing home: com.bwssystems.HABridge.plugins.harmony.HarmonyHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.717 INFO Closing home: com.bwssystems.HABridge.plugins.tcp.TCPHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.718 INFO Closing home: com.bwssystems.HABridge.plugins.http.HTTPHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.719 INFO Closing home: com.bwssystems.HABridge.plugins.mqtt.MQTTHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.720 INFO Closing home: com.bwssystems.HABridge.plugins.domoticz.DomoticzHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.721 INFO Closing home: com.bwssystems.HABridge.plugins.http.HTTPHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.723 INFO Closing home: com.bwssystems.HABridge.plugins.exec.CommandHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.724 INFO Closing home: com.bwssystems.HABridge.plugins.http.HTTPHome com.bwssystems.HABridge.HomeManager
05-08-2020 11:32:54.729 INFO >>> Spark shutting down ... spark.embeddedserver.jetty.EmbeddedJettyServer
05-08-2020 11:32:54.773 INFO done spark.embeddedserver.jetty.EmbeddedJettyServer
05-08-2020 11:32:59.729 INFO HA Bridge (v5.3.0) initializing.... com.bwssystems.HABridge.HABridge
05-08-2020 11:32:59.730 INFO reading from config file: /home/pi/habridge/data/habridge.config com.bwssystems.HABridge.BridgeSettings
05-08-2020 11:32:59.771 INFO StaticResourceHandler configured with folder = /public spark.staticfiles.StaticFilesConfiguration
05-08-2020 11:32:59.794 INFO System control service started.... com.bwssystems.HABridge.SystemControl
05-08-2020 11:32:59.800 INFO == Spark has ignited ... spark.embeddedserver.jetty.EmbeddedJettyServer
05-08-2020 11:32:59.801 INFO >> Listening on 0.0.0.0:80 spark.embeddedserver.jetty.EmbeddedJettyServer
05-08-2020 11:32:59.808 INFO Initializing UDP response Socket... com.bwssystems.HABridge.util.UDPDatagramSender
05-08-2020 11:32:59.816 INFO UDP response Socket initialized to: 50000 com.bwssystems.HABridge.util.UDPDatagramSender
05-08-2020 11:32:59.817 INFO HTTP Home created. com.bwssystems.HABridge.plugins.http.HTTPHome
05-08-2020 11:32:59.819 INFO Harmony Home created. No Harmony devices configured. com.bwssystems.HABridge.plugins.harmony.HarmonyHome
05-08-2020 11:32:59.820 INFO Nest Home created. No Nest configured. com.bwssystems.HABridge.plugins.NestBridge.NestHome
05-08-2020 11:32:59.821 INFO Hue passthru Home created. No Hue passtrhu systems configured. com.bwssystems.HABridge.plugins.hue.HueHome
05-08-2020 11:32:59.823 INFO HAL Home created. No HAL devices configured. com.bwssystems.HABridge.plugins.hal.HalHome
05-08-2020 11:32:59.824 INFO MQTT Home created. No MQTT Clients configured. com.bwssystems.HABridge.plugins.mqtt.MQTTHome
05-08-2020 11:32:59.825 INFO HomeAssistant Home created. No HomeAssistants configured. com.bwssystems.HABridge.plugins.hass.HassHome
05-08-2020 11:32:59.826 INFO HomeWizard Home created. No HomeWizard gateways configured. com.bwssystems.HABridge.plugins.homewizard.HomeWizardHome
05-08-2020 11:32:59.827 INFO Command Home for system program execution created. com.bwssystems.HABridge.plugins.exec.CommandHome
05-08-2020 11:32:59.828 INFO TCP Home created. com.bwssystems.HABridge.plugins.tcp.TCPHome
05-08-2020 11:32:59.829 INFO UDP Home created. com.bwssystems.HABridge.plugins.udp.UDPHome
05-08-2020 11:32:59.829 INFO Vera Home created. No Veras configured. com.bwssystems.HABridge.plugins.vera.VeraHome
05-08-2020 11:32:59.829 INFO Fibaro Home created. com.bwssystems.HABridge.plugins.fibaro.FibaroHome
05-08-2020 11:32:59.830 INFO Domoticz Home created. No Domoticz devices configured. com.bwssystems.HABridge.plugins.domoticz.DomoticzHome
05-08-2020 11:32:59.831 INFO Somfy Home created. No Somfys configured. com.bwssystems.HABridge.plugins.somfy.SomfyHome
05-08-2020 11:32:59.832 INFO LifxDevice Home created. No LifxDevices configured. com.bwssystems.HABridge.plugins.lifx.LifxHome
05-08-2020 11:32:59.832 INFO OpenHAB Home created. No OpenHABs configured. com.bwssystems.HABridge.plugins.openhab.OpenHABHome
05-08-2020 11:32:59.832 INFO FHEM Home created. No FHEMs configured. com.bwssystems.HABridge.plugins.fhem.FHEMHome
05-08-2020 11:32:59.833 INFO Broadlink Home created. No Broadlinks configured. com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome
05-08-2020 11:32:59.833 INFO Mozilla IOT Home created. No Mozilla IOTs configured. com.bwssystems.HABridge.plugins.moziot.MozIotHome
05-08-2020 11:32:59.834 INFO HomeGenie Home created. No HomeGenies configured. com.bwssystems.HABridge.plugins.homegenie.HomeGenieHome
05-08-2020 11:32:59.875 INFO HABridge device management service started.... com.bwssystems.HABridge.devicemanagmeent.DeviceResource
05-08-2020 11:32:59.882 INFO Hue emulator service started.... com.bwssystems.HABridge.hue.HueMulator
05-08-2020 11:32:59.889 INFO Traceupnp: upnp config address: 192.168.0.121 -useIface: false on web server: 0.0.0.0:80 com.bwssystems.HABridge.HABridge
05-08-2020 11:32:59.889 INFO Description xml service started.... com.bwssystems.HABridge.upnp.UpnpSettingsResource
05-08-2020 11:32:59.893 INFO UPNP Discovery Listener starting.... com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:32:59.895 INFO Traceupnp: Interface: wlan0 valid usable IP address: /192.168.0.121 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:32:59.895 INFO Traceupnp: Adding wlan0 to our upnp join interface set. com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:32:59.897 INFO Traceupnp: Interface: lo valid usable IP address: /127.0.0.1 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:32:59.899 INFO Traceupnp: Adding lo to our upnp join interface set. com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:32:59.899 INFO Create and run mDNS service. com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:32:59.906 INFO UPNP Discovery Listener running and ready.... com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:33:00.069 INFO Traceupnp: request of description.xml from: 192.168.0.123:80 filled in with address: 192.168.0.121:80 com.bwssystems.HABridge.upnp.UpnpSettingsResource
05-08-2020 11:33:20.569 INFO Traceupnp: sendUpnpNotify notifyTemplate1 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:33:21.225 INFO Traceupnp: sendUpnpNotify notifyTemplate2 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:33:21.878 INFO Traceupnp: sendUpnpNotify notifyTemplate3 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:33:42.552 INFO Traceupnp: sendUpnpNotify notifyTemplate1 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:33:43.205 INFO Traceupnp: sendUpnpNotify notifyTemplate2 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:33:43.859 INFO Traceupnp: sendUpnpNotify notifyTemplate3 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:34:04.533 INFO Traceupnp: sendUpnpNotify notifyTemplate1 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:34:05.186 INFO Traceupnp: sendUpnpNotify notifyTemplate2 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:34:05.840 INFO Traceupnp: sendUpnpNotify notifyTemplate3 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:34:26.514 INFO Traceupnp: sendUpnpNotify notifyTemplate1 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:34:27.176 INFO Traceupnp: sendUpnpNotify notifyTemplate2 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:34:27.830 INFO Traceupnp: sendUpnpNotify notifyTemplate3 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:34:48.504 INFO Traceupnp: sendUpnpNotify notifyTemplate1 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:34:49.157 INFO Traceupnp: sendUpnpNotify notifyTemplate2 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:34:49.811 INFO Traceupnp: sendUpnpNotify notifyTemplate3 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:35:10.485 INFO Traceupnp: sendUpnpNotify notifyTemplate1 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:35:11.138 INFO Traceupnp: sendUpnpNotify notifyTemplate2 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:35:11.791 INFO Traceupnp: sendUpnpNotify notifyTemplate3 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:35:32.465 INFO Traceupnp: sendUpnpNotify notifyTemplate1 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:35:33.118 INFO Traceupnp: sendUpnpNotify notifyTemplate2 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:35:33.532 INFO The requested route [/api//lights/115/state] has not been mapped in Spark for Accept: [application/json, text/plain, /] spark.http.matching.MatcherFilter
05-08-2020 11:35:33.615 INFO Traceupnp: hue api user create requested for device type: test_ha_bridge#192.168.0.123 and username: d78a083dca2c4fc8a695bef8c461cdf1 com.bwssystems.HABridge.hue.HueMulator
05-08-2020 11:35:33.771 INFO Traceupnp: sendUpnpNotify notifyTemplate3 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:35:37.090 INFO Tracestate: hue state change requested: d78a083dca2c4fc8a695bef8c461cdf1 from 192.168.0.123 body: {"on":true} com.bwssystems.HABridge.hue.HueMulator
05-08-2020 11:35:37.100 INFO Tracestate: Calling on-off as requested: true com.bwssystems.HABridge.hue.HueMulator
05-08-2020 11:35:37.104 INFO Tracestate: Decode Json for url items: [{"item":"http://192.168.0.122:80/api/callAction?deviceID=315&name=turnOn","type":"fibaroDevice"}] com.bwssystems.HABridge.hue.HueMulator
05-08-2020 11:35:37.117 INFO Tracestate: Calling Home device handler for type : fibaroDevice com.bwssystems.HABridge.hue.HueMulator
05-08-2020 11:35:42.973 INFO Tracestate: hue state change requested: d78a083dca2c4fc8a695bef8c461cdf1 from 192.168.0.123 body: {"on":false} com.bwssystems.HABridge.hue.HueMulator
05-08-2020 11:35:42.979 INFO Tracestate: Calling on-off as requested: false com.bwssystems.HABridge.hue.HueMulator
05-08-2020 11:35:42.981 INFO Tracestate: Decode Json for url items: [{"item":"http://192.168.0.122:80/api/callAction?deviceID=315&name=turnOff","type":"fibaroDevice"}] com.bwssystems.HABridge.hue.HueMulator
05-08-2020 11:35:42.984 INFO Tracestate: Calling Home device handler for type : fibaroDevice com.bwssystems.HABridge.hue.HueMulator
05-08-2020 11:35:54.441 INFO Traceupnp: sendUpnpNotify notifyTemplate1 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:35:55.095 INFO Traceupnp: sendUpnpNotify notifyTemplate2 com.bwssystems.HABridge.upnp.UpnpListener
05-08-2020 11:35:55.748 INFO Traceupnp: sendUpnpNotify notifyTemplate3 com.bwssystems.HABridge.upnp.UpnpListener

I've tried using different version, v5.2.1, v5.3.0. all of them dont work too. any advice?

@Mooose1
Copy link

Mooose1 commented May 8, 2020

Have you tried v5.3.1RC1? I did get it to work, but I often have to "Discover" about 5 times before it works.

@jamietang68
Copy link

yeah the log that i posted is using v5.3.1RC1 thats why i posted here. but the log says v5.3.0. not sure if it is my mistake to use wrong version or this is designed by @bwssytems that it wont be 5.3.1 before official release.

@Mooose1
Copy link

Mooose1 commented May 8, 2020

That is why I posted the comment. Your log header says 5.3.0. Perhaps your version update did not take? Take a look at the HABridge headers at the top and click "About" and see if the correct version shows up there.

@jamietang68
Copy link

hmm do you mind to check if yours show 5.3.1? Im away at the moment. I'll try to reinstall and probably get a v3 echo dot to try since i saw ppl reported about bug with v1

@Mooose1
Copy link

Mooose1 commented May 8, 2020

MIne does show 5.3.1RC1. I checked before I posted. :-) I had no luck with V3 Dots. I bought a V2 and finally a V1, before I got it to work.

@jamietang68
Copy link

ouch my bad then. will do another test tmr with 5.3.1RC1. thanks for the info!

@jamietang68
Copy link

Ive tried with 5.3.1RC1, but still cant detect the devices.. any advice?

05-12-2020 08:43:48.124 INFO HA Bridge (v5.3.1RC1) initializing.... com.bwssystems.HABridge.HABridge
05-12-2020 08:43:48.125 INFO reading from config file: /home/pi/habridge/data/habridge.config com.bwssystems.HABridge.BridgeSettings
05-12-2020 08:43:48.177 INFO StaticResourceHandler configured with folder = /public spark.staticfiles.StaticFilesConfiguration
05-12-2020 08:43:48.188 INFO System control service started.... com.bwssystems.HABridge.SystemControl
05-12-2020 08:43:48.193 INFO == Spark has ignited ... spark.embeddedserver.jetty.EmbeddedJettyServer
05-12-2020 08:43:48.194 INFO >> Listening on 0.0.0.0:80 spark.embeddedserver.jetty.EmbeddedJettyServer
05-12-2020 08:43:48.200 INFO Initializing UDP response Socket... com.bwssystems.HABridge.util.UDPDatagramSender
05-12-2020 08:43:48.201 INFO UDP response Socket initialized to: 50000 com.bwssystems.HABridge.util.UDPDatagramSender
05-12-2020 08:43:48.202 INFO HTTP Home created. com.bwssystems.HABridge.plugins.http.HTTPHome
05-12-2020 08:43:48.203 INFO Harmony Home created. No Harmony devices configured. com.bwssystems.HABridge.plugins.harmony.HarmonyHome
05-12-2020 08:43:48.204 INFO Nest Home created. No Nest configured. com.bwssystems.HABridge.plugins.NestBridge.NestHome
05-12-2020 08:43:48.204 INFO Hue passthru Home created. No Hue passtrhu systems configured. com.bwssystems.HABridge.plugins.hue.HueHome
05-12-2020 08:43:48.205 INFO HAL Home created. No HAL devices configured. com.bwssystems.HABridge.plugins.hal.HalHome
05-12-2020 08:43:48.205 INFO MQTT Home created. No MQTT Clients configured. com.bwssystems.HABridge.plugins.mqtt.MQTTHome
05-12-2020 08:43:48.206 INFO HomeAssistant Home created. No HomeAssistants configured. com.bwssystems.HABridge.plugins.hass.HassHome
05-12-2020 08:43:48.206 INFO HomeWizard Home created. No HomeWizard gateways configured. com.bwssystems.HABridge.plugins.homewizard.HomeWizardHome
05-12-2020 08:43:48.207 INFO Command Home for system program execution created. com.bwssystems.HABridge.plugins.exec.CommandHome
05-12-2020 08:43:48.207 INFO TCP Home created. com.bwssystems.HABridge.plugins.tcp.TCPHome
05-12-2020 08:43:48.208 INFO UDP Home created. com.bwssystems.HABridge.plugins.udp.UDPHome
05-12-2020 08:43:48.208 INFO Vera Home created. No Veras configured. com.bwssystems.HABridge.plugins.vera.VeraHome
05-12-2020 08:43:48.209 INFO Fibaro Home created. com.bwssystems.HABridge.plugins.fibaro.FibaroHome
05-12-2020 08:43:48.210 INFO Domoticz Home created. No Domoticz devices configured. com.bwssystems.HABridge.plugins.domoticz.DomoticzHome
05-12-2020 08:43:48.211 INFO Somfy Home created. No Somfys configured. com.bwssystems.HABridge.plugins.somfy.SomfyHome
05-12-2020 08:43:48.212 INFO LifxDevice Home created. No LifxDevices configured. com.bwssystems.HABridge.plugins.lifx.LifxHome
05-12-2020 08:43:48.212 INFO OpenHAB Home created. No OpenHABs configured. com.bwssystems.HABridge.plugins.openhab.OpenHABHome
05-12-2020 08:43:48.213 INFO FHEM Home created. No FHEMs configured. com.bwssystems.HABridge.plugins.fhem.FHEMHome
05-12-2020 08:43:48.214 INFO Broadlink Home created. No Broadlinks configured. com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome
05-12-2020 08:43:48.214 INFO Mozilla IOT Home created. No Mozilla IOTs configured. com.bwssystems.HABridge.plugins.moziot.MozIotHome
05-12-2020 08:43:48.214 INFO HomeGenie Home created. No HomeGenies configured. com.bwssystems.HABridge.plugins.homegenie.HomeGenieHome
05-12-2020 08:43:48.225 INFO HABridge device management service started.... com.bwssystems.HABridge.devicemanagmeent.DeviceResource
05-12-2020 08:43:48.237 INFO Hue emulator service started.... com.bwssystems.HABridge.hue.HueMulator
05-12-2020 08:43:48.247 INFO Traceupnp: upnp config address: 192.168.0.121 -useIface: false on web server: 0.0.0.0:80 com.bwssystems.HABridge.HABridge
05-12-2020 08:43:48.248 INFO Description xml service started.... com.bwssystems.HABridge.upnp.UpnpSettingsResource
05-12-2020 08:43:48.254 INFO UPNP Discovery Listener starting.... com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:43:48.256 INFO Traceupnp: Interface: wlan0 valid usable IP address: /192.168.0.121 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:43:48.257 INFO Traceupnp: Adding wlan0 to our upnp join interface set. com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:43:48.258 INFO Traceupnp: Interface: lo valid usable IP address: /127.0.0.1 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:43:48.259 INFO Traceupnp: Adding lo to our upnp join interface set. com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:43:48.260 INFO Create and run mDNS service. com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:43:48.273 INFO UPNP Discovery Listener running and ready.... com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:43:48.328 INFO Traceupnp: request of description.xml from: 192.168.0.123:80 filled in with address: 192.168.0.121:80 com.bwssystems.HABridge.upnp.UpnpSettingsResource
05-12-2020 08:44:08.946 INFO Traceupnp: sendUpnpNotify notifyTemplate1 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:44:09.602 INFO Traceupnp: sendUpnpNotify notifyTemplate2 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:44:10.256 INFO Traceupnp: sendUpnpNotify notifyTemplate3 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:44:30.929 INFO Traceupnp: sendUpnpNotify notifyTemplate1 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:44:31.582 INFO Traceupnp: sendUpnpNotify notifyTemplate2 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:44:32.234 INFO Traceupnp: sendUpnpNotify notifyTemplate3 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:44:52.908 INFO Traceupnp: sendUpnpNotify notifyTemplate1 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:44:53.560 INFO Traceupnp: sendUpnpNotify notifyTemplate2 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:44:54.213 INFO Traceupnp: sendUpnpNotify notifyTemplate3 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:45:14.886 INFO Traceupnp: sendUpnpNotify notifyTemplate1 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:45:15.539 INFO Traceupnp: sendUpnpNotify notifyTemplate2 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:45:16.191 INFO Traceupnp: sendUpnpNotify notifyTemplate3 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:45:36.865 INFO Traceupnp: sendUpnpNotify notifyTemplate1 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:45:37.518 INFO Traceupnp: sendUpnpNotify notifyTemplate2 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:45:38.170 INFO Traceupnp: sendUpnpNotify notifyTemplate3 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:45:58.844 INFO Traceupnp: sendUpnpNotify notifyTemplate1 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:45:59.496 INFO Traceupnp: sendUpnpNotify notifyTemplate2 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:46:00.149 INFO Traceupnp: sendUpnpNotify notifyTemplate3 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:46:20.814 INFO Traceupnp: sendUpnpNotify notifyTemplate1 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:46:20.872 INFO Traceupnp: hue api user create requested for device type: test_ha_bridge#192.168.0.123 and username: ff1387f26c7f4533a968fd1bbeeab1f0 com.bwssystems.HABridge.hue.HueMulator
05-12-2020 08:46:21.466 INFO Traceupnp: sendUpnpNotify notifyTemplate2 com.bwssystems.HABridge.upnp.UpnpListener
05-12-2020 08:46:22.118 INFO Traceupnp: sendUpnpNotify notifyTemplate3 com.bwssystems.HABridge.upnp.UpnpListener

@jamietang68
Copy link

update
I tried to forget all echo dot in my account, restart ha bridge and it is able to discover the devices now =)

@ssd65
Copy link

ssd65 commented May 21, 2020

I got this brightness issue. "Turn On [device]", the brightness gets set to 100%.
Notice this happens after not turning the device on for a while. Maybe in 6hrs.

@jamietang68
Copy link

jamietang68 commented May 23, 2020

Im trying to install 5.3.1RC in my RPi4, but it shows error below. anyone knows whats wrong?

edit to add comments: I've confirmed that I've created habridge.service file and put in the code in /etc/systemd/system according to the procedure.

May 23 09:20:03 raspberrypi kernel: [ 101.215378] fuse init (API version 7.27)
May 23 09:20:03 raspberrypi systemd[1]: Mounting FUSE Control File System...
May 23 09:20:03 raspberrypi systemd[1]: Mounted FUSE Control File System.
May 23 09:22:10 raspberrypi systemd[1]: Reloading.
May 23 09:22:11 raspberrypi systemd[1]: Started HA Bridge.
May 23 09:22:11 raspberrypi systemd[1414]: habridge.service: Failed to execute command: No such file or directory
May 23 09:22:11 raspberrypi systemd[1414]: habridge.service: Failed at step EXEC spawning /usr/bin/java: No such file or directory
May 23 09:22:11 raspberrypi systemd[1]: habridge.service: Main process exited, code=exited, status=203/EXEC
May 23 09:22:11 raspberrypi systemd[1]: habridge.service: Failed with result 'exit-code'.
May 23 09:22:11 raspberrypi systemd[1]: Reloading.

@castellorafa
Copy link

castellorafa commented Jul 10, 2020

Deleting Echo from my account and starting again did the trick , thanks jamietang68 :-)

@cipher2k
Copy link

The log above was from an off command, when i try on then the log shows
Tracestate: hue state change requested: pi from 192.168.0.2 body: {on: true}

but ha-bridge doesn't execute the script..
The curl response is only []

(On 4.5.6 curl responses {"success":{"/lights/3/state/on":true}}, And the script was executed.)

When i use for example the Test Off Button, the Command will be executed and the log shows

04-09-2020 07:17:05.616 | INFO | Tracestate: Calling on-off as requested: false | com.bwssystems.HABridge.hue.HueMulator

04-09-2020 07:17:05.635 | INFO | Tracestate: Decode Json for url items: [{"item":"/home/pi/Fernbedienung/Sonnenschutz.py up","type":"cmdDevice"}] | com.bwssystems.HABridge.hue.HueMulator

04-09-2020 07:17:05.676 | INFO | Tracestate: Calling Home device handler for type : cmdDevice | com.bwssystems.HABridge.hue.HueMulator

Same problem here after updating to latest release. I think it has something to do with the user name? Do we have to emulate creating a user first and then use the username from the response for the url?

@cipher2k
Copy link

cipher2k commented Oct 28, 2020

After update the device status update works fine.

The REST API

curl 192.168.0.2/api/pi/lights/3
{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Side Blind","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:03-03","swversion":"66012040"}

works fine, but i can not switch on/off

curl -X PUT -d "{"on": true}" "192.168.0.2/api/pi/lights/3/state"
[]

Did i do something wrong?
Thx

Try to escape the " with \" in the request:
curl -X PUT -d "{\"on\": true}" "192.168.0.2/api/pi/lights/3/state"

@smartypantsuk
Copy link

smartypantsuk commented Dec 2, 2020

For those having control issues, make sure that you create a new uniquely named device to test.
I suspect some of the issues are caused by Amazon caching device information.
I had trouble with Alexa finding devices that didn't exist anymore which messed up the control of some new devices.

For example, I had an old device called heating, I deleted it, updated bridge versions, then created a new device called heating. Alexa found it and i could turn it on and off but alexa would always complain that the device want responding even though it worked.

The way to check for a caching issue is to turn off all your Alexa devices, delete your device in ha-bridge, disable ha-bridge, delete the device in alexa app or web interface then do a discovery via app or web interface.

If the deleted device comes back even though it doesn't exist anymore that may be causing issues for you.

Even though I'd read that using the Alexa web interface was the way to remove all devices, it never worked properly as the deleted devices always reappeared on a discovery.

The only way I found to successfully delete devices is to remove one at a time through the app, then turn off all Alexa devices and leave off for a few hours or more, then cross your fingers. I had to do this a few times to get it to forget all my deleted devices.

Amazon need to sort there shit out.

To reiterate. When deleting ha-bridge devices, first delete from the bridge, then delete from the Alexa app, then turn off your Alexa devices, then do a discovery via the alexa app or web interface to see whether these deleted devices have actually been cleared out Amazon's cache or not. If not you'll find these devices get recreated even though they no longer exist.

@bwssytems
Copy link
Owner Author

Updated the link target for RC3, it was broken until now.

@bwssytems
Copy link
Owner Author

All color conversions look to be fixed

@juergen2345
Copy link

After update the device status update works fine.
The REST API
curl 192.168.0.2/api/pi/lights/3
{"state":{"on":false,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"Side Blind","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:03-03","swversion":"66012040"}
works fine, but i can not switch on/off
curl -X PUT -d "{"on": true}" "192.168.0.2/api/pi/lights/3/state"
[]
Did i do something wrong?
Thx

Try to escape the " with " in the request:
curl -X PUT -d "{"on": true}" "192.168.0.2/api/pi/lights/3/state"

Perfect! THX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing This is a testing item
Projects
None yet
Development

No branches or pull requests