Waste calendar for ioBroker
The adapter reads the garbage collection dates of the provider abfall.io, which various cities or counties use (e.g. Hagen, Ludwigshafen or Landkreis Tuttlingen). The individual types of waste in the city can be selected and displayed in a calendar, for example.
If the Whatsapp Adapter is installed in ioBroker, automatic sending of messages before collection is supported per waste type. The number of days to send the message before collection can be set individually for each waste type.
The adapter contains two widgets for the VIS 2 (!). A calendar with the configured waste types or an icon with different configuration options can be displayed. The icon can start flashing x days before collection if that is configured in the adapter settings for the waste type
If VIS or VIS 2 (!) AND the inventwo widget set are installed, a datapoint containing the widget code for a JSON table is created.If VIS or VIS 2 (!) AND the inventwo widget set are installed, a datapoint containing the widget code for a JSON table is created.
General adapter settings:
- VIS inventwo widget (JSON table)
Does my city/county qualify for the adapter?:
Cities/counties that cooperate with abfall.io. offer similar calendars on their websites, as you can see e.g. on the page of HEB Hagen. If the URL of your waste management company is not accepted by the adapter, you can check on the waste management company page with the developer tool of your browser, if a URL with api.abfall.io (not apiv2.abfall.io !) is called when selecting the city, street. Here is an example from the Chrome developer tool (callable via function key F12 - then select network there and reload the page).
The adapter is restarted every night around 0:05 (+ some random delay in order not to stress the API by too many parallel calls), reads the data from the API of abfall.io and updates the corresponding data points in the object dictionary of the adapter instance. Since a waste calendar usually does not change frequently, this interval should be perfectly sufficient. However, you can change the setting at any time in the instance settings of the waste calendar in ioBroker.
Multiple instances (for different cities) can be installed if needed.
List of some cities / counties using abfall.io:
- Breisgau-Hochschwarzwald Landkreis
- Hagen (Stadt NRW)
- Kaarst, Krefeld uvm. (Schönmackers)
- Limburg-Weilburg Landkreis
- Reutlingen (Kreis)
- Tuttlingen (Landkreis)
- Ostallgäu (Landkreis)
- Rotenburg (Wümme - Landkreis)
- Vorpommern-Rügen (Landkreis)
- Waldshut (Landkreis)
- Westerwald (Kreis)
- initial release
This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation. Sentry reporting is used starting with js-controller 3.0.
Copyright (c) 2023 Formifan2002 email@example.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.