-
Notifications
You must be signed in to change notification settings - Fork 29
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
Adding Features #182
Adding Features #182
Conversation
Added several Entities like Map, Alert ...
Added Entities for Map, Alert ...
Added requirement svgutils and sh
Added service for donwloading map, reading and deleting alerts
Will have a look at this tomorrow or sunday. |
Hi everyone, If you're interested, I'm also working on a feature that allows you to get the map in dashboard from a camera entity (with a map refresh every 10 seconds). I don't want to make a pull request for the time being because I want to test the feature over a long period and fix any bugs before proposing it. Perhaps we could merge this pull request with my fork if you're interested... My fork: https://github.com/FBruynbroeck/Indego/tree/issue133_garden_map Best regards |
Is the code adjusted so it doesnt flood the API with several calls per second/minute? |
??? @kimzeuner |
Sorry, i thought FBruynbroeck was meant. |
Hello Guys, I already implemented this feature in a version which I made on my own based on this integration. But in my version it doesn't make a request e.g. every 10 seconds to get the map. I have one call service where you can download the map to your home assistant and also adjust the path in that call service. And then I replace the X and Y Postion with placeholders and every time when the position of the indego changed it automatically change it in the map which is in .svg format. To be honest I'm not quite family with the gitHub thing. If someone can help me maybe we can get this feature in this integration here. BR |
Hi Guys, Sorry for my late answer but i was pretty busy in the last weeks. Regards |
@kimzeuner thanks for your work. I think you pushed it into the wrong branch as I've seen the commits inside the master branch which is not included in this fork |
You are right. I will change it on monday and let you know when it is finished. |
Update for map and alert features
update for map and alert features
update for map and alert features
update for map and alert features
update for map and alert features
update for map and alert features
update for map and alert features
update for map and alert features
update for map and alert features
update for map and alert features
update for map and alert features
update for map and alert features
Good morning guys, |
Thank you, I tried your latest push but it seems like something is wrong with the config flow. |
Ok, on saturday you said that you have seen my latest changes in the master branch instead of developer branch. Have you tried the files from master branch ? Did this work ? Another idea, did you change the line |
I didn't try the latest change in your master branch, only seen you pushed them into the wrong branch and wanted to let you know about it. Also you already implemented the fix mentioned in #193 |
Ok strange as i just did copy and paste from my running system to the files on guthub. I will have a look on it, maybe there was a mistake. |
That's weird indeed. I'll check if it's possible to debug the config flow somehow. Edit: found the problem, you used the mixins.py inside the config_flow.py changing the config_flow.py back to the default fix the issue |
update after copy and paste mistake
@Pr0mises i think i have good news for you. i have compared all files from my develop branch and my running system and there was a copy and paste mistake in the config_flow.py |
This PR is published in the beta 5.3.0. |
I am not able to call new services like
I get this error
|
@sytchi all of them? All calls are working on my side |
@sytchi did you use the" load with sample data" button in HA ? it should be the number without '' so like:
|
@kimzeuner I saw you find a solution for the issue that I had in my version that I created a manual camera entry where the .svg file was uploaded after every change of the position. Thanks for that! Because I’m not quite familiar with the camera.py yet how the map will be updated on your version? I saw that every time the map will be new downloaded instead of just update the position with the x and y coordinates is it correct? I’m just asking because @jm-73 mentioned that to download the map every 10 seconds e.g. would stress out the Bosch server and they could be find a way to avoid that we are hammering requested to their API . |
Honestly it was not me who found this solution. i have just collected some features from your data (read and delete alerts) and the data from @FBruynbroeck. In the description of the latest version of camera.py (by FBruynbroeck can be found here) it says, that the map will be download after each return to the dock but i`m not sure how often the position is updated. |
Hello ! You've used "my" camera feature, but it's still being tested. I think it's still too early to offer this feature to everyone. What's more, I'm currently testing it with an older version of HASS (2023.5.4). To answer your question, the position (x/y) is retrieved and displayed on the map every 10 seconds for preview (default value of CameraImageView rendering) and every 5 seconds for stream (frame interval) BUT only when the robot is moving. If the camera is not displayed, the position/map will not be retrieved. We need to be very careful about the number of calls we make to the Bosch servers. |
@sytchi did you install it with hacs? |
This puts this bet arelease in a difficult situation. I really appreciate the efftort @kimzeuner has put into this PR, but mixing bug fixes with additional features is not best-practise. I will have to remove this beta as @FBruynbroeck clearly says that his camera functinos still needs testing. It is not ready for the masses. Please make a new PR with the bug fix for the serial-thingie error. /Jens |
@jm-73 I agree with you. And if anyone wants to work on this feature with me, you're welcome! 👍🙂 |
New release 5.4.0 instead. Have removed everything except the bug fix with the serial. |
ok, i completely agree with that. sorry for beeing too fast. i have tested the camera feature for a longer time now and had no issues yet. |
NP. |
In this Pull Request i have added some Features from an old Indego Integration that was able to download the map, delete alerts etc. Since Single Key activation this was no longer running.
With the added Service "download map" it is now possible to download the map.