BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
The class represents a standalone device Conrad Radiator thermostat. It allows to communicate with the device via Conrad interface. More...
#include <RadiatorThermostat.h>
Public Types | |
typedef Poco::SharedPtr < RadiatorThermostat > | Ptr |
Public Types inherited from BeeeOn::ConradDevice | |
typedef Poco::SharedPtr < ConradDevice > | Ptr |
Public Member Functions | |
RadiatorThermostat (const DeviceID &id, const RefreshTime &refresh) | |
void | requestModifyState (const ModuleID &moduleID, const double value, FHEMClient::Ptr fhemClient) override |
SensorData | parseMessage (const Poco::JSON::Object::Ptr message) override |
Parses the message from Conrad interface and creates from it SensorData. More... | |
Public Member Functions inherited from BeeeOn::ConradDevice | |
ConradDevice (const DeviceID &id, const RefreshTime &refresh, const std::string &productName, const std::list< ModuleType > &moduleTypes) | |
DeviceID | id () const |
RefreshTime | refreshTime () const |
std::list< ModuleType > | moduleTypes () const |
std::string | vendor () const |
std::string | productName () const |
Static Public Attributes | |
static const std::string | PRODUCT_NAME = "HM-CC-RT-DN" |
Static Public Attributes inherited from BeeeOn::ConradDevice | |
static const std::string | VENDOR_NAME = "Conrad" |
Additional Inherited Members | |
Static Public Member Functions inherited from BeeeOn::ConradDevice | |
static std::string | constructFHEMDeviceId (const DeviceID &id) |
Returns FHEM device id constructed from a given DeviceID. | |
Protected Member Functions inherited from BeeeOn::ConradDevice | |
bool | isNumber (const std::string &s) |
Returns true or false depending if the string is number or not. | |
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) |
Protected Attributes inherited from BeeeOn::ConradDevice | |
const DeviceID | m_deviceId |
RefreshTime | m_refresh |
std::string | m_productName |
std::list< ModuleType > | m_moduleTypes |
The class represents a standalone device Conrad Radiator thermostat. It allows to communicate with the device via Conrad interface.
|
overridevirtual |
Parses the message from Conrad interface and creates from it SensorData.
Message example: { "channels" : { "Clima" : "T: 21.2 desired: 17.0 valve: 0", "ClimaTeam" : "unpeered", "Climate" : "unpeered", "Main" : "CMDs_done", "Weather" : "21.2", "WindowRec" : "last:trigLast", "remote" : "unpeered" }, "dev" : "HM_36BA59", "event" : "message", "model" : "HM-CC-RT-DN", "raw" : "A0FE0861036BA590000000A88D40C0000", "rssi" : -41.5, "serial" : "MEQ0233325", "type" : "thermostat" }
Implements BeeeOn::ConradDevice.