parvez / network_scanner

This Home Assistant integration provides a network scanner that identifies all devices on your local network. Utilizing the provided IP range and MAC address mappings, it gives each identified device a user-friendly name and manufacturer information.
MIT License
78 stars 1 forks source link

Edit network Config ? #7

Open IanAdd opened 4 months ago

IanAdd commented 4 months ago

Hi, is there a way to edit the config rather than delete and recreate when I want to add a specific description to a MAC ?

Trevsweb commented 2 months ago

I would also like this. maybe a way of manually adding individual items after initial setup?

Trevsweb commented 2 months ago

I found that if you install a file browser on your home assistant you can navigate to homeassistant>.storage>core.config_entries

search for the network_mapper entry and then you can add/edit the maps. but remember the loop only looks for 25

Jonny-T-cyber commented 2 months ago

I found that if you install a file browser on your home assistant you can navigate to homeassistant>.storage>core.config_entries

search for the network_mapper entry and then you can add/edit the maps. but remember the loop only looks for 25

I tried to modify the file core.config_entries but the changes are not seen. There could be other configurations, perhaps in DB or other files that are maintained. In fact, if I uninstall the integration I expect it's configuration files to be deleted. Instead by reinstalling it again I find the following entries already present, and I wonder where they are stored?

image

Has anyone succeeded? I agree with @IanAdd request to implement a tool to reconfigure the integration...

Thanks

luispadarotto commented 2 months ago

I was looking for the same thing, have anyone found a way to do it? Thanks!