ioBroker / AdapterRequests

This Place is used to track the status of new Adapter-Requests.
248 stars 36 forks source link

Mymuell Adapter #246

Closed Elektronikwelt closed 8 months ago

Elektronikwelt commented 5 years ago

anyone write an adapter that binds the API from https://www.mymuell.de. There is already an Android app.

created by ioBroker.info

Apollon77 commented 5 years ago

Do you have a Link to the api it such?

Jey-Cee commented 5 years ago

They don't have an public API, but they provide an ical file. I think it is better to create an adapter with ical support or use the ical adapter its self.

DutchmanNL commented 5 years ago

I think it is better to create an adapter with ical support or use the ical adapter its self.

if they provide an ical file I don't see an need for a dedicated adapter, import the ical into an public calendar (like google) and sync with ical adapter ?

if the APi is not public, it. makes no sense to build an "open source" connector ?

Jey-Cee commented 5 years ago

Adavantages of an seperated adapter:

Elektronikwelt commented 5 years ago

I do not want to maintain the collection of garbage manually in an ICAL file. I would like to query the data of Mymüll (the place should be adjustable in the data points) and represent in the Vis. I saw that the app did not do anything else. Maybe someone can analyze the interface of the app and then emulate it as an adapter for Iobroker.

Elektronikwelt commented 5 years ago

I wrote to Mymüll if the interface configuration provided me with an answer

Elektronikwelt commented 5 years ago

Here is the Link to Download the Adroid App http://android.mymuell.de/

bkuerby commented 5 years ago

You may want to try https://www.mein-abfallkalender.de/ Seems to be the same like MyMuell.de, but you can get the data as ical by link. There is no need to maintain the dates manually

Jey-Cee commented 5 years ago

@Elektronikwelt The ical file is generated by the service, you have to download it once a year, thats it.

@bkuerby you can not choose the service provider, each Landkreis choose the service provider by its self. So you have to use what you get.

volkerrichert commented 5 years ago

I have a script reading data from https://mymuell.jumomind.com. You just need city_id & area_id. Someone interested?

jumomind.com is from junker.digital, the company behind mymuell.de

Elektronikwelt commented 4 years ago

For me it would be interesting, since MyMüll is maintained by our waste manager. Could you send me the script?

volkerrichert commented 4 years ago

I put it into github.

But just the script code. You have to add npm module "request" to your javascript module and find your(!) city and area IDs. I found mine by inspecting the webbased calendar at https://mymuell.jumomind.com/webmodul/wegberg/. I never checked other areas.

Elektronikwelt commented 4 years ago

Hi volkerrichert

I could not find my place "Eberhardzell". why does this work in the app but it does not work with your link. how did you find out your place?

patrik-dev commented 4 years ago

Is it possible to get all available cities and streets?

volkerrichert commented 4 years ago

Upsss... :-) I just "find" one... @patrik-dev: Try to guess the API-URL based on the one for streets

// remove the URL @Elektronikwelt: try to use Biberach for the city list

Elektronikwelt commented 4 years ago

Stupid question: how and with which adapter can I access the data. I found the ID for Eberhardzell

Elektronikwelt commented 4 years ago

@volkerrichert why did you delete here the link. Appolon77 initially asked if there was an Api Link

volkerrichert commented 4 years ago

@Elektronikwelt I don't know if it's allowed (legale) to publish an API link which isn't used on a public site. And because it's so easy to guess, it took me one try to guess it, I want to be on the "right side".

volkerrichert commented 4 years ago

@Apollon77 There is no API-Doc, but you can "see" it in real life:

https://mymuell.jumomind.com/mmapp/api.php?r=streets&city_id=XXX

"r" seem to be the resource you want to load. street and trash are used live

"cities" is also a valid resource.

To get all dates and types of your trash pick ups, you must query

https://mymuell.jumomind.com/webservice.php?idx=termins&city_id=XXX&area_id=XXX&ws=3

with the area_id given in your street entry. All trash types are listed in the trash resource

klein0r commented 8 months ago

Added to ioBroker.trashschedule (v3.0.0)

mcm1957 commented 8 months ago

solved by ioBroker.trashschedule.