Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95528

RESTful Switch for a Pellet Stove

$
0
0

@Noza wrote:

Hey :wink:
Got a newbie question about the Restfull switch.
I’ve got a pellet stove that can be controlled with http commands. As i want to use a generic_thermostat i need to create a switch to turn ON/OFF the stove.

The rest commands are formated like that:
http://192.168.1.xxx/cgi-bin/sendmsg.lua?cmd=COMMAND_HERE

GET+STATUS will return:

{"INFO":{"RSP":"OK","CMD":"GET STATUS","TS":1575311921},"SUCCESS":true,"DATA":{"STATUS":7,"LSTATUS":51}}.

STATUS 1, 2, 3 or 4 means that the stove is ON and 0, 6, 7, 8 or 9 means the stove is OFF
SET+ON will turn on the stove
SET+OFF will turn off the stove

Anyone can help me to create the switch? I’m so lost i don’t even know where to start.

Thanks !

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95528

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>