Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

New FurnitureTypes (26-31) #849

Open
badigit opened this issue Jan 21, 2025 · 5 comments
Open

New FurnitureTypes (26-31) #849

badigit opened this issue Jan 21, 2025 · 5 comments
Labels
enhancement New feature or request

Comments

@badigit
Copy link
Collaborator

badigit commented Jan 21, 2025

The plugin for xiaomi.vacuum.d110ch has new furniture types that can't recognise integration

File ‘/config/custom_components/dreame_vacuum/dreame/map.py’, line 3384, in decode_map_data_from_partial
ValueError: 29 is not a valid FurnitureType

Here they are

{
    type: 26,
    name: _string.default.tmp_1214, // Table
    icon: _image.default.icon_furniture_26, 
    iconW: 43,
    iconH: 19,
    width: 600,
    height: 1400
  }, {
    type: 27
  }, {
    type: 28
  }, {
    type: 29,
    name: _string.default.tmp_1209, // Armchair (narrow armrests)
    icon: _image.default.icon_furniture_29,
    iconW: 28,
    iconH: 24,
    width: 800,
    height: 700
  }, {
    type: 30,
    name: _string.default.tmp_1208, // Multi-seat sofa (narrow armrests)
    icon: _image.default.icon_furniture_30,
    iconW: 52,
    iconH: 16,
    width: 2300,
    height: 700
  }, {
    type: 31,
    name: _string.default.tmp_1211, // L-shaped sofa (right)
    icon: _image.default.icon_furniture_31,
    iconW: 43,
    iconH: 26,
    width: 2800,
    height: 1700
  }
@Tasshack
Copy link
Owner

It would be much better if you can just share the plugin with me since I would require new furniture png images and their icons too.

@badigit badigit changed the title New FurnitureTypes New FurnitureTypes (26-31) Jan 21, 2025
@badigit
Copy link
Collaborator Author

badigit commented Jan 21, 2025

Already send it to you in community.home-assistant direct messages

@Tasshack
Copy link
Owner

Even the latest Dreame X50 Pro plugin does not have these furnitures so I have no idea which Dreame device d110 is based on.
For instance; d103cn is actually based on L40, c107 is L20, c102cn is L10s and c102gl is D10s.

@Tasshack
Copy link
Owner

Is it possible to strech furniture images while editing the map from the app or they maintain their aspect ratio?

@badigit
Copy link
Collaborator Author

badigit commented Jan 21, 2025

Is it possible to strech furniture images while editing the map from the app or they maintain their aspect ratio?

Yes, it's stretchable.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants