„Domoticz - MikroTik presence management” változatai közötti eltérés

Innen: IT documentation
15. sor: 15. sor:


== Prerequisites ==
== Prerequisites ==
* Have to know the mac address of the mobile device(s)
* Have to create a dummy "thermostat setpoint" device in the Domoticz, this is going to control the temperature of absence.
* Have to create an integer user variable, what is going to store that the system is presence (1) vagy absence (0) mode.
* Have to create two integer user variable per user, these are going to store that thes user is present or not, and the preveous state, that the change can be perceptible.
* Have to create an integer user variable per thermostat, in what the temperature value of presence mode will be stored.

A lap 2022. január 3., 14:16-kori változata


Summary

In this method the base of presence will be a mobile device of the user. If the device connected to the home network then we consider that the user is at home.

A MikroTik router script is watching that the mac address of the device is present in the network and report this to the Domoticz Home Automation System. A Domoticz Lua script manages the arrives and the leaves and related events.

Features

  • Multiple users usage.
  • Turn on specified light(s) after sunset when somebody arrives.
  • Turn off specified light(s) and set the heating to tempering mode when these is nobody at home.
  • Set the heating to normal mode (preveous temperature values per thermostat) when somebody arrives.

Prerequisites

  • Have to know the mac address of the mobile device(s)
  • Have to create a dummy "thermostat setpoint" device in the Domoticz, this is going to control the temperature of absence.
  • Have to create an integer user variable, what is going to store that the system is presence (1) vagy absence (0) mode.
  • Have to create two integer user variable per user, these are going to store that thes user is present or not, and the preveous state, that the change can be perceptible.
  • Have to create an integer user variable per thermostat, in what the temperature value of presence mode will be stored.