-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
text_sensor:
- platform: modbus_controller
modbus_controller_id: mod_bus_controller
bitmask: 0
register_type: holding
address: 0x11
raw_encode: HEXBYTES
name: "CV CC"
lambda: |-
uint16_t value = modbus_controller::word_from_hex_str(x, 0);
switch (value) {
case 0000: return std::string("CV");
case 0001: return std::string("CC");
default: return std::string("Unknown");
}
return x;
for Constant Curent and for Constant Voltage
you have 2 sensor with on off
maybe its help
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels