Data documentation

The common data structures and defitions.

This file is part of python-openzwave project https://github.com/OpenZWave/python-openzwave.

platform:Unix, Windows, MacOS X
sinopsis:openzwave C++

License : GPL(v3)

python-openzwave is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

python-openzwave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with python-openzwave. If not, see http://www.gnu.org/licenses.

libopenzwave.PyNotifications = ['ValueAdded', 'ValueRemoved', 'ValueChanged', 'ValueRefreshed', 'Group', 'NodeNew', 'NodeAdded', 'NodeRemoved', 'NodeProtocolInfo', 'NodeNaming', 'NodeEvent', 'PollingDisabled', 'PollingEnabled', 'SceneEvent', 'CreateButton', 'DeleteButton', 'ButtonOn', 'ButtonOff', 'DriverReady', 'DriverFailed', 'DriverReset', 'EssentialNodeQueriesComplete', 'NodeQueriesComplete', 'AwakeNodesQueried', 'AllNodesQueriedSomeDead', 'AllNodesQueried', 'Notification', 'DriverRemoved', 'ControllerCommand', 'NodeReset']

list() -> new empty list list(iterable) -> new list initialized from iterable’s items

libopenzwave.PyGenres = ['Basic', 'User', 'Config', 'System']

list() -> new empty list list(iterable) -> new list initialized from iterable’s items

libopenzwave.PyValueTypes = ['Bool', 'Byte', 'Decimal', 'Int', 'List', 'Schedule', 'Short', 'String', 'Button', 'Raw']

list() -> new empty list list(iterable) -> new list initialized from iterable’s items

libopenzwave.PyLogLevels = {'Info': {'doc': "Everything's working fine...these messages provide streamlined feedback on each message", 'value': 7}, 'None': {'doc': 'Disable all logging', 'value': 1}, 'StreamDetail': {'doc': 'Will include low-level byte transfers from controller to buffer to application and back', 'value': 10}, 'Internal': {'doc': 'Used only within the log class (uses existing timestamp, etc', 'value': 11}, 'Always': {'doc': 'These messages should always be shown', 'value': 2}, 'Detail': {'doc': 'Detailed information on the progress of each message', 'value': 8}, 'Invalid': {'doc': 'Invalid Log Status', 'value': 0}, 'Alert': {'doc': 'Something unexpected by the library about which the controlling application should be aware', 'value': 6}, 'Warning': {'doc': 'A minor issue from which the library should be able to recover', 'value': 5}, 'Error': {'doc': 'A serious issue with the library or the network', 'value': 4}, 'Debug': {'doc': 'Very detailed information on progress that will create a huge log file quickly but this level (as others) can be queued and sent to the log only on an error or warning', 'value': 9}, 'Fatal': {'doc': 'A likely fatal issue in the library', 'value': 3}}

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s

(key, value) pairs
dict(iterable) -> new dictionary initialized as if via:

d = {} for k, v in iterable:

d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)
libopenzwave.PyControllerCommand = ['None', 'AddDevice', 'CreateNewPrimary', 'ReceiveConfiguration', 'RemoveDevice', 'RemoveFailedNode', 'HasNodeFailed', 'ReplaceFailedNode', 'TransferPrimaryRole', 'RequestNetworkUpdate', 'RequestNodeNeighborUpdate', 'AssignReturnRoute', 'DeleteAllReturnRoutes', 'SendNodeInformation', 'ReplicationSend', 'CreateButton', 'DeleteButton']

list() -> new empty list list(iterable) -> new list initialized from iterable’s items

libopenzwave.PyControllerState = ['Normal', 'Starting', 'Cancel', 'Error', 'Waiting', 'Sleeping', 'InProgress', 'Completed', 'Failed', 'NodeOK', 'NodeFailed']

list() -> new empty list list(iterable) -> new list initialized from iterable’s items