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

get variable by idx is not working #1

Open
zerr0s opened this issue Sep 20, 2016 · 1 comment
Open

get variable by idx is not working #1

zerr0s opened this issue Sep 20, 2016 · 1 comment

Comments

@zerr0s
Copy link

zerr0s commented Sep 20, 2016

Hi, forgive me for my bad english. The getVariable and getVariables calls use the same param "getuservariables".

So if we try to get values of a specific user variable, the list of all variables is returned. I modified the getVariable by changing "getuservariables" by "getuservariable" and it works well.

Could you check for that and patch the domoticz.js ?

@Wifsimster
Copy link
Owner

Hi, i have no Domoticz in place anymore for testing.

But i'll be looking for this when i got some times, no problem.

In the mean time, if you have any idea, why you have this problem, you could make a pull request if you want ;)

I'll keep you in touch.

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

No branches or pull requests

2 participants