Page 1 of 1

Evohome dzVents script questions

Posted: Monday 11 October 2021 20:03
by riko
I'm trying to control my new Evohome system through the web interface using the dzVents scripts. I've succesfully installed the web interface and can control the system manually. The explanation in the Wiki is a bit brief on Evohome (controller and zones parts). Is there somebody who can answer the following questions?

  • Are the command options working for Evohome (controller)? Meaning statements like afterMin()? <- only possible for zones
  • Is it possible to read the current status/mode of the controller? I've tried evohome_controller.state()
<- it is evohome_controller.mode
  • What is the difference between setMode AUTO and AUTOWITHRESET?
[/list]
  • How can I turn on the heater in AUTO mode, but including the configuration of the special day (CUSTOM). I've tried to run the two commands after each other: evohome_controller.setMode(dz.EVOHOME_MODE_AUTO) evohome_controller.setMode(dz.EVOHOME_MODE_CUSTOM) which results in the heater is turned off
  • How do the optional parameters in setMode() work?
    • dparm: I guess this is refers to make this command temparary? I've tried this line. It switches to away mode, but it doesn't switch back after the minute

      Code: Select all

              local Time = require('Time')
       
              local function makeSeconds(sec, min, hour, day, month, year ) -- simplified (month=30, year=365)
                  if sec  == nil then sec  = 0 end
                  if min  == nil then min  = 0 else min = min * 60 end
                  if hour == nil then hour = 0 else hour = hour * 3600 end
                  if day  == nil then day  = 0 else day  = day * 24 * 3600 end
                  if year == nil then year = 0 else year = year * 365 * 24 * 3600 end
                  return sec + min + hour + day + year
              end
              
      evohome_controller.setMode(dz.EVOHOME_MODE_AWAY, os.date("!%Y-%m-%dT%TZ",os.time(Time(dz.time.raw)) + makeSeconds(0,1,0,0,0,0))) -- bij nachtknop indrukken gaat de verwarming tijdelijk op away
    • What is 'action' meant for?
I tried to google and search on this forum but don't find many examples of Evohome controlling systems. More questions might follow ;)

Re: Evohome dzVents scipt quesetions

Posted: Tuesday 12 October 2021 9:52
by waltervl
According the documentation only evoHome zones .SetsetPoint() can have command options.
I do not have evoHome so cannot help you with the other functionality.

https://www.domoticz.com/wiki/DzVents:_ ... 28zones.29

Re: Evohome dzVents script questions

Posted: Tuesday 12 October 2021 10:00
by riko
Okay thanks for confirming this.

Still curious to some experience/examples of Evohome users that have dzVents scripts running for the other questions