I forgot to mention that the version of the file that I am getting has some wrong encoding:
I am getting this error:
File “/home/homeassistant/.homeassistant/custom_components/edgeos/init.py”, line 98
_LOGGER.info(f’Stop begun at {event_time}’)
^
SyntaxError: invalid syntax
Great component . Thanks for sharing this .
Also looking for ways to speed up detection.
Maybe could add an option if no data is exchanged for x minutes with a particular device, then consider as disconnected ?
I don’t understand how to graph a particular attribute from this now. When I add an “entity” card, it only shows me the connected status, and I can click and see details. I’d really like to show a graph of the current bandwidth usage for example, but I can’t find any docs on how to plot just the one attribute from this device now. Any tips?
How hard will it be to integrate the “load balancing” feature of the EdgeOS into this cumponent and expose both the “watchdog” status and the “actual wlb status” into Hass?
Bonus if we could get a notification of transition between connections.
@stevenhorner and @fmplaw - I didn’t encounter that kind of issue, over the last few days,
I did made some changes that during the way there could of be buggy commit,
Can you try taking the latest version?
few questions:
Are you using HACS to update the component?
is there a configuration in EdgeOS for auto logout?
when it happens, can you check what is the data of component sensor.edgeos_system_uptime (state and attributes)?
Can you please change the log just for edgeos to debug?
that will assist to understand what happened with the component over the time.
i dont use hacs to update the component, but i download it from github et copy it via samba share.
About auto logout i dont find any settings on EdgeOS.
This is my data from the ensor.edgeos_system_uptime :
sensor.edgeos_system_uptime - state 0
unit_of_measurement: seconds
friendly_name: EdgeOS System Uptime
API Last Update: 2019-10-19T23:28:56.184442
WS Last Update: 2019-10-19T23:14:37.692576
Added that functionality in latest version, will take 10 minutes to identify that the device is disconnected (will try to reduce it to 2-3 minutes).
After deeper investigation of that issue why it takes 30 minutes to notify the device is offline - I found out that the router tries to send requests and count them for the first 30 minutes the device is disconnected.