Closed blaskovicz closed 4 years ago
I just looked on the adafruit.io site and it seems like this should be 128.128 \0, max, so 258. Does that sound right?
@blaskovicz This looks right, thanks for filing the issue. Would you want to create a pull request for this issue?
Does the max csv length need to get updated as well https://github.com/adafruit/Adafruit_IO_Arduino/blob/ce83ba999056639728de655fbad49bfb4c935cfd/src/AdafruitIO_Definitions.h#L130?
Not sure, I'd need to dig further into this and may by the end-of-week, may be worth taking a sep. issue out for the CSV length.
Thank you for providing this excellent data warehouse and associated apis!
I found that when using a feed scoped to a group that's longer than the 20 character limit, the
feedName()
function call overflows incorrectly into the data.Arduino board: NodeMCU 1.0 ESP-12E Module (ESP 8266)
Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.12
Steps to reproduce the problem below:
1) Create a feed group, eg:
coop-command
. 2) Create a feed that will cause the group name + . + feed to be > 20; eg:leds_on_off
3) Create a dashboard with an on/off switch whose texts are "ON" and "OFF" 4) Create and run a sketch with the following code:5) toggle the on / off switch and observe the overflow in the serial monitor: