* [openweathermap] Clean-Up config.xml
Remove config description for removed UV Index Thing.
* [openweathermap] Fix OneCall Thing creates to many channels
The default setting is to create 0 minutes, 12 hours and 6 days of forecast channels.
When creating a new OneCall Thing, actually 60 minutes, 24 hours and 8 days of forecast were created due to the thing-types, but those not needed (as determined by the configuration) were not removed.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
* Add channels for emeter_n (neutral current-based measurements) - polled
status and CoAP update (ncurrent only, no other values)
Signed-off-by: Markus Michels <markus7017@gmail.com>
This fixes the following deprecation warning:
> Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20
Signed-off-by: Wouter Born <github@maindrain.net>
* #16308#16310 Upgraded MongoDB driver, added initial unit tests
* #16308#16310 Refactored the MongoDBPersistence adding helper, fixing type handling for HSBType, RawType and QuantityType
* #16308 Added backwardcompatibility for the old way of writting the data where possible
* #16308 Added test for larger ImageItems and the limit of 16 MB
Signed-off-by: René Ulbricht <rene_ulbricht@outlook.com>
Modified units for CHANNEL_CURRENT_POWER GENERATED to Units.WATT (was: Units.WATT_HOURS)
Signed-off-by: peter-schaeffer <120140346+peter-schaeffer@users.noreply.github.com>
* [openweathermap] Remove UV Index Thing
The UV Index API has been retired on 1st April 2021 and replaced by OneCall API 3.0.
Therefore, this Thing is not working anymore and can be removed from the source code.
* [openweathermap] Clean-Up DTOs
- Improve class JavaDoc.
- Remove setters as they are not needed. (All OWM APIs get required the data as query params.)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
* Support for Solax X3MIC / G2 inverter, and workmode channel for the existing X1, X3 also
* Add update instructions and make raise the target version to 1
* Refactor the workmode to be enum instead of string constants
Signed-off-by: Henrik Tóth <realthk@gmail.com>
Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
* [network] Improve threading
* Use timeouts with CompletableFutures
* Use seperate executor when waiting for results
* Catch exceptions when joining CompletableFutures
* Stop previous detection when starting a new one
Fixes#16305
Signed-off-by: Wouter Born <github@maindrain.net>
* updated url of setTargetEnergy and setTargetSoC to match evcc version 0.123.1
* removed minSoc from Loadpoint (since evcc 0.123.0 part of vehicle)
* renamed from targetEnergy to limitEnergy to match new evcc version
* renamed from targetSoC to limitSoC to match new evcc version
* plementation of vehicle object to match new evcc version 0.123.1 -> new implementation of minSoC and plans (served by new api)
Signed-off-by: Luca Arnecke <luca@arnecke.name>
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Michael Weger <weger.michael@gmx.net>
Co-authored-by: Florian Hotze <florianh_dev@icloud.com>
Co-authored-by: Michael Weger <weger.michael@gmx.net>