Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ The following table lists the software IDs and device/board combinations that ha
| 469 | W 487 S | EDPW 228-A | Mitsubishi M38078MF | *Check inlet (PC)* indicator | 🟢 Fully supported |
| 605 | G 651 I PLUS-3 | EGPL 542-C | Mitsubishi M38027M8 | *Salt (PC)* indicator | 🟢 Fully supported |
| 629 | W 2446 | EDPL 126-B | Mitsubishi M38079MF-308FP | *Check inlet (PC)* indicator | 🟢 Fully supported |
| 2088 | W 3241 | EDPL 162-B | Mitsubishi M38079EFFP | *Check inlet (PC)* indicator | 🟢 Fully supported |

If your appliance is not listed here but has a model number similar to one of the above, it might already be compatible. In all other cases, determining the **software ID** is the first step toward adding support for new devices.

Expand Down
4 changes: 4 additions & 0 deletions protocol/src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//! Use the [`connect`] function to automatically select the correct device
//! implementation based on the devices's software ID.

pub mod id2088;
pub mod id324;
pub mod id360;
pub mod id419;
Expand Down Expand Up @@ -453,6 +454,9 @@ pub async fn connect<'a, P: 'a + Read + Write>(
id629::compatible_software_ids!() => {
Ok(Box::new(id629::WashingMachine::initialize(intf, id).await?) as Box<dyn Device<P>>)
}
id2088::compatible_software_ids!() => {
Ok(Box::new(id2088::WashingMachine::initialize(intf, id).await?) as Box<dyn Device<P>>)
}
_ => Err(Error::UnknownSoftwareId(id)),
}
}
Expand Down
Loading
Loading