Controlling daikin airco with DzVentz, not consistent

For heating/cooling related questions in Domoticz

Moderator: leecollings

Post Reply
Jumper3126
Posts: 105
Joined: Thursday 31 December 2015 15:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Controlling daikin airco with DzVentz, not consistent

Post by Jumper3126 »

Hi all,

I try to make a script in dzVentz to control my Daikin airco, which I have as a Daikin Airconditioning with LAN (HTTP) interface hardware in Domoticz 4.10717.
For now I have been using the following test script:

Code: Select all

return {
	active = true,

	on = {
		timer = {'every minute'}
	},

    execute = function(domoticz, device)
        local AircoSP = domoticz.devices(1087)      --Temp Setpoint (airco) Thermostat	    SetPoint
        local AircoPower = domoticz.devices(1085)   --Power (airco)	        Light/Switch	Switch 
        local AircoMode = domoticz.devices(1086)    --Mode (airco)	        Light/Switch	Selector: 0 Off, 10	AUTO, 20 DEHUMDIFICATOR, 40	HOT, 50	FAN
        local AircoVent = domoticz.devices(1088)    --Ventillation (airco)	Light/Switch	Selector: 0	Off, 10	AUTO, 20 Silence, 30 Lev 1, 40 Lev 2, 50 Lev 3, 60 Lev 4, 70 Lev 5
        local AircoWind = domoticz.devices(1089)    --Winds (airco)	        Light/Switch	Selector: 0 Off, 10 Stopped, 20 Vert, 30 Horiz, 40 Both

--          AircoPower.switchOn()
            AircoMode.switchSelector(10)         -- Selector: 0 Off, 10	AUTO, 20 DEHUMDIFICATOR, 40	HOT, 50	FAN
            AircoSP.updateSetPoint(19)
            AircoVent.switchSelector(10)          --Selector: 0	Off, 10	AUTO, 20 Silence, 30 Lev 1, 40 Lev 2, 50 Lev 3, 60 Lev 4, 70 Lev 5
            domoticz.notify('Mode:'..AircoMode.state..' Vent:'..AircoVent.state..' Temp:'..AircoSP.state)

end
}
I'm able to adjust single parameters via the script, like change in setpoint or turn on/off. However, when I try to change other parameters (mode, vent), or give multiple instructions at once the airco doesnt always take over the settings, sometimes it does when the instructions are repeated but also sometimes it doesn't . I havent been able to figure out what the problem is. Can the airco not handle multiple instructions directly after each other, or is the communication not so reliable at all? Is there any solution for this?

Thanks
ubfssF
Posts: 59
Joined: Monday 02 November 2015 14:12
Target OS: Linux
Domoticz version: 2.2364
Location: Netherlands
Contact:

Re: Controlling daikin airco with DzVentz, not consistent

Post by ubfssF »

I use a blocky "program" for my new Daikin airco (see my recentlyccreated thread with blocky control in the Heating and cooling section of the forum). In my experience switching mode to Cool or Heat doesn't work reliable. It sometimes works, but often it does not. In the log I see communication errors at the same time.
Strangely changing the setpoint and putting the airco on or off almost always does seem to work
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest