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

Node-Raumserver Lautstärke #32

Closed
Holliwyoming opened this issue May 10, 2017 · 4 comments
Closed

Node-Raumserver Lautstärke #32

Holliwyoming opened this issue May 10, 2017 · 4 comments
Assignees
Labels

Comments

@Holliwyoming
Copy link

Hallo
Ich habe node-raumserver erfolgreich installiert
habe aber Probleme mit der Lautstärke
Folgendes wird in einem Script abgesetzt
on({id: "javascript.0.Radio_Lauter", val: true}, function(dp) {
var url10 = "http://192.168.178.64:8080/raumserver/controller/volumeUp?value=5&id=Kueche";
request(url10);
setState(dp.id, false);
});
bekomme folgende Fehlermeldung zurück

debug: [DeviceManager] Media renderer for id : Kueche found
debug: [Request.volumeUp] Calling action 'volumeUp' for renderer Kueche
debug: [MediaRenderer|Kueche] Call GetVolume from Kueche
debug: [MediaRenderer|Kueche] Result of GetVolume for Kueche is {"CurrentVolume":"26"}
(node:2631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 45): ReferenceError: _data is not defined

@Holliwyoming
Copy link
Author

on({id: "javascript.0.Radio_Mute_Off", val: true}, function(dp) {
var url13 = "http://192.168.178.64:8080/raumserver/controller/unMute?id=Kueche";
request(url13);
setState("Radio_Mute_Off", false);
});
Dieser Befehl funktioniert einwandfrei

@ChriD ChriD self-assigned this May 11, 2017
@ChriD
Copy link
Owner

ChriD commented May 11, 2017

Thanks for thinfo! That is a bug. I'll fix it this week

ChriD added a commit that referenced this issue May 12, 2017
@ChriD
Copy link
Owner

ChriD commented May 12, 2017

Fixed in 0.0.9. you may use npm update to get the newest package

@ChriD ChriD closed this as completed May 12, 2017
@Holliwyoming
Copy link
Author

Hi ChriD
It works well
Thanks

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

No branches or pull requests

2 participants