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

See detailed device information #1396

Open
dhylands opened this issue Oct 10, 2018 · 9 comments
Open

See detailed device information #1396

dhylands opened this issue Oct 10, 2018 · 9 comments

Comments

@dhylands
Copy link
Contributor

As a user, I'd like to be able to get some detailed information about a particular device.

This might include information like the following (for a zigbee device):

  • The 64-bit device address
  • The 16-bit device address
  • Perhaps other information like endpoints/clusters - although this is available from the saved config file
  • A message count
  • the time the last message was received from the device

I don't think that this type of information merits being a property.

@dhylands dhylands changed the title See detailed device informatio See detailed device information Oct 10, 2018
@benfrancis
Copy link
Member

I can't think of any reason that ordinary end users would be interested in this information, but I can see why developers would.

I agree this protocol-specific shouldn't be represented as properties in the Web Thing API. If we were to display this information in a developer section of the UI, it would perhaps need some kind of back channel API to get the information from adapters.

@dhylands
Copy link
Contributor Author

Knowing the last time a message was received from a device allows the user to know if the device is "alive".

@mrstegeman
Copy link
Contributor

@dhylands Shouldn't this be handled by the adapter itself, now that we have the ability to report device connection state?

@dhylands
Copy link
Contributor Author

Battery powered devices only report in every couple of hours or when an actual event occurs, so it may take a few hours before you can detect if a device is "dead" or not.

@flatsiedatsie
Copy link
Contributor

Pre-emptively (as Domoticz does not support this): allow the time after which a device is registered as 'missing' to be individually set per device.

For example, I have plant sensors that only report once a day, and that's normal.

I have temperature sensors that report every 2 seconds.

The threshold for "hey it seems to be gone" should be different for both.

@flatsiedatsie
Copy link
Contributor

By the way, perhaps ideally the system could have the ability to learn that some devices communicate at regular intervals, and alert if that changes. That wouldn't work on irregular things like door sensors, but it would work great for things like the plant sensor. And in those cases it would save the user (or device creator) from defining the interval.

@flatsiedatsie
Copy link
Contributor

An idea:

mozilla-thing-page

mozilla-thing-general

@GarthDB
Copy link

GarthDB commented Jun 14, 2019

As I mentioned in WebThingsIO/zwave-adapter#65, this information would be useful in making a homebridge-plugin (so the gateway can be used as a homekit hub) since HAP supports a lot more device information.

Also, in response to @benfrancis's initial reply, as an end user, this information is useful when debug/troubleshooting devices. I had a Z-Wave switch fail on me but without having to open up the switch plate I could look up the model and serial number Wink App (and homebridge) to get warranty information.

@benfrancis
Copy link
Member

See also: WebThingsIO/zwave-adapter#65 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants