Hey Jos,
My notifications are not working anymore
THis is from the logfile
2019-03-04 21:46:00.617 Error: EventSystem: in AfvalAlarm: [string "---------------------------------------------..."]:113: attempt to index global 'notificationtitle' (a nil value)
this is line 113
notificationtitle = notificationtitle:gsub('@DAG@',dag)
this is my config
myAfvalDevice = 'Afval Kalender' -- The Text devicename in Domoticz
hostname = "afvalkalender.purmerend.nl" -- Specify the hostname of your afvalwebsite. eg: "afvalkalender.purmerend.nl", "afvalkalender.sudwestfryslan.nl", "mijnblink.nl" ..etc
ShowNextEvents = 3 -- indicate the next x events to show in the TEXT Sensor in Domoticz
Postcode = '1448xx' -- Postcode
Housenr = 'xx' -- Huisnummer zonder toevoeging
Housenrtoev='' -- Huisnummer toevoeging
NotificationEmailAdress = '
[email protected]' -- Specify your Email Address for the notifications. Leave empty to skip email notification
Notificationsystem = 'telegram' -- Specify notification system eg "telegram/pushover/.." leave empty to skip
The ''xx" are dummies
from the log so website works...
2019-03-04 21:50:00.493 Status: EventSystem: Script event triggered: script_time_humidity
2019-03-04 21:50:00.518 Status: LUA: @AFOpzet::afvaltype_cfg :Dummy2;2;2
2019-03-04 21:50:00.518 Status: LUA: @AFOpzet::afvaltype_cfg :Dummy1;2;2
2019-03-04 21:50:00.518 Status: LUA: @AFOpzet::afvaltype_cfg :Plastic, Metaal en Drankkartons;19;2
2019-03-04 21:50:00.518 Status: LUA: @AFOpzet::afvaltype_cfg :Kerstbomen;19;22
2019-03-04 21:50:00.518 Status: LUA: @AFOpzet::afvaltype_cfg :Restafval;21;46
2019-03-04 21:50:00.518 Status: LUA: @AFOpzet::afvaltype_cfg :GFT;19;2
2019-03-04 21:50:00.518 Status: LUA: @AFOpzet::afvaltype_cfg :Papier en karton;19;2
2019-03-04 21:50:00.518 Status: LUA: @AFOpzet::Scheduled time(s) not reached yet, so nothing to do!
Any Clue ??
THanks Frank