Skip to content

Commit

Permalink
Merge pull request #2356 from MichaelDvP/dev
Browse files Browse the repository at this point in the history
prepare for modbus support AM200, #2354
  • Loading branch information
proddy authored Jan 16, 2025
2 parents 1dd1b47 + 4642a50 commit c3f7540
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/emsesp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,10 @@ void EMSESP::dump_all_entities(uuid::console::Shell & shell) {
if (device.device_type == DeviceType::MIXER) {
device_id = 0x20; // hc
}
// For Heatsource set AM200
if (device.device_type == DeviceType::HEATSOURCE) {
device_id = EMSdevice::EMS_DEVICE_ID_AHS1;
}

// add the device and print out all the entities
// for testing the mixer use ... if (device.product_id == 69) {
Expand Down

0 comments on commit c3f7540

Please sign in to comment.