Documentation: Smart Home Integrations
Here you will find detailed instructions for integrating the Abfall-Abfrage Converter into various smart home systems. Select the desired system from the tabs below.
Loxone Integration
Prerequisites
- Loxone Miniserver (all generations)
- Loxone Config software (free download from loxone.com)
- Your personal link code from the Abfall-Abfrage Converter
Step-by-step setup
-
Create a Virtual Input: Create a new Virtual Input and insert the JSON URL into the URL field.
https://abfall-abfrage.com/abfall/public/api.php?code=YOUR_CODEA polling cycle of
86400seconds can be selected – this updates the data every 24h (conserves resources for both Loxone and the API).
-
Create a Virtual HTTP Input Command: Add a new "Virtual HTTP Input Command" to the new virtual input.
To extract the next date for a waste type (e.g. waste paper), insert the following into the command recognition field:
\i"title": "Waste paper"\i\i"unix_date":\i\v
The result is the Unix timestamp of the next collection date.
-
Add a Formula Block: Insert a new Formula Block and connect the Virtual Input Command to
I1of the formula block.To display the Unix timestamp as a correct date in a Virtual Status, it needs to be converted:
- Loxone always counts from 01.01.2009
- Unix timestamp counts from 01.01.1970
- This results in a difference of 1,230,768,000 seconds
Insert the following formula into the formula block:
I1 - 1230768000
-
Add a Virtual Status: Insert a new Virtual Status and connect the result of the formula block to it. Enter the desired date format as the unit.
The result in the editor:
In the User-App it looks like this:
- Logic & reminders: Different logic blocks and reminders can then be connected to this.
Patterns for other waste types:
Residual waste: \i"title": "Residual waste"\i\i"unix_date":\i\v
Waste paper: \i"title": "Waste paper"\i\i"unix_date":\i\v
Yellow bag: \i"title": "Yellow bag"\i\i"unix_date":\i\v

