Commit Graph

50 Commits

Author SHA1 Message Date
lolodomo
0e4ce596d6
[freeboxos] Fix media playing (#17244)
Fix #17243

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-08-13 20:23:06 +02:00
lolodomo
d6cac81e4a
[freeboxos] Avoid useless API requests (server/player) (#17237)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-08-13 16:38:26 +02:00
lolodomo
1b23f2beac
[freeboxos] Fix thing status handling when rebooting the player (#17238)
Fix #17227

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-08-13 13:11:20 +02:00
lolodomo
1f17e53bc2
[freeboxos] Fix actions to make them available in DSL rules (#17226)
Also rename actions to avoid name conflicts.
Fix #17225

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-08-13 11:45:15 +02:00
lolodomo
858be48183
[freeboxos] Better fix for WEB socket registration (#17236)
* Checks if the server supports VM.

Replace #17124 which was more a workaround.

* Change default value

The value is always set when calling openSession.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-08-13 10:43:24 +02:00
lolodomo
9b9cdd579b
[freeboxos] Remove veto policy on key-code channel (#17224)
This allows to have as status the last command sent.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-08-11 09:32:21 +02:00
lolodomo
0562b0a231
[freeboxos] Fix start/stop audio sink (#17223)
* [freeboxos] Fix start/stop audio sink Fix #17208

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-08-10 11:45:55 +02:00
Gaël L'hopital
37cd42362b
[freeboxos] Enhance state display pattern for uptime (#17218)
* Enhance state display pattern for uptime

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2024-08-09 01:03:27 +02:00
lolodomo
6445e64300
[freeboxos] Use rpm as unit for fan sensors (#17198)
Also patch the label for hard disk sensor.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-08-08 21:29:41 +02:00
Gaël L'hopital
ee50c89c52
Wrong exception catched (#17217)
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2024-08-08 16:40:29 +02:00
lolodomo
55d3c265d4
[freeboxos] Remove unneeded thing config parameter (#17207)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-08-05 21:44:00 +02:00
lolodomo
a2f54caab6
[freeboxos] Fix enabling/disabling of Mac OS file sharing (#17203)
Fix #17200

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-08-04 09:21:22 +02:00
lolodomo
149992859e
[freeboxos] Remove macAddress as thing configuration parameter (#17088)
For server, revolution, player, active-player, repeater and vm thing types
Replace it by a thing property.

Fix #17076

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-08-03 18:26:44 +02:00
lolodomo
57ca70861c
[freeboxos] Change default HTTPS port (#17086)
Set default to 443 as it is the default HTTPS port to use to connect to mafreebox.freebox.fr.
Fix #17075

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-07-31 10:16:07 +02:00
lolodomo
f42fd6260a
[freeboxos] Fix triggering of event firmware_updated (#17161)
Also update the firmware property when the player is reachable for the first time.
Do not trigger the event firmware_updated when just first setting the firmware property.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-07-29 19:51:36 +02:00
lolodomo
4376b9db73
[freeboxos] Fix handling of REFRESH command for connectivity channels (#17178)
Fix #17168

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-07-29 13:44:58 +02:00
lolodomo
5b3f96e277
[freeboxos] Fix systeminfo group for active-player thing type (#17097)
* [freeboxos] Fix systeminfo group for active-player thing type

And remove this group from player thing type.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-07-27 14:10:40 +02:00
lolodomo
49a43a43c1
[freeboxos] Avoid partial discovery (#17095)
* [freeboxos] Avoid partial discovery
Avoid an interrupted discovery because getting a kind of devices is failing.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-07-25 09:54:13 +02:00
lolodomo
073874436a
[freeboxos] Fix websocket registration (#17124)
Fix #17098

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-07-25 09:38:26 +02:00
lolodomo
8e570c5afa
[freeboxos] Fix creation of properties and dynamic channels at init (#17081)
This was bypassed in bridgeStatusChanged.

Fix #17078
Fix #17079

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-07-16 17:52:57 +02:00
lolodomo
8cf49ebee3
[freeboxos] Fix macAddress property when discovering a server (#17082)
Fix #17071

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-07-16 17:52:17 +02:00
lsiepel
5e0e9ce51e
Update lastnpe EEA to 2.4.0 (#16875)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-07-11 13:51:10 +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
Gaël L'hopital
03f311d586
[freeboxos] FreeboxOsIconProvider should only provide icons for its own icon set (#16792)
* FreeboxOsIconProvider should only provide icons for its icon set

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2024-05-24 17:30:17 +02:00
Gaël L'hopital
1437a2ac7d
Handling null WifiInformation (#16700)
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2024-04-29 01:32:55 +02:00
Jacob Laursen
2f7ad5f62e
Provide unit hints for humidity/noise/volume channels (#16614)
* Provide unit hints for humidity channel types

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

* Provide unit hints for noise/volume channel types

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

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-04-07 14:08:53 +02:00
Holger Friedrich
df884ac643
Upgrade SAT plugin to 0.16.0 (#16582)
Modify code which leads to build error with new version of SpotBugs.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-03-31 10:43:44 +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
Wouter Born
4fe00bb2bf
Remove redundant feature dependencies (#16204)
* Remove redundant feature dependencies

The following features are already dependencies of openhab-runtime-base:

* openhab-core-base
* openhab-core-model-item
* openhab-core-model-script
* openhab-transport-mdns

See also: https://github.com/openhab/openhab-addons/pull/16202#issuecomment-1876875456

* Remove redundant openhab.tp-jackson and openhab.tp-jaxb feature dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-05 20:00:24 +01:00
J-N-K
3136425b39
Adapt to core changes (ThingHandlerService) (#16107)
Related to: https://github.com/openhab/openhab-core/pull/3957

Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-01-03 11:50:55 +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
Mark Herwege
463cebcbdf
change mdns add-on discovery syntax (#16060)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-12-16 14:14:32 +01:00
Andrew Fiddian-Green
3814f37d9a
Make bindings discoverable on system startup (#15817)
* [discovery-methods] mDNS discovery methods
* [discovery-methods] UPnP discovery methods

---------

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-12-07 20:34:45 +01:00
Gaël L'hopital
c7ce929aa2
[Freeboxos] npe when updating inactive Player (#15813)
* Correcting npe
* Added status update

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-11-04 10:28:46 +01: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
Gaël L'hopital
bef7744c56
[freeboxos] Add websocket connection refresh mechanism (#15543)
* Adding the possibility to disable websocket listening.
This is set up in order to ease debugging of the "Erreur Interne" issue.

* Enhancing websocket work with recurrent deconnection, simplification of listeners handling
* refactored function name
* Fixed the name of the channel where the refresh command is sent.
* Solving SAT issues
* Corrected doc error
* Added properties
* Removed gson 2.10 now that it is included into core.

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-10-08 10:47:08 +02:00
Jacob Laursen
840277d3b9
Remove Gson 2.10 dependency (#15682)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-02 08:51:50 +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
cf10b3e9c7
Java 17 features (A-G) (#15516)
- 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

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-05 22:30:16 +02:00
Gaël L'hopital
e792a92a38
[freeboxos] Support randomized MAC addresses by using mDNS name for Wi-Fi hosts (#15299)
* Take care of randomized mac addresses by using mDNS name for wifi hosts.

Signed-off-by: clinique <gael@lhopital.org>
2023-08-01 12:16:59 +02:00
Gaël L'hopital
4eaba31f57
Correcting false assumption (#15307)
Signed-off-by: clinique <gael@lhopital.org>
2023-07-27 08:14:27 +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
Wouter Born
0c3934f3c8
Use Eclipse formatter 4.25 with Spotless (#15264)
This version still checks test files.

See: openhab/openhab-core#3515

Signed-off-by: Wouter Born <github@maindrain.net>
2023-07-18 09:02:05 +02:00
Gaël L'hopital
9814047e21
Added capability to enable / disable background discovery service as well as tune its frenquency (#15222)
Signed-off-by: clinique <gael@lhopital.org>
2023-07-12 21:27:34 +02:00
lolodomo
5c32f80c3b
[freeboxos] Align audio sink to freebox binding (#15207)
Related to #15113

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-07-12 11:52:06 +02:00
Gaël L'hopital
751c8a74c4
[Freeboxos] New binding alternative to Freebox binding (#12342)
* SAT warnings handling

Signed-off-by: clinique <gael@lhopital.org>

* Correcting potential NPE

Signed-off-by: clinique <gael@lhopital.org>

* Correcting a NPE on error

Signed-off-by: clinique <gael@lhopital.org>

* Active player request falls to incorrect API version

Signed-off-by: clinique <gael@lhopital.org>

* Reintroducing missing capability to send keys to player.
Solving an NPE

Signed-off-by: clinique <gael@lhopital.org>

* Handling DUTY CYCLE more gracefully

Signed-off-by: clinique <gael@lhopital.org>

* Enhancing DUTY CYCLE

Signed-off-by: clinique <gael@lhopital.org>

* Moving to SNAPSHOT 3.4

Signed-off-by: clinique <gael@lhopital.org>

* Adress inconsistencies in binding name

Signed-off-by: clinique <gael@lhopital.org>

* Discover Freebox Delta Home equipments(basic_shutter)

* Clean previous test code

* Fix "Unexpected command"

* Fix thing comm error

* README for basic shutter

* Fix MR discusions and solve maven check errors and warnings

* Fix MR discusions

* Fix README.md

* Enhancing logging to indentify source of erratic warn

Signed-off-by: clinique <gael@lhopital.org>

* Deny polling a device data when its API is needed and it is OFFLINE

Signed-off-by: clinique <gael@lhopital.org>

* Taking #11833 in accound

Signed-off-by: clinique <gael@lhopital.org>

* Switching to Snapshot 4.0.0
Correcting apiDomain was not used as expected
Code cleansing.

Signed-off-by: clinique <gael@lhopital.org>

* Implementing SHUTTER Home Node

Signed-off-by: clinique <gael@lhopital.org>

* Saving work before instroduction of ArrayListDeserializer

Signed-off-by: clinique <gael@lhopital.org>

* Enhanced deserialization to simplify code

Signed-off-by: clinique <gael@lhopital.org>

* Switching to Java 17 records

Signed-off-by: clinique <gael@lhopital.org>

* Switching to addons.xml, headers updated

Signed-off-by: clinique <gael@lhopital.org>

* Correcting two errors.

Signed-off-by: clinique <gael@lhopital.org>

* Enhance usage of global variables

Signed-off-by: clinique <gael@lhopital.org>

* Some code enhancement for base classes

Signed-off-by: clinique <gael@lhopital.org>

* solving SAT issues

Signed-off-by: clinique <gael@lhopital.org>

* Adding IliadBox compatibility

Signed-off-by: clinique <gael@lhopital.org>

* Commiting work

Signed-off-by: clinique <gael@lhopital.org>

* Saving work

Signed-off-by: clinique <gael@lhopital.org>

* Rebooting Home Node part

Signed-off-by: clinique <gael@lhopital.org>

* Spotless apply

Signed-off-by: clinique <gael@lhopital.org>

* Adding i18n

Signed-off-by: clinique <gael@lhopital.org>

* Decreasing websocket logging level

Signed-off-by: clinique <gael@lhopital.org>

* SAT warnings handling

Signed-off-by: clinique <gael@lhopital.org>

* Correcting potential NPE

Signed-off-by: clinique <gael@lhopital.org>

* Correcting a NPE on error

Signed-off-by: clinique <gael@lhopital.org>

* Active player request falls to incorrect API version

Signed-off-by: clinique <gael@lhopital.org>

* Reintroducing missing capability to send keys to player.
Solving an NPE

Signed-off-by: clinique <gael@lhopital.org>

* Handling DUTY CYCLE more gracefully

Signed-off-by: clinique <gael@lhopital.org>

* Enhancing DUTY CYCLE

Signed-off-by: clinique <gael@lhopital.org>

* Moving to SNAPSHOT 3.4

Signed-off-by: clinique <gael@lhopital.org>

* Adress inconsistencies in binding name

Signed-off-by: clinique <gael@lhopital.org>

* Discover Freebox Delta Home equipments(basic_shutter)

* Clean previous test code

* Fix "Unexpected command"

* Fix thing comm error

* README for basic shutter

* Fix MR discusions and solve maven check errors and warnings

* Fix MR discusions

* Fix README.md

* Enhancing logging to indentify source of erratic warn

Signed-off-by: clinique <gael@lhopital.org>

* Deny polling a device data when its API is needed and it is OFFLINE

Signed-off-by: clinique <gael@lhopital.org>

* Taking #11833 in accound

Signed-off-by: clinique <gael@lhopital.org>

* Switching to Snapshot 4.0.0
Correcting apiDomain was not used as expected
Code cleansing.

Signed-off-by: clinique <gael@lhopital.org>

* Implementing SHUTTER Home Node

Signed-off-by: clinique <gael@lhopital.org>

* Saving work before instroduction of ArrayListDeserializer

Signed-off-by: clinique <gael@lhopital.org>

* Enhanced deserialization to simplify code

Signed-off-by: clinique <gael@lhopital.org>

* Switching to Java 17 records

Signed-off-by: clinique <gael@lhopital.org>

* Switching to addons.xml, headers updated

Signed-off-by: clinique <gael@lhopital.org>

* Correcting two errors.

Signed-off-by: clinique <gael@lhopital.org>

* Enhance usage of global variables

Signed-off-by: clinique <gael@lhopital.org>

* Some code enhancement for base classes

Signed-off-by: clinique <gael@lhopital.org>

* solving SAT issues

Signed-off-by: clinique <gael@lhopital.org>

* Adding IliadBox compatibility

Signed-off-by: clinique <gael@lhopital.org>

* Commiting work

Signed-off-by: clinique <gael@lhopital.org>

* Saving work

Signed-off-by: clinique <gael@lhopital.org>

* Rebooting Home Node part

Signed-off-by: clinique <gael@lhopital.org>

* Spotless apply

Signed-off-by: clinique <gael@lhopital.org>

* Enhancing SAT report

Signed-off-by: clinique <gael@lhopital.org>

* I think that mvn spotless:apply has a problem with records - trying once again

Signed-off-by: clinique <gael@lhopital.org>

* Avoid requesting detailed information for a shutdown repeater.

Signed-off-by: clinique <gael@lhopital.org>

* Switched fan speed to RPM unit

Signed-off-by: clinique <gael@lhopital.org>

* Correcting SAT

Signed-off-by: clinique <gael@lhopital.org>

* Correcting SAT

Signed-off-by: clinique <gael@lhopital.org>

* Divergence between eclipse and mvn spotless:apply

Signed-off-by: clinique <gael@lhopital.org>

* YASAT

Signed-off-by: clinique <gael@lhopital.org>

* Corrections following fwolter code review

Signed-off-by: clinique <gael@lhopital.org>

* Pleasing SAT

Signed-off-by: clinique <gael@lhopital.org>

* Second fwolter code review

Signed-off-by: clinique <gael@lhopital.org>

* Porting modifications introduced in PR #15121

Signed-off-by: clinique <gael@lhopital.org>

* Removing redundant null checks.

Signed-off-by: clinique <gael@lhopital.org>

* Rebased.

Signed-off-by: clinique <gael@lhopital.org>

* Trying to remove the last sleep.

Signed-off-by: clinique <gael@lhopital.org>

* Reporting modifications of PR #15121

Signed-off-by: clinique <gael@lhopital.org>

* Reverting to working and cleaner granting process

Signed-off-by: clinique <gael@lhopital.org>

* Removing last Thread:Sleep

Signed-off-by: clinique <gael@lhopital.org>

* spotless:apply

Signed-off-by: clinique <gael@lhopital.org>

---------

Signed-off-by: clinique <gael@lhopital.org>
Co-authored-by: ben.12 <benmor_12@yahoo.fr>
2023-07-05 20:13:29 +02:00