Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bosch Indego Connect Adapter #63

Closed
steckenpferd opened this issue May 7, 2018 · 35 comments
Closed

Bosch Indego Connect Adapter #63

steckenpferd opened this issue May 7, 2018 · 35 comments
Assignees
Labels

Comments

@steckenpferd
Copy link

steckenpferd commented May 7, 2018

https://forum.iobroker.net/viewtopic.php?t=10516

https://github.com/zazaz-de/iot-device-bosch-indego-controller

s. Openhab
https://docs.openhab.org/addons/bindings/boschindego/readme.html

grafik

@steckenpferd steckenpferd changed the title Bosch Indego Connect Bosch Indego Connect Adapter May 7, 2018
@Apollon77
Copy link
Collaborator

Homebridge modules exist: homebridge-boschindego as example.

Please check if the new ioBroker.ham Adapter can help here: see https://forum.iobroker.net/viewtopic.php?f=36&t=14972

@TmShaz
Copy link

TmShaz commented Sep 5, 2018

Anyone working on this topic? I'am to stupid for this, but would like to have such an adapter.

@oldi2000
Copy link

oldi2000 commented Jul 5, 2019

Hello
iobroker.ham adapter works, but the homebridge boschindego module is at most alpha stadium, objects are created but it can not more than start or stop the mower, no battery level, no progress nothing.
I think it would be great if someone with a clue could look at the code from zazaz and could build a decent adapter,
I can not do it unfortunately.

maybe this web adapter will help:
http://grauonline.de/alexwww/indego/indego.html
this works too

@a1development
Copy link

Hi all, i created a Bosch Indego Adapter last weekend. Currently i am testing. But it looks stable. Once everything is polished, i will release it and let you know.

@TmShaz
Copy link

TmShaz commented Jun 30, 2020

This sounds great. Willing to test your adapter as soon as possible.

@SchiFrank
Copy link

Any progress in this issued?

@a1development
Copy link

I had some problems the the password encryption of ioBroker and differences between Version 2.x and 3.x of ioBroker. Otherwise this is working. I hope i will find some time soon to dig into this. Sorry for the delay.

@Apollon77
Copy link
Collaborator

I had some problems the the password encryption of ioBroker and differences between Version 2.x and 3.x of ioBroker.

WHat exactly you have as problem?

@Compacty87
Copy link

Hello! Did you finish the Adapter ?

@Bernd1984
Copy link

Any Updates for this topic? Thanks

@domstick
Copy link

domstick commented Feb 5, 2021

Hi all, i created a Bosch Indego Adapter last weekend. Currently i am testing. But it looks stable. Once everything is polished, i will release it and let you know.

Hi, any news on your adapter? I could help testing it. I have the M700+ Hardware.

@a1development
Copy link

OK. For Beta testing, i made the adapter public on github.
https://github.com/a1development/ioBroker.boschindego
If you like you can give it a try. The UI of the Admin page is pretty basic for now. Just enter your credentials that you use in the indego app.
Greetings Markus

@domstick
Copy link

OK. For Beta testing, i made the adapter public on github.
https://github.com/a1development/ioBroker.boschindego
If you like you can give it a try. The UI of the Admin page is pretty basic for now. Just enter your credentials that you use in the indego app.
Greetings Markus

Thanks Markus!
Works like a charm so far. I'm happy to test it out!

@domstick
Copy link

I did some testing and it's working great so far!
Buttons are working as intended and the state items are updating correctly within the limitations of Indego itself.
For my M700+ it's stable and I haven't encountered any issue or bug so far.

One of my favourites is the SVG-Code of the map in ioBroker. You can use that in a visualization easily and have a map of your lawn with Indegos position in it.
Thank you very much, Markus! It was the last piece missing to make my garden fully smart.
Rain -> go home! Irrigation active -> go home! Not enough sunshine to dry out the lawn in the morning -> start later. Tun on Irrigation during Indegos charging process. Endless possibilities. I'm very happy!

There is no indicator for battery charge in percent, but thats a limitation of Bosch itself AFAIK.
But thera are workarounds within ioBroker itself. Your adapter shows start and end of charging via stateText. I'm logging that varible using InfluxDB, so I know how long a full charge lasts and when the charge started, so i can calculate a good guess.

