Heating finally automated using HomeEasy HE105

For heating/cooling related questions in Domoticz

Moderator: leecollings

ShirlOlive
Posts: 3
Joined: Thursday 09 June 2016 7:31
Target OS: -
Domoticz version:
Contact:

Re: Heating finally automated using HomeEasy HE105

Post by ShirlOlive »

Central heating system is more preferable now.
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Heating finally automated using HomeEasy HE105

Post by madrian »

Thanks for this nice script.

I am trying to install it, but in log I see:

Code: Select all

2016-09-17 22:02:52.410 LUA: DEBUG - THERMOSTAT RelayHeating - Heating Is Scheduled To Be On: Heating House
2016-09-17 22:02:52.411 LUA: DEBUG - THERMOSTAT RelayHeating - Last seen temperature sensor: BMP180 2016-09-17 22:02:52
2016-09-17 22:02:52.411 LUA: DEBUG - THERMOSTAT RelayHeating - Target: 24 Current: 23.02
2016-09-17 22:02:52.412 Error: EventSystem: in heating control: [string "..."]:104: bad argument #1 to 'sub' (string expected, got nil)
...and it's not working.

----------------------------
EDIT:
AHH. I got it working: you must exactly type switch names ( "Switch name" doesn't equal "SWITCH NAME").

EDIT2:

The script is working, but I still get one error:

Code: Select all

2016-09-17 22:36:00.265 LUA: DEBUG - THERMOSTAT RELAYHeating - Last seen temperature sensor: BMP180 2016-09-17 22:35:02
2016-09-17 22:36:00.265 LUA: DEBUG - THERMOSTAT RELAYHeating - Target: 24 Current: 23.01
2016-09-17 22:36:00.266 LUA: DEBUG - THERMOSTAT RELAYHeating - Enough time has passed since last change to switch: 58 seconds out of 30 seconds
2016-09-17 22:36:00.266 LUA: DEBUG - THERMOSTAT RELAYHeating - Turning Physical Heater On: RELAY
2016-09-17 22:36:00.267 Error: EventSystem: in heating control: [string "..."]:165: attempt to index global 'devicechanged' (a nil value)
2016-09-17 22:36:00.757 LUA: DEBUG - THERMOSTAT RELAYHeating - Heating Is Scheduled To Be On: Heating House

Code: Select all

2016-09-17 22:45:00.226 LUA: DEBUG - THERMOSTAT RELAYHeating - Target: 24 Current: 24.36
2016-09-17 22:45:00.227 LUA: DEBUG - THERMOSTAT RELAYHeating - Enough time has passed since last change to switch: 56 seconds out of 30 seconds
2016-09-17 22:45:00.227 LUA: DEBUG - THERMOSTAT RELAYHeating - Turning Physical Heater Off: RELAY
2016-09-17 22:45:00.227 Error: EventSystem: in heating control: [string "..."]:177: attempt to index global 'devicechanged' (a nil value)
2016-09-17 22:45:02.454 LUA: DEBUG - THERMOSTAT RELAYHeating - Heating Is Scheduled To Be On: Heating House
2016-09-17 22:45:02.455 LUA: DEBUG - THERMOSTAT RELAYHeating - Last seen temperature sensor: BMP180 2016-09-17 22:44:05
2016-09-17 22:45:02.455 LUA: DEBUG - THERMOSTAT RELAYHeating - Target: 24 Current: 24.36
What's this?

----------------------------
One more question left: could you please implement the tolerance function?
thebeetleuk
Posts: 115
Joined: Saturday 21 December 2013 23:50
Target OS: Linux
Domoticz version:
Location: Scotland
Contact:

Re: Heating finally automated using HomeEasy HE105

Post by thebeetleuk »

Let me look tonight.

Whats the line of code on 177?
My Setup: Pi, RFXtrx433, HomeEasy: 13 Dimmers & 4 Sockets, 2 motion-sensors, 3 magnetic switches, 1 OWL Electricity Sensor, 3 Oregon Temp Sensor.
mikejclark
Posts: 23
Joined: Tuesday 03 September 2013 21:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Heating finally automated using HomeEasy HE105

Post by mikejclark »

Hi, firstly just wanted to express my appreciation for your script.
Thank you!

Also, I have a question about when the script runs. When I change the setpoint or turn the thermostat on or off in domoticz, the script doesn't seem to run for some time after. I think this might be by design in domoticz though. Is there a way to run the script as soon as the event happens?
Thanks!

Sent from my GT-I9505 using Tapatalk
thebeetleuk
Posts: 115
Joined: Saturday 21 December 2013 23:50
Target OS: Linux
Domoticz version:
Location: Scotland
Contact:

Re: Heating finally automated using HomeEasy HE105

Post by thebeetleuk »

Hi,

Sorry, I've been away for a while. From memory the interval is as fast as a few seconds. so as fast as your systems goes then it would fire. Check the log with debug on.

:)
My Setup: Pi, RFXtrx433, HomeEasy: 13 Dimmers & 4 Sockets, 2 motion-sensors, 3 magnetic switches, 1 OWL Electricity Sensor, 3 Oregon Temp Sensor.
robimarko
Posts: 1
Joined: Thursday 05 January 2017 23:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Heating finally automated using HomeEasy HE105

Post by robimarko »

Hi,thanks for making this script.
I missed something like this
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest