Intergas Incomfort Heater control
Moderator: leecollings
Re: Intergas Incomfort Heater control
Username: admin
Password: intergas
Password: intergas
-
- Posts: 3
- Joined: Wednesday 17 February 2016 21:08
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Intergas Incomfort Heater control
TheSnitz wrote:YES
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
-
- Posts: 3
- Joined: Wednesday 17 February 2016 21:08
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Intergas Incomfort Heater control
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
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
-
- Posts: 3
- Joined: Wednesday 17 February 2016 21:08
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Intergas Incomfort Heater control
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¶m=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!
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¶m=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!
-
- Posts: 16
- Joined: Saturday 20 February 2016 12:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.9999
- Location: Amsterdam
- Contact:
Re: Intergas Incomfort Heater control
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.
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.
-
- Posts: 30
- Joined: Saturday 27 December 2014 15:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.20078
- Location: Menterwolde,The Netherlands
- Contact:
Re: Intergas Incomfort Heater control
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
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
raspberry pi
nas synology
homey
nas synology
homey
Re: Intergas Incomfort Heater control
For what it's worth, here is the (Dutch) API-documentation:
http://www.filedropper.com/lan2rfgatewayhttpinterface
http://www.filedropper.com/lan2rfgatewayhttpinterface
-
- Posts: 12
- Joined: Saturday 15 August 2015 17:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5999
- Location: Netherlands
- Contact:
Re: Intergas Incomfort Heater control
Thanks. Always good to have one complete overview of the possible actions and responses.anandus wrote:For what it's worth, here is the (Dutch) API-documentation:
http://www.filedropper.com/lan2rfgatewayhttpinterface
-
- Posts: 30
- Joined: Saturday 27 December 2014 15:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.20078
- Location: Menterwolde,The Netherlands
- Contact:
Re: Intergas Incomfort Heater control
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)
raspberry pi
nas synology
homey
nas synology
homey
-
- Posts: 59
- Joined: Sunday 14 June 2015 13:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: Netherlands
- Contact:
Re: Intergas Incomfort Heater control
Just installed it and it seems to work.
Thank you!
Thank you!
-
- Posts: 59
- Joined: Sunday 14 June 2015 13:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: Netherlands
- Contact:
Re: Intergas Incomfort Heater control
Make sure you have the idx and device name correct. for example I named the virtual thermostat Kamer thermostaatbenotje 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)
Code: Select all
local idxsetthermostat = 289 -- idx of the virtual thermostat in Domoticz
local thermostatname = "Kamer thermostaat" -- name of the virtual thermostat in Domoticz
-
- Posts: 30
- Joined: Saturday 27 December 2014 15:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.20078
- Location: Menterwolde,The Netherlands
- Contact:
Re: Intergas Incomfort Heater control
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
when i set de virtual thermostat manual in Domoticz de error is gone
Who can help me
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
Who can help me
raspberry pi
nas synology
homey
nas synology
homey
-
- Posts: 30
- Joined: Saturday 27 December 2014 15:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.20078
- Location: Menterwolde,The Netherlands
- Contact:
Re: Intergas Incomfort Heater control
i think that the solution can be found here part of the LUA
but i can not find my problem
please help my
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
please help my
raspberry pi
nas synology
homey
nas synology
homey
Re: Intergas Incomfort Heater control
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
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
-
- Posts: 1
- Joined: Tuesday 22 November 2016 10:50
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Intergas Incomfort Heater control
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
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
-
- Posts: 5
- Joined: Monday 28 November 2016 22:53
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Intergas Incomfort Heater control
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??
-
- Posts: 5
- Joined: Monday 28 November 2016 22:53
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Intergas Incomfort Heater control
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
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
-
- Posts: 5
- Joined: Monday 28 November 2016 22:53
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Intergas Incomfort Heater control
Oh yes: the right path on synology is: /usr/local/domoticz/scripts
-
- Posts: 5
- Joined: Monday 28 November 2016 22:53
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Intergas Incomfort Heater control
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
Error: ...l/domoticz/scripts/lua/script_time_intergasincomfort.lua:36: cannot open /home/pi/domoticz/scripts/lua/JSON.lua
-
- Posts: 5
- Joined: Monday 28 November 2016 22:53
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Intergas Incomfort Heater control
And with the right names assigned to the virtual sensor it is finally working!
Who is online
Users browsing this forum: Google [Bot] and 0 guests