-
Notifications
You must be signed in to change notification settings - Fork 141
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
1.6 Update - New Notification Types (python-openzwave) #179
Comments
ok couple of things on this. corrections in the docs and also an enum entry with a typo in the name. enum OpenZWave::Notification::UserAlertNotification the enum entry This is what is there for the docs.
and this is what it should be
I am not sure if the enum entry name is going to be some kind of an API breaking thing. I just noticed it when adding the user alerts to python_openzwave. I was doing a copy and paste of the notification descriptions and thought it could use a little rewording and also some fixes. Let me know if I shouldn't post anything about the documentation. |
This is now done. |
Fixed the enum - Its a new notification, so I doubt this will break as people are still adopting. Regarding the documentation fix - The change around "Node(s)" is incorrect. We can only signal a single node. For Doco fixes, why don't you just submit a PR direct to the OZW repo? |
I am going to need some more information from you then. I am thinking that my interpretation of the description of that enum entry is not correct. when it states config file. this could be one of 2 files. either the user config file or a manufacturer device config file. But in either case wouldn't more then a single node be effected from the file being out of date. I do not imagine that the manufacturer config files are timestamped and checked, but if it is.. if a user has more then one of the same device then more then a single node would be effected. and if it is the user config file, if that is out of date then all of the node data contained within it is also out of date. more then a single node. Or is it a specific entry in the config file that is out of date? if that is the case then I am thinking that the description could use some tweaking. |
It’s the device config files that lives in the config//.xml directories. Each file has a revision number and OZW checks for later revisions on the OZW site. If you have a few of the same devices you will get a notification for each device. |
I got it now, because a notification is received for each node that is effected the GetNodeID is a method that is attached to the notification it's self. Maybe use this for the description would be better.
might be a better description. thoughts? |
As Per the OZW 1.6 Release Notes, the Notification class has some new types and a UserAlert type that should be displayed to the user
Need to update to support these.
The text was updated successfully, but these errors were encountered: