I use a thermostat dummy to have a temperature setpoint that changes with my working hours, it changes the setpoint to 21 degrees when I'm coming home and 16 degrees on the hour that I'm leaving the house. A blockly program compares the setpoint to a switch on my heating device.
In the vacation I'm home the whole time, but at 8 o'clock, the setpoint changes to 16 degrees. Is it possible to add a switch to thermostat dummy to choose "workmode" or "vacationmode"? Now I'm using 2 setpoints and 2 events, which is not so user-friendly. I can use a "selector" dummy to select a mode but then I still need 2 setpoints?
Thanks
Using a thermostat with timer and switch
Moderator: leecollings
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Using a thermostat with timer and switch
Did you try to use a timerplan?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 8
- Joined: Tuesday 03 September 2019 13:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Using a thermostat with timer and switch
I searched the internet and timerplan is working for me. Now I need to change the timerplan in settings but I want to change it with a selector switch, but my http://..... actions are not correct. I copied them from the internet and changed the IP-adres and port. Is there a mistake in the actions?
http://192.168.1.34:8080/json.htm?type= ... imerPlan=1
http://192.168.1.34:8080/json.htm?type= ... imerPlan=2
http://192.168.1.34:8080/json.htm?type= ... imerPlan=1
http://192.168.1.34:8080/json.htm?type= ... imerPlan=2
- Attachments
-
- domoticz.PNG (90.23 KiB) Viewed 546 times
-
- Posts: 8
- Joined: Tuesday 03 September 2019 13:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Using a thermostat with timer and switch
If I click on the link the timerplan changes.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Using a thermostat with timer and switch
It should have an extra slash when used in the action field
so
http:///192....
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 8
- Joined: Tuesday 03 September 2019 13:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Using a thermostat with timer and switch
If I try with http:///, it doesn't work to. In my logs I have the following error:
Error: Error opening url: http:///192.168.1.34:8080/json.htm?type=command¶m=setactivetimerplan&ActiveTimerPlan=1
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Using a thermostat with timer and switch
You should allow your local network to access domoticz without password.
[Setup][Settings][System]
Local Networks (no username/password):
Networks:
127.0.0.*;192.168.1.*;::1
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 8
- Joined: Tuesday 03 September 2019 13:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Using a thermostat with timer and switch
It works, thanks a lot for the helpfull tips.
Who is online
Users browsing this forum: No registered users and 1 guest