Level_Control Device plugin21
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 21
- Joined: 31 Oct 2016, 03:03
Level_Control Device plugin21
Hi all
It is possible to change de value of the field "Set_Value" WITH a command or via http or mttq?? To use it as a thermostat???
Thank for your help
It is possible to change de value of the field "Set_Value" WITH a command or via http or mttq?? To use it as a thermostat???
Thank for your help
-
- New user
- Posts: 2
- Joined: 09 Jan 2017, 15:34
Re: Level_Control Device plugin21
I'd also like to know... +1
- paveleremin
- Normal user
- Posts: 12
- Joined: 29 Dec 2016, 10:19
Re: Level_Control Device plugin21
+1 Same question
Or manage/link it some how with additional Dummy Device?
Or manage/link it some how with additional Dummy Device?
-
- Normal user
- Posts: 30
- Joined: 31 Oct 2015, 08:00
Re: Level_Control Device plugin21
Have a look at the rule example using system variables - http://www.letscontrolit.com/wiki/index ... _Variables
Re: Level_Control Device plugin21
this is how I did it.. first create dummy device [img]
then create a dummy thermostat in domoticz (I named this test-thermostat )
Create a lua script
Then create a Rule in your ESP
[/img]then create a dummy thermostat in domoticz (I named this test-thermostat )
Create a lua script
Code: Select all
commandArray = {}
if devicechanged['test-thermostat'] then
DomDevice = 'test-thermostat'
DomValue = otherdevices_svalues[DomDevice]
CalcValue = (DomValue*1)
print(CalcValue)
url= 'http://192.168.0.68/control?cmd=event,dumb1='..(CalcValue)..''
commandArray['OpenURL']= url
end
Code: Select all
on dumb1 do
TaskValueSet 1,1,%eventvalue%
if [tempsensor#Temperature]<[dumb#temp] do
mcpgpio,5,0
else
mcpgpio,5,1
endon
-
- Normal user
- Posts: 21
- Joined: 31 Oct 2016, 03:03
Re: Level_Control Device plugin21
I don't use domoticz. It the a way to do it without domoticz ?
Re: Level_Control Device plugin21
It should still work without Domoticz just using the rule + 'http://192.168.0.68/control?cmd=event,d ... CalcValue)..'' where CalcValue is your new setpointFranckkyDoo wrote:I don't use domoticz. It the a way to do it without domoticz ?
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
-
- Normal user
- Posts: 21
- Joined: 31 Oct 2016, 03:03
Re: Level_Control Device plugin21
So if I understand, I don't need to use the level control with your method?
Re: Level_Control Device plugin21
Not my method, its hamsters method , I just commented on the necessity of domoticz. But the way I understand it, you would not need a level device, correct.FranckkyDoo wrote:So if I understand, I don't need to use the level control with your method?
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
-
- Normal user
- Posts: 21
- Joined: 31 Oct 2016, 03:03
Re: Level_Control Device plugin21
I just try a better way to change the target temperature. It work with the level device but not easy to change the "Set Value" With rules.
Thank you !!
Thank you !!
Re: Level_Control Device plugin21
Hello
How can i change the Set Value over Mqtt or command or rule?
Thanks
How can i change the Set Value over Mqtt or command or rule?
Thanks
-
- Normal user
- Posts: 21
- Joined: 31 Oct 2016, 03:03
Re: Level_Control Device plugin21
I guess it impossible.
-
- New user
- Posts: 1
- Joined: 24 Mar 2017, 12:25
Re: Level_Control Device plugin21
first of all, I would like to thank everybody for their great work on this project.
I'm also using this plugin with a DS18b20 sensor as a thermostat and I would like to invert the logic for the output relay as it is on the "Switch input" device.
thanks
I'm also using this plugin with a DS18b20 sensor as a thermostat and I would like to invert the logic for the output relay as it is on the "Switch input" device.
thanks
Who is online
Users browsing this forum: No registered users and 98 guests