Page 3 of 3

Re: Heating finally automated using HomeEasy HE105

Posted: Thursday 09 June 2016 7:58
by ShirlOlive
Central heating system is more preferable now.

Re: Heating finally automated using HomeEasy HE105

Posted: Saturday 17 September 2016 22:03
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?

Re: Heating finally automated using HomeEasy HE105

Posted: Monday 19 September 2016 10:11
by thebeetleuk
Let me look tonight.

Whats the line of code on 177?

Re: Heating finally automated using HomeEasy HE105

Posted: Thursday 29 September 2016 23:29
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

Re: Heating finally automated using HomeEasy HE105

Posted: Tuesday 22 November 2016 21:41
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.

:)

Re: Heating finally automated using HomeEasy HE105

Posted: Friday 06 January 2017 2:00
by robimarko
Hi,thanks for making this script.
I missed something like this