Thanks for analyzing. It should indeed be an integer. It is funny the casting seemed to work so far, and now breaks, but it is definitely more correct to remove the quotes from the template.
I also added metal and wood fractions to the template.
Thanks for analyzing. It should indeed be an integer. It is funny the casting seemed to work so far, and now breaks, but it is definitely more correct to remove the quotes from the template.
I also added metal and wood fractions to the template.
Hi Mark, thanks for this template. I added it manually to OH 5.0.2 and it works there as well. I could not find it in the marketplace, guessing this is due to the Version restriction in the name?
Maybe you want to update that, so others can see the template as well.
Thanks for alerting me on this. I am indeed also using it on 5.0.3, so this should be working there as well.
Hi,
Since a few days I don’t get updates anymore.
Checking the openhab logs I see this :
2026-08-20 13:42:55.799 [INFO ] [b.automation.openhab-js.wastebelgium] - Retrieving waste calendar
2026-08-20 13:42:55.940 [ERROR] [enhab.core.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.ExecutionException: org.eclipse.jetty.client.HttpResponseException: HTTP protocol violation: Authentication challenge without WWW-Authenticate header
Has anything changed on the API ?
@koenraad Yes, it looks like it.
The URL has been updated and the requirement for authentication has been removed. That simplified the code quite a bit.
I have updated the template.