npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

iobroker.trashmaster

v0.0.1

Published

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

Downloads

46

Readme

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 [email protected]

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.