Comments (16)
Well, it's certainly possible and I'm happy to see that.
However using the script has a few implications:
- you still need to build different images for particular devices (mainly the Sonoff 4CH switch as well as the Sonoff Touch, as they have the ESP8285 instead of the ESP8266 built-in)
- you might brick your device and therefore should be able to unbrick / (re)flash it via serial
Making it too easy I kinda fear that people who are not aware of the above shouldn't use that script anyway (at least as long as it's just a PoC and there are risks of (soft-)bricking).
Though, as said, you're more than welcome of course to do so!
from sonota.
As I know @arendst solve the differences between 8266 and 8285 so you can use the same .bin for both
Unfortunately I am not so experienced in linux, that's why I request your help with a ready made raspberry image or, at leas,t all in one script.
You did a great job, keep up the good work
from sonota.
Why did you close the issue ? You could tag it as an enhancement ?
May be this weekend, I'will provide a docker image/virtualbox or other thing.
from sonota.
Why did you close the issue ? You could tag it as an enhancement ?
I'm sorry, I indeed only considered the issues being issues.
Will follow your advise and tag it appropriately.
from sonota.
Very fast ! :-)
It'll be easiest to do the job with latest Tasmota release.
from sonota.
Short update: I pushed quite a few code changes yesterday, incl. provisioning support which obsoletes using the proprietary app and the DNS redirect. Also the necessity as running it as root is gone.
That way I think the script should be pretty usable for everybody who can install python dependencies and running such a script.
from sonota.
Great news,
please upload the latest Tasmota bin1 and bin2, because this is another difficult part.
After first update is it possible to use the normal Tasmota web update procedure ?
from sonota.
The Tasmota images can be built according to the instructions stated in the Tasmota wiki with the adjustment mentioned in my blog post (as well as in the README of this very project).
from sonota.
Hi @mirko
You did a great job, you are just one step before complete - add a nice bash script to do all in one step:
#!/bin/bash
git clone https://github.com/mirko/SonOTA
#check if ssl certificate exist and create them if not
.............................
python3 sonota.py --wifi-ssid foobar --wifi-password ew4Ookie 10.23.42.5
For you is very easy to compile Tasmota's, but I'm sure that 50% of the users has problems finding boards.txt
That's why @smadds serve already compiled bin files http://sonoff.maddox.co.uk/tasmota/sonoff.bin
There is a link to your git in tasmota's wiki page https://github.com/arendst/Sonoff-Tasmota/wiki/Upload#sonoff-factory-ota-mechanism-experimental , so the easyer will be, the more users will benefit from it.
Sorry for my insistence
from sonota.
If you have such a script, find it worth being added to the repo, add some proper documentation from where to fetch what kind of pre-built images, I'm more than happy to take a look at respective pull-requests.
from sonota.
Hi Mirko,
Do you know if ssl still necessary ?
from sonota.
Do you know if ssl still necessary ?
Could you please elaborate or provide some context?
from sonota.
Yes, as you are using a different port than 443.
I suppose we can use a http url and not https.
So, if it's only http, openssl won't be needed ?
from sonota.
It is HTTPS - thus HTTP over SSL/TLS. I still wonder what your actual request is, especially in regard of this ticket(?)
from sonota.
It s in order to deliver a bash script.
I suposed https not needed anymore.
from sonota.
The device is initiating the communication by sending an HTTPS request. I wonder where your suppositions come from.
Anyway, I'll close this ticket - feel free to propose a pull request for that enhancement.
from sonota.
Related Issues (20)
- ESP8285 based relay board doesn't like certificate HOT 5
- [New Smart G2 2.0.1]Successfull flash, help for template/model selection HOT 1
- set_nodelay? HOT 3
- add SonOFF T2 support
- pip3 fails to import main
- Script crashed starting web server HOT 4
- eWeLink Mini PCI-e Desktop PC Remote Control HOT 4
- DIY Mode for Stock Firmware 3.3 or Higher? HOT 1
- Sonota.exe not progressing after connecting to ITEAD-SSID HOT 2
- Sonoff TH10 2.6.0 firmware
- Can device get bricked if something goes wrong? HOT 2
- How to update from the shipped SonOTA .bin to a newer version?
- SSL Error on 11 ('xxx', 4098): [SSL] internal error (_ssl.c:1108) HOT 4
- Latest firmware HOT 5
- No FinalStage network is shown.
- Never ending loop at stage2 when trying to flash Tasmota for the first time HOT 7
- The ssid details sent to the device are not working
- No Final Stage For Windows EXE - Different IP subnet? HOT 1
- WARNING: SSL Error on 12 ('192.168.0.60', 8708): [SSL: NO_CIPHERS_AVAILABLE] no ciphers available (_ssl.c:997)
- Does it work with the Zb Bridge ( wich look really like the RF Bridge
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonota.