Sonoff s31 mqtt Current: 16A; Voltage Input: 90~264V AC, 50/60HZ; Wireless Standard: 2. at the logs i see that the Sonoff has connected 1573823774: New connection from 10. ; After reboot select config menu again or use commands GPIOs and GPIO to change GPIO with desired sensor. Navigation Menu iTead Sonoff S26 Smart Socket; iTead Sonoff S31 Smart Socket with Energy Monitoring; iTead Slampher; iTead Sonoff Touch; iTead Sonoff T1; iTead Sonoff SC; I wouldn't say every one is compatible with it. I can do it manually but does anyone have an example of how to properly write the code for an automation to send the “energyreset1 0” command? Just unsure I am having trouble configuring my MQTT. I have set the MQTT 1. 2 = reset MQTT button topic to firmware default (MQTT_BUTTON_TOPIC) (default = 0) FullTopic: a Sonoff S31 flashed. Installation. It still works but is a bit messy so I thought I’d change to MQTT. Once uploaded select module using the configuration webpage or the commands Modules and Module. ). The Home » Shop » Sonoff S31 Smart Plug. Currently unavailable. Every command used without a parameter (payload) returns the current setting. . Sometimes it is necessary to refresh your browser’s cache before you can see this MQTT card. and it’s a similar issue It would be great to support the new Sonoff S31 smart plug! There are a number of cheap wifi controlled outlets for 5. I have set the MQTT command topic to: cmnd/sonoffS31-1/Power. The options may be The first step is you need to create an MQTT user, give the user name MQTT-user and select Allow the person to log in and can only log in from the local network. 8. Using Backlog. mqtt (in broker mode) ioBroker. Learn how to connect it to Ubidots and unleash its full potential! In this guide you will learn how to control a couple of 110V appliances over Wi-Fi for $9, using Itead's SONOFF Dual. Sonoff S31 - Continual Software Restarts. This is a problem as say during the night if the This guide covers a complete and instuitive pairing instruction for all sonoff devices How to quickly pair sonoff smart devices with ewelink app? This guide covers a complete PORW2, BASICR3/RFR3, MINIR2, 4CHR3/4CHPROR3, S31, S20, S26, TX series, T4EU1C, IW100/101, S55, SlampherR2, RF Bridge, ZBBridge. The Bridge supports to add ZigBee devices that SONOFF has released, like S31 Lite ZigBee smart plug and BASICZBR3 DIY smart switch, The Tasmota firmware is the one I like to use because it can be OTA upgraded (meaning, hopefully, no more FTDI usb flashing) and because it can be configured wirelessly. 168. Here's some of the output from the S31 console: - platform: mqtt name: "Sonoff Coffee" command_topic: "cmnd/sonoff_coffee/power" state_topic: "stat/sonoff_coffee/POWER" qos: 1 payload_on: "ON" payload_off: Sonoff S31 Lite based configurable Router / Modem rebooter with MQTT - linuxkidd/cppRouterRebooter. 0 license Activity. Today I spent the day flashing Tasmota on a variety of Sonoff devices, for use in future projects. 27 September 2017. It was auto-discovered, I did not configure it in YAML. Other solutions have you modify source code and flash device-specific S31 firmwares to each smart plug. ( there are plenty of existing tutorials. Sonoff Zigbee 3. ' Through a terminal program set the baud rate to 115200 (19200 for Sonoff Dual), both NL & CR, and disable hardware flow control. All worked fine, devices pair etc As I already have a deconz-stick I cannot use the ZHA integration with it anymore as only 1 per instance is allowed. Connect Sonoff Devices running the Sonoff-Tasmota firmware easy to node red. I need to set the force_update for some of these sensors. I am running HA on a RPi with a Sonoff Dongle-P. Write better code with AI Security. I tried to read the documents about updating the firmware on the dongle via this Flashing the Sonoff ZBDongle-E to enable Matter, Thread and Zigbee on Home Assistant | Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE or PlatformIO - RIgodonius/Sonoff-Tasmota. Sign in Product Actions. Navigation Menu Toggle navigation. 0 EFR32MG21 Dongle Plus-E: ZBDongle-E: Sonoff Zigbee Bridge: ZBBridge: Sonoff Zigbee Bridge Pro: S31 Lite zb: Sylvania Smart+ Indoor Smart Plug: 72922-A: Teekar Wall Outlet 16A EU: SWP86-01OG: Third Reality BLE 15A Smart Plug: 3RSP015Z: Third Reality BLE 15A Smart Plug: What happened I had a Sonoff basiczbr3 connected to the coordinator, it was recognized as a Sonoff switch. 1) and configure qos2 + retain, but it doesn’t Personally I like the sonoff s31 flashed with tasmota, they do have a zigbee model but I think the WiFi model is the only one to have power monitoring. Firmware: Clear: Sonoff S31 Smart Plug quantity. Skip to content. 0) Sonoff S31 Lite plugs; My MQTT Settings in Tasmota follow the example in MQTT Discovery where I use the default homeassistant prefix followed by the “type” of plug (I’ve tried MicroPython scripts to control Sonoff/ESP8266 using MQTT - davea/sonoff-mqtt. I have 12 of them now and work great I have a Sonoff S31 plug flashed with tasmota with a sump pump attached to it. Navigation Menu Sonoff S20, S26, S31, S40 Hi, I tried to setup MQTT for a couple of Sonoff Basic wireless switches and S26 wireless power plugs (flashed with Tasmota 6. 0 Tested on Ubuntu 20. node-red-contrib-sonoff-tasmota. 2) Gosund plugs (see above notes in my struggles updating them) and a few new Tasmota (12. I have 12 of them now and work great I probably made a mistake ordering the Sonoff S31 wifi energy monitor switches instead of Zigbee versions. I flashed Tasmota firmware onto mine to use MQTT with my Home Assistant server. See Community for forum and more How To Pair Sonoff S31 Lite to Home Assistant. With this the HA can monitor when things like appliances are running so that alerts can be sent when things like the Washing Machine complete, or if a Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE or PlatformIO - sztsian/Sonoff-Tasmota Sonoff S31 Smart Switch/Power Monitor with Tasmota. For other scenarios, consider the different options: Feature ioBroker. To check the flow of MQTT traffic you can use MQTT Explorer which shows your entire MQTT traffic in an organised and structured way. 12 September 2016. Change the Device Name and Friendly Name 1 to something else "Sonoff-S31-A" Go to These retain settings tell the MQTT broker that when a new client connects to the topic it should send get the last value so it can initialize it's state. I have six other Zigbee devices These retain settings tell the MQTT broker that when a new client connects to the topic it should send get the last value so it can initialize it's state. This thread on UDI forums has more details, ask questions there. I also have some S40 lite zigbee and S31 lite zigbee. bug Type - Confirmated Bug fixed Result - The work on the issue has ended. In a previous tutorial I covered the setup of tasmota on Sonoff switches and you should read that tutorial before Before we begin This forum is not a helpdesk The people here don’t work for Home Assistant, that’s an open source project. GPL-3. I’d prefer not to change that if possible. Out of the 8 or so S31s I have flashed with ESPHome, only 1 yaml broke the plug. When Power reset’s or I switch off & Switch ON the physical switch I want the sonoff to TURN ON & stay as a default state. Backlog command allows executing up to 30 consecutive commands with a single command line. I want each month to reset the power useage figures back to 0. SONOFF: Description: Router: Exposes: linkquality: Picture: Exposes Linkquality (numeric) Link quality (signal strength). Sonoff S31 where it is set to 4800 bps and the SerialLog is disabled. The Tasmota firmware is the one I like to use because it can be OTA upgraded (meaning, hopefully, no more FTDI usb flashing) and because it can be configured wirelessly. you will need several libraries installed including. Click submit now; And click finish! Super! The Mosquitto MQTT broker is now installed. This updated firmware simplifies setup of the I purchased two Sonoff S31 Lite ZigBee smart plugs for the mesh build out. or In my case, I bought a hubitat device to see what it does and primarily just for zwave and zigbee devices as it has a built-in Tasmota communicates with Home Assistant using MQTT. 09 April 2017. Rated 5. Integrate your SONOFF S31ZB via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendor's bridge or gateway. It is another device in the Sonoff line by ITEAD Studio. The top input section "sonoff-s31" is the single channel. You signed out in another tab or window. SONOFF S31 WiFi Smart Plug with Energy Monitoring, 15A Smart Outlet Timer Switch ETL Certified, Work with Alexa & Google Home, With this information in mind, I completely removed the MQTT broker and the ZigBee2MQTT add-on from Home Assistant. wavemoroc001 asked this question in Q&A. One issue is when we loose power (that happens more often in India then guys in the west), all my devices default to OFF. On my HA dashboard I can see the switch turn it ON/OFF but nothing happens on the switch, Sonoff Zigbee Bridge Pro In this example sensor reports on 0x099F and sends an mqtt message to topic stat/leak_sensor/LEAK: Rule on ZbReceived # 0x099F # 0500! 00 = 010000 FF0000 do publish stat / leak_sensor / LEAK ON endon on ZbReceived # 0x099F # 0500! 00 = 000000 FF0000 do publish stat / leak_sensor / LEAK OFF endon. The tokens are substituted dynamically at run-time. 4. The green LED will blink during the I have a bunch of Sonoff S31s and use their power measurement capabilities for some reporting and automations. In order to pull your data into Home Assistant, you need to set up an MQTT sensor. To pair the device you first need to have it powered, attached to the valve and displaying the temperature. Depending on the use-case, ESPHome may be a better choice. Find and fix vulnerabilities Actions I have about 15 plugs in total, mostly running the old Tasmota (8. Adding MQTT to Home Assistant I modified the configuration file to add the switch. Automate any workflow Codespaces Hi Guys, So i have ESPHome running on SonOff switches. Install an MQTT broker, install the MQTT binding, and connect the two. 00 out of 5 $ 7. I created an automation that says if tv gets above 5w, to turn on receiver, but seems to take a minute or two for that info to go thru the system and update in HA. Sonoff TH10 & TH16: sensors, displays, actuators, 05 October 2016. Enter “Quick pairing mode” during If you've been using your Zigbee bridge with the ZHA integration and don't like some of the oddities of buttons using ZHA Events, etc or simply just want to detach from HA, or even enable support more devices; it's time to jump on over to Zigbee2MQTT. Integration into your smart home with MQTT; Set limited power/current/voltage value to auto-off, protect from overload; Specifications: Max. The mysterious IC. This article is introducing you to how to add your SONOFF S31/S31LITE is a Smart Plug Wifi Smart Socket that can monitor power consumption, Works With Google Home Alexa IFTTT. 00. I configured the relay on the broker adress, login and password. 0. Uses WiFiManager to add MQTT aware firmware to the 10A Sonoff Switch - jamiehs/custom-mqtt-sonoff. iTead SONOFF S31 Smart Power Monitoring Plug Template and Setup for TASMOTA and ESPHome. See Community for forum and more Got a couple S31 (note Lite) plugs a few weeks ago to play with; the usual stuff about schedules & such I can get. I want to track when the sump kicks on, how long it takes to drain the pit, and the wattage. MQTT You can find all relevant details regarding MQTT in the MQTT I found a basic version of the code below for the Sonoff S31 and made a number of improvements, at least for my use scenario. Not sure if the power monitoring just updates slow in Hello, Yes another one brand new to Home Assistant, but a semi seasoned user of OpenHAB converting over. I use it in a sealed weather box to control garden lights If you only have Tasmotas speaking MQTT protocol go for ioBroker. OFF. It uses yml (Yaml) files for configuration and it’s mostly plain-language and easy to piece together what an automation is doing. As a result, I can count the number of times a day my Sump Pump runs. 12. I had also read that it may be a little difficult to hack; flashing it is the same as any other Sonoff products but breaking into it and hooking it up is a I think the sonoff s31 is not a ZigBee device. -started mosqitto mqtt. Rule1 ON system # boot DO var1 0 ENDON ON energy This creates a rule to publish MQTT commands whenever a Sonoff POW has current passing through it. We have already discussed the getting started part with Tasmota and ESP32. They use MQTT for communication. The Tuya app has pleasant to eye interface, polished animations and easy to use notifications. The challenge comes because I just got a DTE Energy Bridge, and it “publishes” information about my energy consumption via MQTT. Tasmota is a small open source home automation software that can be flashed onto any expressive chipset and used to control lighting, fans, switches etc using both HTTP and MQTT protocols over Wi-Fi. 4. Find Find SONOFF smart home devices within our distributors in your country. The PowerDelta command will issue MQTT telemetry when the watts change. Toggle navigation. I erased them and flashed them with Tasmota 10. You switched accounts on another tab or window. Does Sonoff S31 support connect mqtt Sonoff S31 Smart Plug Tasmota Firmware Flash and openHAB MQTT Configuration - In this video, I'll show you how to take apart, connect to and flash Tasmota Firmware onto a Sonoff S31 In this tutorial we will look at controlling the Tasmota SonOff Switch using node-red and the sonoff-tasmota node. Click Configure in the MQTT card. The frontend has forms for registering a new user and signing in at first launch, with sessions during (by default) maximum 1 hour and then asking again for a sign-in. 8 program and uses asyncio. 10 port: 1883 username: user1 password: password1 client_id: home-assistant switch: - platform: I picked up a couple of Sonoff S31 switches, intending to flash them with Tasmota. It's not locked to any like Sonoff zigbee only if you were wondering. This is not How to do that, this is Notes Pairing. I used the appropriate Sonoff S31 firmware from here: Habe immer wieder Probleme mit dem sonoff Adapter in Verbindung mit einem sonoff basic mit Tasmota. seems to work fine- reciving data from motion sensor. Does Sonoff S31 support connect mqtt broker via web socket ? #18130. I’m getting great information from my Sonoff S31 Energy monitoring plugs, so it’s all working as expected. Either esphome (my favourite) or tasmota. This time around I am using it with the standard firmware, and will not be flashing the popular MQTT Tasmota firmware. Sonoff S31 smart switches are based on esp8266 and include power monitoring readings such as power factor, apparent power, reactive power. 4GHz, 802. I use them to trigger my roller doors Sonoff 4ch pro - this is a 4 channel wifi controlable switch. Note - your Sonoff MUST run the Sonoff-Tasmota firmware in order to work with MQTT!. I know espeasy is using http requests and Tasmota is using mqtt. The S31 lite zigbee have performed better than the S40 lite zigbee. yaml next code: mqtt: broker: 192. 2. How to use Tasmota with Home Assistant. If you don’t see the MQTT card, you can first look it up at search integrations. You can splice the Basic into anything mains powered (check the power rating This is the MQTT topic used to communicate with Tasmota over MQTT. It’s got a gui, but the gui needs at least several million dollars of software development to be usable, imho. Tasmota Devices. How to use commands~. 0 CC2652P Dongle Plus: ZBDongle-P: Sonoff Zigbee 3. Found your post really helpful and have done something SONOFF S31 WiFi Smart Plug with Energy Monitoring, 15A Smart Outlet Socket ETL Certified, Work with Alexa & Google Home, IFTTT Supporting, 2. Used as is, it will publish MQTT commands repeatedly, over and over I am having trouble configuring my MQTT. distributors can help you get your SONOFF smart home products. It's nicer than having 10 Sonoff S31's or a bunch of TuyaMCU's" Bug. Now we are going to install Zigbee2MQTT. The problem. To do this, I’ve managed to: Setup sonoff as mqtt switch1 on home assistant. The minimal value is 0 This Poly provides an interface between MQTT broker and Polyglot v2 server. I thought the plug physically died but when Sonoff Smart Socket S31 ZigBee; Sonoff Basic R3 Zigbee; In fact, I liked the interface better. Anyway I've got it on my This is a python 3. But with total_daily_energy enabled, they periodically reboot. You can find the group name using "status 0" and the FallBack topic using "status 6" or both on the Information page in WebUI. 3 oz: Dimensions: 3. I would like to control a simple outlet over WIFI using MQTT and I’m a bit confused as to what works right “out of the box”. and it’s a similar issue that I’m running into with Sonoff S31 Smart Plug flashed with Tasmota 12. Sign in iTead Sonoff S26 Smart Socket; iTead Sonoff S31 Smart Socket with Energy Monitoring; iTead Slampher; iTead Sonoff Touch; iTead Sonoff T1; iTead Sonoff SC; Integrate your SONOFF ZBDongle-E via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendor's bridge or gateway. SONOFF devices with DIY Mode can add on HA via LAN, others can add on HA via login your eWeLink account. 13 February 2017. Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE or PlatformIO - ruimarinho/Sonoff-Tasmota Tasmota Edge. Hi, Hopefully you are still monitoring this. When i Does Sonoff S31 support connect mqtt broker via web socket ? #18130. Automate any workflow Codespaces. 1 and integrating it with HA. Find and fix vulnerabilities Actions Hello! Despite the title, my ultimate goal is to connect a sonoff switch set on Home Assistant with virtual switch on Samsung Smartthings. MQTT LED Matrix Display. Another issue is I’m also not sure if a sonoff I am about to start the process of configuring MQTT and connecting a smartPlug (Sonoff S31) to control a lamp. Full documentation at - arendst/Tasmota I'm sure there are multiple things I'm doing non-optimally here, but this works for the single channel meter. The device is found and I get the “Starting Interview” box, but that is as far as it goes. Since these also have power monitoring circuit, you can monitor power consumption. sonoff ioBroker. (I have removed all ZHA devices and deleted the integration. Topic is the main MQTT topic that turns the relay on and off Topic2 is a second incoming MQTT topic that allows you to turn the led on and off. I attached the handful of random zigbee sensors I had from Tuya zigbee sensors, Gledopto LED strip, Sengled bulbs, Sonoff S31 ZB, etc and Home Assistant seemed to support them just fine. [INFO] found nir on Home Assistant 1573823775: New client connected from 10. It supports more than 2000 ESP (ESP8266, ESP8285, ESP32, etc) WiFi devices - switches, lights (CCT, RGB, RGBW), dimmers, relays, plugs, power strips, sockets, wall Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE or PlatformIO - nosaj66au/Sonoff-Tasmota---Dooya-Blind-Skip to content. mqtt-client; Has a built-in MQTT broker: yes: yes: no: no: Relays messages to other MQTT subscribers: Hi all. SONOFF S31 Wi-Fi Smart Plug with Energy Monitoring Works with Alexa & Google Home . 1. Theengs Plug - ESP32 BLE MQTT gateway, smart plug and energy consumpti. I installed a mosquito broker in the home assistant (Raspberry pi3b, hassio system). The S31 has a built-in energy sensor, and it looks like Tasmota supports the sensor. Value can be found in the published state on the linkquality property. Previously there wasn't the ability to use Zigbee2MQTT if you were using the Sonoff Zigbee Bridge. PROBLEM DESCRIPTION A clear and concise description of what the problem is. sonoff. Reporting on power consumption is very powerful in home automation. I recently received my first three Sonoff S31 smart plugs. MQTT is slower than direct REST calls. Sonoff Basic firmware; config by browser, OTA, MQTT, DS18B20 - tschaban/SONOFF-BASIC-firmware. 000] array format, but I can't figure out what. note: do not use rule 1&2, as it is use by Tasmota (connect). In this article, we will discuss the practical things about ESPHome and Tasmota taking it granted that you are using an [] I am using mosquitto mqtt with Sonoff S31 flashed with Tasmota. Alternative firmware for ESP8266 based devices like iTead Sonoff with web, timers, 'Over The Air' (OTA) firmware updates and sensors support, allowing control under Serial, HTTP, MQTT and KNX, so as to be used on Smart Home Systems. e. It is called node-red-contrib-sonoff-tasmota. SONOFF S31 WiFi Smart Plug with Energy Monitoring, 15A Smart Outlet Socket ETL Certified, Work with Alexa & Google open-source firmware on them and have full local control and integrates with Home Assistant or others that support MQTT. Sonoff S31 Smart Plug. That being said setting up the automation has proven to be frustrating. Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE - Now EOL - arendst/Sonoff-MQTT-OTA-Arduino. 204,0. One Today I spent the day flashing Tasmota on a variety of Sonoff devices, for use in future projects. However, this S31 device was very easy to open and flash and I like that you could use 2 of them in a standard outlet due to the slim profile. Hello! I have a sonoff s31 flashed with tasmota monitoring my sump pump energy. 0 out of 5 stars 671 ratings. Today I've added a cc2530 router and moved the Sonoff to a farther room. Tap "eWeLink open-source firmware on them and have full local control and integrates with Home Assistant or others that support MQTT. I know my mqtt broker is working since i have many other mqtt devices working just fine. Help us improve our documentation Suggest an edit to this page, or Sonoff Firmware with MQTT and Multiple incoming topics and support for DHT22 sensor. If another firmware also supports the sensor and works better with HA, that’s fine too, I’m not set on Tasmota, that just Today we are looking at the Sonoff S31. ¶Overview. I am having trouble configuring my MQTT. Install node-red-contrib-sonoff-tasmota using npm: npm install --save node-red-contrib I have set the MQTT state topic of the switch to: stat/sonoffS31-1/POWER and it correctly displays the switch's state when I manually change the switch. 0) – Smart Plug communicates to Home Assistant via MQTT with Home Assistant using Mosquitto Broker Commands can be issued using MQTT, web requests, webUI console and serial. The install creates a new The Sonoff-Tasmota firmware provides three powerful man machine interfaces: MQTT, web and serial. It either doesn’t report any wattage even though the plug has just been switched Enable MQTT retain flag on message tele/sonoff/SENSOR: SetOption2: Show current Units state: SetOption2: 0 / off (default) Do not show units to messages: SetOption2: 1 / on: Add units to messages: Set default calibration value for Current to (Pow 3500, S31 chip value) CurrentCal <value> Set user calibration value for Current Hi all. 2 watching Each time a Sonoff is toggled, the backend listens to its MQTT topic and creates a new Observation in the database, in order to properly update the state of the frontend view. However, the pump is slightly overpowered for my space (as I am only starting part of my growing space while I confirm everything is working). Hi. Reload to refresh your session. Links to products provided through the Amazon Affiliate program. Sonoff B1, lights and shades. I must say it was extremely easy to get started with and even get running with Alexa, which is one of the reasons for the conversion. I. I’ve searched and tried all the suggestions i could find to get this to work and its still not working. I want to control my sonoff devices Power monitoring chips such as HLW8032 (Blitzwolf SHP5) and CSE7766 (Sonoff S31, Sonoff POW R2) occasionally report invalid power measurements for load values below 5W. The default is 300 seconds, but I ran for a while with plugs at 30 seconds with no issue. Hey All, I got my first Sonoff smart plug S31 a few days ago. This link h By default, the S31 sends MQTT data every 5 minutes. esphome is an official add-on. Not sure if the power monitoring just updates slow in What is this? Home Assistant is dense. I have projects in mind for some of these, but some are still ’extra’ (nothing is really ever ’extra’, it will always be used eventually). Found the IP Address of the switch and on the Sonoff Basic Module GUI I can turn the switch ON. ESPurna smart socket. I'm sure I need to do something within the bottom input section to handle the "Current":[1. I didn't know how I am using Tasmota for few months now. Zigbee is just perfect - press the button, it syncs, in Z2M you have all devices listed and all done. I am wondering what is suitable for my case, using espeasy or Tasmota. Mal läuft alles flüssig, dann wieder Verbindungsprobleme mit der Meldung: MQT: Ich habe schon andere Enable MQTT retain flag on message tele/sonoff/SENSOR: SetOption2: Show current Units state: SetOption2: 0 / off (default) Do not show units to messages: SetOption2: 1 / on: Add units to messages: Set default calibration value for Current to (Pow 3500, S31 chip value) CurrentCal <value> Set user calibration value for Current In this case – my Sonoff-basic-type device has power1, power2 and power3 – only the first one being actually connected to a relay – the other two connected to carefully-chosen GPIOs on that device – as it turns out this iTead Sonoff S26 Smart Socket; iTead Sonoff S31 Smart Socket with Energy Monitoring; iTead Slampher; iTead Sonoff Touch; iTead Sonoff T1; iTead Sonoff SC; Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE or PlatformIO Resources. 2 did something to some of my S31s too. You signed in with another tab or window. But if I turn off the Sonoff switch, the power sensor values go to zero as expected, but no further updates of HA sensor values happen till I Last month I received an e-mail from ITEAD Studios on their new 16A Sonoff S31 US standard smart socket with energy monitoring feature. mqtt (in client mode) ioBroker. Hi All, I just flashed two Sonoff S31s with Tasmota, but the units are going into a constant "Software Restart" cycle I do have MQTT enabled to use with Home Assistant and I'm seeing a lot of errors in the MQTT logs. (Note: it’s using the MQTT integration, not the Tasmota integration. I’m using mqtt with them and it’s all Alternative firmware for ESP8266 based devices like iTead Sonoff with web, timers, 'Over The Air' (OTA) firmware updates and sensors support, allowing control under Serial, HTTP, MQTT and I am wondering what is suitable for my case, using espeasy or Tasmota. The problem with this method is that if the pump runs SONOFF Dual Tutorial: Control Your Electrical Appliances Remotely Using MQTT and Ubidots: This $9 Wi-Fi relay can control two appliances at the same time. Products; Explore. i’m trying to config my sonoff bridge with mqtt, -flashed bridge with tasmota. I figured that I would take some notes and share as I have Server Bridge to control Sonoff Devices via MQTT This uses Sonoff stock firmware, no flashing required. wavemoroc001. However, they Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE or PlatformIO - peterjeric/Sonoff-Tasmota SONOFF S31 WiFi Smart Plug with Energy Monitoring, 15A Smart Outlet Socket ETL Certified, Work with Alexa & Google Home, IFTTT Supporting, 2. Trying to play around with the Tasmota commands. I setup 2 sonoffs S31 with tasmota, one is hooked to TV to monitor power, the other hooked to receiver for the same, but also control powering on/off. mcmilwj (Will McMilleon) September 9, 2022, 4:30pm 4. When i I flashed my first Sonoff Smart Switch with Sonoff-Tasmota and all went well. In Console on m 2nd I didn't want to use Sonoff's solution. My old Sonoff S31 is flashed with Tasmota and is integrated with the Home Assistant Tasmota Integration, and is reporting values every 10 seconds while the Sonoff Switch is ON and connected devices are consuming power. I use it with home Assistant with Tasmato flash. My issue is if the power goes out then the server may not come back online properly after the power is restored I have set the MQTT state topic of the switch to: stat/sonoffS31-1/POWER and it correctly displays the switch's state when I manually change the switch. In my opinion the best way to connect to the sonoff s31 is via a custom firmware. npm install node-red-contrib-sonoff-tasmota. I connect and receive Zha integration. I rely a lot on people sharing so I wanted to share back in case it helps others. The plugs worked 100% reliably so far, but in the last few days I’ve had some of these automations fail because the plug doesn’t properly report the power consumption. I am watching the Current sensor for any values over 0 Amps as when the sump pump is idle there is 0 draw. h define MQTT_MAX_PACKET_SIZE from 512 to 1000 KmanSonoff is the updated version of KmanOz/Sonoff-HomeAssistant which is alternative firmware for the brilliant & cheap range of ESP-8266 based WiFi controlled power switches. During Smart Plug: Sonoff S31 (wifi) flashed with Tasmota (version: 13. Once it is finished cooking, shut off the power after 10 minutes. It features local control over MQTT as well as options for automation using timers or rules. We are volunteering our free time to help others. What this means is that when Home Assistant connects to the MQTT topic for the Sonoff S31 it will get the power state (on/off) and the sensor states (volgate, current, power, etc. It is WiFi if my Google foo is not failing me. The plugs worked 100% reliably so far, but in the last few What happened I had a Sonoff basiczbr3 connected to the coordinator, it was recognized as a Sonoff switch. Connected power meter. I filled in all of the WiFi and MQTT information a Simple MQTT-TLS-Firmware for Sonoff Basic and similar devices allowing for switching the relay via MQTT and switch, state reporting and OTA firmware update. Its been running for a In this article, I’ll show you how you can use the Sonoff S31 smart plug to achieve any or all of those. 00 Select options This product has multiple variants. 0 stars Watchers. ) I am about to start the process of configuring MQTT and connecting a smartPlug (Sonoff S31) to control a I have a lot of S31 Wi-Fi (with power monitoring) and they work great. qingz2004 opened this issue May 13, 2018 · 18 comments Labels. It is created using tokens placed within a user definable string (100 character limit). But I can’t find if HA supports the sensors, and, if it does, how to set them up. The S40 lite zigbee is supposed to have a better zigbee radio, more current, and can act as a router, but it was not working well for me with Zigbee2MQTT. I have flashed a Sonoff s31 (not Lite) with Tasmota and added it to my PG3 devfile using the "s31" type as described in the MQTT configuration help. Setup smartthings virtual switch as mqtt switch2 on home assistant with mqtt bridge. As I am having some issues reaching certain sensors (and adding more routers simply doesn’t work) I was thinking about adding them Sonoff S20, S26, S31; Sonoff Touch, T1 (1,2,3CH) Sonoff RF Bridge; Sonoff iFan02, iFan03; H801 RGBW LED Strip Wifi Controller; OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. My setup is a single RPI3B with a copy of hassio flashed to the card. From what I’ve read it seems simple but I can’t find the actual tasmota32 file that the tasmota site states supports tls mqtt connections on port 8883. Host and manage packages Security. asyncio; paho-mqtt; aiohttp; zeroconf; voluptuous; The eWelink authentication is based on the Now testing Mqtt and Sonoff devices (with tasmota firmware). Similar to the Sonoff POW, you can see power usage but on the S31 you can keep historical data up to 100 days. I can send the signals and switch the plugs via Tasmota’s Webui-Buttons and via Tasmota I have a working MQTT and Mosquitto Broker installation. 0 20180209 * Change library PubSubClient. 04, Python 3. h Zero Point Calibration * Add support for Sonoff S31 Smart Socket with Power Consumption Detection * Add command SetOption20 Sonoff RF433 bridge - lets me interact with 433mhz items - flashed with tasmota Sonoff RF433 smoke detectors Sonoff RE51CV - these are a 5v powered AC relay. Configuration Open src/main. Rule used to control pressure cooker with a Sonoff S31. It uses yml (Yaml) files for configuration and it’s mostly plain-language and Change the module to "Sonoff S31 (41)" Go to Configuration -> Configure Other. Find and fix vulnerabilities Codespaces So I have spent most of the morning searching the internet and have still managed to fail and switching from ZHA to MQTT. I used the appropriate Sonoff S31 firmware from here: Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE or PlatformIO - enginelabs/Sonoff-Tasmota a Sonoff S31 flashed. 6 on port 1883. I have a several sonoff s31 smart plugs that work just fine. A Node-RED node, to control Sonoff switches running the awesome Sonoff-Tasmota firmware. This will blink the LED twice and sends a MQTT status message like stat/sonoff/POWER on; three short presses start Wifi smartconfig which allows for SSID and Password configuration using an Android mobile phone with the ESP8266 SmartConfig app. asyncio; paho-mqtt; aiohttp; zeroconf; voluptuous; The eWelink authentication is based on the Home-Assistant SonoffLAN custom component. I will be converting my sonoff basic and other ESPs to ESPHome in the near future. Sonoff S31 Wifi outlets can be found for under $10 (USD) and provide not only remote switching capabilities, but also report on power consumption. 00 out of 5 based on 5 customer ratings (5 customer reviews) $ 7. Didn't want cloud or sonoff account. My problem is that this command only allows me to turn off the switch via the openHAB UI. The dongle is approximately 6 feet away from the Raspberry Pi on a USB extension cable. 1) flashed Sonoff basic to connect to MQTT. ) Two of the sensors on the entity return power in kWh - Total energy and Daily energy. This is the blueprint for the Sonoff Zigbee Wireless Switch (SNZB-01): Supported actions: Single press Double press Long press (4 seconds) blueprint: name: Zigbee2MQTT - Sonoff SNZB-01 Zigbee Wireless Switch de Rule used to control pressure cooker with a Sonoff S31. mqtt_broker: !secret mqtt_broker mqtt_username: !secret esphome_username mqtt_password: !secret esphome_password esphome: name: ${disp_name} platform: ESP8266 board: esp01_1m I have 12 Sonoff S31 smart plugs integrated through the ewelink integration Reply reply I’ve been searching forums now for just over two weeks trying to connect and I just can’t seem to get my Tasmota (12. Of course that was just one of those “got-to-have” things, so I order a couple. There is just a single button that is used to control the switch. Mar 7, 2023 · 2 comments · 1 reply SONOFF S31 Wi-Fi Smart Plug with Energy Monitoring Works with Alexa & Google Home . The primary reason I got it was to monitor energy use, frankly I wish that's all it did. Another issue is I’m also not sure if a sonoff I have sonoff zigbee wireless Bridge. Tasmota came from [ Theo Arends Sonoff MQTT OTA ] (arendst (Theo Arends) · GitHub) With Tasmota you get Wifi manager, 16 Timers including “Sunrise and Sunset”, OTA ‘Over The Air’ firmware updates, Domoticz, Belkin This is a python 3. Today I've added a cc2530 router and moved the Sonoff to a Alternative firmware for ESP8266 based devices like iTead Sonoff with web, timers, 'Over The Air' (OTA) firmware updates and sensors support, allowing control under Serial, HTTP, MQTT and The iHost does not support MQTT, however, there is an open API available, the iHost open API is based on HTTP rather than MQTT as the MQTT interface can not meet the requirement of 3 thoughts on “ Home Automation – MQTT, Mosquitto, Node Red, Sonoff & Tasmota ” Rich December 16, 2020 at 2:15 pm. Additional information Reviews (5) Weight: 3. As it is, SONOFF products manual, include every products' certification, user manual, quick start and specification. 11 Alternative firmware for ESP8266 based devices like iTead Sonoff with web, timers, 'Over The Air' (OTA) firmware updates and sensors support, allowing control under Serial, HTTP, MQTT and KNX, so as to be used on Smart Home Systems. Other info: Use MQTT broker, and tasmota in Home Assistant to get tasmota devices working. Version 2. Used as is, it will publish MQTT commands repeatedly, over and over Sonoff S31 smart switches are based on esp8266 and include power monitoring readings such as power factor, apparent power, reactive power. As an Amazon Associate I earn from qualifying purchases. I think Tasmota is the best STABLE ready made sketch for beginners and even for professionals . I basically need to start out with a single switch, a Does anyone send 433MHz RF via MQTT through Sonoff’s RF-Bridge (running Tasmota and Portish-FW) with Home-Assistant? I want to control 433MHz RF Plugs (simple ones with DIP-Switches, not Intertechno) with Home-Assistant, but I struggle getting the config right. ( SONOFF S31 16A Wifi Smart Socket) I’m in the US and this is the form factor that I’d like to work with in my home. digiblurDIY News Devices Tasmota Home Assistant Zigbee LEDs digiblur Top Picks. Tasmota Edge is an Edge driver for SmartThings, that allows you to add your Tasmota supported devices and HTTP devices as SmartThings devices. I guess it is not the same with wifi switches. What this means is that when Home Something in 2024. Answered by sfromis. And write in configuration. My method to date for adding my sonoff switches was to use the HACS ESP Home add on. My idea is following (if you have idea to do it better, I;d love to hear!). This means it is ready to pair. Instant dev Both Tasmota and ESPHome are nice “platforms” for building a smart home. May eventually try esphome at some point. The process itself isn’t specific as it can be applied to anything that is powered by 120v. With ESPHome there’s no noticeable delay between hardware state changes and HA UI changes. 25 January 2017. It's brought into the admin eWeLink official Home Assistant Add-on has released the beta version. If you are using Home Assistant OS MQTT add-on add the following to the ACL file Hi all. If the device is showing FS or RD press the button on the top of Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant - AlexxIT/SonoffLAN. I took pictures of the process, so you can follow along with all of the fun bits of playing with repurposed electronic hardware. The button on sonoff provides the following features: a short press toggles the relay. Sonoff S31 Energy Total can not be reset #2723. Sonoff S31 Only Reports Consumption On State Change? Tasmota will let you adjust the frequency that telemetry data is sent over MQTT (power use is included in this). h define MQTT_MAX_PACKET_SIZE from 512 to 1000 for Home Assistant support * Change relation of define MESSZ being dependent on PubSubClient. Is there a workaround for This is the blueprint for the Sonoff Zigbee Wireless Switch (SNZB-01): Supported actions: Single press Double press Long press (4 seconds) blueprint: name: Zigbee2MQTT - Sonoff SNZB-01 Zigbee Wireless Switch de Alternative firmware for ESP8266 based devices like iTead Sonoff with web, timers, 'Over The Air' (OTA) firmware updates and sensors support, allowing control under Serial, HTTP, MQTT and KNX, so as to be used on Smart Home Systems. However, I found two more and wanted to integrate them but cant get the mqtt auto discovery to work on them. I have installed the Mosquitto addon. Inexperienced with MQTT but need to retrieve the current power reading of a flashed Sonoff S31 Smart Plug . But if you use MQTT for something else anyway, it might be worth it. You should see a blinking green light. But for me, the sonoff Turn’s ON for few seconds & switches OFF automatically, When Power reset’s or I switch off & Switch ON the physical switch Am I Missing some MQTT code in yaml file or I need to make any Then, in Tasmota > Configure MQTT under “Host” enter the address of your Home Assistant instance and under “User” and “Password” enter the Home Assistant user you just created. Automate any workflow Packages. 24 September 2017. NOTE: This is a completely re It is all currently configured through HA, MQTT, and nodered. Specifications per ITEAD website: Sonoff-Tasmota provides all (Sonoff) modules in one file and starts with module Sonoff Basic. A Sonoff Basic is a simple mains relay, which can be flashed with Tasmota firmware and controlled from openHAB using the the MQTT binding. I want to control my sonoff devices by a raspberry pi that is acting as a home automation hub, and it in turn send updates and receives commands from AWSIoT platform. 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. I thgink its very close but I cannot see the devices after setting it all up. ; See Wiki for more information. Skip to main content. What I can't seem to understand is how to actually use the power monitoring capability; Notify me when the load changes from idle (less than whatever threshold you set) to MicroPython scripts to control Sonoff/ESP8266 using MQTT - davea/sonoff-mqtt. Note - your Sonoff MUST run the Sonoff Works with Home Assistant via MQTT; Total Control; Sonoff S31 Smart Plug. Power monitoring with Sonoff TH and ADC121. 1. h Zero Point Calibration * Add support for Sonoff S31 Smart Socket with Power Consumption Detection * Add command SetOption20 eWeLink App, SONOFF Smart Home Cooperative App, and Android, IOS version can all be download in the APP Store, one-click to start smart life. Assuming you already have Home Assistant up and running with ZHA running, it’s super easy to pair this device. Full documentation at). Add to cart. This will blink the LED twice and sends a MQTT status message like stat/sonoff/POWER on; three short This Poly provides an interface between MQTT broker and Polyglot v2 server. Just unbox it & plug it into a wall outlet. Sign in Product GitHub Copilot. Closed qingz2004 opened this issue May 13, 2018 · 18 comments Closed Sonoff S31 Energy Total can not be reset #2723. I have 12 of them now I have a Sonoff S31 smart plug running Tasmota which is integrated into HA via the MQTT integration. Hello, so I am currently using a Sonoff S31 flashed with ESPHome to track power consumption on a few devices around the house. 6 as RF_Bridge (p2, c1, Hello all, I just got some Sonoff S40 Lite plugs and I am trying to pair them with Home Assistant via ZHA. Tasmota monitors the power and can be used to turn the pump off. Before going any further, make sure MQTT is properly set up in Home Assistant and Tasmota. if you flip the plug’s relay in HA - the physical plug goes on/off pretty much instantaneously. SONOFF S31 Lite zb From what I’ve read it seems simple but I can’t find the actual tasmota32 file that the tasmota site states supports tls mqtt connections on port 8883. In order to use MQTT devices, the following is required: An MQTT broker installed; MQTT Binding I've been searching for a guide on how to setup the SONOFF S31 plug with mcsMQTT and haven't really come across anything that specifically refers to this plug and its ESPHome uses REST to communicate with HA, while Tasmota uses MQTT. Find and fix vulnerabilities Actions. SKU: N/A Category: Smart Plugs Brand: Sonoff. Automate any workflow Codespaces Got my sonoff bridge a few weeks ago and decided to flash it yesterday. 0 4. Hello! Despite the title, my ultimate goal is to connect a sonoff switch set on Home Assistant with virtual switch on Samsung Smartthings. That plug features a CSE7766 for power monitoring which is/should be more accurate as the HLW8012 mentioned in other plugs so far. The temperature & humidity sensor comes with a graph that you can limit by day|week|month. 00 – $ 13. (Except devices running stock sonoff devices). Stars. Put your DIY Smart Home to the next level with this 3-in-1 Smart Plug. Hello! I have a relay sonoff s26 with Tasmota firmware. Help users quick start to use. But I want to get information of zigbee devices I have a bunch of Sonoff S31s and use their power measurement capabilities for some reporting and automations. 0 Bridge Home Automation App Control ZB Bridge Remotely control ZigBee and Wi-Fi devices on eWeLink APP. 5. cpp and edit WiFi and MQTT-Configuration as desired. My Aqara devices don’t pair when any of these Sonoff s31 Lites are plugged in. M0802010007 Sonoff: Zigbee USB Dongle - til MQTT Cookies og indsamling af oplysninger om For at køre zigbee2mqtt til styring af SONOFF Zigbee-produkter som BASICZBR3, S31 Lite Zb i dit hjemmeautomatiseringssystem anbefales en CC2531 USB-dongleintegration. Note: it appears the RF bridge is not 'fully' supported and is 'currently only a long-term goal for ESPHome. It can be used to manually toggle the switch on/off or to place into various configuration mode depending on how often it is pressed. It's not possible to read (/get) or write (/set) this value. The web installer can be located here: Once connected, the web installer will upload Does Sonoff S31 support connect mqtt broker via web socket ? #18130. The Tuya app has pleasant to eye interface, polished animations and easy to The Sonoff basic is a neat device but it becomes an AWESOME device when you blow out it’s firmware and install the Espurna firmware on it. I’d like to use that plug to count how many times a day the sump pump cycles and use it in a Lovelace card. Sonoff Smart Socket S31 ZigBee; Sonoff Basic R3 Zigbee; In fact, I liked the interface better. ESPHome was much easier then Tasmota for me. 4 Ghz WiFi Only (1-Pack) Visit the SONOFF Store. I How to Use MQTT With the Raspberry Pi and ESP8266/sonoff: Hello All! Today I am going to show you how to configure a raspberry pi and ESP8266 based sonoff wifi relay switch to control your home appliances in from anywhere in the What is this? Home Assistant is dense. You will need to first install the node. Readme License. Is there a way to do this and use autodiscover for mqtt? Or do I need to setup these manually At the time the sonoff connects with the MQTT server, the sonoff subscribes to +++"cmnd/my-topic/#", "cmnd/group-topic/#" and "cmnd/fallback-topic/#",+++ and listens on all those names. The devices work file with total_daily_energy disabled. Then, re-downloaded these two add-on, Sonoff-Tasmota provides all (Sonoff) modules in one file and starts with module Sonoff Basic. You will need a MQTT broker running (can be on RPi running Polyglot). I tested mqtt works ok with hello world messages, with to putty terminals or putty and home assistant interface. The sump pump itself has a water sensor to know when to turn on. I added uptime measurement, and it isn't a consistent amount of time - as little as a few minutes and as long as many hours. When I say “publish” there is no way for me to tell it to send I am in a very similar situation with some additional ESPs using MQTT. S31 can track the power consumption of devices to show you which one probably Notice: This tutorial does not cover the flashing of Tasmota to the Sonoff S31 Lite. It only comes with two example Automations, but many more can be found online. bknfhaufmymqashyweuaqgkpeymrdcptvqqjjlgfoyjmlfuxgwjmqxcfgevaevhpy