More of a feature request:
Could you eventually add error message texts? I had an error during testing today. Indego went to the station for a charge, but couldn't dock successfully. It stopped with the error message that he's been lifted (GER: "Indego wurde angehoben, bitte..").
In the stateText it was logged as "Idle in lawn." (see picture below).
image
It would be great to have the error message text sent by Indego as an sate in ioBroker e.g. errorMessage.
One could then use it as a push-message, telegram message or make Alexa read it out loud.
It seems to be possible here: http://grauonline.de/alexwww/indego/indego.html

@DutchmanNL
Copy link
Collaborator

So time to release a Beta Version, close this issue and continue in te Adapter repo? 😉

@a1development
Copy link

@domstick thank you for your feedback and the time to test things out.
From the API i get the state, wich is a number. You can find it under state.state in the adapter.
Then i try to match the number against a list of known states. If it is found, the stateText is updated.

It would be very interesting to have the state during the changes. I guess the state was not known and the stateText did show the last known state.
Idle in lawn is state 519

@domstick
Copy link

domstick commented Mar 23, 2021

It would be very interesting to have the state during the changes. I guess the state was not known and the stateText did show the last known state.
Idle in lawn is state 519

I have to log the state number and provoke some errors. I just logged stateText unfortunately.
I'll do some testing on that.

Maybe Indego goes to "Idle in lawn" state and throws the error message seperately. Indego stops and stands still in error state so "Idle" would be the correct description ;)
I found a list of status codes here:
https://github.com/zazaz-de/iot-device-bosch-indego-controller/blob/master/PROTOCOL.md
It seems, that error messages are seperated in the API, if I'm reading it correctly.

`GET https://api.indego.iot.bosch-si.com/api/v1/alerts
x-im-context-id: {contextId}

Response:
[
{
"alm_sn": "1234567890",
"alert_id": "12345678-abef-12de-3322-11aa22ee2387",
"headline": "Wartungshinweis.",
"date": "2016-05-14T16:29:31.123Z",
"message": "Messer prüfen. Ihr Indego hat 100 Stunden gemäht. Prüfen Sie bitte die Messer auf einwandfreien Zustand, damit weiterhin die optimale Leistung gewährleistet ist. ",
"read_status": "unread",
"flag": "warning"
},
{
"alm_sn": "1234567890",
"alert_id": "12345678-abef-12de-3322-11aa22ee2387",
"headline": "Mäher benötigt Hilfe.",
"date": "2016-05-14T14:10:23.112Z",
"message": "Begrenzungsdrahtsignal über längere Zeit nicht erkannt. Ihr Indego hat für einige Zeit das Begrenzungsdrahtsignal nicht erkannt. Bitte prüfen Sie die Anschlüsse der Ladestation und des Begrenzungsdrahts.",
"read_status": "unread",
"flag": "warning"
}
]`

@a1development
Copy link

@domstick I just updated the Adapter to 0.9.1 and changed it so it updates the stateText to '123 - state unknown', in addition it throws a warn message in the logs with this information. That way it should be easier to catch new introduced states.
It would be crutial to know what the new state number stands for, so if this happens, the only way to find out would be a look at the app.
In my adapter there are more status codes then in the list you provided. So we should be covered.

It could be that "idle in lawn" is shown and a alert message goes out. I looked at alerts. I can retrieve them. I just need to brush up my ioBroker Adapter skills and find a way to write changing lists to the state database ... ;)

@domstick
Copy link

@a1development thank you! I installed it and am now logging status codes. I'm going to test out some codes by provoking some error states tomorrow during day-time.

@a1development
Copy link

OK minor update to 0.9.2.
The Background of the mapSVGwithIndego is now transparent. That way it should better in different VIS, and you could put a satelite image of your garden in the background and overlay the map ;)

@domstick
Copy link

OK minor update to 0.9.2.
The Background of the mapSVGwithIndego is now transparent. That way it should better in different VIS, and you could put a satelite image of your garden in the background and overlay the map ;)

You're the man!!

I dit some testing.
On 18:49 Indego "accidentaly" slipped out of the mowing zone and got stuck. Error-Text in App: (German: "Indego wurde angehoben.")
At 19:35 Indego had an colission with an object and got stuck. Error-Text in App: ("Indego wurde angehoben.")
image

It seems that Bosch isn't very precise with error-messages. Or both events triggered the lifting-sensor of Indego and therefore just threw that message.

