-
Sabin replied to the topic EspressifESP32 in the forum Mayfly Data Logger 3 days, 22 hours ago
Thank you so much.
I am not using the AWS stuff for now but I will be deploying mosquitto on cloud at some time.
if this old firmware create problem at that point, I will update the firmware.
Thank you again. -
Sabin replied to the topic EspressifESP32 in the forum Mayfly Data Logger 3 days, 22 hours ago
I am using EnviroDIY fork. Until now everything is working. I am able to make both http post, and mqtt connection.
I checked and mine esp32 firmware version is 2.4.0. So,Is it because of this lower version, I had to do some hack around for ssl connection?
Below is the part of workaround I coded to make it work with hydroserver.void…
-
Sabin replied to the topic EspressifESP32 in the forum Mayfly Data Logger 3 days, 23 hours ago
I have.
Before opening a tcp connection, the Socket Receiving Mode should be made to 1 (passive mode). I have no idea why it works only while doing this. But it works.void ExpressifESP32::extraSetupForMQTT(){ // See… -
Sabin replied to the topic EspressifESP32 in the forum Mayfly Data Logger 2 weeks, 3 days ago
Never mind. The wifi worked. I used
AT+CWMODE?and change it from SoftAP to Station mode.
But I am struggling to use this to connect to mqtt broker. -
Sabin started the topic EspressifESP32 in the forum Mayfly Data Logger 2 weeks, 3 days ago
How to connect to Wifi while using this in Mayfly data logger?
I have been trying this codebase or even the one with tinygsm library but nothing works. Is there any pre-configuration that is needed to be done?#include <ModularSensors.h> #include <modems/EspressifESP32.h> #include <Arduino.h> #include "arduino_secrets.h" #define XbeeSerial…
-
Sabin replied to the topic Secure Client for DigiXbee in the forum Mayfly Data Logger 1 month ago
Thanks for the reply.
So, how do I even do POST request to server running on the web? Are there any Wifi modules that are alternative to Xbee that supports SecureClient? -
Sabin started the topic Secure Client for DigiXbee in the forum Mayfly Data Logger 1 month ago
I am trying to send post request to playgrond.hydroserver.org – which requires Secure Client. Does secure client really works for DigiXbee S6b?
-
Sabin replied to the topic DigiXBeeWifi class mqtt codeflow example in the forum Mayfly Data Logger 4 months, 3 weeks ago
Thank you for your response.
I used TinyGSM directly and got into this problem. I was deploying broker locally,, the code on the inside check for dns lookup.. Currently I commented this code out and tinygsm works.
https://github.com/issues/created?issue=vshymanskyy%7CTinyGSM%7C854This is what my full code looks without tinygsm:
#define XBEE_PWR…
-
Sabin replied to the topic DigiXBeeWifi class mqtt codeflow example in the forum Mayfly Data Logger 4 months, 3 weeks ago
Thank you for your response.
I think it’s the master branch.Also, this is what I am trying to do.
DigiXBeeWifi modemXBWF(&Serial1, powerPin, statusPin, false,
modemResetPin, modemSleepRqPin,
ssid, pwd, false);Client* netClient = nullptr;
MqttClient* mqttClient = nullptr;void setup() {
Serial.begin(9600);
Serial1.begin(9600);
delay(2000);if…
-
Sabin started the topic DigiXBeeWifi class mqtt codeflow example in the forum Mayfly Data Logger 4 months, 3 weeks ago
I am trying to make mayfly work as publisher, send data to broker running on raspberry pi. I am using Xbee s6b wifi modem.
While using this class to create client that I could pass into pubsub or arduinomqtt as constructor variable. But, DigiXbeeWifi class would always reset my DL to 0.0.0.0 which I set using xctu to correct broker address and…[Read more] -
Sabin became a registered member 8 months, 3 weeks ago
Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of