hass_openwrt icon indicating copy to clipboard operation
hass_openwrt copied to clipboard

OpernWRT 19.07: "ifname" unknown ?

Open bsafh opened this issue 3 years ago • 16 comments

Error on setup: Setup erneut versuchen: OpenWrt communication error: 'ifname'

well, yes, that's right for 19.07 and newer:

root@c2600_2-OpenWrt:~# ifname
-ash: ifname: not found
root@c2600_2-OpenWrt:~#
root@c2600_2-OpenWrt:~# grep ifname /etc/config/*
/etc/config/network:    option ifname 'lo'
/etc/config/network:    option ifname 'bat0 eth0 eth0.2 eth1 eth1.1 lan6 wan6'
/etc/config/network:    option ifname '@wan'
/etc/config/network:#   option ifname '@lan'
/etc/config/network:        option ifname @lan
/etc/config/network:    option ifname 'eth0.3'
/etc/config/network:    option ifname 'eth1.3'
/etc/config/wireless:   option ifname 'mesh0'
/etc/config/wireless:   option ifname 'mesh1'

so, what's wrong?

bsafh avatar Oct 08 '22 11:10 bsafh

problem seems to be that this device allows https only .... not http.

That is not supported???

bsafh avatar Oct 08 '22 12:10 bsafh

1 https device, 2 http devices - no luck at all...

2022-10-08 15:10:55.728 ERROR (MainThread) [custom_components.openwrt.ubus] api_call exception: HTTPSConnectionPool(host='192.168.81.206', port=443): Max retries exceeded with url: /ubus (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:997)')))
2022-10-08 15:10:55.729 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c2600_2_openwrt] async_update_data error:
File "/config/custom_components/openwrt/ubus.py", line 90, in _api_call
File "/config/custom_components/openwrt/ubus.py", line 84, in post
File "/config/custom_components/openwrt/coordinator.py", line 243, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 232, in load_ubus
File "/config/custom_components/openwrt/ubus.py", line 44, in api_call
File "/config/custom_components/openwrt/ubus.py", line 48, in _login
File "/config/custom_components/openwrt/ubus.py", line 93, in _api_call
2022-10-08 15:11:06.249 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c7v2-OpenWrt] async_update_data error: 'ifname'
File "/config/custom_components/openwrt/coordinator.py", line 246, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 54, in discover_wireless
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/__init__.py", line 42, in get_all_connected_devices
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/openwrt_luci_rpc.py", line 161, in get_all_connected_devices
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/openwrt_luci_rpc.py", line 210, in _call_json_rpc
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/__init__.py", line 42, in get_all_connected_devices
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/openwrt_luci_rpc.py", line 161, in get_all_connected_devices
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/openwrt_luci_rpc.py", line 210, in _call_json_rpc
2022-10-08 15:12:15.774 ERROR (MainThread) [custom_components.openwrt.ubus] api_call exception: HTTPSConnectionPool(host='192.168.81.206', port=443): Max retries exceeded with url: /ubus (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:997)')))
2022-10-08 15:12:15.775 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c2600_2_openwrt] async_update_data error:
File "/config/custom_components/openwrt/ubus.py", line 90, in _api_call
File "/config/custom_components/openwrt/ubus.py", line 84, in post
File "/config/custom_components/openwrt/coordinator.py", line 243, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 232, in load_ubus
File "/config/custom_components/openwrt/ubus.py", line 44, in api_call
File "/config/custom_components/openwrt/ubus.py", line 48, in _login
File "/config/custom_components/openwrt/ubus.py", line 93, in _api_call
2022-10-08 15:12:26.320 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c7v2-OpenWrt] async_update_data error: 'ifname'
File "/config/custom_components/openwrt/coordinator.py", line 246, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 54, in discover_wireless
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/__init__.py", line 42, in get_all_connected_devices
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/openwrt_luci_rpc.py", line 161, in get_all_connected_devices
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/openwrt_luci_rpc.py", line 210, in _call_json_rpc
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/__init__.py", line 42, in get_all_connected_devices
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/openwrt_luci_rpc.py", line 161, in get_all_connected_devices
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/openwrt_luci_rpc.py", line 210, in _call_json_rpc
2022-10-08 15:13:35.818 ERROR (MainThread) [custom_components.openwrt.ubus] api_call exception: HTTPSConnectionPool(host='192.168.81.206', port=443): Max retries exceeded with url: /ubus (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:997)')))
2022-10-08 15:13:35.819 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c2600_2_openwrt] async_update_data error:
File "/config/custom_components/openwrt/ubus.py", line 90, in _api_call
File "/config/custom_components/openwrt/ubus.py", line 84, in post
File "/config/custom_components/openwrt/coordinator.py", line 243, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 232, in load_ubus
File "/config/custom_components/openwrt/ubus.py", line 44, in api_call
File "/config/custom_components/openwrt/ubus.py", line 48, in _login
File "/config/custom_components/openwrt/ubus.py", line 93, in _api_call
2022-10-08 15:13:46.404 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c7v2-OpenWrt] async_update_data error: 'ifname'
File "/config/custom_components/openwrt/coordinator.py", line 246, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 54, in discover_wireless
2022-10-08 15:14:55.852 ERROR (MainThread) [custom_components.openwrt.ubus] api_call exception: HTTPSConnectionPool(host='192.168.81.206', port=443): Max retries exceeded with url: /ubus (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:997)')))
2022-10-08 15:14:55.853 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c2600_2_openwrt] async_update_data error:
File "/config/custom_components/openwrt/ubus.py", line 90, in _api_call
File "/config/custom_components/openwrt/ubus.py", line 84, in post
File "/config/custom_components/openwrt/coordinator.py", line 243, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 232, in load_ubus
File "/config/custom_components/openwrt/ubus.py", line 44, in api_call
File "/config/custom_components/openwrt/ubus.py", line 48, in _login
File "/config/custom_components/openwrt/ubus.py", line 93, in _api_call
2022-10-08 15:15:06.483 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c7v2-OpenWrt] async_update_data error: 'ifname'
File "/config/custom_components/openwrt/coordinator.py", line 246, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 54, in discover_wireless
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/__init__.py", line 42, in get_all_connected_devices
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/openwrt_luci_rpc.py", line 161, in get_all_connected_devices
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/openwrt_luci_rpc.py", line 210, in _call_json_rpc
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/__init__.py", line 42, in get_all_connected_devices
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/openwrt_luci_rpc.py", line 161, in get_all_connected_devices
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/openwrt_luci_rpc.py", line 210, in _call_json_rpc
2022-10-08 15:16:15.906 ERROR (MainThread) [custom_components.openwrt.ubus] api_call exception: HTTPSConnectionPool(host='192.168.81.206', port=443): Max retries exceeded with url: /ubus (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:997)')))
2022-10-08 15:16:15.907 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c2600_2_openwrt] async_update_data error:
File "/config/custom_components/openwrt/ubus.py", line 90, in _api_call
File "/config/custom_components/openwrt/ubus.py", line 84, in post
File "/config/custom_components/openwrt/coordinator.py", line 243, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 232, in load_ubus
File "/config/custom_components/openwrt/ubus.py", line 44, in api_call
File "/config/custom_components/openwrt/ubus.py", line 48, in _login
File "/config/custom_components/openwrt/ubus.py", line 93, in _api_call
2022-10-08 15:16:26.582 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c7v2-OpenWrt] async_update_data error: 'ifname'
File "/config/custom_components/openwrt/coordinator.py", line 246, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 54, in discover_wireless
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/__init__.py", line 42, in get_all_connected_devices
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/openwrt_luci_rpc.py", line 161, in get_all_connected_devices
File "/usr/local/lib/python3.10/site-packages/openwrt_luci_rpc/openwrt_luci_rpc.py", line 210, in _call_json_rpc
2022-10-08 15:17:35.939 ERROR (MainThread) [custom_components.openwrt.ubus] api_call exception: HTTPSConnectionPool(host='192.168.81.206', port=443): Max retries exceeded with url: /ubus (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:997)')))
2022-10-08 15:17:35.941 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c2600_2_openwrt] async_update_data error:
File "/config/custom_components/openwrt/ubus.py", line 90, in _api_call
File "/config/custom_components/openwrt/ubus.py", line 84, in post
File "/config/custom_components/openwrt/coordinator.py", line 243, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 232, in load_ubus
File "/config/custom_components/openwrt/ubus.py", line 44, in api_call
File "/config/custom_components/openwrt/ubus.py", line 48, in _login
File "/config/custom_components/openwrt/ubus.py", line 93, in _api_call
2022-10-08 15:17:46.648 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c7v2-OpenWrt] async_update_data error: 'ifname'
File "/config/custom_components/openwrt/coordinator.py", line 246, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 54, in discover_wireless
2022-10-08 15:18:19.781 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c7v2_3-OpenWrt] async_update_data error: 'ifname'
File "/config/custom_components/openwrt/coordinator.py", line 246, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 54, in discover_wireless
2022-10-08 15:18:19.783 WARNING (MainThread) [homeassistant.config_entries] Config entry 'c7v2_3-OpenWrt - 192.168.81.212' for openwrt integration not ready yet: OpenWrt communication error: 'ifname'; Retrying in background
2022-10-08 15:18:24.861 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c7v2_3-OpenWrt] async_update_data error: 'ifname'
File "/config/custom_components/openwrt/coordinator.py", line 246, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 54, in discover_wireless
2022-10-08 15:18:34.949 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c7v2_3-OpenWrt] async_update_data error: 'ifname'
File "/config/custom_components/openwrt/coordinator.py", line 246, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 54, in discover_wireless
2022-10-08 15:18:55.037 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c7v2_3-OpenWrt] async_update_data error: 'ifname'
File "/config/custom_components/openwrt/coordinator.py", line 246, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 54, in discover_wireless
2022-10-08 15:18:55.995 ERROR (MainThread) [custom_components.openwrt.ubus] api_call exception: HTTPSConnectionPool(host='192.168.81.206', port=443): Max retries exceeded with url: /ubus (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:997)')))
2022-10-08 15:18:55.996 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [c2600_2_openwrt] async_update_data error:
File "/config/custom_components/openwrt/ubus.py", line 90, in _api_call
File "/config/custom_components/openwrt/ubus.py", line 84, in post
File "/config/custom_components/openwrt/coordinator.py", line 243, in async_update_data
File "/config/custom_components/openwrt/coordinator.py", line 232, in load_ubus
File "/config/custom_components/openwrt/ubus.py", line 44, in api_call
File "/config/custom_components/openwrt/ubus.py", line 48, in _login
File "/config/custom_components/openwrt/ubus.py", line 93, in _api_call

