Thanks Bill for the quick response!
Yes, I use my admin account so I have full rights in HC3. As I wrote earlier, I have created a similar app by a VD in HC2 that works, but the syntax in HC3 is different.
I can also turn on or off a lamp in HC3 with the commands
http://192.168.1.27/api/callAction?deviceID=30&name=turnOn
http://192.168.1.27/api/callAction?deviceID=30&name=turnOff
and then gets the answer {“id”:0,“jsonrpc”:“2.0”,“result”:{“result”:0}}.
But I do not know what the command looks like to press a button in my QA.
For example, the Auto button has these parameters
ID: btn_auto
Label: Auto
onReleased : onButton_AutoChanged
ID for my QA is 191
I also try to find out what an http command to press the button should look like. I have asked on Fibaro’s forum, but have not received an answer yet.
http://192.168.1.27/api/callAction?deviceID=191&name=btn_auto
or
http://192.168.1.27/api/callAction?deviceID=191&name=onButton_AutoChanged
does not work.
EDIT:
If we start with the command to press a button in a QA, it looks like this:
http://<HC3_IP>/api/plugins/callUIEvent?deviceID=<QA_Id>&elementName=<button_ID>&eventType=onReleased
I have tested the code and it works perfectly with this command:
http://192.168.1.27/api/plugins/callUIEvent?deviceID=191&elementName=btn_auto&eventType=onReleased
I’m allowed to come back as I know how to read the contents of a Label.



