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] Support refresh of signal strength #11942

Closed
jlaur opened this issue Jan 2, 2022 · 0 comments · Fixed by #11944
Closed

[hdpowerview] Support refresh of signal strength #11942

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

Comments

@jlaur
Copy link
Contributor

jlaur commented Jan 2, 2022

Channel signalStrength was added by #11198 while #11933 refactored the REFRESH command for shades to be relative to channel for requested item. The missing piece now is the signalStrength channel which currently cannot be refreshed on request.

As with #11260 I don't think it adds much value to add a job for automatically refreshing signal strength. However, the information is notoriously unreliable, so it would add value to be able to manually request an update (e.g. from a rule). Also it would make the REFRESH action feature complete as each channel would have a dedicated method assigned for requesting a hard refresh.

The PowerView app has a feature for explicitly requesting signal strength hard refresh:

image

I have captured the communication. Sending this request for a specific shade, here as concrete example for shade with id 36321:

GET /api/shades/36321?survey=true

Yields a response like this:

{
    "shade_id": 36321,
    "survey": [
        {
            "neighbor_id": 17805,
            "rssi": -84
        }
    ]
}

If it succeeds. If it fails, which also is quite likely to happen, just:

{}
@jlaur jlaur added the enhancement An enhancement or new feature for an existing add-on label Jan 2, 2022
jlaur added a commit to jlaur/openhab-addons that referenced this issue Jan 2, 2022
Fixes openhab#11942

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
lolodomo pushed a commit that referenced this issue Jan 3, 2022
Fixes #11942

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
mischmidt83 pushed a commit to mischmidt83/openhab-addons that referenced this issue Jan 9, 2022
Fixes openhab#11942

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Michael Schmidt <mi.schmidt.83@gmail.com>
moesterheld pushed a commit to moesterheld/openhab-addons that referenced this issue Jan 18, 2022
Fixes openhab#11942

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this issue Jan 28, 2022
Fixes openhab#11942

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
NickWaterton pushed a commit to NickWaterton/openhab-addons that referenced this issue Apr 27, 2022
Fixes openhab#11942

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Nick Waterton <n.waterton@outlook.com>
andan67 pushed a commit to andan67/openhab-addons that referenced this issue Nov 6, 2022
Fixes openhab#11942

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
andrasU pushed a commit to andrasU/openhab-addons that referenced this issue Nov 12, 2022
Fixes openhab#11942

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
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
Development

Successfully merging a pull request may close this issue.

1 participant