Intergas Incomfort Heater control

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.
rizo
Posts: 4
Joined: Thursday 28 January 2016 12:36
Target OS: Windows
Domoticz version:
Contact:

Re: Intergas Incomfort Heater control

Post by rizo » Thursday 11 February 2016 15:08

Username: admin
Password: intergas

jkaavee
Posts: 3
Joined: Wednesday 17 February 2016 22:08
Target OS: Linux
Domoticz version:
Contact:

Re: Intergas Incomfort Heater control

Post by jkaavee » Wednesday 17 February 2016 22:31

TheSnitz wrote:YES :D :D :D

I Fix my problem myself :-)

After you have copieed,changed the scripts and if the scripts are running(with the error i had), then you have to manually update(adjustment) the 2 Temp sensors each with a different value. (because 0 and 0 will be a nil value :-) )

Now i have to changed the "debug option" in te script to false so my log file will be cleaner.

Please explain.
I had it running once but now again those two errors.

Regards,

Jacob

jkaavee
Posts: 3
Joined: Wednesday 17 February 2016 22:08
Target OS: Linux
Domoticz version:
Contact:

Re: Intergas Incomfort Heater control

Post by jkaavee » Saturday 20 February 2016 21:27

Hi,

I only can make it run if I use as virtual sensor therm setpoint for all three virtual sensors.
My understanding was 1 virtual sensor with therm setpoint and the other two as virtual sensor "temperatuur"
If i do that I get the errors with "the known and here mentioned nil errors"
I'm confused. What am I doing wrong?

Regards,

Jacob

jkaavee
Posts: 3
Joined: Wednesday 17 February 2016 22:08
Target OS: Linux
Domoticz version:
Contact:

Re: Intergas Incomfort Heater control

Post by jkaavee » Sunday 21 February 2016 22:32

Problem solved.
Because for some unknown reason I could not set a different value manually in the two temp sensors, I used the following api command:

[url]http://domoticzip:port/json.htm?type=command&param=udevice&idx=IDX&nvalue=0&svalue=TEMP[/url]

replace IDX with device id and TEMP for a value you want to set.

After that the script worked fine! :D

tonadam
Posts: 14
Joined: Saturday 20 February 2016 13:02
Target OS: Raspberry Pi
Domoticz version: V4.9999
Location: Amsterdam
Contact:

Re: Intergas Incomfort Heater control

Post by tonadam » Saturday 27 February 2016 22:08

Cool I found you guys. Didn't release others into domoticz where using the "Intergas Incomfort Heater control" as well. The reviews for the IOS app where not that promising, but it has been working out reasonably well. Before I started using domotics, I used a self written perl script to be able to read and set the temperature from the command line.

Now testing the LUA scripts. Basic functions seem to work. Many thanks for publishing these Jeroen, that saves me a lot work.

Btw, my gateway reports the following firmware:

Firmware version: IC3-ICN-V1.06
Build date: Oct 20 2014 00:08:00

Does anybody know if there is a more recent version, and if so how to update it?

I did see a couple of times that the script started to loop on:

2016-02-27 18:50:20.216 LUA: Difference between Virtual thermostat and set temp
2016-02-27 18:50:20.216 LUA: Virtual thermostat is updated later then physical thermostat
2016-02-27 18:50:20.216 LUA: Calculated value to set temperature (used by lan2rf gateway): 90
2016-02-27 18:50:20.216 LUA: URL to change temperature setpoint: http://X.X.X.X/data.json?heater=0&setpo ... rmostat=0×

Somehow it was unable to set the temp to whatever it thought it should be.
Looking at the website

Room setpoint 1: would still be at the old temp.
Room setpoint override 1: and would be set correctly by the LUA script. (room_temp_set_1_lsb)

So it kept on trying/looping to set the temperature. Need to look further into that. First will try the lame approach of rebooting the Intergas controller. ;)

benotje
Posts: 39
Joined: Saturday 27 December 2014 16:50
Target OS: Raspberry Pi
Domoticz version: V3,6146
Location: Menterwolde,The Netherlands
Contact:

Re: Intergas Incomfort Heater control

Post by benotje » Monday 21 March 2016 20:15

i have the same error

LUA: Difference between Virtual thermostat and set temp
LUA: Lastupdated temperature is later then virtual thermostat setpoint

when i set the real thermostat or intergas app then the error appears

when i set de virtual thermostat manual the same de error is gone

do somebody no how i can solve it

User avatar
anandus
Posts: 16
Joined: Sunday 14 December 2014 17:28
Target OS: Linux
Domoticz version:
Contact:

Re: Intergas Incomfort Heater control

Post by anandus » Monday 13 June 2016 8:17

For what it's worth, here is the (Dutch) API-documentation:
http://www.filedropper.com/lan2rfgatewayhttpinterface

JeroenZeist
Posts: 12
Joined: Saturday 15 August 2015 17:14
Target OS: Raspberry Pi
Domoticz version: 3.5999
Location: Netherlands
Contact:

Re: Intergas Incomfort Heater control

Post by JeroenZeist » Monday 13 June 2016 16:46

anandus wrote:For what it's worth, here is the (Dutch) API-documentation:
http://www.filedropper.com/lan2rfgatewayhttpinterface
Thanks. Always good to have one complete overview of the possible actions and responses.

benotje
Posts: 39
Joined: Saturday 27 December 2014 16:50
Target OS: Raspberry Pi
Domoticz version: V3,6146
Location: Menterwolde,The Netherlands
Contact:

Re: Intergas Incomfort Heater control

Post by benotje » Thursday 21 July 2016 10:07

i have some error somebody can fix it ??

Code: Select all

2016-07-21 10:03:40.617 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_device_intergasincomfort.lua: ...domoticz/scripts/lua/script_device_intergasincomfort.lua:35: attempt to perform arithmetic on field '?' (a nil value)
2016-07-21 10:03:40.805 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_device_intergasincomfort.lua: ...domoticz/scripts/lua/script_device_intergasincomfort.lua:35: attempt to perform arithmetic on field '?' (a nil value)
2016-07-21 10:03:40.973 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_device_intergasincomfort.lua: ...domoticz/scripts/lua/script_device_intergasincomfort.lua:35: attempt to perform arithmetic on field '?' (a nil value)
2016-07-21 10:03:41.133 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_device_intergasincomfort.lua: ...domoticz/scripts/lua/script_device_intergasincomfort.lua:35: attempt to perform arithmetic on field '?' (a nil value)
2016-07-21 10:03:41.295 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_device_intergasincomfort.lua: ...domoticz/scripts/lua/script_device_intergasincomfort.lua:35: attempt to perform arithmetic on field '?' (a nil value)
2016-07-21 10:03:41.462 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_device_intergasincomfort.lua: ...domoticz/scripts/lua/script_device_intergasincomfort.lua:35: attempt to perform arithmetic on field '?' (a nil value)

fransiefrans
Posts: 77
Joined: Sunday 14 June 2015 13:22
Target OS: Raspberry Pi
Domoticz version: stable
Location: Netherlands
Contact:

Re: Intergas Incomfort Heater control

Post by fransiefrans » Saturday 20 August 2016 8:10

Just installed it and it seems to work.
Thank you!

fransiefrans
Posts: 77
Joined: Sunday 14 June 2015 13:22
Target OS: Raspberry Pi
Domoticz version: stable
Location: Netherlands
Contact:

Re: Intergas Incomfort Heater control

Post by fransiefrans » Saturday 20 August 2016 8:11

benotje wrote:i have some error somebody can fix it ??

Code: Select all

2016-07-21 10:03:40.617 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_device_intergasincomfort.lua: ...domoticz/scripts/lua/script_device_intergasincomfort.lua:35: attempt to perform arithmetic on field '?' (a nil value)
2016-07-21 10:03:40.805 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_device_intergasincomfort.lua: ...domoticz/scripts/lua/script_device_intergasincomfort.lua:35: attempt to perform arithmetic on field '?' (a nil value)
2016-07-21 10:03:40.973 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_device_intergasincomfort.lua: ...domoticz/scripts/lua/script_device_intergasincomfort.lua:35: attempt to perform arithmetic on field '?' (a nil value)
2016-07-21 10:03:41.133 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_device_intergasincomfort.lua: ...domoticz/scripts/lua/script_device_intergasincomfort.lua:35: attempt to perform arithmetic on field '?' (a nil value)
2016-07-21 10:03:41.295 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_device_intergasincomfort.lua: ...domoticz/scripts/lua/script_device_intergasincomfort.lua:35: attempt to perform arithmetic on field '?' (a nil value)
2016-07-21 10:03:41.462 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_device_intergasincomfort.lua: ...domoticz/scripts/lua/script_device_intergasincomfort.lua:35: attempt to perform arithmetic on field '?' (a nil value)
Make sure you have the idx and device name correct. for example I named the virtual thermostat Kamer thermostaat

Code: Select all

local idxsetthermostat = 289 -- idx of the virtual thermostat in Domoticz
local thermostatname = "Kamer thermostaat" -- name of the virtual thermostat in Domoticz

benotje
Posts: 39
Joined: Saturday 27 December 2014 16:50
Target OS: Raspberry Pi
Domoticz version: V3,6146
Location: Menterwolde,The Netherlands
Contact:

Re: Intergas Incomfort Heater control

Post by benotje » Thursday 25 August 2016 10:10

Yes this problem is solved

but now I still have one problem, who can help me

when i set the real thermostat or intergas app then the error appears

Code: Select all

2016-08-25 09:57:59.776 LUA: Difference between Virtual thermostat and set temp
2016-08-25 09:57:59.776 LUA: Lastupdated temperature is later then virtual thermostat setpoint
2016-08-25 09:57:59.776 EventSystem: Fetching url...
2016-08-25 09:57:59.777 EventSystem: Script event triggered: /home/pi/domoticz/scripts/lua/script_device_intergasincomfort.lua
when i set de virtual thermostat manual in Domoticz de error is gone

Who can help me

benotje
Posts: 39
Joined: Saturday 27 December 2014 16:50
Target OS: Raspberry Pi
Domoticz version: V3,6146
Location: Menterwolde,The Netherlands
Contact:

Re: Intergas Incomfort Heater control

Post by benotje » Saturday 27 August 2016 12:28

i think that the solution can be found here part of the LUA

Code: Select all

-- Functions ---------------------------------------------------------------------------------------------------function UpdateVirtualThermostat()
	if otherdevices_svalues[thermostatname] + 0.01 ~= otherdevices_svalues[currentlyset] + 0.01 then
		if debug then print ("Difference between Virtual thermostat and set temp") end
		if otherdevices_lastupdate[currentlyset] > otherdevices_lastupdate[thermostatname] then
			if debug then print("Lastupdated temperature is later then virtual thermostat setpoint") end
			commandArray[4] = {['OpenURL']=domoticzaddress..'/json.htm?param=udevice&type=command&idx='..idxsetthermostat..'&nvalue=0&svalue='..otherdevices_svalues[currentlyset]}
		elseif otherdevices_lastupdate[thermostatname] > otherdevices_lastupdate[currentlyset] then
			if debug then print("Virtual thermostat is updated later then physical thermostat") end
			SetTemperature(otherdevices_svalues[thermostatname])
		end
	end
end
but i can not find my problem

please help my  :idea:

djoele
Posts: 20
Joined: Monday 23 May 2016 17:57
Target OS: -
Domoticz version:
Contact:

Re: Intergas Incomfort Heater control

Post by djoele » Tuesday 15 November 2016 9:09

Hello,

I saw some older messages in this thread speaking about the API of InComfort.
The link provided is not working as it was a temporary link.

Does anybody have the API documentation available to share?

Kind regards,
Dennis

mdehaan
Posts: 1
Joined: Tuesday 22 November 2016 11:50
Target OS: Windows
Domoticz version:
Contact:

Re: Intergas Incomfort Heater control

Post by mdehaan » Tuesday 22 November 2016 15:42

Hi Jeroen,

I was able to get it all to work!
Really great stuff.
I understand you were still working on further development so I really wonder what the current status is.
Were you able to show information regarding the tap-water and maybe the pressure in the heater?

I'm really curious on my heater's behaviour when I lower the thermostat during the night for 2 degrees during 7 hours and then see how temperature in the living room evolves. Your script makes this perfectly visible!

One question remains for me. You've added a virtual switch that tells whether the module is online or not, but I'm interested in seeing when the heater is working or not. And if it is working for heater or water. And even with the percentage of power the heater is working on.
I assume this should all be possible right?
Is that also something you are planning to add?

Again, I really like this! It is much better then the standard app on my phone, so I hope you keep up the good work.

Best regards,
Marco

JohnO
Posts: 5
Joined: Monday 28 November 2016 23:53
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Intergas Incomfort Heater control

Post by JohnO » Monday 28 November 2016 23:58

I try to add the LUA scripts to my Domoticzon Synology. I cannot reach the right directory?? Can you please give some detailed instructions in setting up the LAN2RF on Synology??

JohnO
Posts: 5
Joined: Monday 28 November 2016 23:53
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Intergas Incomfort Heater control

Post by JohnO » Tuesday 29 November 2016 23:55

I now have the files in the right directory using busybox/telnet (CP command under Admin)
I first tried to put the files in the LUA directory using the root account, but Root access for telnet is blocked default.

I now want to figure out how to use these files within domoticz. I already setted up the correct IP adresses

JohnO
Posts: 5
Joined: Monday 28 November 2016 23:53
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Intergas Incomfort Heater control

Post by JohnO » Wednesday 30 November 2016 0:17

Oh yes: the right path on synology is: /usr/local/domoticz/scripts

JohnO
Posts: 5
Joined: Monday 28 November 2016 23:53
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Intergas Incomfort Heater control

Post by JohnO » Wednesday 30 November 2016 0:26

And replace the path to avoid this error:
Error: ...l/domoticz/scripts/lua/script_time_intergasincomfort.lua:36: cannot open /home/pi/domoticz/scripts/lua/JSON.lua

JohnO
Posts: 5
Joined: Monday 28 November 2016 23:53
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Intergas Incomfort Heater control

Post by JohnO » Wednesday 30 November 2016 0:52

And with the right names assigned to the virtual sensor it is finally working!

Post Reply

Who is online

Users browsing this forum: tukestolo and 1 guest