@neilh20. Hey Neil! Sorry it’s been a while, but just a quick update. I was able to get it to work. I ended up purchasing a new XBee cellular modem (same type) alongside the Digi IoT Development Kit. Works great now!
I’m thinking the issue was either that I had set up the modem with a board that wasn’t the dedicated XCTU board (I was using the…[Read more]
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]
@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]
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!
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.
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?
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]
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  thing and I see the key in the topic channels/…
Here’s the platformIO file.
src_dir = src/logging_to_thingspeak
;src_dir =…[Read more]
Hey @neilh20. Thanks for looking at. Yeah, I already had the keys and the channel ID in the code, I just took them out for the forum. Sorry, I understand that could have been confusing. Other than that, is there anything else you could see it being?
Hey, thanks @neilh20. I added that and uploaded the program and this was the serial monitor output. What does dataPublisherBase refer to?
Now running logging_to_thingspeak.ino on Logger logger
Using ModularSensors Library version 0.28.5
TinyGSM Library version 0.10.9
Logger timezone is set to UTC -5
RTC timezone is set to UTC
CTDcond has a…[Read more]
Hi there! Thank you @neilh20 and @vogelrnws for all of your help! Yeah, based on what I’m seeing, I don’t think its been connecting at all. I have been checking the channel I’m using whenever I’m trying to connect and no data has been popping up in the fields. It’s only got like, 5 fields, so it’s not too complicated either. Sorry, I’m somewhat…[Read more]
James, I really like all the YosemiTech sensors I’ve used, and I’ve facilitated the purchase of approximately ~150 or more for various organizations. The Y511 turbidity sensor with wiper is the most common we use, and everyone is very satisfied with it.
I’ve been working with a water utility, and after doing a careful comparison with their other…[Read more]
James, we’ve been playing with hardware designed for this for quite some time (as a subfolder in our SensorModbusMaster repo), and just recently spun our commits/designs into it’s own Mayfly-Modbus-Wing repo. Have you seen this?
Our solder-your own DIY version is described here: https://github.com/EnviroDIY/Mayfly-Modbus-Wing/tree/master/Modbus-Ma…[Read more]
@mbarney & @neilh20, the CSV downloads are not an effective way of accessing data gaps, because that mechanism relies on the same corrupted catalog crosswalk that underlies the problem with the sparkline plots.
There are really only two ways for you to assess data gaps:
- Keep a record of server response codes from RESTful POST requests, from…
Thanks @neilh20. I will definitely be interested in these when they are available.
@aufdenkampe do you have any feedback about YOSEMITECH turbidity sensors? My questions are:
1) Are they as reliable as other turbidity sensors, i.e. do they drift more readily, or provide strange values? For $510USD (non-wiper) or $680USD (wiper), they seem…[Read more]
Thanks to both of you for your responses! I think I had just figured out the cause of my problem right about the time you were posting them, but needed to continue refining and testing my code before replying.
What’s working now is:
- In the sensor’s setup() function, set trigger pin to an output
- at powerUp(), set pin HIGH
- at wake(), run the…
@shicks Thanks for those details. I wonder whether it could be the turbidity sensor, rather than the Mayfly, that’s actually drawing power, but I wouldn’t have thought it could do that while (or if) the Mayfly is sleeping. A bit more about my circuit:
I’m powering the Turner from Mayfly’s switched 3V3. The Turner’s analog output is 0-5V, which…[Read more]
I had seen that post on the $3 EC meter several months ago and experimented with building a variation of that sensor but had little success. Thought that it might be better to buy something that already works, to better understand it, an not try to reinvent the wheel.
I would love to see what you come up with for…[Read more]
Oops. So, it never tried for longer than 15 minutes with that sketch because the watchdog doesn’t get “fed” while it’s waiting for the internet and it “bites” (ie, forces the board to reset) after 15 minutes. But 15 minutes is still a pretty long time to wait.
After the first connection in a new location, it should connect much faster in…[Read more]
- Load More