Python IoT

Open-source Python projects categorized as IoT

Top 23 Python IoT Projects

  • Home Assistant

    :house_with_garden: Open source home automation that puts local control and privacy first.

    Project mention: Is there a go to home automation dashboard / app for tablets on display on your wall? | | 2023-06-01

    if you are a tech person, definitely take a look at HomeAssistant!

  • SaltStack

    Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:

    Project mention: Is Chocolatey v2.0 now the stable CLI version? | | 2023-05-31


  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • urh

    Universal Radio Hacker: Investigate Wireless Protocols Like A Boss

    Project mention: [Github] - jopohl/urh: Universal Radio Hacker: Investigate Wireless Protocols Like A Boss | | 2023-04-30
  • microk8s

    MicroK8s is a small, fast, single-package Kubernetes for developers, IoT and edge.

    Project mention: Picked up this HP EliteDesk 800 G2 SFF for 60 EUR! Runs OpenBSD like a charm. | | 2023-03-21

    They now power my microk8s/x86 cluster (in addition to my 8-node Raspberry Pi4 ARM64 microk8s cluster), microceph cluster and my LXD cluster, and all are configured with WOL, so I can bring up the cluster from any machine in the homelab, on demand.

  • PlatformIO

    A professional collaborative platform for embedded development :alien:

    Project mention: Debug program using PlatformIO and avr-stub | | 2023-05-22

    PlatformIO together with avr-stub can be used to do source level debugging but there are some caveats.

  • tuya-convert

    A collection of scripts to flash Tuya IoT devices to alternative firmwares

    Project mention: OTA flashing a Tuya device - advice needed | | 2023-03-22

    First of all I've tried Tuya-Convert but it was never able to find the device. I've also tried TuyOTA with similar results, it just seems like it can't detect the device at all - neither in pairing mode, nor in normal operation mode.

  • awesome-iot

    Awesome IoT. A collaborative list of great resources about IoT Framework, Library, OS, Platform (by phodal)

    Project mention: 10 Internet of things health websites - ideas from hundreds of self-tracking projects, optimize your health with gyroscope trackers, huge list of over 1,200 IOT companies | | 2022-08-29 - A curated list of IoT

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • home-assistant-config

    :house: My Home Assistant configuration, a bit different that others :) Be sure to :star2: this repository for updates! (by frenck)

  • SmartIR

    Integration for Home Assistant to control climate, TV and fan devices via IR/RF controllers (Broadlink, Xiaomi, MQTT, LOOKin, ESPHome)

    Project mention: Intesis home / Ac cloud alternative for Panasonic AC? | | 2023-01-17
  • adaptive-lighting

    Adaptive Lighting custom component for Home Assistant

    Project mention: Circadian lighting without the "smart" | | 2023-05-20

    Personally, I use this Integration within my home automation hub. It took all of 5-10min to set up, didn't require any additional hardware, works with all of my existing bulbs and strips with CT and/or brightness control, updates my lights every 90s, and slowly transitions to the next setting over a 45s period. Any time I make manual adjustments to any light, it holds that setting until I turn the light off.

  • pytradfri

    IKEA Trådfri/Tradfri API. Control and observe your lights from Python. Examples available. On pypi. Sans-io.

    Project mention: IKEA Tradfri lamp only | | 2023-02-06

    I'm thinking about getting a smart light bulb to my room, but I want to control it from my Raspberry Pi. I checked out LIFX, and it looks great, but a bit too expensive. So, I was looking into buying IKEA's Tradfri bulb, since it costs way less. I found a python API for it, and I can buy a Zigbee module for my Raspberry. Is it possible to use the Tradfri lamp only trough raspberry, without buying any of the controllers from IKEA?

  • amazon-dash

    Hack your Amazon Dash to run what you want.

  • tuya-home-assistant

    Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.

    Project mention: Setting up Tuya IoT | | 2022-11-21

    Check which data center you need to use, it may not be as obvious as you'd think it is:

  • platform-espressif32

    Espressif 32: development platform for PlatformIO

    Project mention: How to setup platform up for this flashing board? | | 2023-03-20

    If you want, you can also copy the board definition file and create a custom one in your own repo (if it differs much from the esp32-s3-devkitc-1).

  • MicroWebSrv

    A micro HTTP Web server that supports WebSockets, html/python language templating and routing handlers, for MicroPython (used on Pycom modules & ESP32)

    Project mention: way to control led strips by phone | | 2022-10-26

    setting up your own simple webserver

  • bluing

    An intelligence gathering tool for hacking Bluetooth

    Project mention: Try hunting with "Bluing": An intelligence gathering tool for hacking Bluetooth | | 2023-01-15
  • MicroWebSrv2

    The last Micro Web Server for IoTs (MicroPython) or large servers (CPython), that supports WebSockets, routes, template engine and with really optimized architecture (mem allocations, async I/Os). Ready for ESP32, STM32 on Pyboard, Pycom's chipsets (WiPy, LoPy, ...). Robust, efficient and documented!

  • HAP-python

    A python implementation of the HomeKit Accessory Protocol (HAP)

    Project mention: Python Scripts with Essentials | | 2023-01-23


  • rhino

    On-device Speech-to-Intent engine powered by deep learning (by Picovoice)

    Project mention: Speech Recognition in Unity: Adding Voice Input | | 2023-02-16

    Download pre-trained models: "Porcupine" from Porcupine Wake Word and Video Player Context from Rhino Speech-to-Intent repositories - You can also train a custom models on Picovoice Console.

  • MerossIot

    Async Python library for controlling Meross devices

  • azure-iot-sdk-python

    A Python SDK for connecting devices to Microsoft Azure IoT services

  • home-assistant-configuration

    My Old Home Assistant Config. For more Information visit -> (by thejeffreystone)

    Project mention: Automate a Wake-up light | | 2022-12-16

    I created two helpers (which are basically what Home Assistant calls variables): a toggle helper and a time helper. Then I created an automation to run when the time is equal to the time that the helper is set to and it checks to make sure the toggle helper is on, then you can run whatever task you want (lights, music, etc) as part of the automation. Some smart lights have a built in "fade" time that you can use in Home Assistant, but my lights don't support that (FYI, the "Light" service call built into Home Assistant has this functionality but only if your lights support it. If your lights don't they'll just come on and you'll be confused as to why it isn't working.... I know from experience), so I am using a script I borrowed from Jeff at SlackerLabs to accomplish the fading. He talks about his lighting script in this video. He has it on his GitHub here. Scripts in Home Assistant are a little more complicated than regular automations, but definitely much more powerful.

  • TerrariumPI

    Home automated terrarium/aquarium or other enclosed environment with a Raspberry Pi


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-06-01.

Python IoT related posts


What are some of the best open-source IoT projects in Python? This list will help you:

Project Stars
1 Home Assistant 60,641
2 SaltStack 13,250
3 urh 9,450
4 microk8s 7,433
5 PlatformIO 6,805
6 tuya-convert 4,103
7 awesome-iot 3,923
8 home-assistant-config 1,612
9 SmartIR 1,470
10 adaptive-lighting 986
11 pytradfri 909
12 amazon-dash 786
13 tuya-home-assistant 759
14 platform-espressif32 693
15 MicroWebSrv 567
16 bluing 562
17 MicroWebSrv2 553
18 HAP-python 536
19 rhino 533
20 MerossIot 424
21 azure-iot-sdk-python 397
22 home-assistant-configuration 388
23 TerrariumPI 363
ONLYOFFICE Docs — document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises