BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
Support PIR sensor from different manufacturers that seems to be based on the same PCB marked as ST02L1(V1), 20140514 RoHS. More...
#include <ST02L1ZWaveMapperRegistry.h>
Additional Inherited Members | |
Public Types inherited from BeeeOn::ZWaveMapperRegistry | |
typedef Poco::SharedPtr < ZWaveMapperRegistry > | Ptr |
Public Member Functions inherited from BeeeOn::SpecificZWaveMapperRegistry | |
Mapper::Ptr | resolve (const ZWaveNode &node) override |
Try to resolve a Mapper implementation suitable for the given Z-Wave node. | |
void | setSpecMap (const std::map< std::string, std::string > &specMap) |
Set the spec mapping where the map key is a string in form: VENDOR:PRODUCT and the value is the name of MapperInstantiator to be used. | |
Protected Member Functions inherited from BeeeOn::SpecificZWaveMapperRegistry | |
void | registerInstantiator (const std::string &name, MapperInstantiator::Ptr instantiator) |
The subclass would call this method for each instantiator type it offers. The name of instantiator is referred from the specMap property. More... | |
Protected Member Functions inherited from BeeeOn::Loggable | |
void | setupLogger (Poco::Logger *logger=0) const |
Poco::Logger & | logger () const |
Loggable (const ClassInfo &info) | |
Loggable (const std::type_info &info) | |
Static Protected Member Functions inherited from BeeeOn::Loggable | |
static Poco::Logger & | forMethod (const char *name) |
static Poco::Logger & | forClass (const ClassInfo &info) |
static Poco::Logger & | forClass (const std::type_info &info) |
template<typename T > | |
static Poco::Logger & | forInstance (const T *i) |
static void | configureSimple (Poco::Logger &logger, const std::string &level) |
static void | logException (Poco::Logger &logger, const Poco::Message::Priority priority, const Poco::Exception &e, const char *file, size_t line) |
Support PIR sensor from different manufacturers that seems to be based on the same PCB marked as ST02L1(V1), 20140514 RoHS.
It covers sensors of 3 categories:
Each category has a corresponding Mapper implementation that can be used in the specMap property as: