Commit Graph
54 Commits
Author SHA1 Message Date
Dan CunninghamandGitHub c9eaa00145 [matter] Upgrades to matter.js v0.14.0, adds matter error codes and translations (#18786)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2025-06-10 23:04:16 +02:00
Dan CunninghamandGitHub a8fe05c70c [matter] Typescript ESLint modifications (#18743)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2025-06-08 00:36:28 +02:00
Dan CunninghamandGitHub 909f2e5e3e [matter] fixes min/max init of color temp values, adds a few tests as well (#18744)
* [matter] fixes min/max init of color temp values, adds a few tests as well

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2025-06-02 13:03:51 +02:00
Dan CunninghamandGitHub ac07c60e79 [matter] Typescript formatting (#18741)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2025-06-01 21:22:05 +02:00
Dan CunninghamandGitHub 9409800d4f Small color tweaks (#18740)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2025-06-01 19:03:55 +02:00
Dan CunninghamandGitHub f88de93591 [matter] Initial contribution (#18486)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2025-06-01 12:22:18 +02:00
Dan CunninghamandGitHub e2571d6f09 [openhabcloud] Send the correct response status text (#17994)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2024-12-28 19:06:08 +01:00
Dan CunninghamandGitHub 0e5e48f763 [upnpcontrol] Fix IllegalArgumentException when downloading album art (#17965)
* Stip whitespace from album art URI

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2024-12-24 21:10:48 +01:00
Dan CunninghamandGitHub f9c40fff8b [hydrawise] Various Fixes (#17345)
* Workaround for a bad response from the Hydrawise API

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2024-08-29 00:50:26 +02:00
Dan CunninghamandGitHub b002fd72d6 [openhabcloud] Update Docs : rules and app actions (#17234)
* [openhabcloud] Update Docs : rules and app actions
Adds new 'rule' and 'app' actions to the docs for mobile push notifications

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2024-08-11 20:43:39 +02:00
Dan CunninghamandGitHub 7296b38b51 [openhabcloud] Update Notification Docs (#17023)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2024-07-10 23:32:00 +02:00
Dan CunninghamandGitHub 2d7c9a23e5 [openhabcloud] Support hiding notifications and tags (#16979)
* Support hiding notifications
See #16934

* Adds support for using tag over severity on extended actions

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2024-07-04 14:06:33 +02:00
95d1b6fbc8 [openhabcloud] Enhanced Notification Actions (#16938)
* [openhabcloud] Enhanced Notification Actions

Co-authored-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2024-06-26 20:32:09 +02:00
Dan CunninghamandGitHub 0fca945b41 [harmonyhub] Updates harmony library, uses strings for ids (#16646)
See #6732

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2024-04-12 21:35:12 +02:00
Dan CunninghamandGitHub 1abc35e134 Small fix when retying token (#16280)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2024-01-14 21:13:24 +01:00
Dan CunninghamandGitHub c8d2d4b171 [hydrawise] Handle API auth changes (#16221)
* Handles a new condition where the service rejects a request as unauthorized, but really we just need to refresh our token after 60 seconds.

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2024-01-07 14:39:38 +01:00
Dan CunninghamandGitHub 01ab38ee13 [myq] Remove MyQ Binding (#15911)
Fixes #15910

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-11-18 20:30:48 +01:00
Dan CunninghamandGitHub e8fd791c38 Fixes broken authentication due to changes in the myq cloud api (#15755)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-10-14 19:05:47 +02:00
Dan CunninghamandGitHub a6cbf37b75 Updates JSON libary. (#15290)
Fixes #15221

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-07-22 22:29:02 +02:00
Dan CunninghamandGitHub d83084849d [hydrawise] Fixes occasional connection issues (#15177)
* The Hydrawise API can return sometimes return a non JSON response during service outages, like when they are updating thier software.  This treats this as a connection error and allows the client to try the poll again.
* Adds additional http status checking

Fixes #15170

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-07-04 21:29:03 +02:00
Dan CunninghamandGitHub 41701f518e [generacmobilelink] Major rewrite of the Generac MobileLink Binding (#14638)
* [generacmobilelink] Major rewrite of the Generac MobileLink Binding

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-04-09 11:48:12 +02:00
Dan CunninghamandGitHub 9ba3c07d3e [openhabcloud] Reconnection Fixes (#14251)
* [openhabcloud] Possible connection leak
* Creates thread safe reconnection, reduces unnecessary polling on setup, removes unused variables.
* adds the reconnect settings to the internal socket.io options.
* Up the min reconnect time
* Use @ssalonen sugestion for backoff mins and randomness
* Reconnect after server initiated disconnect
* Remove unhelpful comments

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-01-29 10:21:54 +01:00
Dan CunninghamandGitHub ab504bc69e [hydrawise] fixes null pointer error for some sprinkler controllers (#13965)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-12-16 08:31:02 +01:00
Dan CunninghamandGitHub d3ecba9e79 [qolsysiq] Fixes ENUM Typo (#13790)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-11-28 01:07:57 +01:00
Dan CunninghamandGitHub 1d9bf63d5e [qolsysiq] Initial contribution of the Qolsys IQ Binding (#13699)
* [qolsysiq] Initial contribution of the Qolsys IQ Binding

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-11-27 19:25:31 +01:00
Dan CunninghamandGitHub 03cdc5e1b4 [openhabcloud] Removing content encoding when proxing. (#13559)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-10-17 08:06:08 +02:00
Dan CunninghamandGitHub b63e420abf [Hydrawise] concurrent error (#13268)
* Fixes a concurrent modification exception, cleans up handler on dispose, fixes totally broken last contact channel
Fixes #13094

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-08-17 10:07:04 +02:00
Dan CunninghamandGitHub d5b657c6fd Catch json parsing errors when getting login token. (#13189)
Fixes #13181

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-07-29 19:06:48 +02:00
Dan CunninghamandGitHub 8a87450f4c [openhabcloud] Makes the baseURL and item updates options advanced... (#13078)
* [openhabcloud] Makes the baseURL and item updates options advanced, cleans up documentation, disabled sending updates to the community myopenHAB.org service.

Fixes #12582

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-07-04 23:09:35 +02:00
Dan CunninghamandGitHub dc66345a7b [iaqualink] Fix to work with recent API changes to the iAqualink cloud service. Currently the binding throws a gson parsing error early in the poll process rendering it completly broken. (#13073)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-07-04 21:46:38 +02:00
Dan CunninghamandGitHub c48ba25915 [iaqualink] Fix isssue using manual pool IDs (#12659)
Fixes #12654

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-04-27 16:08:57 +02:00
Dan CunninghamandGitHub 5712de5e63 [jdbc] Rework TimescaleDB code to actually work (#12525)
Fixes #12513

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-04-02 18:11:32 +02:00
Dan CunninghamandGitHub b7e064a872 [hydrawise] Support unused zones (#12275)
* [hydrawise] Support unused zones
Fixes #12209

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-02-13 09:15:20 +01:00
Dan CunninghamandGitHub a0920d4c0c [jsscripting] Append the ruleID or file name to the logger when console logging (#11945)
* Appends the ruleID or file name to the logger when console logging.
* Adds configurable logging, updates scriptId logic

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-01-31 11:55:50 +01:00
Dan CunninghamandGitHub 00da156b1b [jsscripting] Updates to latest openhab-js library (#12171)
* Updates to latest openhab-js library
* Update for new default log level in 3.3

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-01-30 18:28:58 +01:00
Dan CunninghamandGitHub 3884b378bb Adds a RepresentationProperty to discovery to avoid duplicate inobx entries (#11941)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-01-03 09:22:45 +01:00
Dan CunninghamandGitHub ec10dfe897 [jsscripting] Update docs and refactor path (#11827)
This adds a minor refactoring of loading local resource paths that i didn't have time to get into 3.2  and moves the docs directory to doc.

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-12-21 23:36:22 +01:00
Dan CunninghamandGitHub 0fddb6151c [jsscripting] Support non unix file paths (#11805)
Lets try this again, Fixes #11801

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-12-17 20:34:25 +01:00
Dan CunninghamandGitHub 2dfcb4cb3c [jsscripting] Support non unix file paths (#11804)
Fixes #11801

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-12-17 17:08:35 +01:00
Dan CunninghamandGitHub fe271e3c4a [jsscripting] Library and Doc updates (#11800)
* [jsscripting] Library and Doc updates

This updates the documentation, bumps the NPM version library, and implements conversion of JS date types (js-joda) to Java types

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-12-17 08:00:44 +01:00
Dan CunninghamandGitHub 22b9be1390 [jsscripting] Update library and change config PID (#11777)
* Use OH standrard component pid naming, default injection to true.
* Bump openhab-js

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-12-14 08:30:32 +01:00
Dan CunninghamandGitHub 4481ecff61 [jsscripting] openhab-js integration (#11656)
Fixes #11222

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-12-13 08:13:13 +01:00
Dan CunninghamandGitHub 387f8a3a0d [myq] Fix for controlling lights (#11765)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-12-12 17:40:51 +01:00
Dan CunninghamandGitHub d0837ae8a2 [myq] Fixes breaking API changes to the MyQ binding (#11601)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-11-20 00:17:27 +01:00
Dan CunninghamandGitHub cb9b69943c [jsscripting] Tell the script context to use the classloader of the current class. (#11400)
Fixes #11222

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-10-19 16:21:06 +02:00
Dan CunninghamandGitHub ccfe232d49 [myq] Fixes a serious issue that could wipe out cookies across an entire OH instance for bindings using the shared Jetty client (#11343)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-10-04 07:41:41 +02:00
Dan CunninghamandGitHub 7efc3e9e81 [myq] Switch to using oAuth for logins (#11183)
* change MyQ binding to use now required oAuth for authentication

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Clean up error handling

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Cleanup checkstyle errors

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* missing newline

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Remove unused classes

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Add token listener

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* add a redirect limit...just in case

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Don't resue the oAuth service if we have been disosed or its closed.  Reduce logging verbosity.

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Force login if we get a 401 response

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-09-11 13:41:28 +02:00
Dan CunninghamandGitHub e465155d84 [hydrawise] Migrate to new GraphQL based API (#10947)
* [hydrawise] Migrated to new GraphQL based API

Fixes #7261

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Addressed PR comments.

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Address PR review comments.

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-08-01 20:03:37 +02:00
Dan CunninghamandGitHub e0257bb76f [iaqualink] Fixes critical login issue due to changed auth URLs. Moves 'model' package to 'dto' to fix checkstyle warnings. (#10853)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-06-12 13:39:17 +02:00
Dan CunninghamandGitHub 32c1e65799 [venstarthermostat] Use doubles over Int or float types when processing temperatures, fix Checkstyle Warnings (#10740)
* Use a single numeric type (double), remove ints and floats

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Rebases with master.  Fixes All Checkstyle warning, renames package 'model' -> 'dto'

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-06-06 19:34:35 +02:00
Dan CunninghamandGitHub 9810995d09 [openhabcloud] Accept all Jetty supported http method types (#10600)
* Accept all Jetty supported http method types
This fixes a number of open issues due to the fact that we were only accepting a limited number of http method types.  The effect of this was some functionality like DELETE or HEAD requests would just not work when using the cloud service, which madee our UI look broken in different ways,  also it poluted the users log with a lot of messages.

Fixes https://github.com/openhab/openhab-core/issues/2312
Fixes https://github.com/openhab/openhab-cloud/issues/328

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-04-28 09:12:01 +02:00
Dan CunninghamandGitHub c5a2882a16 [openhab-cloud] Fixes Jetty upgrade issue (#10487)
This removes the ResponseListener class and replaces it with lambda functions for the various Jetty response listeners. This seems to fix our duplicate onContent issue in #10470 , although i'm not at all clear why.
Fixes #10470

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-04-08 22:12:44 +02:00
Dan CunninghamandGitHub 42edf53a5a [MyQ] Initial commit of the MyQ binding for OH3 (#9347)
* Rebase with main, update license headers
* Small PR cleanups
* One last small PR cleanup
* Syntactical sugar
* Updated error handling
* Spelling mistake

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-02-26 14:50:25 -08:00
Dan CunninghamandGitHub 6cb9f3a93e [generacmobilelink| Initial Contribution (#9322)
* This is the initial contribution of the Generac MobileLink binding.  This allows the  Generac line of generators using their MobileLink cloud service to be monitored as things in openHAB.
* bump to 3.1

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2020-12-27 21:49:30 -08:00