Intergas gateway

Maybe a new channel can be added for the Intergas central heating gateway? The dutch company builds their home heaters to work with a wifi connected bridge, which can control a variety of heater settings, including room temperature and a weekly heating schedule.

Their functionality is available via their Intergas app (iOS / Android). It’d be great if Olisto could control my home heater!

Er is al een script
https://www.domoticz.com/forum/viewtopic.php?t=7745&start=60
Link

                                -- DzVents script for LAN2RF Incomfort Gateway intergas
                                -- V1.0 (september 2020)

local IPADDRESS = ‘192.168.11.12’ – IP address of LAN2RF Gateway
local USER = ‘admin’ – login credentials LAN2RF Gateway
local PASSWORD = ‘admin’ – login credentials LAN2RF Gateway
local THERMOSTAAT = ‘Thermostaat’ – thermostaat device name
local TEMPERATURE = ‘Woonkamer’ – thermostaat temperature device name
local CVTEMP = ‘CV Water’ – CV water temperature device name
local CVPRESS = ‘CV Waterdruk’ – CV water pressure device name
local TAPWATER = ‘Tapwater’ – Tap water temperature device name

return {
on = {
timer = {
‘every minute’
},
httpResponses = {
‘trigger’
}
},
execute = function(domoticz, item)

	if (item.isTimer) then
		domoticz.openURL({
			url = 'http://' .. USER .. ':' .. PASSWORD .. '@' .. IPADDRESS .. '/protect/data.json?heater=0',
			method = 'GET',
			callback = 'trigger',
		})
	end


	if (item.isHTTPResponse) then
		if (item.ok) then

		   -- Parsing JSON data and interpreting data...
		   domoticz.log('processing data...', domoticz.LOG_INFO)
		   local intergas = domoticz.utils.fromJSON(item.data)
		   local roomtemperature = domoticz.utils.round((intergas.room_temp_1_lsb + intergas.room_temp_1_msb * 256) / 100, 1)
		   local setpoint = domoticz.utils.round((intergas.room_temp_set_1_lsb + intergas.room_temp_set_1_msb * 256) / 100, 1)
		   local waterpressure = domoticz.utils.round((intergas.ch_pressure_lsb + intergas.ch_pressure_msb * 256) / 100, 1)
		   local tapwatertemp = domoticz.utils.round((intergas.tap_temp_lsb + intergas.tap_temp_msb * 256) / 100, 1)
		   local cvwatertemp = domoticz.utils.round((intergas.ch_temp_lsb + intergas.ch_temp_msb * 256) / 100, 1)

		   -- Output to log
		   domoticz.log('roomtemperature is _______ ' .. roomtemperature .. ' degC', domoticz.LOG_INFO)
		   domoticz.log('thermostaat setpoint is __ ' .. setpoint .. ' degC', domoticz.LOG_INFO)
		   domoticz.log('CV waterpressure is ______ ' .. waterpressure .. ' bar', domoticz.LOG_INFO)
		   domoticz.log('tap water temperature is _ ' .. tapwatertemp .. ' degC', domoticz.LOG_INFO)
		   domoticz.log('CV water temperature _____ ' .. cvwatertemp .. ' degC', domoticz.LOG_INFO)

		   -- Updating domoticz devices
		   domoticz.devices(TEMPERATURE).updateTemperature(roomtemperature)
		   domoticz.devices(THERMOSTAAT).updateSetPoint(setpoint).silent()
		   domoticz.devices(CVTEMP).updateTemperature(cvwatertemp)
		   domoticz.devices(CVPRESS).updatePressure(waterpressure)
		   domoticz.devices(TAPWATER).updateTemperature(tapwatertemp)

	    else

	       domoticz.log('HTTP response error', domoticz.LOG_ERROR)

        end
        


	end

end

}