EM100 to Alert, add first telegrams

This commit is contained in:
MichaelDvP
2023-10-20 14:32:30 +02:00
parent c533e91643
commit 3fe9296139
3 changed files with 45 additions and 3 deletions

View File

@@ -26,6 +26,18 @@ namespace emsesp {
class Alert : public EMSdevice {
public:
Alert(uint8_t device_type, uint8_t device_id, uint8_t product_id, const char * version, const char * name, uint8_t flags, uint8_t brand);
private:
void process_EM100SetMessage(std::shared_ptr<const Telegram> telegram);
void process_EM100MonitorMessage(std::shared_ptr<const Telegram> telegram);
void process_EM100TempMessage(std::shared_ptr<const Telegram> telegram);
int16_t headerTemp_; // T0
int16_t input_; // IO1
uint8_t errorState_; // OE1
uint8_t errorPump_; // IE0
uint8_t outPower_; // IO1
uint8_t dip_; // dip switch
};
} // namespace emsesp