OPEnSLab-OSU/Loom

Ethernet Examples Don't Work

Closed this issue · 0 comments

Describe the bug
Loom's default Google Sheets Ethernet examples don't work. It compiles and uploads, but when the serial monitor is opened, it states the deserializeJson() failed; InvalidInput.

Hardware in Use
Any Feather M0

To Reproduce

  1. Open either the "GoogleSheetsEthernet" or "GoogleSheetsRTC" example code
  2. Upload example code to Feather
  3. Open Serial Monitor

Expected behavior
The code successfully prints the config and all of the modules listed. Instead, it states the deserialJson() failed and only lists the device and packet number, no values from any other module.

Code
https://github.com/OPEnSLab-OSU/Loom/blob/master/examples/Publishing%20Platforms/GoogleSheetsEthernet/GoogleSheetsEthernet.ino

OR

https://github.com/OPEnSLab-OSU/Loom/blob/master/examples/Publishing%20Platforms/GoogleSheetsRTC/GoogleSheetsRTC.ino

Config
https://github.com/OPEnSLab-OSU/Loom/blob/master/examples/Publishing%20Platforms/GoogleSheetsEthernet/config.h

OR

https://github.com/OPEnSLab-OSU/Loom/blob/master/examples/Publishing%20Platforms/GoogleSheetsRTC/config.h

Additional context
I tried fixing the problem, but wasn't able to. I tried: switching the Internet to "Ethernet" instead of "All" in the sketch and removing the comma after Google Sheet's in the config since it was the last line. When the Ethernet parameters are set to 'default' in the config, the program works. But the current parameters in the config doesn't.