Forward payload list too short
jkandasa last edited by jkandasa
@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.
@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 !
@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.
@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:
- temperature/humdity sensors
- RS485 sensor interfaced with 2 power meters (for inverter and mains)
- GPS sensor
- water tank level and flow
- inclinometer (sleeping and cooking on a inclined plane is no fun).
- BLE interface to commercial Solar Charger
- Wifi interface to commercial Battery Manager
- Air Quality Sensor (this works as a Wifi gateway)
with Arduino Mega + nRF (maybe I'll migrate to ESP32 using WiFi)
- touch 3.5" display
Lights, relays, door locks and alarms to come.
@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
@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!
@jkandasa many thanks ! I will try it and report back to you !
@jkandasa it works !
it is a bit slower than before (30") but it does what I was missing.
Great job, thank you !
@fsgrazzutti increasing RAM might help to speedup. if you have enough ram, you can increase it on the
@jkandasa oh good hint. I will try it !
@jkandasa increasing the memory did it. thanks again !