JSON command UP/DOWN for Fireplace switch?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Tob120
Posts: 1
Joined: Tuesday 31 January 2017 22:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

JSON command UP/DOWN for Fireplace switch?

Post 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!
jannl
Posts: 675
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: JSON command UP/DOWN for Fireplace switch?

Post 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.
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: JSON command UP/DOWN for Fireplace switch?

Post by Egregius »

Use the developer view of Chrome/Firefox to see the command that's send while you adjust it.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest