Dutch local covid-19 figures

Moderator: leecollings

User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dutch local covid-19 figures

Post by waaren »

Xenomes wrote: Tuesday 08 June 2021 20:21 Here is the extended log.
Sorry. No clue where to look for. Best to do is to add extra loglines at various places. Maybe that will point you in the right direction.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
Xenomes
Posts: 379
Joined: Tuesday 27 November 2018 19:05
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dutch local covid-19 figures

Post by Xenomes »

Thanks for looking at the problem, I will recreate the device. The script was not changed in a long time.

edit: Make a new counter and it is working again!?!
2021-06-08 21_38_08-Domoticz - Overige.png
2021-06-08 21_38_08-Domoticz - Overige.png (245.69 KiB) Viewed 1085 times

Code: Select all

sqlite> select * from DeviceStatus where id in (638, 835);
ID|HardwareID|DeviceID|Unit|Name|Used|Type|SubType|SwitchType|Favorite|SignalLevel|BatteryLevel|nValue|sValue|LastUpdate|Order|AddjValue|AddjMulti|AddjValue2|AddjMulti2|StrParam1|StrParam2|LastLevel|Protected|CustomImage|Description|Options|Color
638|8|82638|1|Reported covid-19 in Steenbergen old|1|113|0|3|1|12|255|0|2283|2021-05-31 15:37:41|651|0.0|1.0|0.0|1.0|||0|0|0||ValueQuantity:UGVvcGxl|
835|8|82835|1|Reported covid-19 in Steenbergen    |1|113|0|3|0|12|255|0|2278|2021-06-08 21:36:41|650|0.0|1.0|0.0|1.0|||0|0|0||ValueQuantity:UGVvcGxl|
sqlite>
HP T630 (32GB SSD/8GB Mem) - Ubuntu 22.04.4 LTS (64Bit) - Domoticz 2024.7 with Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
Drees
Posts: 8
Joined: Monday 06 June 2022 16:00
Target OS: Windows
Domoticz version:
Contact:

Re: Dutch local covid-19 figures

Post by Drees »

Is this script still working, or is it stopped because they don't know all the positive tests humans?
If it is still working, can someone tell me where i need to put the second script of OP and what script language?
User avatar
Xenomes
Posts: 379
Joined: Tuesday 27 November 2018 19:05
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dutch local covid-19 figures

Post by Xenomes »

Yes, the script is still working, you only have to change line 158 because the data of rivm was getting very large.

Code: Select all

local filterDelay = 900
The script to update the meters with all the data, will run for a long time be patient.

The original poster has passed a way (God rest his soul) :cry:
HP T630 (32GB SSD/8GB Mem) - Ubuntu 22.04.4 LTS (64Bit) - Domoticz 2024.7 with Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest