-
neilh20 replied to the topic Response code 504 from data.envirodiy.org in the forum Mayfly Data Logger 4 years, 9 months ago
Hi Matt
You’re doing some good characterization work. Thankyou for sharing it.
A basic issue to keep in mind is that all communications can be unreliable as there is complex telecoms infrastructure.An arbitrary wireless placement’s reliability is difficult to quantify ~ distance to cell head, direction of wind, fog/rain etc. A wireless network…[Read more]
-
Matt Barney replied to the topic Response code 504 from data.envirodiy.org in the forum Mayfly Data Logger 4 years, 9 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…
-
Jim Moore replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 9 months ago
Hi Scott-
I was able to get my LowCostEC sensor station uploading to MonMW using the AtlasScientific library. However what I really need is a <LowCostEC.h> library file that will address the Atlas EZO circuit in UART mode, read and calculate temperature, and apply correction coefficients. I looked at the AtlasScientificEC.h code and its way ab…[Read more] -
neilh20 replied to the topic Response code 504 from data.envirodiy.org in the forum Mayfly Data Logger 4 years, 9 months ago
I’m seeing similar. Out of 15posts at two miuntes apart. the first 6 where 201, and then the rest mixed 504 and 201.
The site is https://monitormywatershed.org/sites/TU-RC-Test03a/
The post structure looks good:Sending data to [ 0 ] data.envirodiy.org
POST /api/data-stream/ HTTP/1.1
Host: data.envirodiy.org
TOKEN:…[Read more] -
Matt Barney replied to the topic Response code 504 from data.envirodiy.org in the forum Mayfly Data Logger 4 years, 9 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]
-
Scott Ensign replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 9 months ago
Hi Jim: I haven’t been following this thread but I’m excited that you are pushing through this to get your data streaming to MonitorMyWatershed! I’m glad Sara has been providing help. It occurred to me that you might reach out to Adam Gold (@adamgold) because he was using both Atlas Sci hardware and PlatformIO. He published a blog detailing his…[Read more]
-
Matt Barney replied to the topic monitormywatershed.org is not responding in the forum Mayfly Data Logger 4 years, 9 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, 9 months ago
Thanks Heather!
-
Anthony Aufdenkampe replied to the topic State Logging? in the forum Mayfly Data Logger 4 years, 9 months ago
Hi Evan, I worked with Bobby Schulz to develop the https://github.com/EnviroDIY/Trigger library to un-inhibit an ISCO water sampler when turbidity was measured above a certain value. https://github.com/EnviroDIY/Trigger/tree/master/hardware/ISCO-Mayfly-Trigger
The Trigger library is quite generic, as it will send a pulse or change the polarity on…[Read more]
-
Evan started the topic State Logging? in the forum Mayfly Data Logger 4 years, 9 months ago
Hi Everyone!
Has anyone used a Mayfly to do any state logging? As in, using the Mayfly to trigger other sensors, or devices depending on monitored variables?
Or, having a Mayfly at the end of the line of a state-logger and data sent via the MMW route?-Evan
-
Robert S became a registered member 4 years, 9 months ago
-
Heather Brooks replied to the topic monitormywatershed.org is not responding in the forum Mayfly Data Logger 4 years, 9 months ago
Thanks, Matt. This was reported on GitHub earlier today and then appeared to clear. I’ve added your report to the GitHub issue.
-
Matt Barney started the topic monitormywatershed.org is not responding in the forum Mayfly Data Logger 4 years, 9 months ago
https://www.monitormywatershed.org won’t respond to a browser, and sending data from my Mayfly returns a response code 504.
-
Jim Moore replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 9 months ago
Thanks Sara for all the info. Glad to get a yes on my last two questions. Now I can go ahead and active my SIM cards with Hologram.
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 9 months ago
If you need the SD library in your program, you need to include it in your platformio.ini file in the lib_dep section. Add RTCTimer and Sodaq_DS3231 there while you’re at it since it looks like you use them.
Other answers:
- ModularSensors uses I2C, not Serial, for Atlas sensors. Please read the documentation I linked earlier. It has links to…
-
Jim Moore replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 9 months ago
I added #include <Arduino.h> and still won’t build. Can’t find SD.h which is in the adafruit library which I installed in my Arduino IDE I download this program to my EC sensor station to set up the EZO board to calibrate the probe, RTD, and set the update rate of the AtlasEZO. The easiest thing to do is to use the Arduino IDE when I need th…[Read more]
-
Drew replied to the topic Mayfly Power Switch Issue in the forum Mayfly Data Logger 4 years, 9 months ago
Hello,
Thank you for the information. We will try that and see if we can get it working right, otherwise we will get a new switch.
Have a good day.
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 9 months ago
You need to include the Arduino library – add
#include <Arduino.h>
to the top of your program. The Arduino IDE adds that automatically and does some other “massaging” of files when it converts an ino to a real cpp file that gcc then compiles; PlatformIO doesn’t. Depending on how you’ve structured your program, that may cause a few more s…[Read more]
-
Shannon Hicks replied to the topic Mayfly Power Switch Issue in the forum Mayfly Data Logger 4 years, 9 months ago
Sorry to hear you’re having trouble with your Mayfly logger power switch. That’s one of the parts I thoroughly test on each board before we ship them out, to make sure there are no problems with the switch. Occasionally we’ve seen them get flaky like that if the board has been in a moist environment (i.e. the inside of the enclosure was damp o…[Read more]
-
Drew started the topic Mayfly Power Switch Issue in the forum Mayfly Data Logger 4 years, 9 months ago
Hello,
I have been looking to redeploy my Mayfly v0.5b dataloggers here this spring, but one of them has been having issues with the power switch. Originally, the Mayfly would work for a few days but then would stop suddenly. Now, when the switch is turned on, the lights that we have turn on to show when the Mayfly is sending out a signal r…[Read more]
- Load More