Coder Social home page Coder Social logo

home-assistant-custom-components-xiaomi-vacuum-map-camera's Introduction

stars_badge followers_badge Community Forum Ko-Fi buycoffee.to PayPal.Me Revolut.Me

GitHub stats

Custom components

Name Stars Version HACS support Downloads Last commit Forum
Antistorm stars_badge release_badge HACS Default Downloads Last commit
Burze.dzis.net stars_badge release_badge HACS Default Downloads Last commit
Custom Templates stars_badge release_badge HACS Default Downloads Last commit community_badge
Dom 5 stars_badge release_badge HACS Custom Downloads Last commit
Froggy stars_badge release_badge HACS Custom Downloads Last commit
GNE Photovoltaic Monitoring stars_badge release_badge HACS Default Downloads Last commit
Google Keep stars_badge release_badge HACS Default Downloads Last commit community_badge
Hydro IMGW stars_badge release_badge HACS Custom Downloads Last commit
iMPK stars_badge release_badge HACS Default Downloads Last commit
Looko2 stars_badge release_badge HACS Default Downloads Last commit
MPK Łódź stars_badge release_badge HACS Custom Downloads Last commit
MPK Kraków stars_badge release_badge HACS Custom Downloads Last commit
MPK Rzeszów stars_badge release_badge HACS Custom Downloads Last commit
Rozkładzik stars_badge release_badge HACS Default Downloads Last commit
Saver stars_badge release_badge HACS Default Downloads Last commit community_badge
SmartThings Soundbar stars_badge release_badge HACS Custom Downloads Last commit
Tauron AMIplus stars_badge release_badge HACS Default Downloads Last commit
Xiaomi Cloud Map Extractor stars_badge release_badge HACS Default Downloads Last commit Community Forum
Xiaomi Vacuum Map Camera stars_badge release_badge HACS Custom Downloads Last commit

Custom Lovelace cards

Name Stars Version HACS support Downloads Last commit Forum
Google Keep card stars_badge release_badge HACS Default Last commit community_badge
HTML card stars_badge release_badge HACS Default Last commit
HTML Jinja2 Template card stars_badge release_badge HACS Default Last commit community_badge
Local Conditional card stars_badge release_badge HACS Default Downloads Last commit community_badge
Nixie card stars_badge release_badge HACS Custom Downloads Last commit
Nixie Clock card stars_badge release_badge HACS Custom Downloads Last commit
Xiaomi Vacuum Map card stars_badge release_badge HACS Default Downloads Last commit community_badge

Clients

Name Stars Version Downloads Last commit Forum
Home Assistant Taskbar Menu stars_badge release_badge Downloads Last commit Community Forum

Picture-elements cards

Name Stars Last commit
Xiaomi Vacuum Black card stars_badge Last commit

Others

Name Stars Version Downloads Last commit Forum
Xiaomi Vacuum garage stars_badge Last commit community_badge
Xiaomi Cloud Token Extractor stars_badge release_badge Downloads Last commit

Support

If you want to support my work with a donation you can use one of the following platforms:

Platform Payment methods Link Comment
Ko-fi
  • PayPal
  • Credit card
  • Buy Me a Coffee at ko-fi.com
  • No fees
  • Single or monthly payment
  • buycoffee.to
  • BLIK
  • Bank transfer
  • Postaw mi kawę na buycoffee.to
    PayPal
  • PayPal
  • PayPal Logo
  • No fees
  • Revolut
  • Revolut
  • Credit Card
  • Revolut
  • No fees
  • home-assistant-custom-components-xiaomi-vacuum-map-camera's People

    Contributors

    piotrmachowski avatar

    Stargazers

     avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

    Watchers

     avatar  avatar  avatar  avatar  avatar  avatar

    home-assistant-custom-components-xiaomi-vacuum-map-camera's Issues

    Getting room ids/names?

    Hi
    Sorry, could not find a discussion page for the integration
    I see that it can get the room names and numbers (possibly from the map extractor?)
    Do you mind sharing how I can get that info direct out of the vacuum? I tried a few MIOT integrations that suppose to get info via SIID and PIID but I cannot get available room numbers (or at least a total room count)

    Error after HA start

    I have the below error after HA start and although a camera entity is created, there are no data even after the first start.

    Error adding entities for domain camera with platform xiaomi_vacuum_map
    Error while setting up xiaomi_vacuum_map platform for camera
    

    Traceback (most recent call last):
    File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
    await asyncio.gather(*tasks)
    File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 613, in _async_add_entity
    await entity.add_to_platform_finish()
    File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 748, in add_to_platform_finish
    self.async_write_ha_state()
    File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 505, in async_write_ha_state
    self._async_write_ha_state()
    File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 541, in _async_write_ha_state
    extra_state_attributes = self.extra_state_attributes
    File "/config/custom_components/xiaomi_vacuum_map/camera.py", line 76, in extra_state_attributes
    "vacuum_status": self.hass.states.get(self._vacuum_entity).state
    AttributeError: 'NoneType' object has no attribute 'state'

    I just want to use your great HA card with a valetudo installed roborock v1. Thank you.

    Map without root posibility

    I've found a fork of Valetudo RE and the guy says he reveresed engineerd the web api off xiaomi to retrieve the map: https://github.com/Xento/valetudo/blob/testing/lib/SmarthomeAPI.js
    When I have time I will check if this still works but maybe this is a interesting way to retrieve the map.

    Edit:
    I've it locally running and it looks like it's working. It gets the latest run map of the robot.
    I'm going to try create a basic python script for this to see if I get it working

    Vacuum is not visible in the image

    My configuration is as follows:

      - platform: xiaomi_vacuum_map
        vacuum_ssh: "[email protected]"
        vacuum_entity: "vacuum.roborock"
    

    I can see the map but the vacuum is not present in the image. Also the state of the camera entity has a long list of paths such as follows:

    path:
      - x: 508.36
        'y': 514.88
        a: -1.515
      - x: 508.32
        'y': 514.84
        a: -1.514
      - x: 508.32
        'y': 514.9
        a: -1.51
      - x: 508.44
        'y': 514.9
        a: -1.519
      - x: 508.54
        'y': 514.68
        a: -1.537
      - x: 508.48
        'y': 515
        a: -1.523
      - x: 508.36
        'y': 514.7
        a: -1.515
      - x: 508.5
        'y': 514.68
        a: -1.537
    ...
    ...
    

    Log warning about width and height

    I'm getting this warning in the log:
    "The camera entity camera.xiaomi_cloud_map_extractor does not support requesting width and height, please open an issue with the integration author"

    So here is the issue ;-)

    This is on HA Core 2021.12.5 / Xiaomi Vacuum Map Extractor v2.1.1.

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❤️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.