Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

Secure Client for DigiXbee

Home Forums Mayfly Data Logger Secure Client for DigiXbee

Viewing 3 reply threads
  • Author
    Posts
    • #19723
      Sabin
      Participant

        I am trying to send post request to playground.hydroserver.org – which requires Secure Client. Does secure client really works for DigiXbee S6b?

      • #19724
        Sara Damiano
        Moderator

          No. The S6B (wifi) does not support secure clients.

        • #19725
          Sabin
          Participant

            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?

          • #19726
            Sara Damiano
            Moderator

              The ESP32 does.  It’s also a currently supported product and very widely available.  You can get very cheap ESP32 breakout boards in a variety of shapes and sizes.  There are several flavors depending on how much power you need, but they can all do a basic secure post request.  You could even use the older, even cheaper ESP8266.

              If you’re using something else as the “brain” and only want to use the ESP32 (or ESP8266) as a blind modem, flash it with AT firmware and use TinyGSM.  Check out the Web Client example for a hand-made post request.  This is probably similar to what you were doing with the S6B.  If all you need is sever certificate verification, that example should be all you need.  If you need client certificate or mutual verification, I wrote up an example here of uploading new certificates to the module.  You only need to upload the certificates once.

              You can get a lovely ESP32 in Bee format with AT firmware pre-flashed here:  https://www.envirodiy.org/product/envirodiy-esp32-bee-wifi-bluetooth/

              If you don’t want to use a second board as the brain, there are zillions of examples on the web of people using ESP32’s to do all kinds of cool things.  They’re very heavily used in home automation and are quite powerful.  Buy any breakout format you want.

          Viewing 3 reply threads
          • You must be logged in to reply to this topic.