I haven't changed anything, and cannot see anything in the /var/tmp/ logfiles.### Warning: No valid records found in the datafile: /var/tmp/garbagecalendar_m_mijnafvalwijzer.data
Is it a common error and easy to fix?
Moderator: leecollings
I haven't changed anything, and cannot see anything in the /var/tmp/ logfiles.### Warning: No valid records found in the datafile: /var/tmp/garbagecalendar_m_mijnafvalwijzer.data
It is in case you are affected like others and didn't implement the fix available on github for mijnafvalwijzer not supplying the year for some, but ......
Removing and reinstalling did the job.jvdz wrote: ↑Friday 08 January 2021 20:28 Did you copy all the files to the correct place and follow the setup wiki as it seems the garbagecalendarconfig.lua file is missing?
https://github.com/jvanderzande/Garbage ... wiki/Setup
Jos
Have you configured Domoticz EMail in Setup and is that working as that is what the script is using?
Patrick,PatrickG wrote: ↑Sunday 31 January 2021 21:55 Hi Jos,
Is it possible to include the following service in your code?
https://inzamelwijzer.suez.nl/
I think this will cover (at least) the Arnhem region.
BR
Patrick
You can put in the config any supported Domoticz notification system, but I believe that Google notification is the Google Cloud notification, not casting to a Home device.
recycleapp has changed the street names
Now it's get the name fron the id of https://data.vlaanderen.be/
https://data.vlaanderen.be/doc/straatnaam/xxxxxx in my case
https://recycleapp.be/api/app/v1/collec ... 3&size=100
Testing new code is no problem for me, but I don't have the knowledge to change the code myself .
Code: Select all
2021-02-01 12:52:00.394 Status: LUA: @GarbageCal(m_recycleapp-be): #### Mon Feb 1 12:52:00 2021 ### Start garbagecalendar script v20200613-1800
2021-02-01 12:52:00.394 Status: LUA: @GarbageCal(m_recycleapp-be): #### Debuging with extra messages because "mydebug=true" in garbagecalendarconfig.lua
2021-02-01 12:52:00.394 Status: LUA: @GarbageCal(m_recycleapp-be): #### please change it back to "mydebug=false" when done testing to avoid growing a big domoticz log.
2021-02-01 12:52:00.394 Status: LUA: @GarbageCal(m_recycleapp-be): domoticzjsonpath: /home/pi/domoticz/scripts/lua/
2021-02-01 12:52:00.394 Status: LUA: @GarbageCal(m_recycleapp-be): datafilepath: /var/tmp/
2021-02-01 12:52:00.394 Status: LUA: @GarbageCal(m_recycleapp-be): scriptpath: /home/pi/domoticz/scripts/lua/
2021-02-01 12:52:00.394 Status: LUA: @GarbageCal(m_recycleapp-be): Loaded /home/pi/domoticz/scripts/lua/garbagecalendar/garbagecalendarconfig.lua.
2021-02-01 12:52:00.396 Status: LUA: @GarbageCal(m_recycleapp-be): Loaded /home/pi/domoticz/scripts/lua/garbagecalendar/generalfuncs.lua.
2021-02-01 12:52:00.397 Status: LUA: @GarbageCal(m_recycleapp-be): Start checking garbagetype_cfg table:
2021-02-01 12:52:00.397 Status: LUA: @GarbageCal(m_recycleapp-be): -> NotificationTime:19:2 Garbagetype:snoeiafval
2021-02-01 12:52:00.397 Status: LUA: @GarbageCal(m_recycleapp-be): -> NotificationTime:19:22 Garbagetype:pmd
2021-02-01 12:52:00.397 Status: LUA: @GarbageCal(m_recycleapp-be): -> NotificationTime:19:2 Garbagetype:p-k
2021-02-01 12:52:00.397 Status: LUA: @GarbageCal(m_recycleapp-be): -> NotificationTime:19:2 Garbagetype:papier-karton
2021-02-01 12:52:00.397 Status: LUA: @GarbageCal(m_recycleapp-be): -> NotificationTime:19:22 Garbagetype:gft
2021-02-01 12:52:00.397 Status: LUA: @GarbageCal(m_recycleapp-be): -> NotificationTime:19:2 Garbagetype:restafval
2021-02-01 12:52:00.397 Status: LUA: @GarbageCal(m_recycleapp-be): -> NotificationTime:2:30 Garbagetype:reloaddata
2021-02-01 12:52:00.397 Status: LUA: @GarbageCal(m_recycleapp-be): -> NotificationTime:2:31 Garbagetype:dummy1
2021-02-01 12:52:00.397 Status: LUA: @GarbageCal(m_recycleapp-be): -> NotificationTime:19:2 Garbagetype:glas
2021-02-01 12:52:00.397 Status: LUA: @GarbageCal(m_recycleapp-be): Start update for text device:
2021-02-01 12:52:00.398 Status: LUA: @GarbageCal(m_recycleapp-be): - Start looping through data from the website to find the first 3 event to show: /var/tmp/garbagecalendar_m_recycleapp-be.data
2021-02-01 12:52:00.398 Status: LUA: @GarbageCal(m_recycleapp-be): ### Warning: No valid records found in the datafile: /var/tmp/garbagecalendar_m_recycleapp-be.data
2021-02-01 12:52:00.398 Status: LUA: @GarbageCal(m_recycleapp-be): ### Please check the garbagecalendar log files for issues : /var/tmp/garbagecalendar_web_m_recycleapp-be.log and /var/tmp/garbagecalendar_run_m_recycleapp-be.log
2021-02-01 12:52:00.398 Status: LUA: @GarbageCal(m_recycleapp-be): - End -----------------
2021-02-01 12:52:00.398 Status: LUA: @GarbageCal(m_recycleapp-be): ==> found schedule:
2021-02-01 12:52:00.398 Status: LUA: @GarbageCal(m_recycleapp-be): Update device from:
2021-02-01 12:52:00.398 0
2021-02-01 12:52:00.398 replace with:
2021-02-01 12:52:00.398
2021-02-01 12:52:00.399 Status: LUA: @GarbageCal(m_recycleapp-be): #### 12:52:00 End garbagecalendar script v20200613-1800
2021-02-01 12:52:00.408 Status: EventSystem: Script event triggered: /home/pi/domoticz/scripts/lua/script_time_garbagecalendar.lua
Code: Select all
@m_ophaalkalender-be: #### Mon Feb 1 02:30:00 2021 ### Start garbagecalendar module m_ophaalkalender-be (v20200606-1300)
@m_ophaalkalender-be: Loaded JSON.lua.
@m_ophaalkalender-be: !!! perform background update to /var/tmp/garbagecalendar_m_recycleapp-be.data for Zipcode 9120 - 21 (optional) Hostname:
@m_ophaalkalender-be: ---- web update ----------------------------------------------------------------------------
@m_ophaalkalender-be: sQuery=curl -k -H "x-secret: Qp4KmgmK2We1ydc9Hxso5D6K0frz3a9raj2tqLjWN5n53TnEijmmYz78pKlcma54sjKLKogt6f9WdnNUci6Gbujnz6b34hNbYo4DzyYRZL5yzdJyagFHS15PSi2kPUc4v2yMck81yFKhlk2aWCTe93" -H "x-consumer: recycleapp.be" https://recycleapp.be/api/app/v1/access-token 2>/var$
@m_ophaalkalender-be: ---- web data ----------------------------------------------------------------------------
@m_ophaalkalender-be: {"host":"http://api-http:8080","identifier":"9abae848-fa67-4fb7-bedc-4cb44a421570","timestamp":"2021-02-01T01:30:00.433Z","status":401,"name":"Unauthorized","message":"Missing authorization"}
@m_ophaalkalender-be: ---- web err ------------------------------------------------------------------------
@m_ophaalkalender-be: Web_Err= % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M100 191 100 191 0 0 1067 0 --:--:-- --:--:-- --:--:-- 1067
@m_ophaalkalender-be: ---- end web data ------------------------------------------------------------------------
@m_ophaalkalender-be: ### Error: No accessToken retrieved... stopping execution.
@m_ophaalkalender-be: => Write data to /var/tmp/garbagecalendar_m_recycleapp-be.data
Code: Select all
mydebug = true -- (true/false)
testdataload = true -- (true/false)
Users browsing this forum: No registered users and 1 guest