Announcement

Collapse
No announcement yet.

Errors when trying to poll DD-WRTs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Errors when trying to poll DD-WRTs

    Using the HS3 Plugin DD-WRT v 1.0.0.0 I am getting the following errors.

    4/6365 Timer: Wiese DIR Upstairs DD-WRT: process:getDhcpList: Index was outside the bounds of the array.

    Once I get this error none of the rest of the devices created by the plugin update.

    Any ideas?

    BTW I have restarted the plugin and HS many times while trying to trouble shoot this. I have restarted HS3 with the plugin enable and disabled and have tried changing the polling times.

    #2
    Hi rwiese1. Put the plugin in debug mode and let it capture some logs for me to look at.
    Chances are, some name in the dhcp list is throwing it out.

    I do need to allow it to continue with the other device updates instead of stopping. I'll make that change in the next version.

    Thanks
    Rob
    HS4Pro on a Raspberry Pi4
    54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
    Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

    HSTouch Clients: 1 Android

    Comment


      #3
      Rob
      Do you want me to post the debug log here or email it to you?

      Thanks
      Bob

      Comment


        #4
        You can email to robmasonjr67 at yahoo dot com


        Sent from my SCH-R970X using Tapatalk
        HS4Pro on a Raspberry Pi4
        54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
        Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

        HSTouch Clients: 1 Android

        Comment


          #5
          Thanks Bob. That helped me track down the problem. You have 2 DD-WRT routers and on one of them, you had no dhcp leases. I'll get a fix in the updater as soon as possible. In the meantime, you might want to disable polling of the router at 192.168.3.7.

          I'll also get a fix in not to abort the poll when one error occurs...

          Thanks!
          Rob
          HS4Pro on a Raspberry Pi4
          54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
          Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

          HSTouch Clients: 1 Android

          Comment


            #6
            Thanks Rob
            I actually have 3 routers / WAPs running DD-WRT. Two of those are set for no WAN type access and no DHCP. Basically Dlink n300 routers that are acting as WAPs. I have disabled the polling of those two and look forward to your update.

            Thanks for all your hard work.
            Bob

            Comment


              #7
              Originally posted by rwiese1 View Post
              Thanks Rob
              I actually have 3 routers / WAPs running DD-WRT. Two of those are set for no WAN type access and no DHCP. Basically Dlink n300 routers that are acting as WAPs. I have disabled the polling of those two and look forward to your update.

              Thanks for all your hard work.
              Bob
              nice! I hadnt thought of using additional routers that way. Update should be in the updater tomorrow, so when I see it I'll let you know.

              Thanks!
              Rob
              HS4Pro on a Raspberry Pi4
              54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
              Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

              HSTouch Clients: 1 Android

              Comment


                #8
                Rob
                I loaded 1.0.0.1, still having out bounds issues.

                Nov-05 09:31:13 DD-WRT 7/4198 Timer: Wiese DIR Upstairs DD-WRT: process:getMacList: Index was outside the bounds of the array.


                Wondering if my unique way of using these routers as smart switches / WAPs is too far outside the norm.

                I will email you the log file.

                Comment


                  #9
                  ah - I can fix that one too.

                  No, you're probably doing it right and I am using it wrong
                  I might pick your brain some more on how you are setup.

                  When I started this endeavor, I had been using DD-WRT for a while. One day, it occurred to me to have all of that data in HS to trigger any alerts - rxErrors, txErrors, etc. I also wanted the ability to reboot the router if any of those stats got out of hand.

                  This project got my feet wet on HS3's plugin development style and how to use JQuery. I am working on another large plugin in parallel so I'm able to transfer some of that knowledge over.

                  I'll get that one fixed and into the updater asap. Thanks!
                  HS4Pro on a Raspberry Pi4
                  54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
                  Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

                  HSTouch Clients: 1 Android

                  Comment

                  Working...
                  X