5 #include <Poco/SharedPtr.h>
7 #include "bluetooth/RevogiRGBLight.h"
17 typedef Poco::SharedPtr<RevogiSmartCandle> Ptr;
19 static const std::set<std::string> LIGHT_NAMES;
23 const std::string& name,
25 const Poco::Timespan& timeout,
27 const HciInterface::Ptr hci);
32 const double value)
override;
RefreshTime represents time of refreshing values from sensors. E.g. sensors are polled periodically o...
Definition: RefreshTime.h:24
Definition: SensorData.h:20
The class represents generic Revogi RGB light. It allows to control the on/off, brightness and color ...
Definition: RevogiRGBLight.h:19
Definition: MACAddress.h:8
RefreshTime refresh() const override
Regular period telling how often to call the method PollableDevice::poll(). The refresh must contain ...
Definition: BLESmartDevice.cpp:31
Definition: ModuleID.h:12
SensorData parseValues(const std::vector< unsigned char > &values) const override
Definition: RevogiSmartCandle.cpp:67
void requestModifyState(const ModuleID &moduleID, const double value) override
Modifies the device module given by moduleID to a given value.
Definition: RevogiSmartCandle.cpp:39
The class represents Revogi Delite-ED33 smart candle. It allows to control all its modules...
Definition: RevogiSmartCandle.h:15