Giter Site home page Giter Site logo

Comments (27)

dmamontov avatar dmamontov commented on June 14, 2024 1

I do not see from the image that the name of the printer is changing. As soon as I get home, I'll try to add logging and download the beta version, let's see what you get

from hass-miwifi.

dmamontov avatar dmamontov commented on June 14, 2024

It’s very strange, I don’t repeat this. logically, a unique identifier is generated based on the name of the router and the name of the button.

image

What version of hass do you have? and what version of the component?

from hass-miwifi.

FaserF avatar FaserF commented on June 14, 2024

Sorry for the less informations.

Home Assistant OS 5.13
core-2021.5.3
supervisor-2021.04.3
Latest hass-miwifi version: 1.1.1

And one thing to add:
I have two xiaomi router, one stays on most of the time if there is no electricity error. The other one is only being turned on one to two times a week.
Looks like the one thats only turned on sometimes creates the new entities. The other one that is being restarted sometime seems not to create new entities.

from hass-miwifi.

dmamontov avatar dmamontov commented on June 14, 2024

I will restart now, and check

from hass-miwifi.

FaserF avatar FaserF commented on June 14, 2024

Maybe the difference is:

Router 1: Is turned on when HA was restarted
Router 2: is most likely turned off when HA was restarted and will be turned on some hours/days later -> Could this generate a new ID?

Thank you already for your Help!

from hass-miwifi.

FaserF avatar FaserF commented on June 14, 2024

image

Here is a screenshot to show the issue a bit better. The ones marked with green is my Xiaomi AX3600 router which is connected 24/7 and in router mode and works as intended and correctly.

The marked ones in red is my Xiaomi AX1800 router which is in Mesh AP mode and is connected only about twice a week for some hours and then gets cutted from the power.
As you can see it seems to create a new entity on every new start from the router.

What exactly is the primary ID for you addon to detect that the router should be the same one and not a "new one"? The MAC Adress?

from hass-miwifi.

areyoufserious avatar areyoufserious commented on June 14, 2024

Hi
I have the same case as @FaserF has

Router Redmi 6
image

Option "Forced booting of devices in repeater mode [PRO]" set
FYI Redmi 6 works as access point

from hass-miwifi.

dmamontov avatar dmamontov commented on June 14, 2024

What exactly is the primary ID for you addon to detect that the router should be the same one and not a "new one"? The MAC Adress?

Mac + IP, I got out of this situation by specifying a static ip in the main router on the poppy mesh

from hass-miwifi.

dmamontov avatar dmamontov commented on June 14, 2024

Option "Forced booting of devices in repeater mode [PRO]" set
FYI Redmi 6 works as access point

Refine your hass version

from hass-miwifi.

areyoufserious avatar areyoufserious commented on June 14, 2024

Option "Forced booting of devices in repeater mode [PRO]" set
FYI Redmi 6 works as access point

Refine your hass version

I’m sorry, please describe how to do it

That what I have in supervisor menu
image

from hass-miwifi.

dmamontov avatar dmamontov commented on June 14, 2024

Option "Forced booting of devices in repeater mode [PRO]" set
FYI Redmi 6 works as access point

Refine your hass version

I’m sorry, please describe how to do it

That what I have in supervisor menu
image

I have an older one, I'll try to update.

from hass-miwifi.

FaserF avatar FaserF commented on June 14, 2024

Just for extra information. I am running the latest HA Versions available:

System Health

version core-2021.7.4
installation_type Home Assistant OS
dev false
hassio true
docker true
virtualenv false
python_version 3.9.5
os_name Linux
os_version 5.10.17-v8
arch aarch64
timezone Europe/Berlin
Home Assistant Community Store
GitHub API ok
Github API Calls Remaining 5000
Installed Version 1.13.2
Stage running
Available Repositories 915
Installed Repositories 20
Home Assistant Supervisor
host_os Home Assistant OS 6.1
update_channel stable
supervisor_version supervisor-2021.06.8
docker_version 20.10.6
disk_total 234.0 GB
disk_used 47.4 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons SSH & Web Terminal (9.0.0), ADB - Android Debug Bridge (0.8.0), AdGuard Home (4.1.6), Home Assistant Google Drive Backup (0.104.3), MariaDB (2.4.0), Mosquitto broker (6.0.1), AirCast (3.1.1), Assistant Relay (0.7.4), Visual Studio Code (3.6.0), Bitwarden (Vaultwarden) (0.12.0), Google Assistant SDK (2.5.0), Nextcloud (20.0.3), heimdall (0.1.1), Nginx Proxy Manager (0.11.0), Wiki.JS (1.1.0), Apache2 Minimal with MariaDB Client (2.1.0), Bash Script Executer (1.2.0), xqrepack (1.2.0), Freenom-dns-updater (1.0.0), Switch LAN Play Server (1.2.0), Switch LAN Play Client (1.0.0)
Lovelace
dashboards 2
resources 9
views 12
mode storage
Spotify
api_endpoint_reachable ok

from hass-miwifi.

dmamontov avatar dmamontov commented on June 14, 2024

Just for extra information. I am running the latest HA Versions available:

System Health

version core-2021.7.4
installation_type Home Assistant OS
dev false
hassio true
docker true
virtualenv false
python_version 3.9.5
os_name Linux
os_version 5.10.17-v8
arch aarch64
timezone Europe/Berlin
Home Assistant Community Store
Home Assistant Supervisor
Lovelace
Spotify

A debug does not swear?

from hass-miwifi.

FaserF avatar FaserF commented on June 14, 2024

if it is for any help I can enable debugging, if you tell me what you need.
Right now it was disabled all the time

from hass-miwifi.

areyoufserious avatar areyoufserious commented on June 14, 2024

@dmamontov hi
are there any updates? What help do you need?

from hass-miwifi.

dmamontov avatar dmamontov commented on June 14, 2024

A release v1.2.0 has been released that fixes this problem.

from hass-miwifi.

areyoufserious avatar areyoufserious commented on June 14, 2024

Thanks for your efforts!

according to description I deleted all entities by myself, then I launched service

also I deleted all related files in .storage folder and reinstalled integration

Fix doesn’t work, issue still reproduces

from hass-miwifi.

dmamontov avatar dmamontov commented on June 14, 2024

Fix doesn’t work, issue still reproduces

Do you have static ip assigned to all devices?

from hass-miwifi.

FaserF avatar FaserF commented on June 14, 2024

I can also confirm that it still sadly doesnt work. Issue stays the same.

I am using no static IP, but the IP has not changed.

from hass-miwifi.

dmamontov avatar dmamontov commented on June 14, 2024

This principle has never happened to me. But it is from your images above that I see that the name of the router has changed inside. Which is very strange.

from hass-miwifi.

FaserF avatar FaserF commented on June 14, 2024

The name stays the same, only a new number gets added at the end (_2 _3 _4 and so on)
IP stays the same and MAC shouldn't change too.

But one thing to mention: My both Xiaomi Routers are running in mesh mode. The one thats making trouble is the mesh client (not the mesh master).

from hass-miwifi.

dmamontov avatar dmamontov commented on June 14, 2024

And on which entities?

from hass-miwifi.

areyoufserious avatar areyoufserious commented on June 14, 2024

FYI: my routers don't connect over mesh

structure of entitiies
image

from hass-miwifi.

FaserF avatar FaserF commented on June 14, 2024

And on which entities?

every entity for me

from hass-miwifi.

areyoufserious avatar areyoufserious commented on June 14, 2024

And on which entities?

every entity for me

the same for me

from hass-miwifi.

dmamontov avatar dmamontov commented on June 14, 2024

https://github.com/dmamontov/hass-miwifi/releases/tag/v1.2.2b

Try to put with the same actions

from hass-miwifi.

FaserF avatar FaserF commented on June 14, 2024

Seems to work. Didn’t do a extended testing but so far it works and no new entities get created.
thank you already!

from hass-miwifi.

Related Issues (20)

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.