Thanks for the integration/component
Hi all,
I’ve got this integration working - it’s great
I’ve configured a device tracker that detects when my phone is present or not, but unfortunately I’m experiencing a weird issue.
It randomly thinks it’s present but it’s not, this only seems to happen for a very short time before the status changes back to away.
Does anyone else have this issue or know how to fix it?
Thanks,
J.
Just reporting just in case it’s of any use in troubleshooting, but I constantly get these errors in the log:
2021-10-11 19:38:04 ERROR (MainThread) [custom_components.edgeos.managers.entity_manager] Failed to update, step: Start updating domain device_tracker, Error: 'device_tracker', Line: 145
Thanks for your work!
Edit: please ignore that. I resolved by reinstalling the custom component.
Hi, I’m a big fan of both EdgeOS (I have an EdgeRouter X) and HA, so I love this integration.
One question that has been bugging me: in my eth0 entity, it says the units it’s reporting are Mbytes/s. However the EdgeRouter does everything in Mbits/sec as does the rest of the internet. I’ve been tracking this as Mbits by multiplying Mbytes * 8 but I get numbers that seem too high.
I’ve looked in the code for the integration but can’t seem to find the right spot. Are we sure this is reporting MBytes and not Mbits?
Thanks
Looking at mine, I can assure you that Mbytes/s is being reported accurately! (Speedtest reports my maximum)
I am loving this integration! Very nicely done. I have a suggestion however- with these two values here:
MBytes/ps (Received): 0.5373201370239258
MBytes/ps (Sent): 0.025223731994628906
You mean MB/s. I find the way the integration lists them as a little confusing. The ‘/’ slash should already designate ‘per’ - meaning you dont need the ‘p’ in 'ps.
So I would prefer if they were listed as:
MB/s (Received): 0.5373201370239258
MB/s (Sent): 0.025223731994628906
I haven’t seen it listed anywhere as MBytes/ps. Alternatively, it would be cool if the integration had an option to choose how you want speed to be shown and with which units.
It is accurate as I run it in parallel to SNMP telegraf data collection and results are the same,
In addition, checked the entire code, the only place the mentioned the number 8 was in consts.py - DEFAULT_CONSIDER_AWAY_INTERVAL = 180.
can you please provide all the logs including incoming events so I’ll be able to understand why the numbers are higher?
thanks
Installed this component using the HACS-> Integrations → explore & download way, there the integration is working fine. But when i want to install / find it in the Devices & Services → add integration there nothing .
The log tells me :
2022-01-26 15:43:01 WARNING (SyncWorker_9) [homeassistant.loader] We found a custom integration edgeos which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
No other rules are displayd
Running : Home Assistant 2021.12.10 / core-2021.12.10
What did i do wrong ?
Since that component is a custom (not official) component there is a warning, if that is the only warning you have from that component- perfect
The warning is all I’ve got i can’t install / config it because I can’t find it
If the component is installed over HACS and you can’t find it after restarting most probably you need to clean cache in browser
Ok, but just to be sure: where is the place to find it, because within the integrations it’s impossible to find for me (even after reset / cache clean etc)
You are looking at the right place - add new integration, can you try in incognito mode?
Thanks
I have had this custom component installed and working for ages but today the latest “stable” HASS version ( 2022.2) has broken it.
Device tracker entities do not show up.
I reverted back to 2021.12.10 and it works again.
(2022.2.0b1 also breaks it)
I use docker-compose
Any help would be appreciated
Will check and update, thanks
can you please provide logs? I’m asking because it’s working for me with core-2022.2.1
I just updated to the latest “stable” version 2022.2.1 and I get the following error.
This error originated from a custom integration.
Logger: custom_components.edgeos.managers.entity_manager
Source: custom_components/edgeos/managers/entity_manager.py:523
Integration: Ubiquiti EdgeOS Routers (documentation)
First occurred: 9:22:06 PM (60 occurrences)
Last logged: 9:23:09 PM
Failed to update, step: Start updating domain device_tracker, Error: ‘device_tracker’, Line: 145
can you please set the component to debug log level (in logger component),
please also update to latest version (released prior to the issue v1.1.8),
Line 145 in the latest version is empty
thanks
I found the problem (I think)
There was legacy device_tracker stuff in my config file…
After removing it all seems well again.
(And I updated to v1.1.8 too)
Thank you for this component. I have tried to show the list of devices in a list form but I cannot make it work. I can access the list of devices in the Templating example area.
Does anyone have any tips on how to achieve this?
Was wondering does anyone else think that a switch which can disable an interface be helpful from this Integration? I have a VPN interface (openvpn vtun0) which I regularly log into the EdgeOS to disable or reenable, and would love to see a switch in HA that I could integrate into automations.
Suggested it in the github issues (under suggestions) as a possible feature. I looked over possible code for a switch.py but is a bit above my capabilities.
It looks like the API that the integration might be using has an ability to enable and disable an interface via the CLI.
To Turn Off
set interfaces openvpn vtun0 disable
To Turn On
set interfaces openvpn vtun0 enable
And enumeration of all available interfaces would be
show interfaces
Wondering if that would be worth some effort to make happen?