Page 1 of 1

Plugin 021: Niveauregeling

Posted: 10 Feb 2018, 14:35
by epost
Remote Threshold configuration
(feature implemented only on github version as of Aug 8th, 2017)
This plugin has the ability to change the Treshold (Set value in the GUI) with a command that can be send through HTTP/MQTT.

Syntax

config,task,<taskname>,setlevel,<value|calculation>

Example if your task name is set to "heater" and the threshold needs to be 21 degrees:
config,task,heater,setlevel,21

Because I only use ESP-Easy for a short time, it is not clear to me what I have to fill in for 'config'.
In 'task' I have entered '4' because at 'Devices' Level Control is the fourth device.
Can someone explain to me what to fill in 'config'.

Re: Plugin 021: Niveauregeling

Posted: 10 Feb 2018, 20:59
by Martinus
No need to replace 'config'. Only need to change the <xxxx> parameters.

So if your task name is "heater", and you want to set a value to 21, the command should be:

config,task,heater,setlevel,21

Re: Plugin 021: Niveauregeling

Posted: 11 Feb 2018, 10:29
by epost
Martinus, thank you for your quick response.

I have tested it and it works very well now.
My mistake was that I had used a space behind each comma to increase legibility.
Thank you again very much.

Re: Plugin 021: Niveauregeling

Posted: 06 Jan 2020, 12:14
by gibus17
Hello
I have the same problem.
  I place with chrome this order: <http://192.168.1.128/config,task,thermostat,setlevel,21>
It has no effect. I'm with the buid <mega-20191108>
thank you for your help

Re: Plugin 021: Niveauregeling

Posted: 07 Jan 2020, 15:49
by gibus17
Hello,
I found how to write the command exactly:
192.168.1.128/control?cmd=config,task,Sonoff_thermostat_2,setlevel,30