I have put my old table in it in which there was no reminder.
Now I added this :
Code: Select all
local afvaltype_cfg = {
["Restafval"] ={hour=8,min=30,daysbefore=1,text=" de Grijze Container met Restafval"},
["GFT Bak"] ={hour=8,min=32,daysbefore=1,text=" de Groene Container met Tuinafval"},
["Plastic, Metaal en Drankkartons"] ={hour=8,min=34,daysbefore=1,text=" de PMD zak"},
["PMD Zak"] ={hour=8,min=34,daysbefore=1,reminder=0,text=" de PMD zak"},
["Papier en karton"] ={hour=8,min=36,daysbefore=1,text=" Het Oud papier"},
["Papier"] ={hour=8,min=36,daysbefore=1,text=" Het Oud papier"},
["onbekend1"] ={hour=19,min=02,daysbefore=3,text="Snoeiafval op afspraak"},
["onbekend2"] ={hour=19,min=02,daysbefore=3,text="Snoeiafval op afspraak"},
["Dummy1"] ={hour=02,min=02,daysbefore=0,text="dummy"}, -- dummy is used to force update while testing
["Dummy2"] ={hour=02,min=02,daysbefore=0,text="dummy"}} -- dummy is used to update the textsensor at night for that day
and get this:
Code: Select all
019-12-26 11:39:56.059 (Elektra verbruik) YouLess Meter (KWh meter)
2019-12-26 11:40:00.500 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_time_huisvuil2.lua: /home/pi/domoticz/scripts/lua/script_time_huisvuil2.lua:31: unexpected symbol near '['
2019-12-26 11:40:04.086 (RFXcom) Temp + Humidity (Werkkamer Temperatuur)
2019-12-26 11:40:06.070 (Elektra verbruik) YouLess Meter (KWh meter)
2019-12-26 11:40:13.810 (Z-WAVE Usb) General/kWh (kWh Meter2)
SORRY MADE A MISTAKE MYSELF!
All working well again,
Thnx for the help again!