Data documentation
The common data structures and defitions.
- This file is part of python-openzwave project http://code.google.com/p/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', 'AllNodesQueried', 'AllNodesQueriedSomeDead', 'Notification']
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']
list() -> new empty list
list(iterable) -> new list initialized from iterable’s items
-
libopenzwave.PyLogLevels = {'Info': 6, 'None': 0, 'StreamDetail': 9, 'Internal': 10, 'Always': 1, 'Detail': 7, 'Alert': 5, 'Warning': 4, 'Error': 3, 'Debug': 8, 'Fatal': 2}
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