Skip to content
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

[hdpowerview] Repeater support #12060

Closed
jlaur opened this issue Jan 16, 2022 · 0 comments · Fixed by #12061 or #12259
Closed

[hdpowerview] Repeater support #12060

jlaur opened this issue Jan 16, 2022 · 0 comments · Fixed by #12061 or #12259
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@jlaur
Copy link
Contributor

jlaur commented Jan 16, 2022

Repeaters can be added to the PowerView system to improve signal reception for shades too far away from the PowerView Hub (shades with power supplies unfortunately do not serve as repeaters). Repeaters don't do much except for repeating signals, but they are known by the Hub and they can be configured with blinking enabled/disabled as well as identied by flashing the LED. Furthermore, when performing a shade survey for signal strength, the ID of any used repeater is returned, which makes it possible to verify if any given shade is in fact using the repeater.

Supporting the Repeater as a thing would make it possible to:

  • Enable/disable blinking during commands. For example this could be used to disable at night when repeater is in a bedroom.
  • Flash repeater LED's on request. For example this could be used in combination with a motion sensor to provide position lighting at night.
  • See firmware version information.

API information

Get all repeaters

Request URL: GET /api/repeaters/
Response:

{
	"repeaterIds": [
		17805
	],
	"repeaterData": [
		{
			"id": 17805,
			"blinkEnabled": false,
			"roomId": 23331,
			"groupId": 49464,
			"firmware": {
				"revision": 2,
				"subRevision": 0,
				"build": 2928,
				"index": 33
			},
			"name": "UmVwZWF0ZXIgc292ZXbDpnJlbHNl"
		}
	]
}

Enable blinking

Request URL: PUT /api/repeaters/17805
Request body: {"repeater":{"blinkEnabled":true,"id":17805}}
Response:

{
	"repeater": {
		"id": 17805,
		"blinkEnabled": true,
		"roomId": 23331,
		"groupId": 49464,
		"firmware": {
			"revision": 2,
			"subRevision": 0,
			"build": 2928,
			"index": 33
		},
		"name": "UmVwZWF0ZXIgc292ZXbDpnJlbHNl"
	}
}

Identify

Request URL: GET /api/repeaters/17805?identify=true
Response:

{
	"repeater": {
		"id": 17805,
		"blinkEnabled": false,
		"roomId": 23331,
		"groupId": 49464,
		"firmware": {
			"revision": 2,
			"subRevision": 0,
			"build": 2928,
			"index": 33
		},
		"name": "UmVwZWF0ZXIgc292ZXbDpnJlbHNl"
	}
}
@jlaur jlaur added the enhancement An enhancement or new feature for an existing add-on label Jan 16, 2022
@jlaur jlaur changed the title [hdpowerview] Support repeaters [hdpowerview] Repeater support Jan 16, 2022
jlaur added a commit to jlaur/openhab-addons that referenced this issue Jan 16, 2022
Fixes openhab#12060

Signed-off-by: Jacob Laursen <[email protected]>
jlaur added a commit to jlaur/openhab-addons that referenced this issue Jan 17, 2022
Fixes openhab#12060

Signed-off-by: Jacob Laursen <[email protected]>
fwolter pushed a commit that referenced this issue Jan 24, 2022
* Add support for repeaters.

Fixes #12060

Signed-off-by: Jacob Laursen <[email protected]>

* Simplify thing type filtering.

Signed-off-by: Jacob Laursen <[email protected]>

* Improve robustness of configuration ID validation/initialization.

Signed-off-by: Jacob Laursen <[email protected]>

* Convert repeater-identify to command channel.

Signed-off-by: Jacob Laursen <[email protected]>

* Fix logged warning.

Signed-off-by: Jacob Laursen <[email protected]>

* Skip unneeded bridge status logic.

Signed-off-by: Jacob Laursen <[email protected]>

* Skip redundant logging.

Signed-off-by: Jacob Laursen <[email protected]>

* Fix chanenl type label for blinking enabled.

Signed-off-by: Jacob Laursen <[email protected]>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this issue Jan 28, 2022
* Add support for repeaters.

Fixes openhab#12060

Signed-off-by: Jacob Laursen <[email protected]>

* Simplify thing type filtering.

Signed-off-by: Jacob Laursen <[email protected]>

* Improve robustness of configuration ID validation/initialization.

Signed-off-by: Jacob Laursen <[email protected]>

* Convert repeater-identify to command channel.

Signed-off-by: Jacob Laursen <[email protected]>

* Fix logged warning.

Signed-off-by: Jacob Laursen <[email protected]>

* Skip unneeded bridge status logic.

Signed-off-by: Jacob Laursen <[email protected]>

* Skip redundant logging.

Signed-off-by: Jacob Laursen <[email protected]>

* Fix chanenl type label for blinking enabled.

Signed-off-by: Jacob Laursen <[email protected]>
NickWaterton pushed a commit to NickWaterton/openhab-addons that referenced this issue Apr 27, 2022
* Add support for repeaters.

Fixes openhab#12060

Signed-off-by: Jacob Laursen <[email protected]>

* Simplify thing type filtering.

Signed-off-by: Jacob Laursen <[email protected]>

* Improve robustness of configuration ID validation/initialization.

Signed-off-by: Jacob Laursen <[email protected]>

* Convert repeater-identify to command channel.

Signed-off-by: Jacob Laursen <[email protected]>

* Fix logged warning.

Signed-off-by: Jacob Laursen <[email protected]>

* Skip unneeded bridge status logic.

Signed-off-by: Jacob Laursen <[email protected]>

* Skip redundant logging.

Signed-off-by: Jacob Laursen <[email protected]>

* Fix chanenl type label for blinking enabled.

Signed-off-by: Jacob Laursen <[email protected]>
Signed-off-by: Nick Waterton <[email protected]>
andan67 pushed a commit to andan67/openhab-addons that referenced this issue Nov 6, 2022
* Add support for repeaters.

Fixes openhab#12060

Signed-off-by: Jacob Laursen <[email protected]>

* Simplify thing type filtering.

Signed-off-by: Jacob Laursen <[email protected]>

* Improve robustness of configuration ID validation/initialization.

Signed-off-by: Jacob Laursen <[email protected]>

* Convert repeater-identify to command channel.

Signed-off-by: Jacob Laursen <[email protected]>

* Fix logged warning.

Signed-off-by: Jacob Laursen <[email protected]>

* Skip unneeded bridge status logic.

Signed-off-by: Jacob Laursen <[email protected]>

* Skip redundant logging.

Signed-off-by: Jacob Laursen <[email protected]>

* Fix chanenl type label for blinking enabled.

Signed-off-by: Jacob Laursen <[email protected]>
andrasU pushed a commit to andrasU/openhab-addons that referenced this issue Nov 12, 2022
* Add support for repeaters.

Fixes openhab#12060

Signed-off-by: Jacob Laursen <[email protected]>

* Simplify thing type filtering.

Signed-off-by: Jacob Laursen <[email protected]>

* Improve robustness of configuration ID validation/initialization.

Signed-off-by: Jacob Laursen <[email protected]>

* Convert repeater-identify to command channel.

Signed-off-by: Jacob Laursen <[email protected]>

* Fix logged warning.

Signed-off-by: Jacob Laursen <[email protected]>

* Skip unneeded bridge status logic.

Signed-off-by: Jacob Laursen <[email protected]>

* Skip redundant logging.

Signed-off-by: Jacob Laursen <[email protected]>

* Fix chanenl type label for blinking enabled.

Signed-off-by: Jacob Laursen <[email protected]>
Signed-off-by: Andras Uhrin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
1 participant