{"id":16008574,"url":"https://github.com/jimbobbennett/iotc_circuitpython","last_synced_at":"2025-04-05T02:24:06.701Z","repository":{"id":55947207,"uuid":"242844648","full_name":"jimbobbennett/iotc_circuitpython","owner":"jimbobbennett","description":"IoT Central library for Circuit Python - unfinished!","archived":false,"fork":false,"pushed_at":"2020-12-05T00:03:12.000Z","size":38,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T10:44:23.275Z","etag":null,"topics":["azure","circuitpython","iot","iot-central"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jimbobbennett.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-24T21:13:01.000Z","updated_at":"2020-03-24T16:47:59.000Z","dependencies_parsed_at":"2022-08-15T10:01:12.677Z","dependency_job_id":null,"html_url":"https://github.com/jimbobbennett/iotc_circuitpython","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimbobbennett%2Fiotc_circuitpython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimbobbennett%2Fiotc_circuitpython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimbobbennett%2Fiotc_circuitpython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimbobbennett%2Fiotc_circuitpython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jimbobbennett","download_url":"https://codeload.github.com/jimbobbennett/iotc_circuitpython/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247277420,"owners_count":20912523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","circuitpython","iot","iot-central"],"created_at":"2024-10-08T12:43:35.837Z","updated_at":"2025-04-05T02:24:06.490Z","avatar_url":"https://github.com/jimbobbennett.png","language":"Python","readme":"# Azure IoT Central CircuitPython library\n\nThis library is a CircuitPython implementation of a third party Azure IoT Central SDK.\n\nThe original implementation for Python and Micropython is here: [github.com/obastemur/iot_client](https://github.com/obastemur/iot_client)\n\n## Supported boards\n\nYou will need an Adafruit board with WiFi connectivity via an ESP32 chip, either on-board or using a separate board. This has been tested using:\n\n* [Adafruit PyPortal](https://www.adafruit.com/product/4116)\n* [AdaFruit PyBadge](https://www.adafruit.com/product/4200) with an [Airlift FeatherWing](https://www.adafruit.com/product/4264)\n\n## Usage\n\n* Create an Azure IoT Central application, with a device template and a device. You can learn how to do this in the [Azure IoT Central docs](https://docs.microsoft.com/azure/iot-central/core/quick-deploy-iot-central/?WT.mc_id=iotc_circuitpython-github-jabenn). This application will need:\n\n  * A device template with an interface containing:\n\n    * A telemetry value called `value`\n\n    * A Command called `command`\n\n  * A view for the device showing the value of `value` as well as a way to run the command\n\n  * A single device using this template\n\n* Download the latest version of the Adafruit CircuitPython libraries from the [releases page](https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases)\n\n* Copy the following to the `lib` folder on your CircuitPython device\n\n    | Name                  | Type   |\n    | --------------------- | ------ |\n    | neopixel.mpy          | File   |\n    | adafruit_minimqtt.mpy | File   |\n    | adafruit_logging.mpy  | File   |\n    | adafruit_binascii.mpy | File   |\n    | adafruit_requests.mpy | File   |\n    | adafruit_ntp.mpy      | File   |\n    | adafruit_hashlib      | Folder |\n    | adafruit_esp32spi     | Folder |\n    | adafruit_bus_device   | Folder |\n\n* Copy the code from this repo to the device\n\n* Edit 'secrets.py` to include your WiFi SSID and password, as well as the ID Scope, Device ID and Key for your device\n\n* The device will reboot, connect to WiFi and connect to Azure IoT Central\n\n* Check the Azure IoT Central app, you will see random numbers being sent fot `value`.\n\n* Run the `command` command to toggle a NeoPixel on the board on and off.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimbobbennett%2Fiotc_circuitpython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimbobbennett%2Fiotc_circuitpython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimbobbennett%2Fiotc_circuitpython/lists"}