Plugin 021: Niveauregeling

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
epost
Normal user
Posts: 33
Joined: 09 Feb 2018, 20:04

Plugin 021: Niveauregeling

#1 Post by epost » 10 Feb 2018, 14:35

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'.

Martinus

Re: Plugin 021: Niveauregeling

#2 Post by Martinus » 10 Feb 2018, 20:59

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

epost
Normal user
Posts: 33
Joined: 09 Feb 2018, 20:04

Re: Plugin 021: Niveauregeling

#3 Post by epost » 11 Feb 2018, 10:29

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.

gibus17
Normal user
Posts: 22
Joined: 06 Jan 2020, 12:02

Re: Plugin 021: Niveauregeling

#4 Post by gibus17 » 06 Jan 2020, 12:14

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

gibus17
Normal user
Posts: 22
Joined: 06 Jan 2020, 12:02

Re: Plugin 021: Niveauregeling

#5 Post by gibus17 » 07 Jan 2020, 15:49

Hello,
I found how to write the command exactly:
192.168.1.128/control?cmd=config,task,Sonoff_thermostat_2,setlevel,30

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests