This repository has been archived on 2020-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
lightscontrol-server/service.php

16 lines
383 B
PHP
Raw Normal View History

2017-07-23 23:34:53 +00:00
<?php
// -------------------------------------------
// outdoor lights control -- server
// copyright: Jannik Beyerstedt | https://jannikbeyerstedt.de
// license: http://www.gnu.org/licenses/gpl-3.0.txt GPLv3 License
// -------------------------------------------
include "functions.php";
$light = new LightStatus();
$light->update();
2017-08-23 12:43:13 +00:00
$light->setClientLastSeen();
2017-07-23 23:34:53 +00:00
echo $light;
?>