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

Domoticz Groups use incorrect api #1062

Closed
gorstj opened this issue Feb 19, 2019 · 3 comments · Fixed by #1085
Closed

Domoticz Groups use incorrect api #1062

gorstj opened this issue Feb 19, 2019 · 3 comments · Fixed by #1085
Assignees
Milestone

Comments

@gorstj
Copy link

gorstj commented Feb 19, 2019

Using Ha-Bridge to control a Domoticz GROUP using the 'Domoticz Tab' to create the device.

It uses the command:
http://IP:8080/json.htm?type=command&param=switchlight&idx=15&switchcmd=On

It should use:
http://IP:8080/json.htm?type=command&param=switchscene&idx=15&switchcmd=On

note 'switchscene' rather than 'switchlight'.

(n.b. Domoticz 'scenes' are correctly constructed using the 'swicthscene' api command)

@bwssytems bwssytems self-assigned this Feb 25, 2019
@bwssytems
Copy link
Owner

Will look t the code when decoding the devices and apply this. Thanks

@bwssytems
Copy link
Owner

So, what is the type in the Domoticz tab that it shows before you create the device?

@bwssytems
Copy link
Owner

bwssytems commented May 3, 2019

Never mind, I see the type is 'Group' that is returned and that is the issue in the build url for the helper.

@bwssytems bwssytems added bug and removed enhancement labels May 3, 2019
@bwssytems bwssytems added this to the v5.2.2 milestone May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants