vitaliy-sk / keenetic-grafana-monitoring

Monitor Keenetic router with Grafana and InfluxDB
Apache License 2.0
76 stars 15 forks source link

Wifi clients connected on wifi extenders #27

Closed ilker-aktuna closed 1 week ago

ilker-aktuna commented 2 weeks ago

Hi,

I have Keenetic extenders connected to my Keenetic Hero+ router and they are managed by Keenetic Hero+ So I see the wifi clients mostly on these extenders from the main router UI: image

On the collected data, these wifi clients are not shown. There is only signal value for the wifi clients connected to the main router. However, router can see the signal of other wifi clients which are connected to the extenders.

Is there a way to make these wifi clients' visible as wifi clients ?

ilker-aktuna commented 2 weeks ago

I see that in the "ip hotspot" command output the rssi and mode values of these devices are shown under mws as here:


host: 
                  mac: 38:42:0b:00:0e:xx
                  via: 38:42:0b:00:0e:xx
                   ip: 192.168.1.21
             hostname: SonosZP
                 name: Sonos One

            interface: 
                       id: Bridge0
                     name: Home
              description: Home network

                 dhcp: 
                   static: yes

           registered: yes
               access: permit
             schedule: 
             priority: 6
               active: yes
              rxbytes: 136678697
              txbytes: 10815655
               uptime: 29986
           first-seen: 599917
            last-seen: 12
                 link: up

                  mws: 
                      cid: 5bcc0f34-ab31-11ed-9396-f7754eed93be
                       ap: WifiMaster0/AccessPoint0
                      psm: no
            authenticated: yes
                   txrate: 173
                   uptime: 29986
                       ht: 20
                     mode: 11n
                       gi: 400
                     rssi: -41
                      mcs: 8
                     txss: 2
                      ebf: no

                      _11: k

                      _11: v

                 security: wpa2-psk

        traffic-shape: 
                       rx: 0
                       tx: 0
                     mode: mac
                 schedule: 

so I changed the "ip hotspot" section of my metrics.json:


    {
      "command": "ip hotspot",
      "root": "$.host[*]",
      "tags": {
        "hostname": "$.hostname",
        "name": "$.name",
        "ssid": "$.ssid",
        "mode": "$.mode",
        "mwsmode": "$.mws.mode",
        "ip": "$.ip",
        "mac": "$.mac"
      },
      "values": {
        "rxbytes": "$.rxbytes",
        "txbytes": "$.txbytes",
        "txrate": "$.txrate",
        "uptime": "$.uptime",
        "signal": "$.rssi",
        "speed": "$.speed",
        "active": "$.active",
        "signalap": "$.mws.rssi"
      }
    },

Now I can get the signal value under "signalap" but the tag displays "undefined" when I use $tag_mwsmode

why ?

ilker-aktuna commented 2 weeks ago

any ideas ?

ilker-aktuna commented 1 week ago

didn't understand this...

ilker-aktuna commented 1 week ago

well, still no answer ? no ideas ?

vitaliy-sk commented 1 week ago

I don’t have any Keenetic extenders, so I’m unable to provide assistance regarding them.

Please refrain from creating future comments or issues, as I’m the sole maintainer of this project. This is open-source software provided as-is. If you need fixes or additional features, feel free to fork the repository and implement them yourself.

ilker-aktuna commented 6 days ago

well, thanks for the reply. As I am not a python expert , I am not able to fork your project and work on it. I provided the output of cli command and highlighted how the extender connected client is different. Asked for help from the maintainer /owner of this project. I see that you are not willing to work on improving this , or even touching it after 3 years. On another issue , I provided a simple modification to handle timeout issues, but you are not even interested in adding it to your code. So, I call this "abandoned" whatever you believe, this is an abandoned project.

I may sound rude in my post but this is not my intention. I am just writing what I feel about this project. Sad...