Comments (14)
The list of units where this has worked is listed on the Wiki. It should work, and the builds should support both, but everything that I know about is there. However that said, this project is still in beta, and could have problems, so worse case there's always a chance you'll need to manually flash anyway.
I have some notes on backing up the firmware here: #1 (comment)
If it does work, please let me know and I can update the wiki (or feel free to update the wiki yourself).
Good luck.
from sonota.
Hi, Thank you so much for your guidance.
Unfortunately it didn't work. I went through the steps until it connects to "FinalStage", does the upload and disconnects. For what it's worth, here's the logs: https://pastebin.com/kJrDHu5J
I then rebooted the Sonoff and now it doesn't connect to my router.
The relay also goes on and off every second. Just weird behavior.
As a next step I will try to flash the Sonoff-Tasmota through the USB programmer and see if that works.
Thank you so much for your help. I appreciate your time, patience and all the work you've done here.
-BG.
from sonota.
Hi, That log looks good! :)
It'll probably be in the default Tasmota configuration (looking to join via WPS, and trying the default WiFi networks). see here for more information (including button presses etc): https://github.com/mirko/SonOTA#running
from sonota.
Sorry, I jumped the gun and posted before I could try a few things...
I was able to get the Sonoff to join the router and I can see the configuration page.
- Then I selected the device type to be "1 Channel".
- Saved configuration and rebooted.
- Copied and pasted this URL to set the pulse time to 1 second:
http://IPSONOFF/cm?cmnd=PulseTime2011
(The above is from arendst/Tasmota#453) - Saved configuration and rebooted.
- Clicked the outer button (Mode Setting/Toggle button) to set the relay in Self-Lock mode (where switch state is persistent)
- Now when I press the on/off button, it switches off automatically after 1 sec. THis behavior is also confirmed when triggered via the web page.
Phew! Now the Sonoff is behaving in a useable relay like way. I will now add a device handler on the Smartthings and see if I can control it via SmartThings app.
I can't thank you enough for standing by and helping me out.
Thank you so much!
BG.
from sonota.
Awesome! Glad it worked.
I have also updated the Wiki.
Enjoy!
from sonota.
guys
I got almost BG's same problem, unfortunately mine doesn't seem to solve alone!
My sonoff 1Channel is stuck in FinalStage status. Same as above the relay also goes on and off every second. I can stop it by pressing first button.
I tried to restart sonota.py with --no-prov but it simply doesn't work.
from sonota.
To confirm, you have the finalstage in SSID? Are you able to connect to it? If so, can you please send through the logs. The most common reason there is an issue at this stage is because of a firewall running when connected to the final stage SSID, so it can never downloaded the image.
from sonota.
Sorry but I don't have the complete log, just this:
iMac:SonOTA-master nicola$ python3 sonota.py --no-prov
Starting stage2...
~~ Starting web server (HTTP port: 8080, HTTPS port 8443)
~~ Waiting for device to connect
The "FinalStage" SSID will disappear when the device has been fully flashed and image_arduino.bin has been installed
Once "FinalStage" has gone away, you can stop this program
.......................
I don't think it's a firewall problem because I don't have one.
FinalStage is available and I'm connected to it.
Thanks in advance for your support.
from sonota.
The firewall was my issue. I'm on Windows7 and when joining FinalStage, the firewall window popped up, but went hiding under a bunch of other windows, so I missed it. To my luck, I saw much later the firewall dialog box and also I hadn't killed the running script. So once I allowed permission the script continued and ultimately completed successfully. The documentation specifically addresses this issue (thanks to the person who documented this).
Are you on Windows? If so, you will most likely have the firewall that came with the OS.
I don't have any external firewall either, but use the one that came with the OS.
When you re-run the script from a clean start, please do collect the logs. It will be very helpful to troubleshoot.
from sonota.
I’m on Mac. I can’t rerun the script from the start... the relay is stucked on FinalStage
from sonota.
Hi @boraygowda,
Please can you expand on what you did to get from the intermittent relaying to being able to connect.
I'm in the same situation you were in.
Regards,
Adam
from sonota.
To solve the intermittent on/off behaviour I had to remove the IC like in the photo below
https://user-images.githubusercontent.com/9368955/28057156-21e35406-65d4-11e7-88b1-a32e8a1379b1.png
After that I flashed the board with arduino, because the script simply didn't go on
from sonota.
Adam,
When it started I simply reset the board with a long press (I forget how many seconds), and restarted the process.
BG.
from sonota.
I found that this command: http://IPSONOFF/cm?cmnd=PulseTime2011
didn't work for me. What I had to do was (from the Sonoff WebUI):
Main Menu -> Console -> and then in 'Enter Command' I typed: PulseTime 30
this seemed to work for me. (where 30 is how long you want the relay to stay activated for = 3 secs)
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.