-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 8 months ago
The platformio.ini file is just a text file. If you can open it and view it, it’s not corrupted.
The commands I gave you should accomplish getting the libraries installed. Sometimes when installing a lot of libraries the installer gets ahead of itself and trips and crashes. Most of the time, running the command a second time will be su…[Read more]
-
Sara Damiano replied to the topic Editing Variable UUIDs in the forum Monitor My Watershed 4 years, 8 months ago
Here’s your program that compiled correctly for me.
-
Sara Damiano replied to the topic Editing Variable UUIDs in the forum Monitor My Watershed 4 years, 8 months ago
Well, it really is that “easy.” “All” you do have to do is create a new project/program, make sure it’s completely blank, copy and paste the example from GitHub into your new project, select precisely each UUID and delete the example junk text, select and copy the real UUID from the MonitorMW webpage and paste it in exactly the place you removed…[Read more]
-
Sara Damiano replied to the topic Connecting to Verizon in the forum Mayfly Data Logger 4 years, 8 months ago
Let us know how the Verizon SIMs work for you!
-
Sara Damiano replied to the topic Editing Variable UUIDs in the forum Monitor My Watershed 4 years, 8 months ago
In line 239/240 you’re missing the opening brace of the setup function. It should be
void setup() {
with that opening curly brace. You can put the curly brace right after the parenthesis on line 239 or by itself on line 240.
Also, your code is missing the “loop()” function – it will set everything up and then do nothing. You probably want to…[Read more]
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 8 months ago
You didn’t post the screenshot of the
pio lib install
so I’m not sure what’s happening there.
Try installing the libraries one after the other using these commands:
pio lib install EnviroDIY_ModularSensors
pio lib install https://github.com/PaulStroffregen/AltSoftSerial.git
pio lib install https://github.com/SRGDamia1/NeoSWSerial.git
pio lib…
[Read more] -
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 8 months ago
As a beginner, I would suggest you pick either Atom OR VS Code – whichever one feels most intuitive to you – and use that one exclusively rather than attempting to flip back and forth between them. Both editors will give you exactly the same tools for PlatformIO, but the menus and drop-downs and styling are different. Rather than try to to r…[Read more]
-
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 8 months ago
Copying only an h file into your directory is *not* the proper way to install a library. You should list the library in the “lib_deps” section of your platformio.ini and run the command
pio lib install
which should install the libraries listed in that section and their dependencies or you can install a single library with the command
pio lib…
[Read more] -
Sara Damiano replied to the topic PlatormIO: ..Python 2.7 interpreter error in the forum Mayfly Data Logger 4 years, 8 months ago
pio lib uninstall xxx
would mean “uninstall the library named xxx”. You’d replace the “xxx” with the name of whatever library you’re trying to uninstall. All of the documentation and examples use “xxx” meaning “replace this part with your own text”.I put up screen shots with the locations of buttons to open a new terminal.
-
Sara Damiano replied to the topic Connecting to Verizon in the forum Mayfly Data Logger 4 years, 8 months ago
Huh. I don’t have any *good* suggestions, but he’s a hodgepodge of things to check :
You have to use bypass or USB direct to be able to use those commands, transparent/command mode won’t work. Can you get normal responses to other commands? (ie AT – OK; ATI – modem info) Do you have your SIM card installed? The file being cleared is on the SIM…[Read more]
-
Sara Damiano replied to the topic Editing Variable UUIDs in the forum Monitor My Watershed 4 years, 8 months ago
There’s probably a missing semi-colon or brace in your program code somewhere right above line 215.
Check first where you pasted in the UUID’s. Each UUID should be enclosed with quotation marks, there should be a semicolon after both the registration token and the sampling feature and a comma after each UUID/variable in the UUID list.
You can…[Read more]
-
Sara Damiano replied to the topic SDI-12 Library in the forum Other Data Loggers 4 years, 8 months ago
Delete lines 112-117 of the code I posted.
-
Sara Damiano replied to the topic Editing Variable UUIDs in the forum Monitor My Watershed 4 years, 8 months ago
Huh. It’s an “access is denied” error. I’m guessing two processes tried to write to the same temporary folder – the automatic “check for new libraries in the library folder” process and the manual install probably collided. Did you get the same error multiple times after exiting and reopening?
-
Sara Damiano replied to the topic Connecting to Verizon in the forum Mayfly Data Logger 4 years, 8 months ago
😛 In double checking what the number would be for Verizon when it appears on the FPLMN, the very first google hit I got was an issue with someone else trying to force a Hologram SIM to use Verizon: https://github.com/botletics/SIM7000-LTE-Shield/issues/163 Per that thread from just a few days ago, others suspect that Verizon has just very re…[Read more]
-
Sara Damiano replied to the topic Connecting to Verizon in the forum Mayfly Data Logger 4 years, 8 months ago
If you’re having trouble, you can try going into bypass and checking the operator profile directly on the u-blox: send
AT+UMNOPROF?
It should reply 3 (matching up with the CP value). If for some weird reason it doesn’t, you can change it by first disconnecting from the network, changing the profile, and then restarting:
AT+CFUN=0
(OK)
AT+UMNOPR…
[Read more] -
Sara Damiano replied to the topic Managing EnviroDIY libraries and dependencies in the forum Mayfly Data Logger 4 years, 8 months ago
Also, I’m shamefully bad about notifying anyone when I’ve updated the libraries.
-
Sara Damiano replied to the topic Trouble initializing XBee3 LTE-M in the forum Mayfly Data Logger 4 years, 8 months ago
No worries! I should have checked everything out on the Arduino IDE anyway.
-
Sara Damiano replied to the topic Managing EnviroDIY libraries and dependencies in the forum Mayfly Data Logger 4 years, 8 months ago
If you have the same library installed in a global folder (ie userme_xx.platformiolibxxx) and the local project library dependency folder (project_xx.piolibdepsxxx) PlatformIO should select the local one to build that project and ignore the global installation. Here’s the docs on the prioritization of installed libraries used at compile time:…[Read more]
-
Sara Damiano replied to the topic Managing EnviroDIY libraries and dependencies in the forum Mayfly Data Logger 4 years, 8 months ago
Personally, I don’t install any libraries at all to my “global” folder in platformio. (ie userme_xx.platformiolibxxx) I always reclone the entire batch of libraries into the .piolibdepsxxx folder for each project. That way I can recreate a specific program with the libraries just as they were when the program was used and can update at will fo…[Read more]
-
Sara Damiano replied to the topic Connecting to Verizon in the forum Mayfly Data Logger 4 years, 8 months ago
Do you have a carrier board that you can use to connect the XBee3 to the computer? If so, then the easiest way is to use that.
Open XCTU and find the XBee3. To type direct AT commands to the u-blox you need to be in bypass – get there by scroll down in XCTU to the “Serial Interfacing” section and change API Enable to “Bypass Mode [5].” Cl…[Read more]
- Load More