Should you hack Sonoff Basics devices? [updated Flash Guide see description]

Ғылым және технология

INFO:
How to safely hack and restore Sonoff basic. While the video is still very relevant, there is a much simpler way to perform the actual flash of tasmota. If that's the case link is below, and there is a card to click through.
🔗More about:: notenoughtech.com/home-automa...
🔗Flashing Tasmota using Tasmotizer: notenoughtech.com/home-automa...
🛒Sonoff Basic R3: itead.cc/product/sonoff-basic...
🛒Sonoff Basic R3 RF: itead.cc/product/sonoff-rfr3/...
🛒Sonoff Basic R3 Zigbee: itead.cc/product/sonoff-basic...
Supported by Patreon:
Elle S, Marc W, RT, Natasha, Marta H, Joao D, Joseph C
Additional thanks to the May contributors:
Sam vN,
SUPPORT ME:
www.notenoughtech.com/about-me/
/ notenoughtech
www.paypal.me/notenoughtech
Social media:
/ notenoughtech
plus.google.com/u/0/b/1009298...
/ notenoughtech
/ notenoughtech
BUSINESS ENQUIRIES:
www.notenoughtech.com/contact-...
MUSIC:
"Retro Future Clean", "Furious Freak" "Fearless First" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0
creativecommons.org/licenses/b...

Пікірлер: 52

  • @general123ist
    @general123ist4 жыл бұрын

    Thanks I was searching all over for this topic

  • @notenoughtech

    @notenoughtech

    4 жыл бұрын

    Me too that's why I made it 🤭

  • @hansenhalim2265
    @hansenhalim22656 жыл бұрын

    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😁

  • @notenoughtech

    @notenoughtech

    6 жыл бұрын

    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!

  • @tgarrettbartgarrett2227
    @tgarrettbartgarrett22272 жыл бұрын

    Works good

  • @temperedglass9562
    @temperedglass95625 жыл бұрын

    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 ?

  • @notenoughtech

    @notenoughtech

    5 жыл бұрын

    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.

  • @MrDHaste
    @MrDHaste5 жыл бұрын

    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.

  • @notenoughtech

    @notenoughtech

    5 жыл бұрын

    I use this one: www.banggood.com/3Pcs-FT232RL-FTDI-USB-To-TTL-Serial-Converter-Adapter-Module-p-959210.html?p=4B291314710261201709&custlinkid=17347

  • @ulaB

    @ulaB

    5 жыл бұрын

    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...

  • @abelinkin
    @abelinkin5 жыл бұрын

    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?

  • @notenoughtech

    @notenoughtech

    5 жыл бұрын

    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

  • @notenoughtech

    @notenoughtech

    5 жыл бұрын

    This is the one I use: www.banggood.com/custlink/KDGKKz47LT

  • @fromchinaparcel

    @fromchinaparcel

    5 жыл бұрын

    Besides Tasmota there are a lot of different firmwares: ESPurna (Sonoff-Tasmota) WiFi-IoT Sonoff WiFi Switch ESPEasy 1M

  • @notenoughtech

    @notenoughtech

    5 жыл бұрын

    Thanks for the list. I use tasmota and AFE Firmware will check out the others at some point

  • @ulaB
    @ulaB5 жыл бұрын

    How did you figure out the "0x00000 0x100000" for the backup? Is that a general size for ESP8266 devices?

  • @notenoughtech

    @notenoughtech

    5 жыл бұрын

    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

  • @ulaB

    @ulaB

    5 жыл бұрын

    @@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.

  • @notenoughtech

    @notenoughtech

    5 жыл бұрын

    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

  • @NikosssDDDRRR
    @NikosssDDDRRR5 жыл бұрын

    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?

  • @notenoughtech

    @notenoughtech

    5 жыл бұрын

    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

  • @pradeepchandran9920
    @pradeepchandran99205 жыл бұрын

    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

  • @notenoughtech

    @notenoughtech

    5 жыл бұрын

    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

    @pradeepchandran9920

    5 жыл бұрын

    @@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

  • @notenoughtech

    @notenoughtech

    5 жыл бұрын

    @@pradeepchandran9920 Yes you could do this Remember that battery would last a couple days at best without sleep

  • @pradeepchandran9920

    @pradeepchandran9920

    5 жыл бұрын

    @@notenoughtech is it causes any problem if i connect like that. Is it like the bios battery in our computers?

  • @notenoughtech

    @notenoughtech

    5 жыл бұрын

    @@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?

  • @aabusulaiman
    @aabusulaiman4 жыл бұрын

    perfect, little hard for me, I just started this.

  • @notenoughtech

    @notenoughtech

    4 жыл бұрын

    You will feel comfortable with it in no time

  • @csplinter
    @csplinter5 жыл бұрын

    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?

  • @notenoughtech

    @notenoughtech

    5 жыл бұрын

    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

  • @csplinter

    @csplinter

    5 жыл бұрын

    @@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.

  • @notenoughtech

    @notenoughtech

    5 жыл бұрын

    I never went back either... but you know... it's better safe than sorry

  • @ekremozkaya1575
    @ekremozkaya15755 жыл бұрын

    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.

  • @leglessinoz

    @leglessinoz

    5 жыл бұрын

    No

  • @bharatprince2125
    @bharatprince21254 жыл бұрын

    My Sonoff switch ESP chip is not working ... can I replace it and back the firmware again

  • @notenoughtech

    @notenoughtech

    4 жыл бұрын

    if you get the same ESP chip and you are good with soldering yes... but sonoffs are cheap. - erasing the ESP didnt help?

  • @mizaidulisesortegaortega9481
    @mizaidulisesortegaortega948110 ай бұрын

    Does this work on sonoff basic with esp8285?

  • @notenoughtech

    @notenoughtech

    10 ай бұрын

    yes just use the correct firmware for that ESP when flashing

  • @els1f
    @els1f5 жыл бұрын

    I'm considering getting some sonoff equipment, but I really don't know how much one can trust these. Am I being paranoid? 😄

  • @notenoughtech

    @notenoughtech

    5 жыл бұрын

    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)

  • @leglessinoz

    @leglessinoz

    5 жыл бұрын

    They are well made and very reliable. The new Sonoff Basic is a complete redesign probably to conform to more countries' safety standards.

  • @ebuford

    @ebuford

    4 жыл бұрын

    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.

  • @omw9965
    @omw99655 жыл бұрын

    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.

  • @notenoughtech

    @notenoughtech

    5 жыл бұрын

    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.

  • @omw9965

    @omw9965

    5 жыл бұрын

    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.

  • @omw9965

    @omw9965

    5 жыл бұрын

    NotEnoughTECH, not the one you displayed 10A max dont try to change the topic, you’re not a hacker, you’re an idiot.

  • @leglessinoz

    @leglessinoz

    5 жыл бұрын

    In fact i wouldn't use one of these to switch 10A. For lower current applications though they are great.

Келесі