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

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

Комментарии • 52

  • @general123ist
    @general123ist 5 лет назад +3

    Thanks I was searching all over for this topic

  • @hansenhalim2265
    @hansenhalim2265 6 лет назад +6

    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 лет назад +3

      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!

  • @temperedglass9562
    @temperedglass9562 5 лет назад +2

    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 лет назад +1

      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.

  • @abelinkin
    @abelinkin 5 лет назад +1

    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
    @ulaB 5 лет назад +1

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

    • @notenoughtech
      @notenoughtech  5 лет назад +1

      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

  • @csplinter
    @csplinter 5 лет назад

    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

  • @MrDHaste
    @MrDHaste 6 лет назад

    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  6 лет назад

      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 лет назад +2

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

  • @NikosssDDDRRR
    @NikosssDDDRRR 5 лет назад

    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
    @pradeepchandran9920 6 лет назад

    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  6 лет назад

      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 6 лет назад +1

      @@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  6 лет назад

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

    • @pradeepchandran9920
      @pradeepchandran9920 6 лет назад

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

    • @notenoughtech
      @notenoughtech  6 лет назад

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

  • @mizaidulisesortegaortega9481
    @mizaidulisesortegaortega9481 Год назад

    Does this work on sonoff basic with esp8285?

    • @notenoughtech
      @notenoughtech  Год назад

      yes just use the correct firmware for that ESP when flashing

  • @bharatprince2125
    @bharatprince2125 5 лет назад

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

    • @notenoughtech
      @notenoughtech  5 лет назад

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

  • @ekremozkaya1575
    @ekremozkaya1575 5 лет назад

    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.

  • @tgarrettbartgarrett2227
    @tgarrettbartgarrett2227 2 года назад

    Works good

  • @els1f
    @els1f 5 лет назад

    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 лет назад +1

      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 5 лет назад +2

      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.

  • @aabusulaiman
    @aabusulaiman 4 года назад

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

    • @notenoughtech
      @notenoughtech  4 года назад

      You will feel comfortable with it in no time

  • @omw9965
    @omw9965 5 лет назад

    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 лет назад +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 лет назад +1

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