Commit Graph

61 Commits (main)

Author SHA1 Message Date
Bernd Weymann b4d83ab930
[mercedesme] Add channel energy to max soc (#19243)
* add channel to calculate energy needed to reach max soc

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2025-08-29 12:44:50 +02:00
Bernd Weymann 5bab3f4941
[mercedesme] Improve HTTP 429 handling and implement new authorization flow (#19099)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2025-08-18 20:20:25 +02:00
lsiepel 0421d6e8f9
Fix markdown bindings M-N (#19025)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2025-07-26 20:56:53 +02:00
Bernd Weymann e8b5839c5d
[mercedesme] internal websocket rework (#18984)
* version update, remove private discovery service reg

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2025-07-22 00:39:38 +02:00
lsiepel 90b3d12aa3
Spotless after release (#19002)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2025-07-21 20:21:58 +02:00
openhab-bot d779c17335 [unleash-maven-plugin] Preparation for next development cycle. 2025-07-21 09:29:14 +00:00
Andrew Fiddian-Green eab8692e67
Add curated tags to addons (2/9) [cherry picked] (#18816)
* Initial contribution

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2025-07-13 00:39:30 +02:00
Bernd Weymann ac1e7d0b13
[mercedesme] Message dumps (#18812)
* temporary file dumps enabled

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* remove file writing

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

---------

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2025-07-04 19:49:21 +02:00
Andrew Fiddian-Green 7556443853
Bindings M thru R: Add equipment tags (#18558)
* Add equipment tags: M thru R

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2025-04-23 17:20:30 +02:00
Bernd Weymann 52ef611008
[mercedesme] Bugfix message decoding (#18458)
* message-decoding-change

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2025-03-29 10:03:24 +01:00
Bernd Weymann 6eeffe46ed
[mercedesme] UOM cleanup (#18332)
* metadata adjuster remove

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2025-03-07 11:06:55 +01:00
Bernd Weymann 79a3c1b242
[mercedesme] New authorization process (#18342)
* change auth process

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2025-03-04 22:08:38 +01:00
Wouter Born 8a7a411ccc
Use Spotless sortpom plug-in (#18318)
Similar to openhab/openhab-core#4618

Signed-off-by: Wouter Born <github@maindrain.net>
2025-02-23 20:23:16 +01:00
Bernd Weymann b90b0f0a9f
[mercedesme] Update proto files for upcoming features (#18205)
* update proto files

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2025-02-02 21:28:20 +01:00
Bernd Weymann 8e8bb061fb
[mercedesme] bugfix auth problem causing http 412 error (#18208)
* version update
* add catching JSONException

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2025-02-02 14:30:33 +01:00
Bernd Weymann 34f81c61a2
add missing parameter for status message (#18115)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2025-01-16 22:36:20 +01:00
Wouter Born 8672ed0208
Start license headers with `/*` instead of `/**` (#18061)
Prevents JavaDoc tooling issues because these tools check comments starting with `/**`.

Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-07 22:33:03 +01:00
Wouter Born d6476042ec
Update license headers to 2025 (#18015)
* Update license headers to 2025

Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-02 00:30:12 +01:00
Bernd Weymann 1b02f98b46
bugfix discovery and thing properties (#18003)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2024-12-30 13:05:20 +01:00
Jacob Laursen 164e333a40 Simplify DateTimeType handling for Mercedes Me
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-12-19 11:56:36 +01:00
Holger Friedrich 639a1cb263
Prepare for OH 5.0.0 (#17906)
* Switch to 5.0.0-SNAPSHOT
* Fix spotless after unleash
* resolve itest runbundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-12-15 20:30:05 +01:00
openhab-bot f80fd3d18c [unleash-maven-plugin] Preparation for next development cycle. 2024-12-15 13:46:58 +00:00
Bernd Weymann c991856e0e
[mercedesme] Websocket decoupling (#17753)
* decouple websocket thread from handler update

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2024-12-01 21:18:21 +01:00
Bernd Weymann 1b686f81c8
[mercedesme] AdBlue channel for combustion vehicles (#17748)
* add adblue channel for combustion vehicles

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2024-11-16 13:06:33 +01:00
Bernd Weymann 140fe617ee
[mercedesme] Add vin automatically to discovered vehicle (#17750)
* add vin as representation property

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2024-11-16 13:04:31 +01:00
Ronny Grun 96fb5d8680
[mercedesme] fix websocket endpoint (#17594)
Signed-off-by: Ronny Grun <ronny.grun@t-online.de>
2024-10-20 19:18:58 +02:00
dependabot[bot] 709c9b81b7
[mercedesme] Bump protobuf-java to 4.27.5 (#17443)
Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf) from 4.26.1 to 4.27.5.

Signed-off-by: dependabot[bot] <support@github.com>

* compile *.proto with protoc compiler v4.27.5

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2024-10-03 22:50:52 +02:00
Jacob Laursen 85b165208c
Make Markdown code block languages consistent (#17480)
* Make Markdown code block languages consistent

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Fix indentation

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-09-29 12:47:18 +02:00
lsiepel 1a42353cc9
Multiple binding markdown fixes (#17422)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-09-28 17:46:53 +02:00
Bernd Weymann d9a00391d6
[mercedesme] Additional mappings and channels (#17143)
* starter battery mappings

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2024-08-29 20:58:23 +02:00
Bernd Weymann 1bc932e95a
[mercedesme] Fix trip channel type id (#17267)
* bugfix trip channel naming

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2024-08-28 20:12:07 +02:00
Bernd Weymann a7e460966f
[mercedesme] take end of charge weekday into account (#17001)
* take end of charge day into account

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2024-07-13 11:08:23 +02:00
lsiepel 71a208b91b
Apply Spotless after release (#17016)
* Spotless

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-07-07 23:20:16 +02:00
openhab-bot 4b5e4646ac [unleash-maven-plugin] Preparation for next development cycle. 2024-07-07 18:09:31 +00:00
Bernd Weymann 104a71b663
bugfix websocket exception (#16962)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2024-06-29 19:02:38 +02:00
lsiepel 226806d55c
[mercedesme] Refactor code and fix test (#16897)
Also-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-06-24 21:19:51 +02:00
Bernd Weymann 09a22e5cbc
[MercedesMe] Switch to Mercedes App SDK (#15628)
* add protocol buffer definitions
* oauth rework
* websocket introduction

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2024-06-04 21:27:41 +02:00
Wouter Born a2868bb0dc
Use diamond operator and remove redundant type arguments (#16249)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-09 23:46:15 +01:00
Jacob Laursen f4596f581e
Update license headers to 2024 (#16168)
* Update copyright year in configuration
* Update license headers
* Manually update nibeheatpump headers (.cpp/.h/.ino)
* Manually update smsmodem header
* Manually update hueemulation header
* Manually update addon-header.xml header

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-01 18:14:57 +01:00
Holger Friedrich 533cc666ab
Apply spotless after release (#16097)
* Apply spotless after release
* itests: resolve bundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-12-22 23:30:38 +01:00
openhab-bot 83e0485219 [unleash-maven-plugin] Preparation for next development cycle. 2023-12-22 14:37:48 +00:00
Jacob Laursen a357f7f0cb
Upgrade json to 20231013 (#15745)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-27 20:13:03 +02:00
lsiepel 7313415ae0
Set explicit timeout for http request (#15505)
* Bondhome
* chatgpt
* electroluxair
* energidataservice
* freeboxos
* gardena
* generacmobilelink
* hdpowerview
* icalendar
* juicenet
* kostalinverter
* liquidcheck
* mcd
* meater
* miele
* mercedesme
* mybmw
* myq
* ojelectronics
* plex
* radiothermostat
* renault
* semsportal
* sensibo
* tapocontrol
* tellstick
* verisure
* vizio

---------

Signed-off-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-19 22:30:41 +02:00
Holger Friedrich cbf4411034
Improve javadoc for all addons (#15667)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-30 21:49:12 +02:00
Holger Friedrich edaf17b345
Java 17 features (H-M) (#15520)
- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements
- use replace instead of replaceAll w/o regex
- instanceof matching and multiline strings
- remove null check before instanceof

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-08 14:36:59 +02:00
Kai Kreuzer 72607d3bee Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-07-24 01:20:31 +02:00
openhab-bot 809fceaff3 [unleash-maven-plugin] Preparation for next development cycle. 2023-07-23 19:19:01 +00:00
dependabot[bot] 40f8f6f323
Bump json in /bundles/org.openhab.binding.mercedesme (#14804)
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20180813 to 20230227.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-25 11:37:04 +02:00
lolodomo 353c154c12
[mercedesme] Remove the access token when the thing is removed (#14942)
* [mercedesme] Remove the access token when the thing is removed

Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-15 23:56:00 +02:00
Wouter Born f21f7bc8b3
Add more connection details to add-ons (#14813)
* Add more connection details to add-ons

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-15 21:23:24 +02:00