Page 1 of 1

JSON command UP/DOWN for Fireplace switch?

Posted: Tuesday 31 January 2017 22:16
by Tob120
Hi,

I've one switch to control my fireplace (mertik G6R-H4TD). I can control the fireplace through the pop-up in the browser to turn the fireplace on/off or up/down.

Through JSON commands I can switch the fireplace ON and OFF. However, I do not know what JSON commands to use to turn the fire up/down?

I hope someone can help me finding the right JSON command to turn the fire up/down...

I'm using the following command to turn it on/off:
"/json.htm?type=command&dparam=switchlight&idx=120&switchcmd=Off&level=0"
"/json.htm?type=command&dparam=switchlight&idx=120&switchcmd=On&level=1"

Thanks in advance for your help!

Re: JSON command UP/DOWN for Fireplace switch?

Posted: Wednesday 01 February 2017 6:59
by jannl
Should be somthing with the level I guess. Search the wiki or the forum for some examples. I do not know them by head.

Re: JSON command UP/DOWN for Fireplace switch?

Posted: Wednesday 01 February 2017 7:05
by Egregius
Use the developer view of Chrome/Firefox to see the command that's send while you adjust it.