There are various projects to provide alt fw for ESP8266 based products, I guess they should be adapted to support PlatformIO, any preferences ?
One question is whether or not there is a way to re-image a Sonoff smart plug without breaking open the plastic molding. Even better however would be to find an engineer who works for itead to implement native web thing support in the product directly. Mozilla would happily provide her (or him) with a web thing API implementation for Sonoff smart plugs, in any language. Knock, knock, anyone home at iTead?
If anyone is still interested, hereâs the repo for the Sonoff Basic WebThing native implementation
This repo is intended to be a tech demo, and not a full solution like Tasmota / ESPUrna / ESPEasy / âŚ
If you wanât that kind of functionality, Iâd recommend asking them to implement the API.
Thanks, I was about to do it, but you were faster at reimplementing it. (btw the LED example is similar isnt it ? ssid is still hardcoded) .
The other approch would be to patch Tasmota to use webthing API.
At worst case if Tasmota does not want to use WT API, we can still bridge to current REST API or MQTT (to use vanilla Tasmota).
Any opinion to push this further ?
The library was in the works for some time, but never gotten around to it, and yes itâs very similar to the LEDLamp example. Sometimes people only need a familiar situation to get the gears working
Both Tasmota & ESPUrna are very modular in their structure, itâs a pleasure to look at and with so many compiling options I would believe that there can be a place for the WT API to be implemented.
The question are: Will the implementation cause any bugs? How can the WT API modularized to fit all use cases?
Also the WT API -in my opinion- is mature enough to handle what the Sonoffs can throw at it, but this may be a concern of the developers.
Is anyone interested to upstream this in:
I can mentor newcomers developers if needed
Or use a fallback MQTT webthing as I hacked for a demo:
Hints:
It seems we wonât be seeing a Tasmota implementation for the foreseeable future, but on the ESPUrna side, itâs coming along nicely!
Thanks @rzr!
Hi all.
Technically I introduced Itead Sonoff (with TASMOTA fw) to this discussion almost exactly one year ago.
It seems to me, that folks around this project are oriented to another direction.
After one year I run nearly 60 devices (with TASMOTA FW) within my home automation system. All of them work flawlessly.
Tasmota upgraded widely and range of compatible devices dramatically increased as well.
It works with HASSIO, Domoticz, OpenHUB, Yeti etc., but not with Mozilla IOT.
Simply said - you should use anything but MozillaIOT if you are using Tasmotized device.
Hi @kajmaj,
Unfortunately our very small core team can not implement support for all smart home products on our own, but thatâs why we created the add-ons system. We welcome contributions in the form of adapter add-ons, or in fact custom firmware to turn Sonoff devices into native web things!
@benfrancis
I understand that it is not easy to satisfy all and it is not a criticism at all.
It is an info oriented more to current users of âtasmotaâ devices that waiting might be long
Hi, the Tasmota firmware is MQTT-oriented and their author said they would not accept a contribution to support other communication protocols like WoT. The Domoticz, OpenHAB and other integrations are all MQTT-based.
The Things Gateway would support Tasmota devices by having a MQTT adapter. I believe such an adapter could be very nice for hobbyists since MQTT is often used by them. We could maybe try to continue the work started in https://github.com/hobinjk/mqtt-adapter.
And because I did not see this thread before (sic!), I also open-sourced a firmware for Sonoff Basic devices: https://github.com/willdurand/sonoff-webthing, including SmartConfig, OTA, etc.
Hi all,
Iâm also interested in interfacing Sonoffs from the Webthings Gateway. Ideally it would be a direct interface without the need to reflash the firmware, as if I have to reflash then Iâd just use an existing Webthings library like the Arduino one.
Cheers
Iâve found the following, which may be a good alternative.
All of my Sonoffâs are already flashed with ESPHome. If only I could figure out how to install the plugin in WebThings GatewayâŚ?
I wrote an http based adapter for my sonoff (tasmota firmware) switches.
You can find it here:
I also wrote an adapter for the ESPHome firmware:
Iâm happy to receive your feedback as soon as itâs merged: