-
Sara Damiano replied to the topic Editing Variable UUIDs in the forum Monitor My Watershed 4 years, 6 months ago
I’ve pushed what I think should fix the testing mode to the develop branch of the ModularSensors library, but I haven’t actually tested it myself yet.
I’ll see if I can get it tested tomorrow and then pushed to the master branch.
-
Sara Damiano replied to the topic Editing Variable UUIDs in the forum Monitor My Watershed 4 years, 6 months ago
Working on it right now for you. It will be a library update. The lack of modem update in sensor testing mode was an oversight; I want it to be there automatically.
-
Sara Damiano replied to the topic Editing Variable UUIDs in the forum Monitor My Watershed 4 years, 6 months ago
You didn’t manage to connect to the internet for the clock sync. I’m not sure why that happened.
The modem values won’t update in sensor testing mode and they’re always updated at the *prior* internet connection. Since you didn’t connect successfully for the clock sync, they didn’t update.
-
Sara Damiano replied to the topic Double_logger example modification in the forum Mayfly Data Logger 4 years, 7 months ago
I waded back through my “git blame” and I don’t see any changes I’ve made to the request more recent than 8 months ago, where I removed one single space – from a double space in one of the headers. The next most recent change was 15 months ago. Is it possible your libraries were that old?
-
Sara Damiano replied to the topic Double_logger example modification in the forum Mayfly Data Logger 4 years, 7 months ago
@stoltzfus-12osu-edu – that is very interesting to know. Do you happen to know exactly what version of the library you’d had prior to updating? If not, how long (at least roughly) would a the long time since you updated be? A month or two? A year? The specification for the post format hasn’t changed at all since it was first developed, but i…[Read more]
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 7 months ago
It’s very, very intentional that ModularSensors uses that Atlas sensors only in I2C mode and I do not intend to change this. When using Atlas sensors in UART mode, each sensor must have an individually dedicated UART port. The Mayfly has exactly two hardware (processor implemented) UART’s – one dedicated to the computer/programming and the o…[Read more]
-
Sara Damiano replied to the topic Manual upload of CSV files on MonitorMyWatershed in the forum Mayfly Data Logger 4 years, 7 months ago
It would be so much better if the website at least told you *why* and upload failed! All you get is a “failed” which could mean anything – the format was bad, the file was too big, there was an internet blip, who knows. The only way right now to even get an inking as to why it fails is to turn on “developer tools” (F12 in Firefox, I think also i…[Read more]
-
Sara Damiano replied to the topic Double_logger example modification in the forum Mayfly Data Logger 4 years, 7 months ago
Also, just so you understand, ModularSensors isn’t powerful enough to “stash” recent data and save it for later. So when you’re in production and only connecting once an hour, the data being sent on the hour will only be for that one point. If for some reason there’s something wrong with the cellular connection in that moment it is supposed to s…[Read more]
-
Sara Damiano replied to the topic Double_logger example modification in the forum Mayfly Data Logger 4 years, 7 months ago
@w3asa – I don’t have formal training in computer science or even in electrical engineering. I have one bachelor’s level degree – in chemistry.
@stoltzfus-12osu-edu – two things with your code – and I completely understand why you did it the way you did – because the example did. Blame the chemist.
1 – you’re creating each variable 3 times in…[Read more]
-
Sara Damiano replied to the topic Manual upload of CSV files on MonitorMyWatershed in the forum Mayfly Data Logger 4 years, 7 months ago
The csv uploading tools are very sensitive to an irregularities in the files. We would very much like to improve them, but right now that’s pending time and, mostly, budget.
-
Sara Damiano replied to the topic MaximDS18 on I2C Hub in the forum Mayfly Data Logger 4 years, 7 months ago
If your goal is to have everything on that one 4-port splitter – it won’t work.
The DS18 isn’t I2C – it’s OneWire. If you really want to use it on that Grove port, you should be able to use it as either D16(SCL) or D17(SDA), but I strongly suspect that attempting to dual-use one of the I2C pins for OneWire would screw up communication with…[Read more]
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 7 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…
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 7 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]
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 7 months ago
In episode 9, copy and paste from the folder that you already saved on your computer from when you cloned the whole library not from GitHub.
You should generally create a whole new project for each logger/program – just like in the Arduino IDE. The platformio.ini file must be in the top level directory for the project – not in a…[Read more]
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 7 months ago
That’s the folder for the library itself. You want to create your own separate folder for your logger deployment and its code. Follow the steps from the tutorial, episode 9, in the section “Managing your sketches in your own deployments repo.” In that, you’re copying the folder for a single example (<code cl…[Read more]
-
Sara Damiano replied to the topic Managing EnviroDIY libraries and dependencies in the forum Mayfly Data Logger 4 years, 7 months ago
That automatic library population used to happen in PIO version 3ish, but it got lost somewhere in the updates. It’s good to hear it’s back again.
I don’t usually specify the version of ModularSensors in my ini file, but it’s not a bad idea to do so. If you want to later recreate the set-up exactly, then it’s definitely easier if the version n…[Read more]
-
Sara Damiano replied to the topic SDI-12 Library in the forum Other Data Loggers 4 years, 7 months ago
My intent was to help you by giving you an example of something you could modify to your needs, not to give you a final working program.
This version will compile. I don’t know if it will actually work for your sensors or log data as expected. You will need to test that.
#include <SDI12.h> #include <SD.h> #include <Wire.h> #include &…
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 7 months ago
Ctrl+S will save the file. That keyboard shortcut works on almost all Windows programs, including VS Code, Atom, MS Word, Excel, etc.
You can make the normal “file” menu visible in Atom in the settings. I’ve attached a screenshot. PlatformIO is just a command line tool and an extension for an editor. The editing program is either VS Code or…[Read more]
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 7 months ago
Could it be DropBox syncing? If you have that folder set to automatically synchronize with anything, make sure you exclude the entire .pio folder and all of its subfolders from your synchronization. PlatformIO expects to have full control of that folder and will be very, very unhappy if other processes try to lock onto those files. Every ti…[Read more]
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 7 months ago
Did you try just running the same command a second time like I’d suggested? Did it install any libraries?
- Load More