Closed Timeteo closed 1 year ago
are you sure you are working with edgeos component?
the logs are for unifi_discovery
thanks
Thanks for the reply @elad-bar, and thanks for sharing this integration.
Below is the integration I am using and following the "Known Issues" link under the 3 dots brought me to this repo, so I believe I am using the edgeos component.
I may have shared an incorrect log entry. This integration is the only Unifi/Edge integration I have so I thought the entry with unifi_discovery was just a library that is being used with this integration. I don't have any other addons or integrations for Unifi. The only Unifi hardware I have is this one Edgerouter.
When I try to change the log level in the set-up to "debug", I get this:
This error originated from a custom integration.
Logger: custom_components.edgeos
Source: custom_components/edgeos/__init__.py:40
Integration: Ubiquiti EdgeOS Routers (documentation, issues)
First occurred: 8:29:58 AM (1 occurrences)
Last logged: 8:29:58 AM
Failed to load EdgeOS, error: Unable to find service logger.set_level, line: 27
And the integration shows as failed with that 'debug' log level set.
When trying to reconfigure the integration, the areas to select what to monitor is no longer a selectable field but just a static label:
Trying to reset the logging back to 'default' and 'Save', throws an error for the devices (but not interfaces) that were previously selected to monitor:
The only way to get back from this point is to uninstall/reinstall the integration. If you can guide me to get more helpful logs, then I'll share those. Thanks.
Did you set static ips or is it dynamically being set by the dhcp?
In regards to the logs, pls try to set it manually:
logger:
default: warning
logs:
custom_components.edgeos: debug
Thanks
I am only attempting to monitor devices with static IPs. Actually, DHCP assigned devices don't even appear under 'monitored devices'. For now I am limiting to a single device 'Tims-Rig' Here is the edgeos.log . Thanks
can you please update if it happens with v2.x?
thanks
I checked it against the data showing in the EdgeRouter and it matches :-). Thanks! I like how the new version allows me to add/remove the tracked devices on the fly without having to go into the integration configuration screen. Thanks again.
Thanks for the feedback
Not sure when my monitored devices stopped reporting 'Connected'. Monitored interface show correct status, but devices show 'Disconnected' even though the traffic sent/received sensors are updating. I see this in the logs:
I tried to bump logging to debug and then this appeared in the logs: