mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Weather API Start
This commit is contained in:
1 parent
7f42d49634
commit
0efbda0583
4 files changed
+101
-35
No files matched your search
@@ -1,8 +1,14 @@
|
||||
<?php
|
||||
class CronApi extends ApiController {
|
||||
|
||||
public function clean(){
|
||||
$logKeeper = new LogMaintainer();
|
||||
$logKeeper->purge(LOGTIMOUT);
|
||||
$this->response(['Value' => 'OK']);
|
||||
}
|
||||
|
||||
public function fetch(){
|
||||
echo (new VirtualDeviceManager)->fetch('');
|
||||
$this->response(['Value' => 'OK']);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user