PyPortal IoT Plant Monitor with Microsoft Azure IoT and CircuitPython

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Locked
User avatar
GeorgeCollier
 
Posts: 2
Joined: Mon Dec 05, 2022 6:33 pm

PyPortal IoT Plant Monitor with Microsoft Azure IoT and CircuitPython

Post by GeorgeCollier »

Hi Guys,

I've started my first adafruit project with the PyPortal.

Its this one https://learn.adafruit.com/using-micros ... cuitpython

I'm at the stage of starting up the monitor that connects to Azure Central.

iot_mqtt.py is complaining there is no module SSL.

I checked the github repo and I see

Code: Select all

An MQTT client for Azure IoT
* Author(s): Jim Bennett, Elena Horton
"""

import gc
import json
import ssl <---
import time
There is no ssl.mpy or ssl.py that I can find in the libraries or the project bundle.

Your help is greatly appreciated

George

User avatar
mikeysklar
 
Posts: 14179
Joined: Mon Aug 01, 2016 8:10 pm

Re: PyPortal IoT Plant Monitor with Microsoft Azure IoT and CircuitPython

Post by mikeysklar »

George,

I don't see the SSL mentioned in the PyPort IoT plant monitor example code. Are you running an older version of the code? The page has been redone.

Based on the readthedocs CircuitPython page the SSL module is not supported on the PyPortal boards.

Code: Select all

Available on these boards

    AITHinker ESP32-C3S_Kit
    AITHinker ESP32-C3S_Kit_2M
    ATMegaZero ESP32-S2
    Adafruit Camera
    Adafruit Feather ESP32-S2 TFT
    Adafruit Feather ESP32S2
    Adafruit Feather ESP32S3 No PSRAM
    Adafruit FunHouse
    Adafruit MagTag
    Adafruit Metro ESP32S2
    Adafruit QT Py ESP32-S3 no psram
    Adafruit QT Py ESP32C3
    Adafruit QT Py ESP32S2
    Artisense Reference Design RD00
    BastWiFi
    CrumpS2
    Cytron Maker Feather AIoT S3
    ESP 12k NodeMCU
    ESP32-C3-DevKitM-1
    ESP32-S2-DevKitC-1-N4
    ESP32-S2-DevKitC-1-N4R2
    ESP32-S3-Box-2.5
    ESP32-S3-DevKitC-1-N8
    ESP32-S3-DevKitC-1-N8R2
    ESP32-S3-DevKitC-1-N8R8
    ESP32-S3-DevKitM-1-N8
    ESP32-S3-USB-OTG-N8
    Feather ESP32S2 without PSRAM
    FeatherS2
    FeatherS2 Neo
    FeatherS2 PreRelease
    FeatherS3
    Franzininho WIFI w/Wroom
    Franzininho WIFI w/Wrover
    Gravitech Cucumber M
    Gravitech Cucumber MS
    Gravitech Cucumber R
    Gravitech Cucumber RS
    HMI-DevKit-1.1
    HexKyS2
    IoTs2
    Kaluga 1
    LILYGO TTGO T-01C3
    LILYGO TTGO T-OI PLUS
    LILYGO TTGO T8 ESP32-S2
    LILYGO TTGO T8 ESP32-S2 w/Display
    MORPHEANS MorphESP-240
    MicroDev microC3
    MicroDev microS2
    Oak Dev Tech PixelWing ESP32S2
    ProS3
    S2Mini
    S2Pico
    Saola 1 w/Wroom
    Saola 1 w/Wrover
    TTGO T8 ESP32-S2-WROOM
    Targett Module Clip w/Wroom
    Targett Module Clip w/Wrover
    TinyS2
    TinyS3
    nanoESP32-S2 w/Wrover
    nanoESP32-S2 w/Wroom 

https://docs.circuitpython.org/en/7.3.x ... index.html

User avatar
GeorgeCollier
 
Posts: 2
Joined: Mon Dec 05, 2022 6:33 pm

Re: PyPortal IoT Plant Monitor with Microsoft Azure IoT and CircuitPython

Post by GeorgeCollier »

Thank you Mike!

I will look into this. I had downloaded that project bundle but maybe that is not the most current software for this project.

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”