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

HB[5.1.0] Fibaro HomeCenter2: Devices "Build Item" not working #850

Closed
rems02 opened this issue Dec 18, 2017 · 20 comments
Closed

HB[5.1.0] Fibaro HomeCenter2: Devices "Build Item" not working #850

rems02 opened this issue Dec 18, 2017 · 20 comments
Milestone

Comments

@rems02
Copy link

rems02 commented Dec 18, 2017

HB[5.1.0] Fibaro HomeCenter2: Devices "Build Item" not working

logs:

habridge.service - HA Bridge
   Loaded: loaded (/home/pi/habridge/habridge.service; enabled)
   Active: active (running) since lun. 2017-12-18 19:40:34 CET; 57min ago
 Main PID: 584 (java)
   CGroup: /system.slice/habridge.service
           └─584 /usr/bin/java -jar -Dconfig.file=/home/pi/habridge/data/habridg                                             e.config /home/pi/habridge/ha-bridge-5.1.0.jar

déc. 18 20:35:48 raspberrypi java[584]: at org.eclipse.jetty.util.thread.Invocab                                             le$InvocableExecutor.invoke(Invocable.java:222)
déc. 18 20:35:48 raspberrypi java[584]: at org.eclipse.jetty.util.thread.strateg                                             y.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
déc. 18 20:35:48 raspberrypi java[584]: at org.eclipse.jetty.util.thread.strateg                                             y.EatWhatYouKill.run(EatWhatYouKill.java:199)
déc. 18 20:35:48 raspberrypi java[584]: at org.eclipse.jetty.util.thread.QueuedT                                             hreadPool.runJob(QueuedThreadPool.java:673)
déc. 18 20:35:48 raspberrypi java[584]: at org.eclipse.jetty.util.thread.QueuedT                                             hreadPool$2.run(QueuedThreadPool.java:591)
déc. 18 20:35:48 raspberrypi java[584]: at java.lang.Thread.run(Thread.java:745)
déc. 18 20:35:48 raspberrypi java[584]: 2017-12-18 20:35:48,948 [qtp5891383-33]                                              INFO  com.bwssystems.HABridge.plugins.fibaro.FibaroInfo - Found: 0 scenes
déc. 18 20:37:16 raspberrypi java[584]: 2017-12-18 20:37:16,958 [qtp5891383-40]                                              INFO  com.bwssystems.HABridge.plugins.fibaro.FibaroInfo - Found: 19 rooms
déc. 18 20:37:16 raspberrypi java[584]: 2017-12-18 20:37:16,985 [qtp5891383-40]                                              INFO  com.bwssystems.HABridge.plugins.fibaro.FibaroInfo - Found: 1 devices
déc. 18 20:37:17 raspberrypi java[584]: 2017-12-18 20:37:17,000 [qtp5891383-47]                                              INFO  com.bwssystems.HABridge.plugins.fibaro.FibaroInfo - Found: 0 scenes
@bwssytems
Copy link
Owner

What is the issue you see when you got build item?

@rems02
Copy link
Author

rems02 commented Dec 19, 2017

the "Build Item" button does not work.

@bwssytems
Copy link
Owner

So, what browser are you using? I cannot see any reason that this should not work and no others seem to have this issue.

@darrenmcuk
Copy link

Same happens for me...the build button is not doing anything.

@bwssytems
Copy link
Owner

HAve you all refreshed your browser cache? As the change in 5.1.0 was to the javascript.

@rems02
Copy link
Author

rems02 commented Dec 21, 2017

It's OK Thanks
Refreshed browser cache and it's work

@bwssytems
Copy link
Owner

Yep, thought thats what it was....

@darrenmcuk Please do the same.

@mol7os
Copy link

mol7os commented Dec 22, 2017

Doesn´t work for me in Version 5.1.0.

After click on "Build item" nothing happens.
Browser tested: Chrome, Mozilla, Edge

@bwssytems
Copy link
Owner

@mol7os Refresh your browser cache. In Chrome that is Ctrl-F5 for the tab you are in.

