-
Matt Barney replied to the topic Response code 504 from data.envirodiy.org in the forum Mayfly Data Logger 4 years, 7 months ago
Today I re-tested, using new hardware: Mayfly, modem, antenna, and LTEBee adapter. I’m still seeing the same problems: both Response Code 504 from MMW, as well as what I described above, where there was apparently(?) no attempt by the Mayfly to upload data after saving it to the SD card based on the messages it logged. I’ll attach the log file.…[Read more]
-
Matt Barney replied to the topic Manual upload of CSV files on MonitorMyWatershed in the forum Mayfly Data Logger 4 years, 7 months ago
Hi Robert,
I just now tried and am also unable to upload a CSV. In the past, I had trouble due to formatting or due to files that were too long, but once I figured that out, I saved examples of files that I’ve successfully uploaded. However, those are now failing as well. Sample csv attached, FWIW.
Matt
-
Matt Barney replied to the topic Response code 504 from data.envirodiy.org in the forum Mayfly Data Logger 4 years, 7 months ago
Hi again.
I ran another test overnight, again using a 2 minute sampling interval, with no code changes, but I removed the build flags for modem debugging from the platformio.ini. Here are the results:
- 427 total samples taken
- 52 sample events received a Response Code 504.
- 246 sample events received a Response Code 201.
- 155 of the samples…
-
Matt Barney replied to the topic Response code 504 from data.envirodiy.org in the forum Mayfly Data Logger 4 years, 7 months ago
Hi Anthony, Thanks for that, and will keep the tracert in mind!
Hi Neil, Yep, that’s software development; I’ve got the grey hairs too! I am interested in learning more about your thoughts and approaches to reproducibility, so will start a thread on that soon. Your progressive testing approach sounds great, and is what I’m trying to work toward…[Read more]
-
Matt Barney replied to the topic Response code 504 from data.envirodiy.org in the forum Mayfly Data Logger 4 years, 7 months ago
Hi Neil,
Thanks for your good explanations and ideas. As you’ve described, the Mayfly->MMW system in its current form would need additional engineering effort to be able to support a high-reliability communication system with built-in buffering, retries, etc.
At the moment, I’m trying to understand why our Mayfly systems’ reliability has dropped…[Read more]
-
Matt Barney replied to the topic Response code 504 from data.envirodiy.org in the forum Mayfly Data Logger 4 years, 7 months ago
Thank you, Neil!
Here is more information, from a test I ran overnight using a 2 minute sampling interval, from 04-01 15:32 to 04-02 08:08 MST (UTC-7:00):
- 498 total samples taken, of which 7 failed to get inserted into the MMW database.
- 55 sample events received a Response Code 504.
- 1 event received RC 400.
- The remainder received RC 201…
-
Matt Barney replied to the topic Response code 504 from data.envirodiy.org in the forum Mayfly Data Logger 4 years, 7 months ago
I’ve been getting a lot of 504 (Gateway Timeout) HTTP responses to the POST messages sent to MMW. I ran a test today with my Mayfly sampling every 2 minutes, and out of 111 samples, I got 34 successful (201) response codes and 76 response codes of 504. I also got one 502-Bad Gateway, and that datapoint didn’t make it up to MMW; the rest did. My…[Read more]
-
Matt Barney replied to the topic monitormywatershed.org is not responding in the forum Mayfly Data Logger 4 years, 7 months ago
And it’s down again. 8:54am MDT. I’ll also post on GitHub.
-
Matt Barney replied to the topic monitormywatershed.org is not responding in the forum Mayfly Data Logger 4 years, 7 months ago
Thanks Heather!
-
Matt Barney started the topic monitormywatershed.org is not responding in the forum Mayfly Data Logger 4 years, 7 months ago
https://www.monitormywatershed.org won’t respond to a browser, and sending data from my Mayfly returns a response code 504.
-
Matt Barney replied to the topic Managing EnviroDIY libraries and dependencies in the forum Mayfly Data Logger 4 years, 8 months ago
Hi Sara,
Today I started to shift my workflow to having all dependencies local to a given project as you suggested. I’m wondering whether it’s even necessary to clone the ModularSensors dependencies into the project’s .piolibdeps path? If I create a new PlatformIO project and modify its .ini file to include:
lib_ldf_mode = deep+ lib_ignore =…
-
Matt Barney replied to the topic Connecting to Verizon in the forum Mayfly Data Logger 4 years, 8 months ago
The new SIM card from Verizon works! I first did some testing using XCTU, and I can set the Carrier Profile (CP) either to 3-Verizon, or to 0-Auto-detect, and it registers and works successfully. (Not surprisingly, it never registers when CP is set to 2 (AT&T), and I also presume that setting CP=0 in an AT&T-only coverage area would not…[Read more]
-
Matt Barney replied to the topic Connecting to Verizon in the forum Mayfly Data Logger 4 years, 8 months ago
Thanks Sara. I managed to get the forbidden list displayed, and cleared. Not certain what I was doing wrong before.
If I remain in the Console and continue querying, the forbidden list will get repopulated after 15-30 seconds. The response is:
+CRSM: 144,0,"130184FFFFFFFFFFFFFFFFFF" OK
So, assuming that that value decodes to MCC=311 and MNO=480,…[Read more]
-
Matt Barney replied to the topic Connecting to Verizon in the forum Mayfly Data Logger 4 years, 8 months ago
More info: It appears that the command is being sent to the modem at every comma; I had been pasting the entire command into the Console window and getting the 3 errors. If I try typing it by hand, as soon as I type this comma: at+crsm=176,
…it immediately returns ERROR.
-
Matt Barney replied to the topic Connecting to Verizon in the forum Mayfly Data Logger 4 years, 8 months ago
I’m unable to query the FPLMN list. I did it successfully last week, so not sure what’s up now.
When I issue the command, I get 3 errors:
at+crsm=176,28539,0,0,12ERROR ERROR ERROR
I thought that the last time I got it to work, I was in bypass mode and airplane mode. This time, I’ve tried bypass and transparent modes and have tried it in airplane…[Read more]
-
Matt Barney replied to the topic Managing EnviroDIY libraries and dependencies in the forum Mayfly Data Logger 4 years, 8 months ago
I understand. I assume that whatever is in the master branch is considered stable and OK to deploy in the field (while keeping in mind all standard caveats to software development and testing 🙂 ).
-
Matt Barney replied to the topic Managing EnviroDIY libraries and dependencies in the forum Mayfly Data Logger 4 years, 8 months ago
Thanks Sara, that’s very helpful. -Matt
-
Matt Barney replied to the topic Connecting to Verizon in the forum Mayfly Data Logger 4 years, 8 months ago
Thank you Sara! Using my XBee TH board and XCTU, I got my FPLMN list cleared, and am still trying to force a Verizon connection. Nothing yet, but I will keep trying, power cycling, switching to Bypass and back to transparent, etc.
-
Matt Barney started the topic Managing EnviroDIY libraries and dependencies in the forum Mayfly Data Logger 4 years, 8 months ago
I’m still a newbie when it comes to PlatformIO and dependency management. What is a recommended best practice for managing the versions of EnviroDIY libaries that I have installed? Do you post notifications on the forum when new stable releases come out? I program each Mayfly from my laptop before shipping it out to the field, and I haven’t…[Read more]
-
Matt Barney replied to the topic Connecting to Verizon in the forum Mayfly Data Logger 4 years, 8 months ago
Thanks, Sara; I’ll check out the FPLMN issue and keep trying with a modem at my desk.
What’s the easiest way to send AT commands directly to the modem? Load StreamDebugger on a Mayfly, as described here? https://www.envirodiy.org/topic/trouble-initializing-xbee3-lte-m/#post-12658
I can’t seem to get any response; i.e., nothing gets echoed to the…[Read more]
- Load More