Having similar issues with the tracker
2 IOS devices showing correctly ie takes about 2-3 minutes to change state from home to away
My Android device never changes state
Checking Edgeos I can confirm there is no traffic ??
Remove the android and re add via options - no change. Android device re added and immediately showed as home, although it was off
I have the same problem.
also reproduced it, will fix it in the next few days
Fixed it locally, running it for test few more hours to make sure it’s working, will update once released
Great. My Android devices now show “true” just a few seconds after WiFi is switched back on.
(The delay to show false does not bother me)
Thanks @bar
Working well for me as well, just a question would it be possible to have an adjustable time for home and away - same as other trackers ie 5 min no activity Mark away but have this as variable set in the config.
Thanks for all your work
Will add it in the next release
2020-05-08
Implemented enhancements:
- Consider away interval can be modified in integration’s options, interval is in seconds, default=180
Fixed bugs:
- Fix default value of unit in integration’s options
Question: On what is the data based from the bytes, kbytes or mbytes received or sent which is populated as an attribute in the binary sensor of the interfaces? I can’t find them in edgeos. I have different stats over there on the home page. But none of them seem to be the right ones
Based on traffic analysis data:
you can find them also in Developer tools, in Network tab, filter by stats
, you will find there all the messages the component is parsing
Thanks!
I’m having this weird difference for bytes sent and recieved in my HA sensor and what I find over there. I’m monitoring eth0. Any ideas why?
Checked, there is a bug which I’ll fix soon (multiplied by 8),
In EdgeOS UI there’s also a bug - byte to MBytes / GBytes is being calculated by 1,000 and not 1,024,
so even after I’ll fix it there will be a gap between component and EdgeOS UI
thanks for reporting this issue
Thanks. Appreciate the work!
2020-05-08 #2
Fixed bugs:
- Fix redundant calculation of bits to bytes as data is already bytes
Just reporting in in case it’s of any use in troubleshooting, but I constantly get these errors in the log:
Thanks for your work!
2020-05-10 17:37:20 ERROR (MainThread) [custom_components.edgeos.clients.web_api] Failed to connect https://192.168.0.1/api/edge/data.json?data=sys_info, Error: None, Line: 147
2020-05-10 17:37:20 ERROR (MainThread) [custom_components.edgeos.managers.data_manager] Failed to load devices data, Error: 'NoneType' object has no attribute 'get', Line: 323
2020-05-10 17:37:20 ERROR (MainThread) [custom_components.edgeos.clients.web_api] Failed to connect https://192.168.0.1/api/edge/data.json?data=sys_info, Error: None, Line: 147
2020-05-10 17:37:20 ERROR (MainThread) [custom_components.edgeos.managers.data_manager] Failed to load devices data, Error: 'NoneType' object has no attribute 'get', Line: 323
2020-05-10 17:37:20 ERROR (MainThread) [custom_components.edgeos.clients.web_api] Failed to connect https://192.168.0.1/api/edge/data.json?data=sys_info, Error: None, Line: 147
2020-05-10 17:37:20 ERROR (MainThread) [custom_components.edgeos.managers.data_manager] Failed to load devices data, Error: 'NoneType' object has no attribute 'get', Line: 323
2020-05-10 17:37:33 ERROR (MainThread) [custom_components.edgeos.clients.web_api] Failed to connect https://192.168.0.1/api/edge/get.json, Error: None, Line: 147
2020-05-10 17:37:33 ERROR (MainThread) [custom_components.edgeos.clients.web_api] Invalid response, not contain success status
2020-05-10 17:37:33 ERROR (MainThread) [custom_components.edgeos.clients.web_api] Failed to connect https://192.168.0.1/api/edge/get.json, Error: None, Line: 147
2020-05-10 17:37:33 ERROR (MainThread) [custom_components.edgeos.clients.web_api] Invalid response, not contain success status
2020-05-10 17:37:41 ERROR (MainThread) [custom_components.edgeos.managers.data_manager] Failed to load devices data, Error: 'NoneType' object has no attribute 'get', Line: 323
2020-05-10 17:37:42 ERROR (MainThread) [custom_components.edgeos.managers.data_manager] Failed to load devices data, Error: 'NoneType' object has no attribute 'get', Line: 323
2020-05-10 17:39:04 ERROR (MainThread) [custom_components.edgeos.clients.web_api] Failed to connect https://192.168.0.1/api/edge/data.json?data=dhcp_leases, Error: None, Line: 147
2020-05-10 17:39:04 WARNING (MainThread) [custom_components.edgeos.managers.data_manager] Invalid data: None
2020-05-10 17:39:04 ERROR (MainThread) [custom_components.edgeos.clients.web_api] Failed to connect https://192.168.0.1/api/edge/data.json?data=dhcp_leases, Error: None, Line: 147
2020-05-10 17:39:04 WARNING (MainThread) [custom_components.edgeos.managers.data_manager] Invalid data: None
2020-05-10 17:39:56 ERROR (MainThread) [custom_components.edgeos.clients.web_api] Failed to connect https://192.168.0.1/api/edge/data.json?data=dhcp_leases, Error: None, Line: 147
2020-05-10 17:39:56 WARNING (MainThread) [custom_components.edgeos.managers.data_manager] Invalid data: None
2020-05-10 17:40:43 ERROR (MainThread) [custom_components.edgeos.clients.web_api] Failed to connect https://192.168.0.1/api/edge/data.json?data=sys_info, Error: None, Line: 147
2020-05-10 17:40:43 ERROR (MainThread) [custom_components.edgeos.managers.data_manager] Failed to load devices data, Error: 'NoneType' object has no attribute 'get', Line: 323
I saw those error 2 days ago and start to work on solution, the cause is that the session expires from unknow (so far) reason and needs to relogin, fix for that is bit tricky…
Will update in few days once will have time
HI
using this sensor:
edge_etho_in:
edge_etho_in:
friendly_name: "Edgerouter EthO In"
unit_of_measurement: 'MBytes'
value_template: "{{ state_attr('binary_sensor.edgeos_interface_eth0', 'MBytes (Received)') }}"
- how to change it to gigabytes ?
- how to drop the sensor value each x days ?
tnx
There’s a unit setting to display it in GB unit or divide it with 1024 once above 1024, I’m using Grafna it’s built in
Data is from the edge router no option to reset it from the integration
Hi Bar! Thanks for you great job! This is the best component for home assistant in my opinion.
I would like to take a doubt with you: What time do you use to recognize devices?
Because when I view the time of the last network connection of a certain device, the time informed by its integration is different from the time shown on my home assistant.
For example: In my ETH3 with your integration i see this information: Last Activity
2020-05-12T00:21:54.856752, but the hour in my home assistant is 21:25.
It seems that the component does not search for an available time by the home assistant.
Thanks for your help!