apiserver | ||
archives | ||
class | ||
config | ||
daemons | ||
hooks | ||
sql | ||
systemd | ||
tools | ||
topics_callbacks | ||
webserver | ||
configWatch.php | ||
constants.php | ||
db_functions.php | ||
devices_logs.php | ||
events.db | ||
events.php | ||
LICENSE | ||
moha.kdev4 | ||
moha.php | ||
mqtt_functions.php | ||
presence.php | ||
README.md | ||
utils.php |
moha
My Own Home Assistant
You must configure sudoers to allow usr domotique to execute nmap and systemctl restart presenceD.service
/etc/sudoers:
Cmnd_Alias DOM = /usr/bin/nmap, /usr/bin/systemctl restart presenceD.service domotique ALL=(ALL) NOPASSWD: DOM
php-mosquitto:
https://mosquitto-php.readthedocs.io/en/latest/overview.html#installation