-
Rick Vogel replied to the topic Publish to AWS? in the forum Mayfly Data Logger 3 years, 3 months ago
@dan
I agree with @neilh in that AWS can be a little cumbersome. I have used it with the ESP32 platforms in the past via WiFi, but in the end opted for using other end points than AWS. Lots of free dashboards out there for starting out and learning. Most of the really nice ones start adding costs once you decide to scale up the number of data…[Read more]
-
Rick Vogel replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
I’ll put the files up on a google drive and send a link for a folder to download here in a bit.
Yes, micro-python gives you lots of option. We use TLS1.2 encryption of our data, run a broker at one of our regional headquarters and also have a FTP-Secure server to remotely update both the XBee and the Teensy 3.5 processor I use as the…[Read more]
-
neilh20 replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
@zeke-holloman do you want to send me the thingspeak details on my email neilh20@wLLw.net and I’ll try them in my setting. I have a historical thingspeak account which has exceeded its free quota, so I can’t create more devices.
The hologram account should work with the Xbee LTE ( I have an XB3-CA2-UT-001) if setup, and I started with…[Read more]
-
Rick Vogel replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
Everything I was talking about is MQTT with Thingspeak. I tested it on my Thingspeak connection I created. It was just allowing the micro-python code in the Xbee to handle all the network and MQTT items vice using the AT commands from the MayFly to the Xbee as it looks like is happening in the enviroDIY libraries.
-
Zeke Holloman replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
@vogelrnws Thank you for sending that. I’ll be sure to take a look at it if ThingSpeak doesn’t work.
@neilh20 I tried running the code with your ModularSensors library, and it still didn’t work. The apn I’m using is hologram. If I am using a Hologram SIM card, is that correct, or should I change the source to something else? Also, what is…[Read more]
-
Rick Vogel replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
Here are the python files if you ever decide to look at that option. Please feel free to manipulate however you need to.
- Open up the main.py file in a ‘python’ editor and use the credentials you get from the MQTT device you created on thingspeak, not your API keys. Save file.
- Within Digi XTCU you will need to go to File System Manager on the…
-
neilh20 replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
https://thingspeak.com/channels/5940 shows a data point at Aug 02 2021 15:17 GMT-0700 Yeah!!
-
neilh20 replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
@zeke-holloman, I figured out that the other day I hadn’t changed the apn to the source I was using.
So with your code, my apn and thingspeak API, using tera-term 4.105 with TimeStamp and the following changes I got a good response from thingspeak
<div>
<div>#include <ModularSensors.h> //pre 0.30.0 was &…[Read more] -
neilh20 replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
Hello @rick-vogel – sounds fascinating & fun to use python in the Xbee. Though for ModularSensors there are layers of software that allow the physical modem to be abstracted so it could be possible to use another LTE when it becomes available (0.30.0 seems to have hooks for a new LTE modem SIM7080G) – through TinyGSM. As a Class package that @srgd…[Read more]
-
Zeke Holloman replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
Hi there @vogelrnws. Honestly, It’d be awesome if you could send that code. I’m still considering my options on the method to publish the data, but that could be helpful!
@neilh20, ok! I’ll try that. For some reason (not really sure why), the code all of a sudden started saying that it couldn’t connect to the internet for clock sync. I’m…[Read more]
-
Rick Vogel replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
Gonna let you all work through this on the mayfly code using the xbee transparent mode. If at some point you would like to use the micro-python option in the xbee I can provide some code to just use simple serial.println() on the mayfly to send payload to the xbee and it will handle all the MQTT stuff in the background.
-
neilh20 replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
hello @zeke-holloman. Just looking through it, and yes thats my assumption at the moment is that its the cellular side that is not connecting.
There are 2 parts 1) getting internet & time 2) thingspeak.
1) If the cell phone connects for NIST time, then it can connect with the internet, and the cell modem account setting is good.2) if thingspeak…[Read more]
-
Zeke Holloman replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
Hey @neilh20. I just had a thought. The fact that the software works with the Digi WiFi S6B. Do you think that means its an issue with the actual cellular connection as opposed to the code?
-
Zeke Holloman replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
Hi there @neilh20. Thanks for your response, sorry I couldn’t get to it until now. I spent some time on the code, and I tried the code with the 0.28.5 version of the EnviroDIY ModularSensors library just to see if anything changed. It still isn’t uploading to ThingSpeak though. I tried the 0.30.0 version of the ModularSensors library, alongside…[Read more]
-
neilh20 replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
@zeke-holloman – I have no idea why my previous post came out so badly, and it won’t allow me to edit it!!. My usual way of recovering strange posts.
It should be interesting to see what you get with your cell modem.
Using your sketch, which references the latest ModularSensors
Using ModularSensors Library version 0.30.0
TinyGSM Library version…[Read more] -
neilh20 replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
@zeke-holloman interesting, seems like it should work.
When I have strange issues, I delete the .pio/… and force it to do a refresh with all the remote libs. I see you are using the DecagonCTD which recently changed to hydros21, but seems like it should work.
I’ve taken your platformio.ini and program and adding my thingspeak keys,…
-
TimCLC became a registered member 3 years, 3 months ago
-
Zeke Holloman replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
Hi @neilh20, thanks for all your help! Yeah, I think I replaced the channel key in the trace with the thingSpeakChannelKey for the forum. I’m looking at the Topic [41] thing and I see the key in the topic channels/…
Here’s the platformIO file.
[platformio]
src_dir = src/logging_to_thingspeak
;src_dir =…[Read more] -
neilh20 replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
a correction on part, when I looked through the thingspeak API, both the historical and the MQTT method use the POST to deliver it to thingspeak, however they have a slightly different API.
Initially when looking at your posting I assumed you had removed the keys as it was public, however looking at your your trace it is saying…[Read more]
-
Zeke Holloman replied to the topic Using Xbee Cellular Modem with ThingSpeak in the forum Mayfly Data Logger 3 years, 3 months ago
Hi there! Yeah I registered the MQTT device via ThingSpeak. I used the MQTT Explorer you suggested and I was able to post some data to Thingspeak by typing literal values into the Explorer. This leads me to think that it’s an issue with the Mayfly code.
@neilh2o I’m curious as to how you set up the ThingSpeak using POST. I’m not…[Read more]
- Load More