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

GetFeatureByRef fails if device has overlapping Status Graphics #352

Open
sjhill01 opened this issue Aug 26, 2023 · 0 comments
Open

GetFeatureByRef fails if device has overlapping Status Graphics #352

sjhill01 opened this issue Aug 26, 2023 · 0 comments
Labels
App Misbehavior This problem is causing HomeSeer to not do what was expected. NOT FOR PLUGINS HS Core This issue involves changes to core HS systems. NOT FOR PLUGINS To Do This issue is in need of attention

Comments

@sjhill01
Copy link
Contributor

Environment

HomeSeer

OS

Any

HS Version

v4.x

Development

PSDK Version

Any

Language

Any

IDE

N/A

Dev OS

N/A

Page

N/A

Plugin

Any

Problem

Description

HS3 allowed status values to overlap - either range 1 overlapping range 2 or a range with individual values in the middle of the range, etc. Everyone can agree this is a problem and shouldn't have happened. The problem is that when using the HS4 PSDK to retrieve devices, if they've been migrated from HS3 and still have conflicting status graphics (probably also controls), an error occurs and the device isn't returned to the plugin.

This is related to #211 .
image

Screenshots

Expected Behavior

What did you expect to happen?

Steps to Reproduce

Provide steps so the HomeSeer team can reproduce the reported problem and see the same thing:

  1. Attempt to retrieve a feature using GetFeatureByRef(ref).
  2. Note error in Homeseer log
  3. Not device is not set

Most recent discussion on this can be found here. In this particular case it's really bad because it can't be fixed because the Z-wave plugin is resetting the VSGs all the time, but that's just a secondary issue.

Logs

If applicable, include log output from the plugin console and/or the HomeSeer logs. If the logs take up more than a few lines, consider attaching a file.

@sjhill01 sjhill01 added App Misbehavior This problem is causing HomeSeer to not do what was expected. NOT FOR PLUGINS HS Core This issue involves changes to core HS systems. NOT FOR PLUGINS To Do This issue is in need of attention labels Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Misbehavior This problem is causing HomeSeer to not do what was expected. NOT FOR PLUGINS HS Core This issue involves changes to core HS systems. NOT FOR PLUGINS To Do This issue is in need of attention
Projects
None yet
Development

No branches or pull requests

1 participant