Ah, now I understand.
Thanks for the explanation. I'm going to experiment with the dzventz script. It's great that I already have a start.
GarbageCalendar (new version) lua scripts
Moderator: leecollings
- mvveelen
- Posts: 678
- Joined: Friday 31 October 2014 10:22
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Hoorn, The Netherlands
- Contact:
Re: GarbageCalendar (new version) lua scripts
I'm lost.
Yesterday I had to change to another USB drive and after uploading all scripts and uploading the backup DB the only thing I don't see is the garbage utility-thingy. As far as I can see, there is nothing missing and I've changed nothing in the settings files or so. What can I check to get the custom sensor back?
Yesterday I had to change to another USB drive and after uploading all scripts and uploading the backup DB the only thing I don't see is the garbage utility-thingy. As far as I can see, there is nothing missing and I've changed nothing in the settings files or so. What can I check to get the custom sensor back?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: GarbageCalendar (new version) lua scripts
Follow setup steps: https://github.com/jvanderzande/Garbage ... wiki/Setup
Follow Debugging steps: https://github.com/jvanderzande/Garbage ... ki/Testing
Point of last resort: EMail me your Config & Logfiles in a zip.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
- lsp242
- Posts: 54
- Joined: Sunday 04 February 2018 8:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12923
- Location: Netherlands
- Contact:
Re: GarbageCalendar (new version) lua scripts
pfff all system crashed, now i got the script running, but no update to the "sensor" in Domoticz.
In Domoticz I get:
Hopelijk kan je me helpen en is het iets doms (zoals vaker)
en deze... is via ssh en nano leeg:
Also check *garbage.**modulename*data for valid table information looking like this format:
In Domoticz I get:
Code: Select all
2024-09-11 21:28:00.218 dzVents: ------ Start external script: script_time_garbagecalendar.lua:, trigger: "Every 1 minutes"
2024-09-11 21:28:00.230 dzVents: 21:28:00 gc_main: 136: Loaded /home/pi/domoticz/scripts/dzVents/scripts/garbagecalendar/garbagecalendarconfig.lua.
2024-09-11 21:28:00.233 dzVents: 21:28:00 gc_main: 152: Loaded /home/pi/domoticz/scripts/dzVents/scripts/garbagecalendar/gc_generalfuncs.lua.
2024-09-11 21:28:00.234 dzVents: 21:28:00 gc_func: 352: -> Loading module JSON
2024-09-11 21:28:00.234 dzVents: 21:28:00 gc_func: 367: -< Loaded JSON.lua. ->moduleobject type:table
2024-09-11 21:28:00.234 dzVents: 21:28:00 gc_main: 172: -> Start processing garbagecalendarconfig.lua information.
2024-09-11 21:28:00.235 dzVents: 21:28:00 gc_main: 234: !> Debuging with extra messages because "mydebug=true" in garbagecalendarconfig.lua
2024-09-11 21:28:00.235 dzVents: 21:28:00 gc_main: 235: !> please change it back to "mydebug=false" when done testing to avoid growing a big domoticz log.
2024-09-11 21:28:00.236 dzVents: 21:28:00 gc_main: 256: -< End processing garbagecalendarconfig.lua information.
2024-09-11 21:28:00.236 dzVents: 21:28:00 gc_main: 908: -> Start checking garbagetype_cfg table whether an action is needed:
2024-09-11 21:28:00.236 dzVents: 21:28:00 gc_main: 988: 1 --- NotificationTime=19:02 Garbagetype=plastic, metaal en drankenkartons
2024-09-11 21:28:00.237 dzVents: 21:28:00 gc_main: 988: 2 --- NotificationTime=19:02 Garbagetype=groente-, fruit- en tuinafval
2024-09-11 21:28:00.237 dzVents: 21:28:00 gc_main: 988: 3 --- NotificationTime=02:31 Garbagetype=updatedomoticzdevice
2024-09-11 21:28:00.237 dzVents: 21:28:00 gc_main: 988: 4 --- NotificationTime=02:30 Garbagetype=reloaddata
2024-09-11 21:28:00.237 dzVents: 21:28:00 gc_main: 988: 5 --- NotificationTime=19:02 Garbagetype=restafval
2024-09-11 21:28:00.238 dzVents: 21:28:00 gc_main: 988: 6 --- NotificationTime=19:02 Garbagetype=textiel
2024-09-11 21:28:00.238 dzVents: 21:28:00 gc_main: 988: 7 --- NotificationTime=04:01 Garbagetype=dummy
2024-09-11 21:28:00.238 dzVents: 21:28:00 gc_main: 988: 8 --- NotificationTime=19:02 Garbagetype=oud papier & karton
2024-09-11 21:28:00.238 dzVents: 21:28:00 gc_main: 994: #> Perform update because mydebug=true.
2024-09-11 21:28:00.239 dzVents: 21:28:00 gc_main: 548: -> Action starting, First check access to required files:
2024-09-11 21:28:00.239 dzVents: 21:28:00 gc_main: 551: Run command:
2024-09-11 21:28:00.239 ls -l /home/pi/domoticz/scripts/dzVents/scripts/garbagecalendar/data/garbagecal*m_opzet_api*:
2024-09-11 21:28:00.247 dzVents: -rwxrw-rw- 1 root root 500 Jun 25 02:30 /home/pi/domoticz/scripts/dzVents/scripts/garbagecalendar/data/garbagecalendar_m_opzet_api.data
2024-09-11 21:28:00.247 -rwxrw-rw- 1 root root 1912 Sep 11 21:28 /home/pi/domoticz/scripts/dzVents/scripts/garbagecalendar/data/garbagecalendar_m_opzet_api_run.log
2024-09-11 21:28:00.247 -rwxrw-rw- 1 root root 4278 Sep 11 21:27 /home/pi/domoticz/scripts/dzVents/scripts/garbagecalendar/data/garbagecalendar_m_opzet_api_run_update.log
2024-09-11 21:28:00.247 -rwxrw-rw- 1 root root 8037 Sep 11 02:30 /home/pi/domoticz/scripts/dzVents/scripts/garbagecalendar/data/garbagecalendar_m_opzet_api_run_webupdate_backgound.log
2024-09-11 21:28:00.247 -rwxrw-rw- 1 root root 1951 Sep 11 02:30 /home/pi/domoticz/scripts/dzVents/scripts/garbagecalendar/data/garbagecalendar_m_opzet_api_run_webupdate.log
2024-09-11 21:28:00.248 dzVents: 21:28:00 gc_main: 869: Access OK: /home/pi/domoticz/scripts/dzVents/scripts/garbagecalendar/data/garbagecalendar_m_opzet_api.data
2024-09-11 21:28:00.248 dzVents: 21:28:00 gc_main: 869: Access OK: /home/pi/domoticz/scripts/dzVents/scripts/garbagecalendar/data/garbagecalendar_m_opzet_api_run.log
2024-09-11 21:28:00.249 dzVents: 21:28:00 gc_main: 584: -> Start update for GarbageCalendar text device "Afvalbak"
2024-09-11 21:28:00.249 dzVents: 21:28:00 gc_main: 611: 4 data records loaded, updated at Tue Jun 25 02:30:01 2024 from Datafile:/home/pi/domoticz/scripts/dzVents/scripts/garbagecalendar/data/garbagecalendar_m_opzet_api.data
2024-09-11 21:28:00.249 dzVents: 21:28:00 gc_main: 627: -> Start looping through data to find the first 3 events to show:
2024-09-11 21:28:00.250 dzVents: 21:28:00 gc_main: 771: ### Warning: No valid records found in the Datafile: /home/pi/domoticz/scripts/dzVents/scripts/garbagecalendar/data/garbagecalendar_m_opzet_api.data
2024-09-11 21:28:00.251 dzVents: 21:28:00 gc_main: 772: ### Please check the garbagecalendar log files for issues : /home/pi/domoticz/scripts/dzVents/scripts/garbagecalendar/data/garbagecalendar_m_opzet_api_run.log
2024-09-11 21:28:00.251 dzVents: 21:28:00 gc_main: 774: -< End data loop
2024-09-11 21:28:00.251 dzVents: 21:28:00 gc_main: 776: #!# Warning: These records are missing in your garbagecalendarconfig.lua file, so no notifications will be send!
2024-09-11 21:28:00.251 dzVents: 21:28:00 gc_main: 777: #!# Add these records into the garbagetype_cfg table and adapt the schedule, text and icon info to your needs:
2024-09-11 21:28:00.252 dzVents:
2024-09-11 21:28:00.252 ["oud papier & karton."] ={hour=19,min=02,daysbefore=1,reminder=0,text="oud papier & karton.", icon=nil},
2024-09-11 21:28:00.252
2024-09-11 21:28:00.252 dzVents: 21:28:00 gc_main: 779: #!# -- end ----------------------------
2024-09-11 21:28:00.252 dzVents: 21:28:00 gc_main: 786: -> found schedule:
2024-09-11 21:28:00.252 dzVents: 21:28:00 gc_main:1006: -< ### DzVents: End garbagecalendar script v20230703-2300
en deze... is via ssh en nano leeg:
Also check *garbage.**modulename*data for valid table information looking like this format:
Gadget freak - Domoticz beginner - ios and android user
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: GarbageCalendar (new version) lua scripts
Did you look at the logs as indicated in the Wiki and in the log you shown?lsp242 wrote: ↑Wednesday 11 September 2024 21:36 pfff all system crashed, now i got the script running, but no update to the "sensor" in Domoticz.
Hopelijk kan je me helpen en is het iets doms (zoals vaker)
en deze... is via ssh en nano leeg:
Also check *garbage.**modulename*data for valid table information looking like this format:
As always: I can have a look for you, but you will have to email me a ZIP file containing All the logfiles and the config file, so I can check what is happening for you.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: GarbageCalendar (new version) lua scripts
@jvdz MijnAfvalwijzer is gonna be Saver. Can you tell me how I can keep my afvalkalender updated?
Blah blah blah
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: GarbageCalendar (new version) lua scripts
It was reported here: https://github.com/jvanderzande/Garbage ... /issues/39
So the solution should be to use these variable settings:
So the solution should be to use these variable settings:
Code: Select all
wmodule=m_opzet
Hostname=saver.nl
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Who is online
Users browsing this forum: No registered users and 0 guests