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!
JSON command UP/DOWN for Fireplace switch?
Moderators: leecollings, remb0
-
- 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?
Should be somthing with the level I guess. Search the wiki or the forum for some examples. I do not know them by head.
- 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?
Use the developer view of Chrome/Firefox to see the command that's send while you adjust it.
Who is online
Users browsing this forum: No registered users and 1 guest