Closed sumsethan closed 2 years ago
Are you referring to interfaces?
You can enable store debug data to review all the data points component is using, Once you will enable it, you will have in ha config/.storage 3 files that begins with edgeos. And ends with debug..json, The file with the api instead of represents data from the api, ws is from events of websocket and ha is the data that being used for ha components
Are you referring to interfaces?
yes ,those bonding and vlan interfases does't show as entites ,for example just eth0, eth1, eth2, etc., but nothing like eth0,100, bond0, bond0.100
You can enable store debug data to review all the data points component is using, Once you will enable it, you will have in ha config/.storage 3 files that begins with edgeos. And ends with debug..json, The file with the api instead of represents data from the api, ws is from events of websocket and ha is the data that being used for ha components
I've enabled store debug data but seems no files appears in ha config folde. How long will it takes that json file may appear?
Under the config directory there is .storage directory, files supposed to be there
Under the config directory there is .storage directory, files supposed to be there
oh,found that
in edgeos.*.debug.ws.json 's "interfaces": { section ,there are those what I mentioned interfaces , but doesn't show as entites in UI
part of that json file:
"interfaces": {
"bond0": {
"l1up": "true",
"mac": "***",
"multicast": 101229455.0,
"rx_bps": 128999.0,
"rx_bytes": 1222084482230.0,
"rx_dropped": 675483.0,
"rx_errors": 0.0,
"rx_packets": 2756724393.0,
"tx_bps": 190224.0,
"tx_bytes": 4092219768208.0,
"tx_dropped": 37328.0,
"tx_errors": 0.0,
"tx_packets": 4004786684.0,
"up": "true"
},
"bond0.10": {
"addresses": [
"172.16.10.1/24",
"******/64"
],
"l1up": "true",
"mac": "****",
"multicast": 6842901.0,
"rx_bps": 15965.0,
"rx_bytes": 14008886834.0,
"rx_dropped": 248.0,
"rx_errors": 0.0,
"rx_packets": 151184627.0,
"tx_bps": 32736.0,
"tx_bytes": 135623334267.0,
"tx_dropped": 0.0,
"tx_errors": 0.0,
"tx_packets": 276839976.0,
"up": "true"
},
"bond0.100": {
"addresses": [
"10.1.10.1/24"
],
"l1up": "true",
"mac": "*****",
"multicast": 638442.0,
"rx_bps": 194.0,
"rx_bytes": 2252504179.0,
"rx_dropped": 39.0,
"rx_errors": 0.0,
"rx_packets": 14041435.0,
"tx_bps": 145.0,
"tx_bytes": 4260966730.0,
"tx_dropped": 0.0,
"tx_errors": 0.0,
"tx_packets": 36206220.0,
"up": "true"
},
"bond0.119": {
"addresses": [
"1****/28"
],
"l1up": "true",
"mac": "******",
"multicast": 310606.0,
"rx_bps": 432.0,
"rx_bytes": 2032083101.0,
"rx_dropped": 0.0,
"rx_errors": 0.0,
"rx_packets": 34772284.0,
"tx_bps": 385.0,
"tx_bytes": 2056137321.0,
"tx_dropped": 0.0,
"tx_errors": 0.0,
"tx_packets": 31999833.0,
"up": "true"
},
"bond0.20": {
"addresses": [
"172.16.20.1/24"
],
"l1up": "true",
"mac": "******",
"multicast": 21377.0,
"rx_bps": 0.0,
"rx_bytes": 298602315.0,
"rx_dropped": 0.0,
"rx_errors": 0.0,
"rx_packets": 3226544.0,
"tx_bps": 42.0,
"tx_bytes": 1076129334.0,
"tx_dropped": 0.0,
"tx_errors": 0.0,
"tx_packets": 21853955.0,
"up": "true"
},
"bond0.88": {
"addresses": [
"192.168.88.1/24",
"***********/64"
],
"l1up": "true",
"mac": "***",
"multicast": 89505177.0,
"rx_bps": 37982.0,
"rx_bytes": 451565776522.0,
"rx_dropped": 549.0,
"rx_errors": 0.0,
"rx_packets": 1029340079.0,
"tx_bps": 29927.0,
"tx_bytes": 1025759176669.0,
"tx_dropped": 0.0,
"tx_errors": 0.0,
"tx_packets": 957185728.0,
"up": "true"
},
"eth0": {
"duplex": "half",
"l1up": "false",
"mac": "*****",
"multicast": 0.0,
"rx_bps": 0.0,
"rx_bytes": 0.0,
"rx_dropped": 0.0,
"rx_errors": 0.0,
"rx_packets": 0.0,
"speed": "10",
"tx_bps": 0.0,
"tx_bytes": 0.0,
"tx_dropped": 0.0,
"tx_errors": 0.0,
"tx_packets": 0.0,
"up": "true"
},
"eth1": {
"duplex": "full",
"l1up": "true",
"mac": "******",
"multicast": 11233536.0,
"rx_bps": 88904.0,
"rx_bytes": 625811356725.0,
"rx_dropped": 95285.0,
"rx_errors": 0.0,
"rx_packets": 1509030318.0,
"speed": "1000",
"tx_bps": 155951.0,
"tx_bytes": 2574702083048.0,
"tx_dropped": 11264.0,
"tx_errors": 0.0,
"tx_packets": 2693094606.0,
"up": "true"
},
"eth2": {
"duplex": "full",
"l1up": "true",
"mac": "*****",
"multicast": 89995950.0,
"rx_bps": 40095.0,
"rx_bytes": 596273297253.0,
"rx_dropped": 101026.0,
"rx_errors": 0.0,
"rx_packets": 1247695963.0,
"speed": "1000",
"tx_bps": 34273.0,
"tx_bytes": 1517517686636.0,
"tx_dropped": 26040.0,
"tx_errors": 0.0,
"tx_packets": 1311692092.0,
"up": "true"
},
since V2.0, Bonding and Vlan ports support seems disappeared,Will it return in future versions?
Just to add the same applies to PPPoE interfaces, they showed fine in v1, but haven't appeared in the new format on v2. If you could include these as well that would be great (and necessary to get the current WAN IP into HA).
I will need the full json as you sent for bond (both from ws and api json files), will add it soon
in next release 2.0.13 all interfaces will be available but loopback
Superb! Thank you.
v2.0.13 with all interfaces support released
can you please update if it is working for you?
thanks
Hi, I just updated and still the pppoe0 interface isn't showing. :(
Will need debug information from API, instructions available in last section of README
Thanks
The API data actually returns the pppoe as a sub object of the ethernet interface its connected via:
"eth2": {
"description": "WAN",
"duplex": "auto",
"pppoe": {
"0": {
"default-route": "force",
"firewall": {
"in": {
"name": "WAN_IN"
},
"local": {
"name": "ToRouter"
}
},
"mtu": "1492",
"name-server": "auto",
"password": "abc",
"user-id": "def"
}
},
"speed": "auto"
},
If I pull the ws data the pppoe interface appears as part of the interface list, with the addresses as a sub object..
"interfaces": {
"vtun3": {
"up": "true",
"l1up": "true",
"mac": "2a:20:e6:d2:ba:ae",
"addresses": [
"10.0.254.41/30"
],
"multicast": 0,
"tx_bps": 14207,
"tx_bytes": 57268391,
"tx_errors": 0,
"tx_packets": 101948,
"tx_dropped": 0,
"rx_bps": 10181,
"rx_bytes": 15921019,
"rx_errors": 0,
"rx_packets": 49169,
"rx_dropped": 0
},
"vtun11": {
"up": "true",
"l1up": "true",
"mac": "3e:1d:80:10:0a:fd",
"addresses": [
"10.0.254.70/30"
],
"multicast": 0,
"tx_bps": 0,
"tx_bytes": 392148802,
"tx_errors": 0,
"tx_packets": 870733,
"tx_dropped": 12025,
"rx_bps": 0,
"rx_bytes": 223456817,
"rx_errors": 0,
"rx_packets": 656083,
"rx_dropped": 0
},
"pppoe0": {
"up": "true",
"l1up": "true",
"addresses": [
"a.b.c.d/32"
],
"multicast": 0,
"tx_bps": 469288,
"tx_bytes": 308535283389,
"tx_errors": 0,
"tx_packets": 366385236,
"tx_dropped": 0,
"rx_bps": 31498,
"rx_bytes": 194011054544,
"rx_errors": 0,
"rx_packets": 323096115,
"rx_dropped": 0
},
"switch0": {
"up": "true",
"l1up": "true",
"mac": "18:e8:29:b5:e4:64",
"multicast": 0,
"tx_bps": 0,
"tx_bytes": 510530,
"tx_errors": 0,
"tx_packets": 11083,
"tx_dropped": 0,
"rx_bps": 0,
"rx_bytes": 0,
"rx_errors": 0,
"rx_packets": 0,
"rx_dropped": 0
},
"eth7": {
"up": "true",
"l1up": "false",
"duplex": "half",
"speed": "10",
"mac": "18:e8:29:b5:e4:6c",
"multicast": 0,
"tx_bps": 0,
"tx_bytes": 298,
"tx_errors": 0,
"tx_packets": 3,
"tx_dropped": 0,
"rx_bps": 0,
"rx_bytes": 0,
"rx_errors": 0,
"rx_packets": 0,
"rx_dropped": 0
},
Let me know if you need anything else.
It is kind of complicating since the integration is relaying on the API data to create the device and once created the ws is just to enrich thr data of it with statistics, According to that information it seems that integration should create an additional interface if not found and apply some remapping of the interface types, I can identify 3 additional - vtun (Virtual Tunnel), switch, pppoe
Understood, because the PPPOE interface is a sub object within the API data the object isn't created to then be populated by the WS data...
I can work around the problem, I can simply query the WS data for the interface IP.
On Mon, 24 Oct 2022 at 12:32, Elad Bar @.***> wrote:
It is kind of complicating since the integration is relaying on the API data to create the device and once created the ws is just to enrich thr data of it with statistics, According to that information it seems that integration should create an additional interface if not found and apply some remapping of the interface types, I can identify 3 additional - vtun (Virtual Tunnel), switch, pppoe
— Reply to this email directly, view it on GitHub https://github.com/elad-bar/ha-edgeos/issues/76#issuecomment-1288899510, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZVQ2HCGB3TB77OJVUGR53WEZXUTANCNFSM6AAAAAAREZSLJ4 . You are receiving this because you commented.Message ID: @.***>
It is just a matter of identify the data point of interface from ws and not just from api data, Will get to it soon
please check the latest version (v2.0.15), I don't have such interfaces so I have implemented it based on samples provided to me not real data, If it's not working well, please post debug log level logs and API / WS samples from the API (documentation available in README)
thanks
also missing are the switch0.x interfaces monitored toggle, so the interface status is there, but no way to enable receiving rates errors etc.
included debug from ws stats stream.
{
"interfaces": {
"ifb_eth0": {
"up": "true",
"l1up": "true",
"mac": "92:16:63:bf:fc:69",
"mtu": "1500",
"stats": {
"rx_packets": "776348156",
"tx_packets": "776292188",
"rx_bytes": "554404530722",
"tx_bytes": "554401956194",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "55968",
"tx_dropped": "0",
"multicast": "0",
"rx_bps": "147624",
"tx_bps": "147624"
}
},
"vtun0": {
"up": "true",
"l1up": "true",
"mtu": "1500",
"addresses": [
"192.168.4.1/24"
],
"stats": {
"rx_packets": "0",
"tx_packets": "111944",
"rx_bytes": "0",
"tx_bytes": "12017484",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "0",
"tx_dropped": "0",
"multicast": "0",
"rx_bps": "0",
"tx_bps": "0"
}
},
"tun0": {
"up": "false",
"l1up": "false",
"mtu": "1480",
"stats": {
"rx_packets": "0",
"tx_packets": "0",
"rx_bytes": "0",
"tx_bytes": "0",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "0",
"tx_dropped": "0",
"multicast": "0",
"rx_bps": "0",
"tx_bps": "0"
}
},
"sit0": {
"up": "false",
"l1up": "false",
"mtu": "1480",
"stats": {
"rx_packets": "0",
"tx_packets": "0",
"rx_bytes": "0",
"tx_bytes": "0",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "0",
"tx_dropped": "0",
"multicast": "0",
"rx_bps": "0",
"tx_bps": "0"
}
},
"switch0.1": {
"up": "true",
"l1up": "true",
"mac": "78:8a:20:bd:7d:53",
"mtu": "1500",
"addresses": [
"192.168.3.1/24",
"2001:1c04:3c13:6f01::1/64"
],
"stats": {
"rx_packets": "838153088",
"tx_packets": "824926545",
"rx_bytes": "702389376934",
"tx_bytes": "577602875107",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "2",
"tx_dropped": "0",
"multicast": "5635728",
"rx_bps": "731886",
"tx_bps": "160238"
}
},
"switch0.3": {
"up": "true",
"l1up": "true",
"mac": "78:8a:20:bd:7d:53",
"mtu": "1500",
"addresses": [
"192.168.1.1/24",
"2001:1c04:3c13:6f03::1/64"
],
"stats": {
"rx_packets": "0",
"tx_packets": "4165978",
"rx_bytes": "0",
"tx_bytes": "1637633025",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "0",
"tx_dropped": "0",
"multicast": "0",
"rx_bps": "0",
"tx_bps": "226"
}
},
"switch0.20": {
"up": "true",
"l1up": "true",
"mac": "78:8a:20:bd:7d:53",
"mtu": "1500",
"addresses": [
"192.168.20.1/24",
"2001:1c04:3c13:6f14::1/64"
],
"stats": {
"rx_packets": "34187064",
"tx_packets": "33747767",
"rx_bytes": "5885244492",
"tx_bytes": "6315813748",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "0",
"tx_dropped": "0",
"multicast": "19699",
"rx_bps": "747",
"tx_bps": "787"
}
},
"switch0": {
"up": "true",
"l1up": "true",
"mac": "78:8a:20:bd:7d:53",
"mtu": "1500",
"stats": {
"rx_packets": "872340152",
"tx_packets": "862896267",
"rx_bytes": "711763982034",
"tx_bytes": "589010258406",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "0",
"tx_dropped": "0",
"multicast": "5655427",
"rx_bps": "740397",
"tx_bps": "162928"
}
},
"eth5": {
"up": "true",
"l1up": "false",
"autoneg": "true",
"duplex": "half",
"speed": "1000",
"on_switch": "true",
"is_switched_port": "false",
"is_combo": "false",
"is_sfp": "true",
"sfp_present": "false",
"mac": "78:8a:20:bd:7d:52",
"mtu": "1500",
"stats": {
"rx_packets": "0",
"tx_packets": "55977",
"rx_bytes": "0",
"tx_bytes": "2575366",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "0",
"tx_dropped": "0",
"multicast": "0",
"rx_bps": "0",
"tx_bps": "0"
}
},
"eth4": {
"up": "true",
"l1up": "true",
"autoneg": "true",
"duplex": "full",
"speed": "1000",
"on_switch": "true",
"is_switched_port": "true",
"is_combo": "false",
"is_sfp": "false",
"mac": "78:8a:20:bd:7d:51",
"mtu": "1500",
"stats": {
"rx_packets": "872250876",
"tx_packets": "871661049",
"rx_bytes": "724050336203",
"tx_bytes": "590519785241",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "8",
"tx_dropped": "0",
"multicast": "5981",
"rx_bps": "1006629",
"tx_bps": "120690"
}
},
"eth3": {
"up": "true",
"l1up": "false",
"autoneg": "true",
"duplex": "half",
"speed": "10",
"on_switch": "true",
"is_switched_port": "true",
"is_combo": "false",
"is_sfp": "false",
"mac": "78:8a:20:bd:7d:50",
"mtu": "1500",
"stats": {
"rx_packets": "0",
"tx_packets": "7",
"rx_bytes": "0",
"tx_bytes": "746",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "0",
"tx_dropped": "0",
"multicast": "0",
"rx_bps": "0",
"tx_bps": "0"
}
},
"eth2": {
"up": "true",
"l1up": "false",
"autoneg": "true",
"duplex": "half",
"speed": "10",
"on_switch": "true",
"is_switched_port": "true",
"is_combo": "false",
"is_sfp": "false",
"mac": "78:8a:20:bd:7d:4f",
"mtu": "1500",
"stats": {
"rx_packets": "0",
"tx_packets": "7",
"rx_bytes": "0",
"tx_bytes": "746",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "0",
"tx_dropped": "0",
"multicast": "0",
"rx_bps": "0",
"tx_bps": "0"
}
},
"eth1": {
"up": "true",
"l1up": "false",
"autoneg": "true",
"duplex": "half",
"speed": "10",
"on_switch": "true",
"is_switched_port": "true",
"is_combo": "false",
"is_sfp": "false",
"mac": "78:8a:20:bd:7d:4e",
"mtu": "1500",
"stats": {
"rx_packets": "0",
"tx_packets": "7",
"rx_bytes": "0",
"tx_bytes": "746",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "0",
"tx_dropped": "0",
"multicast": "0",
"rx_bps": "0",
"tx_bps": "0"
}
},
"eth0": {
"up": "true",
"l1up": "true",
"autoneg": "true",
"duplex": "full",
"speed": "1000",
"on_switch": "true",
"is_switched_port": "false",
"is_combo": "false",
"is_sfp": "false",
"mac": "78:8a:20:bd:7d:4d",
"mtu": "1500",
"addresses": [
"84.106.28.203/23",
"2001:1c04:3c00:0:f470:6a99:9298:63e5/128"
],
"stats": {
"rx_packets": "775958277",
"tx_packets": "778759675",
"rx_bytes": "543649180217",
"tx_bytes": "706076654918",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "0",
"tx_dropped": "0",
"multicast": "805721",
"rx_bps": "142802",
"tx_bps": "741225"
}
},
"imq0": {
"up": "true",
"l1up": "true",
"mtu": "16000",
"stats": {
"rx_packets": "0",
"tx_packets": "0",
"rx_bytes": "0",
"tx_bytes": "0",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "0",
"tx_dropped": "0",
"multicast": "0",
"rx_bps": "0",
"tx_bps": "0"
}
},
"itf0": {
"up": "true",
"l1up": "true",
"mac": "78:8a:20:bd:7d:53",
"mtu": "2018",
"stats": {
"rx_packets": "1648310219",
"tx_packets": "1650785058",
"rx_bytes": "1281595570578",
"tx_bytes": "1305891723998",
"rx_errors": "4996",
"tx_errors": "1",
"rx_dropped": "175",
"tx_dropped": "0",
"multicast": "0",
"rx_bps": "900940",
"tx_bps": "911989"
}
},
"lo": {
"up": "true",
"l1up": "true",
"mac": "00:00:00:00:00:00",
"mtu": "65536",
"addresses": [
"127.0.0.1/8",
"::1/128"
],
"stats": {
"rx_packets": "1015854",
"tx_packets": "1015854",
"rx_bytes": "197687572",
"tx_bytes": "197687572",
"rx_errors": "0",
"tx_errors": "0",
"rx_dropped": "0",
"tx_dropped": "0",
"multicast": "0",
"rx_bps": "0",
"tx_bps": "0"
}
}
}
}
I've just tested the new version, i can confirm I am seeing the PPPOE0 interface now, but also missing the toggle switch for monitored.
On Sat, 29 Oct 2022 at 14:27, MagieMalone @.***> wrote:
also missing are the switch0.x interfaces monitored toggle, so the interface status is there, but no way to enable receiving rates errors etc.
included debug from ws stats stream.
{ "interfaces": { "ifb_eth0": { "up": "true", "l1up": "true", "mac": "92:16:63:bf:fc:69", "mtu": "1500", "stats": { "rx_packets": "776348156", "tx_packets": "776292188", "rx_bytes": "554404530722", "tx_bytes": "554401956194", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "55968", "tx_dropped": "0", "multicast": "0", "rx_bps": "147624", "tx_bps": "147624" } }, "vtun0": { "up": "true", "l1up": "true", "mtu": "1500", "addresses": [ "192.168.4.1/24" ], "stats": { "rx_packets": "0", "tx_packets": "111944", "rx_bytes": "0", "tx_bytes": "12017484", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "0", "tx_dropped": "0", "multicast": "0", "rx_bps": "0", "tx_bps": "0" } }, "tun0": { "up": "false", "l1up": "false", "mtu": "1480", "stats": { "rx_packets": "0", "tx_packets": "0", "rx_bytes": "0", "tx_bytes": "0", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "0", "tx_dropped": "0", "multicast": "0", "rx_bps": "0", "tx_bps": "0" } }, "sit0": { "up": "false", "l1up": "false", "mtu": "1480", "stats": { "rx_packets": "0", "tx_packets": "0", "rx_bytes": "0", "tx_bytes": "0", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "0", "tx_dropped": "0", "multicast": "0", "rx_bps": "0", "tx_bps": "0" } }, "switch0.1": { "up": "true", "l1up": "true", "mac": "78:8a:20:bd:7d:53", "mtu": "1500", "addresses": [ "192.168.3.1/24", "2001:1c04:3c13:6f01::1/64" ], "stats": { "rx_packets": "838153088", "tx_packets": "824926545", "rx_bytes": "702389376934", "tx_bytes": "577602875107", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "2", "tx_dropped": "0", "multicast": "5635728", "rx_bps": "731886", "tx_bps": "160238" } }, "switch0.3": { "up": "true", "l1up": "true", "mac": "78:8a:20:bd:7d:53", "mtu": "1500", "addresses": [ "192.168.1.1/24", "2001:1c04:3c13:6f03::1/64" ], "stats": { "rx_packets": "0", "tx_packets": "4165978", "rx_bytes": "0", "tx_bytes": "1637633025", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "0", "tx_dropped": "0", "multicast": "0", "rx_bps": "0", "tx_bps": "226" } }, "switch0.20": { "up": "true", "l1up": "true", "mac": "78:8a:20:bd:7d:53", "mtu": "1500", "addresses": [ "192.168.20.1/24", "2001:1c04:3c13:6f14::1/64" ], "stats": { "rx_packets": "34187064", "tx_packets": "33747767", "rx_bytes": "5885244492", "tx_bytes": "6315813748", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "0", "tx_dropped": "0", "multicast": "19699", "rx_bps": "747", "tx_bps": "787" } }, "switch0": { "up": "true", "l1up": "true", "mac": "78:8a:20:bd:7d:53", "mtu": "1500", "stats": { "rx_packets": "872340152", "tx_packets": "862896267", "rx_bytes": "711763982034", "tx_bytes": "589010258406", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "0", "tx_dropped": "0", "multicast": "5655427", "rx_bps": "740397", "tx_bps": "162928" } }, "eth5": { "up": "true", "l1up": "false", "autoneg": "true", "duplex": "half", "speed": "1000", "on_switch": "true", "is_switched_port": "false", "is_combo": "false", "is_sfp": "true", "sfp_present": "false", "mac": "78:8a:20:bd:7d:52", "mtu": "1500", "stats": { "rx_packets": "0", "tx_packets": "55977", "rx_bytes": "0", "tx_bytes": "2575366", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "0", "tx_dropped": "0", "multicast": "0", "rx_bps": "0", "tx_bps": "0" } }, "eth4": { "up": "true", "l1up": "true", "autoneg": "true", "duplex": "full", "speed": "1000", "on_switch": "true", "is_switched_port": "true", "is_combo": "false", "is_sfp": "false", "mac": "78:8a:20:bd:7d:51", "mtu": "1500", "stats": { "rx_packets": "872250876", "tx_packets": "871661049", "rx_bytes": "724050336203", "tx_bytes": "590519785241", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "8", "tx_dropped": "0", "multicast": "5981", "rx_bps": "1006629", "tx_bps": "120690" } }, "eth3": { "up": "true", "l1up": "false", "autoneg": "true", "duplex": "half", "speed": "10", "on_switch": "true", "is_switched_port": "true", "is_combo": "false", "is_sfp": "false", "mac": "78:8a:20:bd:7d:50", "mtu": "1500", "stats": { "rx_packets": "0", "tx_packets": "7", "rx_bytes": "0", "tx_bytes": "746", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "0", "tx_dropped": "0", "multicast": "0", "rx_bps": "0", "tx_bps": "0" } }, "eth2": { "up": "true", "l1up": "false", "autoneg": "true", "duplex": "half", "speed": "10", "on_switch": "true", "is_switched_port": "true", "is_combo": "false", "is_sfp": "false", "mac": "78:8a:20:bd:7d:4f", "mtu": "1500", "stats": { "rx_packets": "0", "tx_packets": "7", "rx_bytes": "0", "tx_bytes": "746", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "0", "tx_dropped": "0", "multicast": "0", "rx_bps": "0", "tx_bps": "0" } }, "eth1": { "up": "true", "l1up": "false", "autoneg": "true", "duplex": "half", "speed": "10", "on_switch": "true", "is_switched_port": "true", "is_combo": "false", "is_sfp": "false", "mac": "78:8a:20:bd:7d:4e", "mtu": "1500", "stats": { "rx_packets": "0", "tx_packets": "7", "rx_bytes": "0", "tx_bytes": "746", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "0", "tx_dropped": "0", "multicast": "0", "rx_bps": "0", "tx_bps": "0" } }, "eth0": { "up": "true", "l1up": "true", "autoneg": "true", "duplex": "full", "speed": "1000", "on_switch": "true", "is_switched_port": "false", "is_combo": "false", "is_sfp": "false", "mac": "78:8a:20:bd:7d:4d", "mtu": "1500", "addresses": [ "84.106.28.203/23", "2001:1c04:3c00:0:f470:6a99:9298:63e5/128" ], "stats": { "rx_packets": "775958277", "tx_packets": "778759675", "rx_bytes": "543649180217", "tx_bytes": "706076654918", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "0", "tx_dropped": "0", "multicast": "805721", "rx_bps": "142802", "tx_bps": "741225" } }, "imq0": { "up": "true", "l1up": "true", "mtu": "16000", "stats": { "rx_packets": "0", "tx_packets": "0", "rx_bytes": "0", "tx_bytes": "0", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "0", "tx_dropped": "0", "multicast": "0", "rx_bps": "0", "tx_bps": "0" } }, "itf0": { "up": "true", "l1up": "true", "mac": "78:8a:20:bd:7d:53", "mtu": "2018", "stats": { "rx_packets": "1648310219", "tx_packets": "1650785058", "rx_bytes": "1281595570578", "tx_bytes": "1305891723998", "rx_errors": "4996", "tx_errors": "1", "rx_dropped": "175", "tx_dropped": "0", "multicast": "0", "rx_bps": "900940", "tx_bps": "911989" } }, "lo": { "up": "true", "l1up": "true", "mac": "00:00:00:00:00:00", "mtu": "65536", "addresses": [ "127.0.0.1/8", "::1/128" ], "stats": { "rx_packets": "1015854", "tx_packets": "1015854", "rx_bytes": "197687572", "tx_bytes": "197687572", "rx_errors": "0", "tx_errors": "0", "rx_dropped": "0", "tx_dropped": "0", "multicast": "0", "rx_bps": "0", "tx_bps": "0" } } } }
— Reply to this email directly, view it on GitHub https://github.com/elad-bar/ha-edgeos/issues/76#issuecomment-1295836909, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZVQ2AQDAZDXP56RQ4B2IDWFUQ5BANCNFSM6AAAAAAREZSLJ4 . You are receiving this because you commented.Message ID: @.***>
Thanks for the feedback, will post a fix in the upcoming day or 2
No worries, thank you for continuing to work on this, much appreciated.
On Sat, 29 Oct 2022 at 21:30, Elad Bar @.***> wrote:
Thanks for the feedback, will post a fix in the upcoming day or 2
— Reply to this email directly, view it on GitHub https://github.com/elad-bar/ha-edgeos/issues/76#issuecomment-1295947092, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZVQ2HWK6OSSIGKYYMM6XTWFV3MJANCNFSM6AAAAAAREZSLJ4 . You are receiving this because you commented.Message ID: @.***>
please check v2.0.17, thanks
sorry for my absent here's my api and ws json file
hopes its helpful
btw 2.0.18 also dont show vlans....
by VLAN you mean bond*
?
I mean those interfacces with a dot in the name , in my situation its like bond0.10 ,bond0.20 ,bond0.88, bond0.100 ,bond 0.119 and eth6.41 .etc
I releaaed v2.0.19 few hours ago, did you install it?
Thanks
Hi,
I'm just testing 2.0.20 for the PPPoE, the monitored switch is there and I am able to get traffic stats, etc. which is great.
However the status switch (switch.router_interface_pppoe0_status) isn't working, the entity is there but status is 'unavailable', and the addresses attribute is missing.
Thanks
On Tue, 1 Nov 2022 at 06:52, Elad Bar @.***> wrote:
I releaaed v2.0.19 few hours ago, did you install it?
Thanks
— Reply to this email directly, view it on GitHub https://github.com/elad-bar/ha-edgeos/issues/76#issuecomment-1298099338, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZVQ2E2SMQXAK2EUEV3GMLWGC42LANCNFSM6AAAAAAREZSLJ4 . You are receiving this because you commented.Message ID: @.***>
Try to delete it and then restart the HA, entity will disappear as it should be.
Since I don't have pppoe interface (neither switch or vtun) I don't know which API allows turning it on / off so I disabled it and made it support only binary sensor for status
Perfect! Apologies I didn't spot the binary_sensor.
On Tue, 1 Nov 2022 at 16:57, Elad Bar @.***> wrote:
Try to delete it and then restart the HA, entity will disappear as it should be.
Since I don't have pppoe interface (neither switch or vtun) I don't know which API allows turning it on / off so I disabled it and made it support only binary sensor for status
— Reply to this email directly, view it on GitHub https://github.com/elad-bar/ha-edgeos/issues/76#issuecomment-1298831367, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZVQ2CMGNOCFIUQZERILRTWGFDW3ANCNFSM6AAAAAAREZSLJ4 . You are receiving this because you commented.Message ID: @.***>
great, if you would like to have the switch I will need assistance of identifying the API calls to enable / disable the interface 😀
Thanks
More than happy to help, however the PPPOE connection is at my other house that I am not at - I don't fancy dropping my PPPOE connection while I am not there :D
I'll have a try next week, when I am back, and see if I can work it out.
On Tue, 1 Nov 2022 at 17:11, Elad Bar @.***> wrote:
great, if you would like to have the switch I will need assistance of identifying the API calls to enable / disable the interface 😀
Thanks
— Reply to this email directly, view it on GitHub https://github.com/elad-bar/ha-edgeos/issues/76#issuecomment-1298850164, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZVQ2HIYV4LDRS4WLRH6VDWGFFN7ANCNFSM6AAAAAAREZSLJ4 . You are receiving this because you commented.Message ID: @.***>
Makes sense... thanks!
since V2.0, Bonding and Vlan ports support seems disappeared,Will it return in future versions?