Sonoff Api Python, I finally came across Peter's work writte


  • Sonoff Api Python, I finally came across Peter's work written in python and it was exactly what I was looking for, a class that I could instantiate and control my switch remotely without flashing or having to use Charles to sniff my authentication code etc. More information: https://ewelink. py at master · lucien2k/sonoff-python The eWeLink API documentation provides developers with technical guidance to integrate and control the SONOFF MINIR2 WiFi Smart Switch. Contribute to NickWaterton/eWeLink-mqtt development by creating an account on GitHub. The system is called qToggle and works by Sonoff is a device line for Smart Home developed by ITEAD. Make use of your sonoff smart switches without flashing them via the cloud APIs - sonoff-python/sonoff/sonoff. Code is provided to integrate the Sonoff over MQTT. Sonoff Basic), plugs (e. 0) without any re-flashing with Tasmota firmware or fooling about with jumpers. LAN Mode is a feature introduced by manufacturer Itead, to allow operation locally when their servers are unavailable. I was hoping we could share here ways to at least read if not write some of these devices via HTTP or something. sensor1 to stat&hellip; I'm using Sonoff basic flashed with Tasmora firmware. The documentation includes examples, authentication steps, and integration methods for smart home platforms. 0 USB Dongle Plus on Windows with Python DIY mode is a function specially designed for IoT home automation users and developers that allows them to control SONOFF devices via existing home automation open-source platform or local HTTP client instead of eWeLink App. The code should work on any Python-enabled platform able to send… ESPHome custom component and configuration for Sonoff Zigbee Bridge with serial-over-tcp - thegroove/esphome-zbbridge api arduino esp8266 apple esp32 ifttt homekit itead sonoff esp8285 sonoff-devices sonoff-tasmota sonoff-basic sonoff-xxx Updated on Apr 16, 2025 C Library implementing a Zigbee stack zigpy zigpy is a hardware independent Zigbee protocol stack integration project to implement Zigbee standard specifications as a Python 3 library. - beveradb/pysonofflan Project description Python: Asynchronous client for Sonoff DIY devices Asynchronous Python client for Sonoff DIY devices. Bridge to control Sonoff Devices via MQTT. These are Wi-Fi enabled switches based Python interface for controlling Sonoff smart switches/plugs running original Itead firmware, locally, in "LAN mode". There is no need to flash the sonoff devices, but you will need to control them via a private sonoff server api arduino esp8266 apple esp32 ifttt homekit itead sonoff esp8285 sonoff-devices sonoff-tasmota sonoff-basic sonoff-xxx Updated on Apr 16, 2025 C DIY mode is a function specially designed for IoT home automation users and developers that allows them to control SONOFF devices via existing home automation open-source platform or local HTTP client instead of eWeLink App. - mattsaxon/pysonofflan This repo is about how to integrate Hass (Home Assistant) with Sonoff devices that are on a private Sonoff server) and define them as light switches (as a custom component). I connected a temp sensor DHT22. It is mainly created to allow third-party programs to automate the behavior of a Sonoff DIY device. g. org/project/sonoff-python/ Home automation has achieved a lot of popularity in recent years, as day-to-day life is getting simpler due to the rapid growth of technology. - k-x/sonoff_micro The latest firmware of the Sonoff BasicR3 Wifi Switch now allows the device to be controlled through the DIY mode built into its firmware (v3. I’ll start: Hue has a decent API that I believe is still working. Contribute to itead/Sonoff_Devices_DIY_Tools development by creating an account on GitHub. These are Wi-Fi enabled switches based Is it possible to manually set the state of a binary sensor or any sensor as part of an action in automation, i. Still the plugin prerequisites (if any) should be installed manually. Your pc/laptop and Sonoff Smart Switches have to be on the same WiFi network and you need to know IP address for each of yours Sonoff Smart Switches (you will know by following procedure below). sonoff-ewelink-cube-client-api SONOFF eWelink CUBE API communication library (unofficial) Supported devices: SONOFF iHost SONOFF NSPanel Pro (untested) What is eWeLink CUBE? eWeLink CUBE is a Smart Home Platform for local small-scale computing platforms, tailored and optimized from the eWeLink Smart Home Cloud Platform and hardware-adapted. Zigbee integration via zigpy allows you to connect one of many off-the-shelf Zigbee Coordinator adapters using one of the available Zigbee radio library modules compatible with zigpy to control Zigbee based smarthomeaddict A guide to flashing the Sonoff Zigbee 3. A long-lived access token is required. Nov 22, 2019 ยท I finally came across Peter's work written in python and it was exactly what I was looking for, a class that I could instantiate and control my switch remotely without flashing or having to use Charles to sniff my authentication code etc. Connect FTDI to Sonoff Smart Switch (For detailed information about each Sonoff Switch, visit Sonoff Smart Switch LAN Control without Internet) and start Sonoff device in programming mode. Introduction and problem statement I recently bought a &quot;Sonoff Zigbee 3. python automation home-assistant nextion homeassistant sonoff esphome nspanel Updated on Jul 30, 2022 Python api_rest = ewelink_cube. It is essential for advanced customization and system Sonoff is a device line for Smart Home developed by ITEAD. Control Sonoff devices running original firmware, in LAN mode. - jedie/micropython-sonoff-webswitch There are several projects which provide firmware/software to use the excellent Sonoff devices, but this is the first I’ve seen to use micropython. The only obvious limitation for some people is that the “eWeLink” app and DIY access cannot both be used together; the switch is either in DIY mode or app-control mode Project description Python: Asynchronous client for Sonoff DIY devices Asynchronous Python client for Sonoff DIY devices. python-pip. Haven’t Star 1k Code Issues Pull requests Make your Sonoff Switch compatible with Apple Homekit! ๐ŸŽ‰ api arduino esp8266 apple esp32 ifttt homekit itead sonoff esp8285 sonoff-devices sonoff-tasmota sonoff-basic sonoff-xxx Updated on Apr 16, 2025 C Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. In this paper, a system for interconnecting sensors, actuators, and other data sources with the purpose of multiple home automations is proposed. e. Also go to the Forum, section Python to see more plugins. local') # Get iHost access token method: # After calling the [Access Token] interface, the iHost Web console page global # pop-up box prompts the user to confirm the acquisition of the interface call credentials. I will Traceback (most recent call last): File "/root/threadscript. Let’s enter the DIY mode! Make use of your sonoff smart switches without flashing them via the cloud APIs - lucien2k/sonoff-python Make use of your sonoff smart switches without flashing them via the cloud APIs - lucien2k/sonoff-python The developers have created a Python plugin framework which allow other developers to easily create an interface between a piece of Hardware (or Virtual Hardware) and Domoticz. I want to pair them and acquire data that api arduino esp8266 apple esp32 ifttt homekit itead sonoff esp8285 sonoff-devices sonoff-tasmota sonoff-basic sonoff-xxx Updated on Apr 16, 2025 C Simple Python class to toggle Sonoff Micro USB Smart Adaptor state. GitHub - sm4rth0m3/python-pip. This package allows you to control and monitor Sonoff DIY devices programmatically. This project shows how you can access the Sonoff via the WEB REPL. This module provides a way to interface with Sonoff smart home devices, such as smart switches (e. It uses a sonoff dependency you can find at https://pypi. - beveradb/pysonofflan Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant - AlexxIT/SonoffLAN Simple Python class to toggle Sonoff Micro USB Smart Adaptor state. The following procedure upgrades Sonoff eWelink firmware to Tasmota. sonoff-ewelink-cube-client-api: SONOFF iHost API communication library SONOFF iHost API communication library (unofficial) This is just a REST API library and does not include integration with HASS Hope it will be useful. About This package allows you to control and monitor Sonoff DIY devices programmatically. Almost everything has become digitalized and automatic. On this device is setup MQTT to send sensor values to Mosquitto, which is installed on a Linux pc. py", line 1, in <module> import python_otbr_api ModuleNotFoundError: No module named 'python_otbr_api' Is there something missing in my system? I have the SkyConnect stick, Thread and OTBR installed. Note 1: There is a Python Plugin named as "Python plugin Manager (PP-Manager)" that can be used to install other plugins. cc Sonoff DIY API and tool rewritten from the original source of itead - Dave0x21/Sonoff_DIY_Mode Python interface for controlling Sonoff smart switches/plugs running original Itead firmware, locally, in "LAN mode". Full documentation at - arendst/Tasmota. I finally came across Peter's work written in python and it was exactly what I was looking for, a class that I could instantiate and control my switch remotely without flashing or having to use Charles to sniff my authentication code etc. Unfortunately, it seems like some of them are locked down/unavailable (I’m looking at you, Nest). Sonoff S20), and wall switches (e. With Sonoff DIY, a user has more control over the hardware features of the device and also allows for upgrading the firmware without additional hardware. One of the most flexible and inexpensive devices from that line are Sonoff Basic and Sonoff Dual. We would like to show you a description here but the site won’t allow us. As a python developer, using this flavour of python is far preferable to learning C++, and I can develop using the REPL. Python interface for controlling Sonoff smart switches/plugs running original Itead firmware, locally, in "LAN mode". Step C: Now We are just one step behind to download / upload any firmware to our Sonoff Smart Switch. trigger: platform: homeassistant event: start action: &quot;Set binary_sensor. 6K subscribers Subscribe This is just a POC (Proof Of Concept) on how to manage sonoff switches from python. Sonoff Touch), when these devices are in LAN Mode. I plan to use Sonoff with my LiV Pi device to turn on an AC unit when CO2 levels exceed a defined threshold. Now SPM units also support DIY mode and have more functions. Let’s enter the DIY mode! Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. An excellent example of this might be Home Assistant, which allows you to write automations, to turn on parental MicroPython project to free the Sonoff WiFi Smart Socket from the cloud by run a webserver on the device. 6. It enables remote control, automation, and device status monitoring through API endpoints. Installation Install package on your node project: npm install ewelink-api Key features can run on browsers, node scripts or serverless environment set on/off devices get power consumption on devices like Sonoff Control Sonoff Smart Switch Using REST API (Webhooks) Anurag Arwalkar 12. exe file (or Linux package pip3 install tasmotizer) contains the good old esptool packed with Python and wrapped in cute GUI sporting a dark theme (according to the GitHub page dark theme makes it go really fast) Getting started with eWeLink API for JavaScript Getting Started eWeLink API for JavaScript is a module who let you interact directly with eWeLink API using your regular credentials. Current setup Common firmware features The following features are implemented for every device Wifi with failover Access Point Mode and Captive Portal Over The Air firware updates Native API Web Server El artículo describe cómo utilizar la API del interruptor inteligente Sonoff M5, explicando métodos de autentificación, ejemplos de código y ventajas respecto a opciones competitivas, demostrando su capacidad de gestión local y comunicación eficiente mediante MQTT y REST. eWeLink on Android AutoRun your scenes on Android AutoLearn moreeWeLink on CarPlayRun your scenes on CarPlayDiscovereWeLink Web 3. 0 USB Dongle Plus&quot; (model &quot;ZBDongle-E&quot;) and a Lixee ZLinky_TIC. create_api('iHost', ip= 'ihost. Before installing a plugin visit page for some prerequisites that have to be fullfilled. - k-x/sonoff_micro Sonoff DIY Some new Sonoff devices support the new Itead DIY architecture which allows OTA firmware upload. Can anyone help me with this problem? Precondition Create Long Lived Access Tokens eWeLink Add-On connects eWeLink Support devices by calling Home Assistant’s REST API and WebSocket API. 0Access your smart home via browser from anywhere & anytimeDiscovereWeLink CASTTurn your idle table into the control panel of your smart homeLearn moreeWeLink CUBEThe foundation and the heart of your local smart home platformDiscoverCamera PlanUnlock exclusive This small . The data I Control Sonoff From Raspberry Pi: This tutorial describes how to control a Sonoff switch from a Raspberry Pi. My main ESPHome configuration My ESPHome Configuration This page is the starting point for all installation and configuration documentation of all my devices which are configured with ESPHome . FYI, ITead just released a new "ZBDongle-E" adapter as an improved replacement for ITead's previous barebone Silabs EFR32MG21 adapter and an alternative to ITead's TI CC2652P based "Sonoff Zigbee 3 I’m interested in using this to see some info from things like Nest, Google Home, Ring, Hue, etc. txubpm, xpbxf, vid5sc, nir5a, fdhzv, h7ubpv, 4bdgyt, ptoqqy, tfzq0k, dhiu,