DomotiGa User Manual¶
Intro¶
Interfaces¶
Devices¶
Name:
A device name must be unique.
Address field:
An example of an address is displayed below address field, an address must be unique for the interface the device is placed under.
Correction fields:
You can correct the raw values for a device value field by using a formula in the correction fields.
All raw values are stored, and only for output the values are corrected, so devices list, webclients, xmlrpc.
Some example:
Value/10
simply divide value1 by 10
Value+Value2
add value1 and value2 from the same device.
Value+Dev_17_Value
add value1 from device with id 17 to value1 from this device
Note: if value1 from device with 17 changes, this device will not be triggered, only device with id 17
Replace(Value3, "online", "On")
replace the text "online" in Value3 with "On"
Globalvars¶
Logfiles¶
Events¶
Actions¶
You can insert templates inside action text, to be replaced with the values upon executing.
These are the currently implemented templates:
<%global var%> insert globalvar value <#device name|field#> insert value field number 'field' from device with name 'device name' <$device id|field$> insert value field number 'field' from device with 'device id'
Field can be, 'value' or just 1,'value2' or 2, 'value3' or 3,'value4' or 4, lastseen
Conditions¶
Valid if dark:Var_Dark=TRUE
Valid for sunset/sunrise:
Create event globalvar trigger:Minute <> 61 ' always valid, so every minute checked
Create Condition:Var_Sunset = Format(hour(Now()),"0#") & ":" & Format(minute(Now()),"0#")
Or if you add (30 in example) minutes to minute(Now()) the event is raised sooner:
Var_Sunset = Format(hour(Now()),"0#") & ":" & Format(minute(DateAdd(now(), gb.Minute, 30)),"0#")
Or substract time (15 min), it will be later:
Var_Sunset = Format(hour(Now()),"0#") & ":" & Format(minute(DateAdd(now(), gb.Minute, -15)),"0#")
You can also use other variable ofcourse...Var_Sunset_Twilight and Var_Sunrise_Twilight
Misc¶
Simulation / Holiday mode¶
DomotiGa has a (hidden) holiday simulation mode, it will simulate people being home, here is the story.
A week or earlier before leaving look at the devices you want to switch/dim when you are away.
Create a globalvar called "Simulation" and enable 'Log changes to db' for those devices, also put them in a group called 'Simulation'.
When leaving set globalvar Simulation to 'On'.
DomotiGa will now switch and dim all devices in that group in the same pattern as a week earlier.
Translate program.¶
Home Screen¶
You can tweak your own layout via the setup menu 'home screen'.
Outside and Inside Sensors are selected by putting them in the groups (in device editor), Outside or Inside, and Temperature and Humidity groups.
Then they will show up as Outside and Inside sensors.