Closed vmakeev closed 2 years ago
@CosticaPuntaru
maybe this can help you?
https://github.com/vmakeev/huawei_mesh_router/tree/feature/device_tags#device-tags
@CosticaPuntaru
Tags can already be used in version 0.7.4. I hope this will be a sufficient alternative to an unusable guest network
Discussed in https://github.com/vmakeev/huawei_mesh_router/discussions/5
In #3, it was proposed to add sensors for the number of devices connected to the guest network.
Unfortunately, Huawei routers allow guest devices to connect only to the primary router, and not to the entire mesh network, which makes it impossible to create triggers for the number of guest devices outside the coverage area of the primary router (because guest devices will simply not connect to the network).
Perhaps an alternative would be to create device tags at the component level.
In this scenario, the sensors for the number of connected devices will provide the following attributes:
sensor.huawei_mesh_3_clients_garage
guest_clients
: 0hilink_clients
: 0wireless_clients
: 1lan_clients
: 0wifi_2_4_clients
: 0wifi_5_clients
: 1tagged_homeowners_clients
: 1 // Michael's phonetagged_visitors_clients
: 0sensor.huawei_mesh_3_clients_living_room
guest_clients
: 0hilink_clients
: 0wireless_clients
: 2lan_clients
: 0wifi_2_4_clients
: 0wifi_5_clients
: 2tagged_homeowners_clients
: 1 // Michael's laptoptagged_visitors_clients
: 1 // Victoria's phonesensor.huawei_mesh_3_clients_primary_router
guest_clients
: 0hilink_clients
: 2wireless_clients
: 3lan_clients
: 0wifi_2_4_clients
: 0wifi_5_clients
: 3tagged_homeowners_clients
: 0tagged_visitors_clients
: 1 // Eugene's phoneThe list of tags and the mapping of MAC addresses of devices to specific groups should be placed in the component's settings.
Multiple tags can be attached to each device.