There are lots of possible errors e.g. temperature too low to mow (luckily i can't provoke that error atm).
Maybe you should release the Adapter and have more people to report error codes and stuff.
I'll keep on testing any way!

@domstick
Copy link

domstick commented Mar 27, 2021

image

@a1development
Copy link

@domstick UPS .. i pushed it to github... still working on that. So the data points will change. Didn t ment to be in this version.

@domstick
Copy link

@domstick UPS .. i pushed it to github... still working on that. So the data points will change. Didn t ment to be in this version.

Looks very promising!

@Diggi3
Copy link

Diggi3 commented Apr 8, 2021

Hi,

I perform an automatic restart of my router at 4 o'clock in the night. After that, the adapter cannot connect anymore:

boschindego.0 | 2021-04-08 04:02:08.863 | info | (81512) Got terminate signal TERMINATE_YOURSELF
boschindego.0 | 2021-04-08 04:02:08.815 | info | (81512) Terminated (NO_ERROR): Connection error. Credentials wrong?
boschindego.0 | 2021-04-08 04:02:08.807 | error | (81512) connect error
boschindego.0 | 2021-04-08 04:01:51.716 | info | (81512) connect
boschindego.0 | 2021-04-08 04:01:51.698 | info | (81512) starting. Version 0.9.2 in /opt/iobroker/node_modules/iobroker.boschindego, node: v12.22.0, js-controller: 3.2.16

If I then start the adapter manually, it runs again until the next reboot.

@a1development
Copy link

a1development commented Apr 8, 2021

I perform an automatic restart of my router at 4 o'clock in the night. After that, the adapter cannot connect anymore:
If I then start the adapter manually, it runs again until the next reboot.

Yes. I will handle this differently in a feature update. I was testing on this today aswell.
It should go yellow an go back to green when it reconnects.
Also there are some service outtakes from bosch from time to time where this happens as well

@a1development
Copy link

@Diggi3 OK i just updated the adapter to 0.9.4.
In this release, the adapter will turn yellow if there are connection problems and tries to reconnect periodicaly -> turns green if reconnected.
In this version there is also the info.connection Object added.

@asch8505
Copy link

OK. For Beta testing, i made the adapter public on github.
https://github.com/a1development/ioBroker.boschindego
If you like you can give it a try. The UI of the Admin page is pretty basic for now. Just enter your credentials that you use in the indego app.
Greetings Markus

Very nice, works like a charm, thank you very much for this adapter :) even the map can be easily integrated in vis. But I have a little question. I cannot find the current battery state, is it possible to get this information via API or is it the information not given by Bosch?

@a1development
Copy link

a1development commented Apr 19, 2021

@asch8505 The battery state is not given
OK :) i found a way
I justed pushed 2 new version online. Latest is 0.9.7.
There is now a operationData Folder containing the battery information that the service is returning.
And i did some changes to the map updates.

@Diggi3
Copy link

Diggi3 commented Apr 23, 2021

@Diggi3 OK i just updated the adapter to 0.9.4.
In this release, the adapter will turn yellow if there are connection problems and tries to reconnect periodicaly -> turns green if reconnected.
In this version there is also the info.connection Object added.

Hi,

thanks for your effort, worked much better now.
Unfortunately, the Indego is already defective after one year with a water damage. Bosch service does not want to repair the device under warranty and charged for a repair more than the new price of the device. Therefore, I can unfortunately no longer test the adapter. And after the bad experience with the bosch service I will not buy an Indego again...

@a1development
Copy link

New Version 0.9.9 added "deep sleep mode" for bot connections during night time, so the bot will not be waken up to check the status.

@ldittmar81
Copy link
Collaborator

@a1development Please request repo addition ... details see https://github.com/ioBroker/ioBroker.repositories

@kubovy
Copy link

kubovy commented Jan 6, 2022

Hi @a1development this adapter is a great addition!

Is the development still going on? I had some trouble to install it. Eventually I cloned it in the docker manually and after iobroker restart it started working.

@mcm1957
Copy link
Collaborator

mcm1957 commented Nov 16, 2022

Adpater available at https://github.com/a1development/ioBroker.boschindego

@a1development
Please request repo addition ... details see https://github.com/ioBroker/ioBroker.repositories

Additional help is available via telegram too if required:
https://t.me/+gsX-e8k4mLtmZjZk (iobroker adapter developer starters)
https://t.me/ioBroker_development

I will mark this request as completed and close it in the near future

@mcm1957
Copy link
Collaborator

mcm1957 commented Mar 16, 2024

Repo: https://github.com/iobroker-community-adapters/ioBroker.boschindego

Released to latest
Please create a issue at the adapter repository for any problems or feature requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests