Socket
Socket
Sign inDemoInstall

iobroker.trashmaster

Package Overview
Dependencies
192
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    iobroker.trashmaster

Get collection dates from your city or municipality's waste management company (if they use abfall.io's API). Use the data for reminders, creation of a waste calendar (among other things for visualization with VIS2 through included widgets ).


Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Logo

ioBroker.trashmaster

NPM version Downloads

NPM

Waste calendar for ioBroker

German version

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:

Allgemeine_Einstellungen

Detailed settings:

Detail_Einstellungen

Examples widgets:

  • Calendar Beispiel_Widget_Kalender

  • Icon (garbage can) Beispiel_Widget_Muelleimer

  • Icon (yellow bag) Beispiel_Widget_Gelber_Sack

  • Icon (leaf) Beispiel_Widget_Blatt

  • VIS inventwo widget (JSON table)
  • Data point with code for VIS inventwo widget (JSON table) Datenpunkt_Vis_Widget_Code
  • VIS inventwo widget (JSON table with data from the waste calendar) AbfallKalender_Widget_Json_Table.jpg

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).

AbfallKalender_Widget_Json_Table.jpg

Other:

  • 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:

Changelog

0.0.1 (2023-04-21)

  • initial release

Sentry

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.

License

MIT License

Copyright (c) 2023 Formifan2002 formifan2002@web.de

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.

Keywords

FAQs

Last updated on 21 Apr 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc