Hi, I really enjoy your video! Just want you to know, Have u ever heard about Tasmota? There's a lot of useful feature ready to flash to sonoff. Plus it make sonoff have abilities to connect with home assistant which makes it awesome😁
I have read about the Tasmota when I was doing the research about the Sonoff hacking... form what I understand it enables support for MQTT and HTTP as well which is nice. I have yet to try one!
What will be power adapter recommendation for "1 Channel Inching /Self-Locking WiFi Wireless Switch 5V " . 5 Volt 1Amp or 5 Volt 2 Amp or 5 Volt 3Amp ?
That's depends on the device itself. 1A should be more than enough to drive both WiFi chip and the relay. Do check spec sheet to know detailed requirements.
Hi, I am using a CJMCU-232H as my programmer. Whenever I connect either the gnd or vcc (+3.3) from the former to the sonoff, the power led on the CJMCU goes off and the com port (COM3) disappears from device manager. I only need to connect +3.3V, GND, RX and TX, right? Could it be that the CJMCU isn't providing enough current for the 8266?
I have not used that one. Seems like there is too much power draw. Try connecting 3.3V from another source but keep the GND common with the programmer, new power source and the sonoff
Don't quote me on that but I believe these are memory range limits from where in the memory table you should start read and stop read process for the backup. The 0x0 is an obvious one, but the closing one is directed probably by the biggest flash size. I used the default values from documentation when I was doing the research into that. I hope this helps
Don't think there is a need for it as it will allocate the space needed. Read what's possible between these values and then dump the bin file. When you restore the bin file has the size already determined by the backup
Why is the backup only compatible with one device? Is it only because the MAC address is stored in the backup? I have three devices. Do I actually need to keep track of which backup goes to each individual unit, or could I just restore a unique backup to each device and call it a day?
The backup stores MAC which is hardcoded into the hardware. Name the bin file accordingly and sign device enclosure inside to identify the backup. This only applies to original firmware
@@notenoughtech Thanks for the quick reply. That is a bit of a headache. But after further research I am pretty certain that I will never use the stock firmware.
Would you be able to link the programmer and other parts needed to do this please? I'm a complete nove but came across your Nest hack and want to give it a go but unsure what FTDI programmer and leads I need to buy etc. I have a couple of Sonoff devices. Much appreciated.
Make sure you get an FTDI programmer that can be switched 3.3V and check the output voltage too. I have one that allows me to switch the TX and RX signals to 3.3V, but the Vcc output was still at 5V...
ok maybe i will sound funny to you..but how could you connect it with your pc keyboard? i am not using alexa or google etc.. but pc connectivity is something i am interested in . Could you please give some info about the way you manage to do it?
The way I used it was via EventGhost. You will need to learn this: notenoughtech.com/home-automation/eventghost-basic-authentication-in-http-requests/ and then you can connect it with: notenoughtech.com/home-automation/nodered-home-automation/nodered-for-beginners-5/ I mapped the keyboard action to HTTP request to NodeRED then made it do things to the sonoff via HTTP directly or via MQTT
Hi, i am trying to use the sonoff switch to turn on a device which is not always physically accessible. by using the timer functionality but one problem is that there is not an internet connection available over there is it possible
You can configure the timer inside the Sonoff device, I'm not 100% sure how the clock is monitored, I'd imagine WiFi would be needed to at least start the clock and synchronise it every time device is disconnected from the power.
@@pradeepchandran9920 No, but you will be adding battery monitoring to the mix. Is not possible to extend your network with another ESP device? I understand the WiFi is the issue not the electricity? This way if something goes down, Sonoff will reconnect and check the clock. You could also think of implementing of RTC module - maybe this way you could keep the persistent timing between reboots?
If we hack sonoff basic and upload Tasmota firmware then Can we use continue ewelink app? I mean when we out of home then cant connect sonoff basic with tasmota flash firmware at home by 4G or office wifi. Or itead servers dont let us to use ewelink app with sonoff hacking firmware! If YES Which app or program we can use for connect sonoff when we out of home.
You can stay paranoid. Sonoff flashed let you write your own firmware. In that case you know for sure it's just you that handles the data (unless your coding skills are shoddy then use tasmota or AFE Firmware - both open source)
I don't trust these using the stock firmware since they have to go to China to switch the light on and off. However using the Sonoff.bin (Tasmota) file, you change it to being local to your own system. This is great and let's you pull it into Home Assistant or OpenHab to manage it. You can also just use it as a local webpage if you haven't moved to some Open Hub yet. With the Sonoff stuff I don't bother to backup the current firmware as I never want my switch to ping a server in China to turn on my light.
There is absolutely no need to hack this electrical wifi device, for goodness sakes don’t suggest that in public since every person is not an electrician and some have already burned their homes trying to hack this device. The lady in Chicago Illinois her Sonoff burned her front porch, her daughter reported to fire dept she opened the device to check it out then glued the device back to seal it from water and moisture. Not very smart thing to do but who knows what else she really did. So better to use it like it is, I have one and it works great. Also no more than 10A for things you are plugging in.
There is plenty of need and reason to hack things. This is how people learn and develop their skills. People take apart bicycles, cars, devices to learn how it works, how to maintain it, how to fix it. Precaution is always advised (and common sense). If you see me advising waterproofing sonoff basic and using it outdoors, perhaps then your comment would be more relevant. The current of the sonoff allowed depends on the model used and it's listed on the label. There are sonoffs that take more than 10A of current.
NotEnoughTECH ... hacking is not for everyone especially when it comes to electrical devices. I own ham and radio scanners and I’ve mod them you call it hack but its a simple modification. Anyways not every one is (Tech savy) just like not everyone can play a guitar no matter how much they practice. You want to teach people to hack then direct them to use caution or at least warn them this is the public you are promoting to do this, kids and adults.
Thanks I was searching all over for this topic
Me too that's why I made it 🤭
Hi, I really enjoy your video! Just want you to know, Have u ever heard about Tasmota? There's a lot of useful feature ready to flash to sonoff. Plus it make sonoff have abilities to connect with home assistant which makes it awesome😁
I have read about the Tasmota when I was doing the research about the Sonoff hacking... form what I understand it enables support for MQTT and HTTP as well which is nice. I have yet to try one!
What will be power adapter recommendation for "1 Channel Inching /Self-Locking WiFi Wireless Switch 5V " . 5 Volt 1Amp or 5 Volt 2 Amp or 5 Volt 3Amp ?
That's depends on the device itself. 1A should be more than enough to drive both WiFi chip and the relay. Do check spec sheet to know detailed requirements.
Hi, I am using a CJMCU-232H as my programmer. Whenever I connect either the gnd or vcc (+3.3) from the former to the sonoff, the power led on the CJMCU goes off and the com port (COM3) disappears from device manager. I only need to connect +3.3V, GND, RX and TX, right? Could it be that the CJMCU isn't providing enough current for the 8266?
I have not used that one. Seems like there is too much power draw. Try connecting 3.3V from another source but keep the GND common with the programmer, new power source and the sonoff
This is the one I use:
www.banggood.com/custlink/KDGKKz47LT
Besides Tasmota there are a lot of different firmwares:
ESPurna
(Sonoff-Tasmota)
WiFi-IoT
Sonoff WiFi Switch
ESPEasy
1M
Thanks for the list. I use tasmota and AFE Firmware will check out the others at some point
How did you figure out the "0x00000 0x100000" for the backup? Is that a general size for ESP8266 devices?
Don't quote me on that but I believe these are memory range limits from where in the memory table you should start read and stop read process for the backup. The 0x0 is an obvious one, but the closing one is directed probably by the biggest flash size. I used the default values from documentation when I was doing the research into that. I hope this helps
@@notenoughtech yeah, those look like start at 0 and go up to 1M. I was just curious if there's a way to determine them somehow e.g. for other chips.
Don't think there is a need for it as it will allocate the space needed. Read what's possible between these values and then dump the bin file. When you restore the bin file has the size already determined by the backup
Why is the backup only compatible with one device? Is it only because the MAC address is stored in the backup? I have three devices. Do I actually need to keep track of which backup goes to each individual unit, or could I just restore a unique backup to each device and call it a day?
The backup stores MAC which is hardcoded into the hardware. Name the bin file accordingly and sign device enclosure inside to identify the backup. This only applies to original firmware
@@notenoughtech Thanks for the quick reply. That is a bit of a headache. But after further research I am pretty certain that I will never use the stock firmware.
I never went back either... but you know... it's better safe than sorry
Would you be able to link the programmer and other parts needed to do this please? I'm a complete nove but came across your Nest hack and want to give it a go but unsure what FTDI programmer and leads I need to buy etc. I have a couple of Sonoff devices. Much appreciated.
I use this one:
www.banggood.com/3Pcs-FT232RL-FTDI-USB-To-TTL-Serial-Converter-Adapter-Module-p-959210.html?p=4B291314710261201709&custlinkid=17347
Make sure you get an FTDI programmer that can be switched 3.3V and check the output voltage too. I have one that allows me to switch the TX and RX signals to 3.3V, but the Vcc output was still at 5V...
ok maybe i will sound funny to you..but how could you connect it with your pc keyboard? i am not using alexa or google etc.. but pc connectivity is something i am interested in . Could you please give some info about the way you manage to do it?
The way I used it was via EventGhost.
You will need to learn this:
notenoughtech.com/home-automation/eventghost-basic-authentication-in-http-requests/
and then you can connect it with:
notenoughtech.com/home-automation/nodered-home-automation/nodered-for-beginners-5/
I mapped the keyboard action to HTTP request to NodeRED then made it do things to the sonoff via HTTP directly or via MQTT
Hi, i am trying to use the sonoff switch to turn on a device which is not always physically accessible. by using the timer functionality but one problem is that there is not an internet connection available over there is it possible
You can configure the timer inside the Sonoff device, I'm not 100% sure how the clock is monitored, I'd imagine WiFi would be needed to at least start the clock and synchronise it every time device is disconnected from the power.
@@notenoughtech can i connect an external battery to the vcc and ground pin in the board so that the device will stay on all the time
@@pradeepchandran9920 Yes you could do this Remember that battery would last a couple days at best without sleep
@@notenoughtech is it causes any problem if i connect like that. Is it like the bios battery in our computers?
@@pradeepchandran9920 No, but you will be adding battery monitoring to the mix. Is not possible to extend your network with another ESP device? I understand the WiFi is the issue not the electricity? This way if something goes down, Sonoff will reconnect and check the clock. You could also think of implementing of RTC module - maybe this way you could keep the persistent timing between reboots?
Does this work on sonoff basic with esp8285?
yes just use the correct firmware for that ESP when flashing
My Sonoff switch ESP chip is not working ... can I replace it and back the firmware again
if you get the same ESP chip and you are good with soldering yes... but sonoffs are cheap. - erasing the ESP didnt help?
If we hack sonoff basic and upload Tasmota firmware then Can we use continue ewelink app? I mean when we out of home then cant connect sonoff basic with tasmota flash firmware at home by 4G or office wifi. Or itead servers dont let us to use ewelink app with sonoff hacking firmware! If YES Which app or program we can use for connect sonoff when we out of home.
No
Works good
I'm considering getting some sonoff equipment, but I really don't know how much one can trust these. Am I being paranoid? 😄
You can stay paranoid. Sonoff flashed let you write your own firmware. In that case you know for sure it's just you that handles the data (unless your coding skills are shoddy then use tasmota or AFE Firmware - both open source)
They are well made and very reliable. The new Sonoff Basic is a complete redesign probably to conform to more countries' safety standards.
I don't trust these using the stock firmware since they have to go to China to switch the light on and off.
However using the Sonoff.bin (Tasmota) file, you change it to being local to your own system. This is great and let's you pull it into Home Assistant or OpenHab to manage it.
You can also just use it as a local webpage if you haven't moved to some Open Hub yet.
With the Sonoff stuff I don't bother to backup the current firmware as I never want my switch to ping a server in China to turn on my light.
perfect, little hard for me, I just started this.
You will feel comfortable with it in no time
There is absolutely no need to hack this electrical wifi device, for goodness sakes don’t suggest that in public since every person is not an electrician and some have already burned their homes trying to hack this device. The lady in Chicago Illinois her Sonoff burned her front porch, her daughter reported to fire dept she opened the device to check it out then glued the device back to seal it from water and moisture. Not very smart thing to do but who knows what else she really did. So better to use it like it is, I have one and it works great. Also no more than 10A for things you are plugging in.
There is plenty of need and reason to hack things. This is how people learn and develop their skills. People take apart bicycles, cars, devices to learn how it works, how to maintain it, how to fix it.
Precaution is always advised (and common sense).
If you see me advising waterproofing sonoff basic and using it outdoors, perhaps then your comment would be more relevant.
The current of the sonoff allowed depends on the model used and it's listed on the label. There are sonoffs that take more than 10A of current.
NotEnoughTECH ... hacking is not for everyone especially when it comes to electrical devices. I own ham and radio scanners and I’ve mod them you call it hack but its a simple modification. Anyways not every one is (Tech savy) just like not everyone can play a guitar no matter how much they practice. You want to teach people to hack then direct them to use caution or at least warn them this is the public you are promoting to do this, kids and adults.
NotEnoughTECH, not the one you displayed 10A max dont try to change the topic, you’re not a hacker, you’re an idiot.
In fact i wouldn't use one of these to switch 10A. For lower current applications though they are great.