Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Feature] Add Media Bridge mode #494

Closed
mihsu81 opened this issue Jan 28, 2023 · 8 comments
Closed

[Feature] Add Media Bridge mode #494

mihsu81 opened this issue Jan 28, 2023 · 8 comments
Assignees
Labels
enhancement New feature or request next Ready in the next release

Comments

@mihsu81
Copy link

mihsu81 commented Jan 28, 2023

The problem

Add support for Media Bridge mode where it links wired devices to the router over WiFi.
It should only create device trackers for wired devices.
At the moment I'm using a media bridge integrated as an AP and it creates duplicate device trackers for the wireless devices already connected to the router.
Thanks in advance.

Specific device(s)?

No

Firmware type

No

@mihsu81 mihsu81 added the enhancement New feature or request label Jan 28, 2023
@Vaskivskyi
Copy link
Owner

Hello. So in general, the integration in Media Bridge mode should do everything the same (create all the same sensors), but create only wired connection device_trackers and not create wireless?

@mihsu81
Copy link
Author

mihsu81 commented Jan 28, 2023

Yes, the same sensors and wired device_trackers.
In fact at the moment the integration doesn't create device_trackers for wired devices.

@Vaskivskyi Vaskivskyi added the next Ready in the next release label Feb 5, 2023
@Vaskivskyi
Copy link
Owner

Hey. The feature is available in the new 0.19.0 version

@mihsu81
Copy link
Author

mihsu81 commented Feb 7, 2023

Thank you for the new feature.

@mihsu81
Copy link
Author

mihsu81 commented Feb 8, 2023

It looks like there aren't any device_trackers created for the wired devices into the media bridge.
image

The device trackers are created under the Router integration but they either appear disconnected (Tuya Gateway) or connected with incomplete info (HAOS02). By comparison, devices wired into an AiMesh (Tahoma) get all the details correctly.

image

image

image

@Vaskivskyi
Copy link
Owner

Do your devices show up in the router Web UI and wired and not show in the integration when set up in the Media Bridge mode?

@mihsu81
Copy link
Author

mihsu81 commented Feb 26, 2023

I've noticed 2 different situations with the 2 devices connected over ethernet to the media bridge.

Devices connected to the media bridge with the IP 192.168.45.240.
image

Case 1.
HAOS02 with IP 192.168.45.202 and MAC 7C:C2:C6:33:34:34.

The media bridge seen on the router with the IP of HAOS02, but with its own MAC.
image

HAOS02 seen with the inversed MAC addresses.
image

The correct MAC addresses of HAOS02.
image

This issue seems to be caused by the fact that the media bridge also shows some of the devices connected to the router and this seems to mess the device details.

In HA it appears unavailable and without any details and under the integration of the router, not the media bridge.

image

Case 2.
BETHAYN-ASUS with IP 192.168.45.135 and MAC 50:46:5D:E4:55:60.

The device is shown with the correct details and only appears on the media bridge, not the router.
image

image

In HA it appears Home but is missing some of the details. Also it appears under the integration of the router, not of the media bridge.
image

@Vaskivskyi
Copy link
Owner

The problem you have is actually really strange. I have again tested the media bridge mode and for me everything works as expected on the integration side - it only tracks all the devices connected via a wired connection (as shown in the router Web UI).

I would kindly ask you to create a new issue (bug report). Just because I might lose the discussion since it is in a feature request issue which is already closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request next Ready in the next release
Projects
None yet
Development

No branches or pull requests

2 participants