Dutchsea wrote: ↑Friday 23 October 2020 2:24
Hi Jos,
Just upgraded my Raspberri Pi from older OS (i think Raspian) to Debian doing a full clean install. Since I liked the Afval text sensor a lot on my old system I wanted to implement it on my new system too. I choose the use new version you created (GarbageCalendar).
Great, but you do know there is a new thread for that version here?:
viewtopic.php?f=61&t=31295
I do appreciate the time you took to report your findings and specific feedback and have made several changes as suggested.
These are the comments I have on your suggestions:
Dutchsea wrote: ↑Friday 23 October 2020 2:24
Suggestions:
3. Add full path from domoticz directory to garbagecalendar/ so:
Go into directory “domoticz/scripts/lua/garbagecalendar/"
The whole set of files as they are on GitHub do need to be stored into “domoticz/scripts/lua" and does also contain the subdirectory garbagecalendar, so this change would not be correct.
Dutchsea wrote: ↑Friday 23 October 2020 2:24
4. Give examples for the format of the parameters that need to be added as well as change Text Device name into "virtual sensor name":
myGarbageDevice = 'Container' -- The
virtual Text sensor name you created in Domoticz
ShowNextEvents = 3 -- indicate the next x events to show in the TEXT Sensor in Domoticz
Zipcode = '' -- Your zipcode
eg: Zipcode = '1234AB'
Housenr = '' -- Your housnr
eg: Housenr = '123'
Housenrsuf = '' -- Your housnr suffix
eg: Housenrsuf = 'A'
Hostname = '' -- m_opzet & m_opzet_api: Specify the hostname of your website.
eg: Hostname = 'mijnafvalwijzer.nl'
-- *m_ximmio: Specify the companycode. (See m_ximmio.lua on how to find this code).
Street='' -- Street name Only needed for: m_recycleapp
eg: Street='Example of streetname (dont have one myself)' [/i]
Your example values aren't always correct as they depend on the used module and Country, so I prefer to leave things as they are unless something is wrong. People really should know the information they need to fill in as they mostly need to do the same when using the online version of their GarbageCalendar and then use that same info in the script.
Dutchsea wrote: ↑Friday 23 October 2020 2:24
0. Start with the point that a websitemodule needs to be selected for this tool and some ideas how to determine which websitemodule is
There is a separate section is the setup about the modules that can be selected and there is an whole Wiki page with an description of each of the modules:
https://github.com/jvanderzande/Garbage ... le_modules
There isn't much more I can do there and agree it does require some research for some of these WebSite to figure out which module would work, but I don't know an easy way to describe that and simple either Google or check of the WebSite to see if the format looks familiar.
Cheers,
Jos