Add Domoticz

This commit is contained in:
Steffen Lange 2021-11-02 11:17:55 +01:00
parent 842de0e950
commit 5e15270cf5

14
modules/Domoticz.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Domoticz extends PatchBase {
function __construct() {
parent::__construct('Robbert E. Peters', 'Domoticz', 'https://www.domoticz.com/downloads/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/domoticz/domoticz/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>