bsafh avatar Oct 08 '22 13:10 bsafh

Same issue here.

Sholofly avatar Dec 02 '22 14:12 Sholofly

well, you're all using self-signed certificates for your https setup, it seems. I understand why it doesn't work, but not getting why self-signed https setup is necessary for any environment.

kvj avatar Dec 02 '22 14:12 kvj

Sorry, but I don't use self signed certificates. I just try to access without https.

Sholofly avatar Dec 02 '22 14:12 Sholofly

@Sholofly Then you have a different issue.

The line

2022-10-08 15:18:55.995 ERROR (MainThread) [custom_components.openwrt.ubus] api_call exception: HTTPSConnectionPool(host='192.168.81.206', port=443): Max retries exceeded with url: /ubus (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:997)')))

says that https is being used

kvj avatar Dec 02 '22 14:12 kvj

Ok, but the message is the same:

2022-12-02 15:17:37.132 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [Router] async_update_data error: 'ifname'
Traceback (most recent call last):
  File "/config/custom_components/openwrt/coordinator.py", line 246, in async_update_data
    wireless_config = await self.discover_wireless()
  File "/config/custom_components/openwrt/coordinator.py", line 54, in discover_wireless
    conf = dict(ifname=iface['ifname'],
KeyError: 'ifname'

Would you like me to open a new issue?

Sholofly avatar Dec 02 '22 14:12 Sholofly

No, that's fine, I think the error you're having is more relevant to the original issue. Could you please share the output (partial, redacted) of the command below, executed on device?

ubus call network.wireless status

at least one device and its interfaces section

kvj avatar Dec 02 '22 14:12 kvj

 {
        "radio0": {
                "up": false,
                "pending": false,
                "autostart": true,
                "disabled": true,
                "retry_setup_failed": false,
                "config": {
                        "channel": "11",
                        "hwmode": "11g",
                        "path": "platform/ahb/18100000.wmac",
                        "htmode": "HT20",
                        "disabled": true
                },
                "interfaces": [
                        {
                                "section": "default_radio0",
                                "config": {
                                        "mode": "ap",
                                        "ssid": "OpenWrt",
                                        "encryption": "none",
                                        "network": [
                                                "lan"
                                        ],
                                        "mode": "ap"
                                }
                        }
                ]
        }
}

Sholofly avatar Dec 02 '22 14:12 Sholofly

cool, and how does ubus call network.device status output look like? Do you have any object with the key default_radio0?

kvj avatar Dec 02 '22 14:12 kvj

{
        "br-lan": {
                "external": false,
                "present": true,
                "type": "bridge",
                "up": true,
                "carrier": true,
                "bridge-members": [
                        "eth0.1"
                ],
                "mtu": 1500,
                "mtu6": 1500,
                "macaddr": "84:16:f9:e8:96:3e",
                "txqueuelen": 1000,
                "ipv6": true,
                "promisc": false,
                "rpfilter": 0,
                "acceptlocal": false,
                "igmpversion": 0,
                "mldversion": 0,
                "neigh4reachabletime": 30000,
                "neigh6reachabletime": 30000,
                "neigh4gcstaletime": 60,
                "neigh6gcstaletime": 60,
                "neigh4locktime": 100,
                "dadtransmits": 1,
                "multicast": true,
                "sendredirects": true,
                "statistics": {
                        "collisions": 0,
                        "rx_frame_errors": 0,
                        "tx_compressed": 0,
                        "multicast": 15933,
                        "rx_length_errors": 0,
                        "tx_dropped": 0,
                        "rx_bytes": 498125597,
                        "rx_missed_errors": 0,
                        "tx_errors": 0,
                        "rx_compressed": 0,
                        "rx_over_errors": 0,
                        "tx_fifo_errors": 0,
                        "rx_crc_errors": 0,
                        "rx_packets": 1493031,
                        "tx_heartbeat_errors": 0,
                        "rx_dropped": 6427,
                        "tx_aborted_errors": 0,
                        "tx_packets": 3634384,
                        "rx_errors": 0,
                        "tx_bytes": 4891024645,
                        "tx_window_errors": 0,
                        "rx_fifo_errors": 0,
                        "tx_carrier_errors": 0
                }
        },
        "eth0": {
                "external": false,
                "present": true,
                "type": "Network device",
                "up": true,
                "carrier": true,
                "link-advertising": [
                        "1000baseT-F"
                ],
                "link-partner-advertising": [

                ],
                "link-supported": [
                        "1000baseT-F"
                ],
                "speed": "1000F",
                "autoneg": true,
                "mtu": 1500,
                "mtu6": 1500,
                "macaddr": "84:16:f9:e8:96:3e",
                "txqueuelen": 1000,
                "ipv6": true,
                "promisc": false,
                "rpfilter": 0,
                "acceptlocal": false,
                "igmpversion": 0,
                "mldversion": 0,
                "neigh4reachabletime": 30000,
                "neigh6reachabletime": 30000,
                "neigh4gcstaletime": 60,
                "neigh6gcstaletime": 60,
                "neigh4locktime": 100,
                "dadtransmits": 1,
                "multicast": true,
                "sendredirects": true,
                "statistics": {
                        "collisions": 0,
                        "rx_frame_errors": 0,
                        "tx_compressed": 0,
                        "multicast": 0,
                        "rx_length_errors": 0,
                        "tx_dropped": 0,
                        "rx_bytes": 1129614347,
                        "rx_missed_errors": 0,
                        "tx_errors": 0,
                        "rx_compressed": 0,
                        "rx_over_errors": 0,
                        "tx_fifo_errors": 0,
                        "rx_crc_errors": 0,
                        "rx_packets": 5123176,
                        "tx_heartbeat_errors": 0,
                        "rx_dropped": 0,
                        "tx_aborted_errors": 0,
                        "tx_packets": 5099091,
                        "rx_errors": 0,
                        "tx_bytes": 1130949161,
                        "tx_window_errors": 0,
                        "rx_fifo_errors": 12,
                        "tx_carrier_errors": 0
                }
        },
        "eth0.1": {
                "external": false,
                "present": true,
                "type": "VLAN",
                "up": true,
                "carrier": true,
                "link-advertising": [
                        "1000baseT-F"
                ],
                "link-partner-advertising": [

                ],
                "link-supported": [
                        "1000baseT-F"
                ],
                "speed": "1000F",
                "autoneg": true,
                "mtu": 1500,
                "mtu6": 1500,
                "macaddr": "84:16:f9:e8:96:3e",
                "txqueuelen": 1000,
                "ipv6": false,
                "promisc": false,
                "rpfilter": 0,
                "acceptlocal": false,
                "igmpversion": 0,
                "mldversion": 0,
                "neigh4reachabletime": 30000,
                "neigh6reachabletime": 30000,
                "neigh4gcstaletime": 60,
                "neigh6gcstaletime": 60,
                "neigh4locktime": 100,
                "dadtransmits": 1,
                "multicast": true,
                "sendredirects": true,
                "statistics": {
                        "collisions": 0,
                        "rx_frame_errors": 0,
                        "tx_compressed": 0,
                        "multicast": 22516,
                        "rx_length_errors": 0,
                        "tx_dropped": 0,
                        "rx_bytes": 499683367,
                        "rx_missed_errors": 0,
                        "tx_errors": 0,
                        "rx_compressed": 0,
                        "rx_over_errors": 0,
                        "tx_fifo_errors": 0,
                        "rx_crc_errors": 0,
                        "rx_packets": 1499615,
                        "tx_heartbeat_errors": 0,
                        "rx_dropped": 0,
                        "tx_aborted_errors": 0,
                        "tx_packets": 3634399,
                        "rx_errors": 0,
                        "tx_bytes": 4891023935,
                        "tx_window_errors": 0,
                        "rx_fifo_errors": 0,
                        "tx_carrier_errors": 0
                }
        },
        "eth0.2": {
                "external": false,
                "present": true,
                "type": "VLAN",
                "up": true,
                "carrier": true,
                "link-advertising": [
                        "1000baseT-F"
                ],
                "link-partner-advertising": [

                ],
                "link-supported": [
                        "1000baseT-F"
                ],
                "speed": "1000F",
                "autoneg": true,
                "mtu": 1500,
                "mtu6": 1500,
                "macaddr": "84:16:f9:e8:96:3f",
                "txqueuelen": 1000,
                "ipv6": true,
                "promisc": false,
                "rpfilter": 0,
                "acceptlocal": false,
                "igmpversion": 0,
                "mldversion": 0,
                "neigh4reachabletime": 30000,
                "neigh6reachabletime": 30000,
                "neigh4gcstaletime": 60,
                "neigh6gcstaletime": 60,
                "neigh4locktime": 100,
                "dadtransmits": 1,
                "multicast": true,
                "sendredirects": true,
                "statistics": {
                        "collisions": 0,
                        "rx_frame_errors": 0,
                        "tx_compressed": 0,
                        "multicast": 33,
                        "rx_length_errors": 0,
                        "tx_dropped": 0,
                        "rx_bytes": 4832633474,
                        "rx_missed_errors": 0,
                        "tx_errors": 0,
                        "rx_compressed": 0,
                        "rx_over_errors": 0,
                        "tx_fifo_errors": 0,
                        "rx_crc_errors": 0,
                        "rx_packets": 3623313,
                        "tx_heartbeat_errors": 0,
                        "rx_dropped": 6,
                        "tx_aborted_errors": 0,
                        "tx_packets": 1464657,
                        "rx_errors": 0,
                        "tx_bytes": 514493548,
                        "tx_window_errors": 0,
                        "rx_fifo_errors": 0,
                        "tx_carrier_errors": 0
                }
        },
        "lo": {
                "external": false,
                "present": true,
                "type": "Network device",
                "up": true,
                "carrier": true,
                "mtu": 65536,
                "mtu6": 65536,
                "macaddr": "00:00:00:00:00:00",
                "txqueuelen": 1000,
                "ipv6": true,
                "promisc": false,
                "rpfilter": 0,
                "acceptlocal": false,
                "igmpversion": 0,
                "mldversion": 0,
                "neigh4reachabletime": 30000,
                "neigh6reachabletime": 30000,
                "neigh4gcstaletime": 60,
                "neigh6gcstaletime": 60,
                "neigh4locktime": 100,
                "dadtransmits": 1,
                "multicast": false,
                "sendredirects": true,
                "statistics": {
                        "collisions": 0,
                        "rx_frame_errors": 0,
                        "tx_compressed": 0,
                        "multicast": 0,
                        "rx_length_errors": 0,
                        "tx_dropped": 0,
                        "rx_bytes": 141795,
                        "rx_missed_errors": 0,
                        "tx_errors": 0,
                        "rx_compressed": 0,
                        "rx_over_errors": 0,
                        "tx_fifo_errors": 0,
                        "rx_crc_errors": 0,
                        "rx_packets": 1666,
                        "tx_heartbeat_errors": 0,
                        "rx_dropped": 0,
                        "tx_aborted_errors": 0,
                        "tx_packets": 1666,
                        "rx_errors": 0,
                        "tx_bytes": 141795,
                        "tx_window_errors": 0,
                        "rx_fifo_errors": 0,
                        "tx_carrier_errors": 0
                }
        }
}

So probably the answer to your questions is 'no' ;)

Sholofly avatar Dec 02 '22 15:12 Sholofly

got it. your wireless interface is disabled. let me quickly sketch a fix for that.

but generally speaking, without wireless interfaces set, what do you expect from the integration then?

kvj avatar Dec 02 '22 15:12 kvj

ok, at least WAN part should work then

kvj avatar Dec 02 '22 15:12 kvj

I'm expecting to be able to monitor the total data traffic of my router. I was hoping, but couldn't make up from your description, being able to monitor the connected devices (also non-wireless).

Sholofly avatar Dec 02 '22 15:12 Sholofly

@Sholofly please try the latest main branch, I've pushed a few changes (not released yet). Please make sure you've configured WAN device names

kvj avatar Dec 02 '22 15:12 kvj

That's brilliant m8! image

Sholofly avatar Dec 02 '22 15:12 Sholofly