Cron Update

This commit is contained in:
JonatanRek
2020-10-14 14:35:04 +02:00
parent dffaf8eb2e
commit 3aab42d081
3 changed files with 12 additions and 4 deletions

View File

@@ -13,7 +13,6 @@ class VirtualDeviceManager
SubDeviceManager::create($deviceId, 'weather-nice', '');
}
var_dump($json['weather'][0]);
RecordManager::create($deviceId, 'weather-nice', $json['weather'][0]['main']);
} else {
$deviceId = DeviceManager::create('1ee609f2fcf8048e84f1d2fb1d1d72b5', '1ee609f2fcf8048e84f1d2fb1d1d72b5')['device_id'];