Skip to content

emnbdx/domoticz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

domoticz

Here is a collection of my domoticz scripts.

Script name description
check_device_online.py check if mac address is on network

check_device_online

Parameters

name description
mac mac address to search on network
idx switch index to update
url base url of domoticz server without http(s):https:// and any / (default : localhost)
user user for basic auth if needed
password password of basic auth if needed

This script check if mac address is on network and update domoticz switch if mac is present. If domoticz server is protected you can use basic auth with parameter

To run this script correctly you need to have arp-scan installed on your system and user runing script have to be in sudoers : sudo apt-get install arp-scan

A good way to call this script is by crontab : * * * * * sudo python /home/pi/domoticz/scripts/check_device_online.py 01:23:45:67:89:ab 1

About

Collection of my domoticz scripts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages