• Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login
  • Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login

Forward payload list too short

Scheduled Pinned Locked Moved Troubleshooting
16 Posts 3 Posters 1.2k Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    jkandasa
    last edited by jkandasa 24 Aug 2020, 16:10

    @fsgrazzutti I guess you are seeing only 100 items. There is a hard code limit on the backend.

    DROP_DOWN_ITEM_LIMIT = 100

    • Source: https://github.com/mycontroller-org/mycontroller-v1-legacy/blob/2aba10341bd2a46d9fe9d5ebcd349bac3270cce9/modules/core/src/main/java/org/mycontroller/standalone/api/jaxrs/utils/RestUtils.java#L44

    I have included this limit to improve the overall system performance. Seems this is a bottleneck on your case.
    Let me know, I will try to fix this.

    F 2 Replies Last reply 25 Aug 2020, 07:33 Reply Quote 0
    • F Offline
      fsgrazzutti @jkandasa
      last edited by fsgrazzutti 25 Aug 2020, 07:33

      @jkandasa thanks for your kind answer.
      It's what I imagined.
      My use case is: Recreational vehicle equipped with 15-20 nodes to monitor resources like air quality, water, batteries, power supplies and chargers, gas, temperature&humidity, gps, heading and inclination and so on.

      So, it's a Smart Mobile Home !

      I chose to build a display node just because the white background of the web interface does not fit really well (too much light during the night, annoying when you drive. But I would have avoided it if I only could 😉 since it's time and nerves consuming, and buy a couple of cheap tablets instead.

      But since I am there, I'd like to keep on using it, so if we could increment it it would be super nice. The same applies to operations and to dashboard, since it'a hard to pick the proper sensor variable when you have about 200 sensor variables, and growing.

      Thanks in advance and keep up the good work !
      Franco.

      1 Reply Last reply Reply Quote 1
      • J Offline
        jkandasa
        last edited by 26 Aug 2020, 07:51

        @fsgrazzutti your mobile home looks interesting. Is it running on MySensors library? What is the RF module are you using?

        Sure, I will make the sensor list limitation as configurable.

        F 1 Reply Last reply 26 Aug 2020, 16:43 Reply Quote 0
        • F Offline
          fsgrazzutti @jkandasa
          last edited by 26 Aug 2020, 16:43

          @jkandasa I am using nRF24L01. since the distance is short and there are no RF obstacles.

          Most sensors are base on the Keywish RF-NANO, which is very convenient for non-battery supplied applications.
          The serial gateway itself is just an RF-NANO plugged into the Raspberry Pii where MyController is running.

          So far I've developed:

          with RF-NANO

          1. temperature/humdity sensors
          2. RS485 sensor interfaced with 2 power meters (for inverter and mains)
          3. GPS sensor
          4. water tank level and flow
          5. inclinometer (sleeping and cooking on a inclined plane is no fun).

          with ESP32+nRF

          1. BLE interface to commercial Solar Charger
          2. Wifi interface to commercial Battery Manager
          3. Air Quality Sensor (this works as a Wifi gateway)

          with Arduino Mega + nRF (maybe I'll migrate to ESP32 using WiFi)

          1. touch 3.5" display

          Lights, relays, door locks and alarms to come.

          1 Reply Last reply Reply Quote 1
          • F Offline
            fsgrazzutti @jkandasa
            last edited by 6 Sept 2020, 06:27

            @jkandasa did you have any chance to look at the list issue ? now the server is installed in the camper and I look forward to visualize the data on the display 🙂

            J 1 Reply Last reply 6 Sept 2020, 17:24 Reply Quote 0
            • J Offline
              jkandasa @fsgrazzutti
              last edited by 6 Sept 2020, 17:24

              @fsgrazzutti I just fixed https://github.com/mycontroller-org/mycontroller-v1-legacy/issues/511
              Changes are available on SNAPSHOT location.
              Kindly report back the status. Thanks!

              F 2 Replies Last reply 6 Sept 2020, 19:30 Reply Quote 0
              • F Offline
                fsgrazzutti @jkandasa
                last edited by 6 Sept 2020, 19:30

                @jkandasa many thanks ! I will try it and report back to you !

                1 Reply Last reply Reply Quote 0
                • F Offline
                  fsgrazzutti @jkandasa
                  last edited by 6 Sept 2020, 22:42

                  @jkandasa it works !
                  it is a bit slower than before (30") but it does what I was missing.

                  Great job, thank you !

                  J 1 Reply Last reply 7 Sept 2020, 02:54 Reply Quote 1
                  • J Offline
                    jkandasa @fsgrazzutti
                    last edited by 7 Sept 2020, 02:54

                    @fsgrazzutti increasing RAM might help to speedup. if you have enough ram, you can increase it on the bin/start.sh file.

                    F 2 Replies Last reply 7 Sept 2020, 06:36 Reply Quote 0
                    • F Offline
                      fsgrazzutti @jkandasa
                      last edited by 7 Sept 2020, 06:36

                      @jkandasa oh good hint. I will try it !

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        fsgrazzutti @jkandasa
                        last edited by 7 Sept 2020, 09:12

                        @jkandasa increasing the memory did it. thanks again !

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post

                        0

                        Online

                        586

                        Users

                        529

                        Topics

                        3.4k

                        Posts
                        Copyright © 2015-2025 MyController.org | Contributors | Localization