@mol7os
Copy link

mol7os commented Dec 26, 2017

Doesnt work for me with follwing Browsers (nothing changed after deleting Browser cache):

  1. Intenet Explorer 11.125.16299.0
  2. Microsoft Edge 41.16299.15.0
  3. Chrome x64 Version 63.0.3239.84
  4. Mozilla Firefox 57.0.2 (64-Bit)

@bwssytems
Copy link
Owner

@mol7os my advice is to delete your setup and try again

@bwssytems
Copy link
Owner

@mol7os Any update? No one else is reporting this issue now.

@mol7os
Copy link

mol7os commented Jan 3, 2018

Problem still exist for me.

@bwssytems
Copy link
Owner

@mol7os Does the build button work at all for you?

@mol7os
Copy link

mol7os commented Jan 3, 2018

Oh my mistake. Mixed up different issues. Sorry.

No the button is not working for me. Nothing happends in all listed browsers above.
Tested Safari on MacBook too, nothing happens.

@bwssytems
Copy link
Owner

@mol7os So, the next time you try a build, open the developer console and see if there is an error in the browser. Everyone else is fixed for this but you.

@mol7os
Copy link

mol7os commented Jan 4, 2018

Log Chrome

angular.min.js:122 ReferenceError: dimpayload is not defined
at b.$scope.buildDeviceUrls (app.js:2148)
at fn (eval at compile (angular.min.js:237), :4:387)
at e (angular.min.js:282)
at b.$eval (angular.min.js:147)
at b.$apply (angular.min.js:148)
at HTMLButtonElement. (angular.min.js:282)
at HTMLButtonElement.dispatch (jquery-1.11.3.min.js:4)
at HTMLButtonElement.r.handle (jquery-1.11.3.min.js:4)
(anonymous) @ angular.min.js:122
6angular.min.js:122 ReferenceError: dimpayload is not defined
at b.$scope.buildDeviceUrls (app.js:2148)
at fn (eval at compile (angular.min.js:237), :4:387)
at e (angular.min.js:282)
at b.$eval (angular.min.js:147)
at b.$apply (angular.min.js:148)
at HTMLButtonElement. (angular.min.js:282)
at HTMLButtonElement.dispatch (jquery-1.11.3.min.js:4)
at HTMLButtonElement.r.handle (jquery-1.11.3.min.js:4)

Log Firfox

Source-Map-Fehler: request failed with status 404
Ressourcen-Adresse: http:https://rpi-smh:8081/js/angular-resource.min.js
Source-Map-Adresse: angular-resource.min.js.map

Error: dimpayload is not defined
$scope.buildDeviceUrls@http:https://rpi-smh:8081/scripts/app.js:2148:3
fn@http:https://rpi-smh:8081/js/angular.min.js line 237 > Function:4:384
e@http:https://rpi-smh:8081/js/angular.min.js:282:195
$eval@http:https://rpi-smh:8081/js/angular.min.js:147:309
$apply@http:https://rpi-smh:8081/js/angular.min.js:148:12
compile/</<@http:https://rpi-smh:8081/js/angular.min.js:282:245
dispatch@http:https://rpi-smh:8081/js/jquery-1.11.3.min.js:4:8497
add/r.handle@http:https://rpi-smh:8081/js/jquery-1.11.3.min.js:4:5235

Log HABridge

01-04-2018 08:42:45.676 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
01-04-2018 08:42:50.676 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool

@bwssytems
Copy link
Owner

@mol7os Thanks, that is a huge help!

@bwssytems bwssytems added the bug label Jan 5, 2018
@bwssytems
Copy link
Owner

Found the issue. Thanks for the debug.

@bwssytems bwssytems added this to the 5.2.0 milestone Jan 5, 2018
@mariefischer
Copy link

Had the same issue on 5.1.0. Works on 5.2.0RC3.

As a workaround on 5.1.0, it worked for me if the "select menu for which type of dim control" selection was something else except "none".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants