7static const char *
const TAG =
"vbus.binary_sensor";
10 ESP_LOGCONFIG(TAG,
"Deltasol BS Plus:");
22 LOG_BINARY_SENSOR(
" ",
"Option Heat Quantity Measurement", this->
hqm_bsensor_);
53 ESP_LOGCONFIG(TAG,
"Deltasol BS 2009:");
75 ESP_LOGCONFIG(TAG,
"Deltasol C:");
94 ESP_LOGCONFIG(TAG,
"Deltasol CS2:");
113 ESP_LOGCONFIG(TAG,
"Deltasol CS4:");
132 ESP_LOGCONFIG(TAG,
"Deltasol CS Plus:");
151 ESP_LOGCONFIG(TAG,
"DeltaSol BS/2 (DrainBack):");
170 ESP_LOGCONFIG(TAG,
"VBus Custom Binary Sensor:");
172 ESP_LOGCONFIG(TAG,
" Source address: ANY");
174 ESP_LOGCONFIG(TAG,
" Source address: 0x%04x", this->
source_);
176 if (this->
dest_ == 0xffff) {
177 ESP_LOGCONFIG(TAG,
" Dest address: ANY");
179 ESP_LOGCONFIG(TAG,
" Dest address: 0x%04x", this->
dest_);
182 ESP_LOGCONFIG(TAG,
" Command: ANY");
184 ESP_LOGCONFIG(TAG,
" Command: 0x%04x", this->
command_);
186 ESP_LOGCONFIG(TAG,
" Binary Sensors:");
188 LOG_BINARY_SENSOR(
" ",
"-", bsensor);
194 bsensor->parse_message(
message);
void publish_state(bool new_state)
Publish a new state to the front-end.
binary_sensor::BinarySensor * frost_protection_active_bsensor_
void handle_message(std::vector< uint8_t > &message) override
binary_sensor::BinarySensor * s4_error_bsensor_
binary_sensor::BinarySensor * s3_error_bsensor_
binary_sensor::BinarySensor * s1_error_bsensor_
binary_sensor::BinarySensor * s2_error_bsensor_
void dump_config() override
binary_sensor::BinarySensor * s4_error_bsensor_
void dump_config() override
binary_sensor::BinarySensor * s3_error_bsensor_
void handle_message(std::vector< uint8_t > &message) override
binary_sensor::BinarySensor * s2_error_bsensor_
binary_sensor::BinarySensor * s1_error_bsensor_
binary_sensor::BinarySensor * collector_max_bsensor_
binary_sensor::BinarySensor * hqm_bsensor_
binary_sensor::BinarySensor * s3_error_bsensor_
binary_sensor::BinarySensor * relay1_bsensor_
binary_sensor::BinarySensor * s1_error_bsensor_
void dump_config() override
binary_sensor::BinarySensor * collector_frost_bsensor_
binary_sensor::BinarySensor * s4_error_bsensor_
binary_sensor::BinarySensor * s2_error_bsensor_
binary_sensor::BinarySensor * tube_collector_bsensor_
binary_sensor::BinarySensor * relay2_bsensor_
binary_sensor::BinarySensor * collector_min_bsensor_
binary_sensor::BinarySensor * recooling_bsensor_
void handle_message(std::vector< uint8_t > &message) override
void dump_config() override
binary_sensor::BinarySensor * s1_error_bsensor_
binary_sensor::BinarySensor * s3_error_bsensor_
binary_sensor::BinarySensor * s4_error_bsensor_
void handle_message(std::vector< uint8_t > &message) override
binary_sensor::BinarySensor * s2_error_bsensor_
void handle_message(std::vector< uint8_t > &message) override
binary_sensor::BinarySensor * s2_error_bsensor_
binary_sensor::BinarySensor * s1_error_bsensor_
void dump_config() override
binary_sensor::BinarySensor * s4_error_bsensor_
binary_sensor::BinarySensor * s3_error_bsensor_
binary_sensor::BinarySensor * s4_error_bsensor_
void handle_message(std::vector< uint8_t > &message) override
void dump_config() override
binary_sensor::BinarySensor * s3_error_bsensor_
binary_sensor::BinarySensor * s2_error_bsensor_
binary_sensor::BinarySensor * s1_error_bsensor_
binary_sensor::BinarySensor * s1_error_bsensor_
binary_sensor::BinarySensor * s2_error_bsensor_
void dump_config() override
void handle_message(std::vector< uint8_t > &message) override
binary_sensor::BinarySensor * s3_error_bsensor_
binary_sensor::BinarySensor * s4_error_bsensor_
void dump_config() override
std::vector< VBusCustomSubBSensor * > bsensors_
void handle_message(std::vector< uint8_t > &message) override
void parse_message(std::vector< uint8_t > &message)
message_parser_t message_parser_
const LogString * message