BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
Certain Z-Wave nodes can be mapped to the BeeeOn system generically. This allows to support any node type without knowing it in advance. The GenericZWaveMapperRegistry implements this approach. More...
#include <GenericZWaveMapperRegistry.h>
Data Structures | |
class | GenericMapper |
Public Member Functions | |
void | loadTypesMapping (const std::string &file) |
Load XML file with the types mapping between Z-Wave and BeeeOn. | |
void | loadTypesMapping (std::istream &in) |
Mapper::Ptr | resolve (const ZWaveNode &node) override |
Additional Inherited Members | |
Public Types inherited from BeeeOn::ZWaveMapperRegistry | |
typedef Poco::SharedPtr < ZWaveMapperRegistry > | Ptr |
Certain Z-Wave nodes can be mapped to the BeeeOn system generically. This allows to support any node type without knowing it in advance. The GenericZWaveMapperRegistry implements this approach.
Devices resolved by the GenericZWaveMapperRegistry would have mangled device ID with 0xff in the top bits of the ident part.
Reported devices resolved by the GenericZWaveMapperRegistry would have a product name with appended string " (generic)". Thus, such devices can be distinguished easily from specific implementations that might have different module types.
|
overridevirtual |
Map the given ZWaveNode instance on-fly to the BeeeOn system by using the GenericMapper.
Implements BeeeOn::ZWaveMapperRegistry.