-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[automower] Implementation of complete automower API #17545
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Michael Weger <[email protected]>
@lsiepel, do you have a good example how to implement dynamic Channels and Channel Groups? Esp. dynamic Channel Groups seems to be tricky. |
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Interesting combination, don't have an example straight out of my head, let me check. |
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
workaround for ambiguous timezone handling of automower api Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
added actions Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Except from dynamic channels and channel groups (which is an usability improvement only), I would consider the main part of the implementation is done. |
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
…utomower-connect-api?tab=releases) Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
set several channels to advance added update.xml Signed-off-by: Michael Weger <[email protected]>
Implementation done - ready for review |
Signed-off-by: Michael Weger <[email protected]>
Signed-off-by: Michael Weger <[email protected]>
added poll channels tests and smaller fixes creating all channels at once due to performance issues Signed-off-by: Michael Weger <[email protected]>
In the meanwhile also dynamic channels are implemented. The issue reported in openhab/openhab-webui#575 seems to be not fixed, when the channels are generated automatically. As workaround I'm adding dynamic Channel Labels as well. The Labels are then used to create unique channel uids:
@lsiepel, Is it worth creating an issue? |
@lsiepel, will you find time to review this major change set as well? thanks in advance! |
Not sure if i understand the problem here. You should make sure the channelUID is unique, The label is just for display and while it woudl be very usefull, it is not constraint to be unique.
In the meantime, could you fix the conflict? |
The channelUID is already unique due to the running index. The Label was not unique and repeating per message ( I think this is the code how the item names are proposed:
It is using the As an improvement we could request that openHAB UI implements a duplication check at this stage. Nevertheless the code works as expected / intended. This is how the current implementation using the workaround looks like: I'm happy with that implementation in the binding. No need to change. |
[automower] Implementation of complete automower API
References:
Current Status / TODOs:
1.1 DONE
2.1 DONE /mowers/{id}/actions
2.2 DONE /mowers/{id}/calendar
2.3 DONE /mowers/{id}/errors/confirm
2.4 DONE /mowers/{id}/settings
2.5 DONE /mowers/{id}/stayOutZones/{stayOutId}
2.6 DONE /mowers/{id}/workAreas/{workAreaId}
2.7 DONE /mowers/{id}/workAreas/{workAreaId}/calendar
2.8 DONE /mowers/{id}/messages
3.1 DONE
4.1 DONE
5.1 DONE
6.1 DONE
7.1 DONE
8.1 DONE
9.1 DONE
10.1 DONE