Flashing the Sonoff NSPanel with Tasmota!

Поділитися
Вставка
  • Опубліковано 22 лип 2024
  • Check out PCBWay: www.pcbway.com/
    In this video we are taking you through how to flash the Sonoff NSPanel with Tasmota. The Sonoff NSPanel is a smart switch for controlling all of the devices in your smart home, but there are many reasons you may want to flash the firmware on it. Number 1 to give you local control, number 2 to integrate with Home Assistant and number 3 is for designing custom UI's for the NSPanel. Follow along as I show you how to flash custom firmware on the NSPanel to open up much more possibilities.
    If you'd like to support me and future projects:
    Patreon:
    / everythingsmarthome
    Sonoff NSPanel (Official website):
    bit.ly/30odo9U
    Parts:
    USB to serial (get the red PCB one): amzn.to/3lsPfnJ
    Wires: amzn.to/3acqhEV
    Files:
    esp_flasher: github.com/Jason2866/ESP_Flas...
    tasmota32.bin: github.com/tasmota/install/ra...
    nspanel.be (download raw): github.com/blakadder/nspanel/...
    Commands:
    gist.github.com/EverythingSma...
    Links:
    Blakadder's website: blakadder.com/nspanel-hacking/
    Python install guide: phoenixnap.com/kb/how-to-inst...
    esptool install guide: cyberblogspot.com/how-to-inst...
    Tasmota NSPanel Documentation: templates.blakadder.com/sonof...
    Buy Me a Coffee:
    www.buymeacoffee.com/EverySma...
    Written Article:
    everythingsmarthome.co.uk/how...
    EVERYWHERE YOU CAN FIND ME:
    Everything Smart Home Community Discord:
    discord.everythingsmarthome.c...
    Twitter: / everysmarthome (@EverySmartHome)
    Instagram: / everythingsmarthome
    Facebook: / everythingsmarthomeoff...
    #homeassistant #smarthome #tasmota
    ________________________
    Some of the links above are affiliate links, where I earn a small commission if you click on the link and purchase an item. You are not obligated to do so, but it does help fund these videos in hopes of bringing value to you!
    0:00 - Intro
    0:51 - Why would you want to flash?
    2:44 - Things you will need
    3:43 - Disassembly and pinout
    5:17 - Wiring
    5:58 - Backing up the original firmware
    7:54 - Flashing Tasmota
    9:56 - Tasmota Configuration
  • Наука та технологія

КОМЕНТАРІ • 131

  • @AdrianBawn
    @AdrianBawn 2 роки тому +4

    I ordered 2 NS Panels on the KS on the assumption someone would write a custom firmware for it in the future. They arrived the other day, and i was expecting to have to deal with eWeLink for a few months while that was sorted out. Its amazing that this was already sorted even before the KS actually shipped. Good job everyone involved. Now just to get the custom UI elements sorted.

  • @SjoerdPostmaJr
    @SjoerdPostmaJr 17 днів тому

    LOL! at 11:53 that 1337°C is a nice touch! :)
    I know I'm a bit late to the game, but I just started investigating NSPanel for my own home use, and your video is a nice relaxed introduction for me to understand what I'm looking at and what I could do with the device. Thanks for the effort!!

  • @SimonKenyon
    @SimonKenyon 2 роки тому +1

    i have never seen anyone connect the programming pins to the device before. really neat way of doing it. thank you.

  • @TheConstantinosK
    @TheConstantinosK 2 роки тому +8

    oh!!!come on ,tasmotized so soon?Now i have to budget one of these panels for my living room.Blakadder and all of these guys with programing skills are my heroes.I get to do so many things automating my home and my life ,things that couldnt be possible without their code.And they do it for free.So whenever we can lets buy them a coffee or a beer!

  • @mkjustuk
    @mkjustuk 2 роки тому +8

    Great video as always. This is looking better already! With the gpios there, we can add a sensor too now!

  • @matejfoltyn
    @matejfoltyn 2 роки тому +1

    You had my curiosity. Now you have my attention! Actually considering it because of that!

  • @stephanebuisson3577
    @stephanebuisson3577 2 роки тому +30

    for me the real question is how to display data from Home Assistant on the screen. EG: start an automation/scene from button's combination & touch screen, NS panel as HA remote without mobile/tablette.

    • @moreno55uk
      @moreno55uk 2 роки тому

      Someone already has ua-cam.com/video/Kdf6W_Ied4o/v-deo.html

    • @karlclark5125
      @karlclark5125 Рік тому

      Any luck with this

  • @Leonvolt28
    @Leonvolt28 2 роки тому +29

    I'm looking forward to see esphome support

  • @user-jw8pv9fe1x
    @user-jw8pv9fe1x 7 місяців тому

    Excellent video, thank you - and ba - for the efforts made.

  • @lelandclayton5462
    @lelandclayton5462 2 роки тому +33

    Sonoff: we have a touch screen smart switch.
    Blackadder: hold my beer...

  • @RichardCampbell_DotNetRocks
    @RichardCampbell_DotNetRocks 2 роки тому

    My NSPanel has been ordered... I definitely will be flashing it.

  • @ASCavaco1983
    @ASCavaco1983 2 роки тому

    Mine Just Arrived , my house has all switches Sonoff t1 eu´s , will flash it like i did the T1´s to see what i can do with it , Great video !!!

  • @paulajones4037
    @paulajones4037 2 роки тому

    Samsung Galaxy Tab S8 Ultra 14.6"
    I can't wait to see what you guys do with that tablet huge tablet. I think it's going to be an amazing home screen.

  • @thisfeatureisbad
    @thisfeatureisbad 2 роки тому

    Would it be possible to edit the elements on the screen? It uses the Nextion screen. I don't like the circular color selector. I would prefer the Google Home color selection.

  • @bassett_green
    @bassett_green Рік тому +1

    for the I/O Zero to ground, you could have just used another jumper on the bottom of your pin header, a bit less risk of getting bumped lose while it's flashing

  • @LoomisRex
    @LoomisRex 2 роки тому

    Cant wait to get one :) Thanx for the video :)

  • @kamilkoclega2033
    @kamilkoclega2033 Рік тому

    What is the panel that we can see in the background in the beginning of the video? Thanks!

  • @rickardpaulsson7766
    @rickardpaulsson7766 2 роки тому

    Hello, great video. I did buy a nspanel but i cant get the ESP32 in flashmode. My panel is version 1.7 could what be the problem..

  • @paddy1414
    @paddy1414 Рік тому

    Hi, if I was to get this and flash it, would the actual thermostat stuff still work?

  • @serhioromano
    @serhioromano 2 роки тому

    I watched this twice, but I am new to this so please help me out. If ш flash NSPanel with Tasmota I can use it in HA through MQTT without eWeLink app, right? This one I am almost certain is true. But what about those 8 widgets? You see the problem is that I plan to install Zigbee Zemismart connected to HA through Zigbee stick. Will I be able to add curtain widget to NSPanel? Or in other words can I add widgets to control devices that are not sonoff and not connected to eWeLink?

  • @MsVincentC
    @MsVincentC 2 роки тому +1

    Hello, is there a way to manually update the NS Panel to a newer version? Because after I made an update from 1.0.2. to 1.1.0 the update was not successful and currently, there is a black screen with error information. I made 10 attempts to update, stopped the power, turned it on, and whatnot - but nothing helps.
    If I update it manually until the last version, at least I won't rely on the automatic one, because it obviously doesn't work. What happens every time is up to 61% data recording 5111808 and stops there.
    And the update says that it is 8288152

  • @riaeasy7953
    @riaeasy7953 Рік тому

    I found my ns panel doesn't be sensitive to the touch. Hopefully it's not responding any touch, can you tell me what could be the reason for that?

  • @walberg61
    @walberg61 Рік тому +3

    I think there is something wrong with the + and - on 9:28 the figure told us left is ground and right is plus but on 9:38 the red cable is on the left site and the blue cable is on the right site. I tried it but it broke my usb hub and the serial 2 usb print is very hot. I cabled it just the way you dit red on the 2nd pin and blue on the 3th pin and on de interface board, blue on the left and red on the 3th (part site to above). I also dit not find any wifi point.

  • @tonydijksterhuis3084
    @tonydijksterhuis3084 Рік тому

    How to get the widget and thermostat screen working? it says please connect to ewelink app......

  • @b0br0ff1974
    @b0br0ff1974 Рік тому

    Hi, I have flashed NSPannel using described procedure as result device is flashed, is visible on the network, but there is an issue with built in temperature and humidity sensors. Actually reported values are wrong, temperature is negative, humidity is not reported. Did you see such issue? Is there a patch for this? Thanks in advance.

  • @eddcole1
    @eddcole1 Рік тому

    Hi there, i get a 500 error on the blueprint, any idea what im doing wrong

  • @luokerenzz
    @luokerenzz 2 роки тому +1

    what is the usage on tasmota?

  • @robbieels6628
    @robbieels6628 Рік тому

    Is there any way to flash the stock firmware again?

  • @beata-anitagerger4109
    @beata-anitagerger4109 Рік тому

    I love the panel, thanks for the explanation. What I don't understand is why "flash"? Why not "rebuild"? I would like to "rebuild" it, but I can hardly find any documents... I am not concerned with creating "Smartswitch" (that's not new) but with the basics, such as documents, such as pictures, switch size, "round slider" (thermostat ) and the nice "Sonoff" at the beginning... On Itead, the displays are presented and the background of the panel is also shown, but no "examples" for rebuilding. Blakkader uses rather the ugly "LVGL" like "OpenHASP"... I would like to have that delicate representation though... Isn't there a way to do that as "nextion projects", or "nextion tutorial/examples"?

  • @highlights6844
    @highlights6844 Рік тому

    i keep getting "Failed to initialize. Try resetting your device or holding the BOOT button" although all pins are plugged in correctly to soldered headers, including the "io0-gnd"

  • @roukie78
    @roukie78 Рік тому

    I did follow these instructions but my unit never give the screen as shown in the video. Instead it have a little circle turning with the text underneath saying waiting for content..... (This is taking longer than usual, please check your backend configuration)
    Does anybody have an idea what I can do to fix this?

  • @RyanKleinSheldor
    @RyanKleinSheldor 2 роки тому

    Thank you for the great video!

  • @iot_enthusiast
    @iot_enthusiast 2 роки тому +1

    Well explained 👍

  • @SidYoung-au
    @SidYoung-au Рік тому

    Are there any NSPanel models that support zigbee?

  • @ntq1ty
    @ntq1ty 2 роки тому +6

    Impressive speed of progress with the firmware and nice walkthrough of installing it.
    I agree Linux is so much easier for this kind of thing than Windows. Same goes for anything Android related using adb, fastboot, etc. Generally all the drivers are built in and the tools are in the package manager.
    Perhaps we need a Linux live USB stick customised for common smart home style activities for people not already running Linux?

    • @JeevaDotNet
      @JeevaDotNet 2 роки тому +1

      I don't get your statement. It takes one extra step to get it going on windows....

  • @johncarey264
    @johncarey264 2 роки тому

    can you share nspannel thermostat

  • @geniustechnology3358
    @geniustechnology3358 Рік тому

    Good efforts.

  • @thisfeatureisbad
    @thisfeatureisbad 2 роки тому +1

    Would it be possible to flash an original nspanel firmware on an ESP32 and make my own light switch? I have the Sonoff B05 RGB bulbs, but I don't have a smart light switch to turn them on/off.

    • @EverythingSmartHome
      @EverythingSmartHome  2 роки тому +1

      I don't think so as there is more components to it than just an esp32. But hey, you never know!

  • @louisschnetler7915
    @louisschnetler7915 2 роки тому +2

    Great video as always! Really considering the NSPanel now...
    Just curious, what changes have you made to your OS? I looks pretty amazing

    • @EverythingSmartHome
      @EverythingSmartHome  2 роки тому +2

      If you are then you may want to consider the Kickstarter, it's fairly low risk (IMO) and the pricing is pretty great. Something to consider anyways!
      It's stock windows 11 😅

  • @SentesIstvan
    @SentesIstvan Рік тому

    Can you send the orig firmware? My backup is invalid :(

  • @ryangeorge4584
    @ryangeorge4584 2 роки тому

    This made me buy it

  • @nawafbana8100
    @nawafbana8100 2 роки тому

    Great video, if the device was bigger will be cool, thank you :)

  • @oleksandrdykyi734
    @oleksandrdykyi734 10 місяців тому

    Thank you

  • @speedfire113
    @speedfire113 Рік тому

    Does someone have the original firmware of nspanel?

  • @joshualeichtman6090
    @joshualeichtman6090 2 роки тому

    Can we use a US plug box for the EU version or do we need to import a box for that as well?

  • @taylordanetriplett
    @taylordanetriplett 2 роки тому +2

    Do you plan on making a video on how to link this to home assistant and run automations? Having a difficult time getting it all setup. Also wondering how to change the temperature to F rather than C. Thanks!

    • @tonydijksterhuis3084
      @tonydijksterhuis3084 Рік тому

      Did you got it integrated with Hass?

    • @taylordanetriplett
      @taylordanetriplett Рік тому

      I haven’t messed with it in a while. I might flash it with esphome and try it that way.

  • @MrJBMedia
    @MrJBMedia 2 роки тому

    I’m a bit new to all this, so forgive the possible obviousness of this question…
    By flashing this with Tasmota, does that mean it can talk to HA and so control any device in there?
    So I could use it to launch a Hue scene, or a HA automation?

  • @ChrisPrefect
    @ChrisPrefect 2 роки тому

    Can the display be switched off? Otherwise it would not be possible to use the nspanel in the bedroom.

    • @chrisjheath1768
      @chrisjheath1768 2 роки тому

      Yes, the brightness can be adjusted and you can set the screen time out.

  • @QuintenBuyckx
    @QuintenBuyckx 2 роки тому +1

    9:34. You are connecting a red wire to what you marked as groudpin.
    Did you use the wrong wire or marked it wrong?

    • @EverythingSmartHome
      @EverythingSmartHome  2 роки тому

      Yeah my bad, it's not marked correctly, just wrong wire used during filming. It was more for demo purposes but yeah my mistake.

  • @StephTheGreek
    @StephTheGreek 2 роки тому

    First time getting into flashing. The USB to Serial adapter, which one would work best? You mentioned the red one, but there are loads, and not genuine FTDI. Not sure if that'd make a difference, but you know...first flashing experience and all that..meant it to be a nice experience 🤣

    • @EverythingSmartHome
      @EverythingSmartHome  2 роки тому +1

      Just go for the same one in the video and you should be fine!

  • @stephenanderson2577
    @stephenanderson2577 2 роки тому

    Too Late for the Kickstarter but I had t get one anyway. It will take a while as I did not want to pay express shipping. Will be watching to see how the display can be reworked as I am looking to use as an MQTT keypad with HA Alarmo at some point

  • @rrossilva
    @rrossilva 2 роки тому

    Hi, great video. Thanks for your share. Can I ask for a little help? Is there a way to restore the original firmware without a backup? For some reason I overwritten mine.

    • @EverythingSmartHome
      @EverythingSmartHome  2 роки тому +1

      If you didn't take a backup then unfortunately no. You may be able to find someone online who has the original

    • @rrossilva
      @rrossilva 2 роки тому

      @@EverythingSmartHome Thanks for your reply. I`ll stick to tasmota for now. One of my NSPanels don`t have the option to change from portrait to landscape. Is there a way to upgrade this nextion panel already?

    • @mihatzu1
      @mihatzu1 10 місяців тому

      Hey. Did you manage to install original software back on device? How did you do i? What program did you use?

  • @AndreaFlorio
    @AndreaFlorio 2 роки тому

    so i got tasmota on it. the new stable release includes the driver o no need to load it manually.
    my bigger problem is how to configure the panel? how do i set date / time / location / widgets etc ... all i get is time 00:00 , date is 0/0 , temperature is 0C , etc

    • @AndreaFlorio
      @AndreaFlorio 2 роки тому

      so, the driver is needed, but not to get the screen working... the screen works without it. The reason why it's needed is because it introduces a language you can use to configure the panel with

  • @_donoo
    @_donoo 2 роки тому

    Is it possible to put video feed from ip camera on this?

  • @DIYtechie
    @DIYtechie 2 роки тому

    Thanks 😊👍🏻

  • @MrTzak21
    @MrTzak21 2 роки тому

    11:34 1337 C° ... You get the hell out of it! xD

  • @ardenking3481
    @ardenking3481 2 роки тому +1

    Pleased I took a gamble and ordered one
    tbh still not sure what I'm going to do with it don't have neutral in my light switches

    • @EverythingSmartHome
      @EverythingSmartHome  2 роки тому +1

      I'm sure you'll find something 😂

    • @juliandivett4244
      @juliandivett4244 2 роки тому

      I am just going to use the physical switches to control scenes and ignore the relays behind them.

    • @IanMarvin
      @IanMarvin 2 роки тому

      You could feed live and neutral along the switch wiring from the ceiling rose with standard UK wiring and then use a smart bulb permanently connected controlled using your home automation. Of course the relays become a bit pointless, I'm not sure what I need relays for in a wallplate either. Maybe it will make more sense in my campervan.

  • @austingarland8242
    @austingarland8242 2 роки тому

    Oof. I was excited for them to release this but that price is insane and it’s still on Kickstarter.

  • @airchreece6799
    @airchreece6799 2 роки тому +2

    Wonderful video!
    I now feel the NEED to buy a NSPanel.
    Are you sure you can't use the "tasmotizer" to flash the firmware?
    It would be a lot easier procedure...

    • @EverythingSmartHome
      @EverythingSmartHome  2 роки тому +2

      Thanks! You cannot, tasmotizer doesn't support esp32s and the flash proceedure is different unfortunately

    • @mkjustuk
      @mkjustuk 2 роки тому +1

      Good question, I'd have thought it would be the same. Good to know ESP32 isn't covered.

    • @airchreece6799
      @airchreece6799 2 роки тому

      @@EverythingSmartHome Thank you! Good to know... Apparently I have never flashed an ESP32 before :P

    • @EverythingSmartHome
      @EverythingSmartHome  2 роки тому

      Haha no worries, hopefully it gets updated with support at some point!

  • @bryo3109
    @bryo3109 Рік тому

    Please add the backup file too

  • @JulioGarcia-ns8ip
    @JulioGarcia-ns8ip 2 роки тому

    Could flashing be done using tasmotizer?

    • @EverythingSmartHome
      @EverythingSmartHome  2 роки тому

      Tasmotizer is esp8266 and doesn't work for esp32 inside the NSPanel I don't think

  • @vlmath314
    @vlmath314 2 роки тому

    the sonoff mini can be flashed over the air with the stock api; maybe possible with this one also, I dont have it to test. could be simpler.

    • @EverythingSmartHome
      @EverythingSmartHome  2 роки тому

      Unfortunately not!

    • @Leonvolt28
      @Leonvolt28 2 роки тому

      Only sonoff switches that support diy mode can be flashed without an ftdi adapter. But most sonoff switches have all the flashing pins available for easy flashing.

  • @Wieczor178
    @Wieczor178 Рік тому

    Wouldn't it be easier to use raspberry pi to flash it?

  • @74357175
    @74357175 2 роки тому

    Anyone else getting an error: ESP32 ROM does not support function read_flash
    while trying to backup the original rom??
    $ esptool read_flash 0x0 0x400000 nspanel.bin
    esptool.py v2.1
    Connecting...
    Detecting chip type... ESP32
    Chip is ESP32D0WDQ5 (revision (unknown 0xa))
    Enabling default SPI flash mode...
    A fatal error occurred: ESP32 ROM does not support function read_flash.

    • @74357175
      @74357175 2 роки тому

      Ah, my version of esptool was too old. The version that comes with Ubuntu (2.1) is ancient. pip install esptool got the 3.2 version, which worked great.

    • @EverythingSmartHome
      @EverythingSmartHome  2 роки тому

      Good to know, thanks for the update!

  • @ronderksen
    @ronderksen 2 роки тому

    This is pretty nice… I think. Is the flashed firmware still a proof of concept that it can be done, or is it already ready to be used in a HA-based smart home to control (non-Sonoff) stuff? Might buy one or two if it’s already useful.

    • @JohnnieHougaardNielsen
      @JohnnieHougaardNielsen 2 роки тому

      The development version is basically ready to be used in HA or whatever, it is just a few fixes ahead of the release version.

  • @BOOYAGA
    @BOOYAGA 2 роки тому

    Fucking awesome! Thanks for the info ✌️

  • @fh38flkwjlisjeflsjliejf
    @fh38flkwjlisjeflsjliejf 2 роки тому +1

    nice

  • @AlejandroTaylorEscribano
    @AlejandroTaylorEscribano 2 роки тому

    I wish they had gone with a bit higher pixel density. 165 pixels per inch is like the iphone 3 from 10 years ago...

    • @EverythingSmartHome
      @EverythingSmartHome  2 роки тому

      Yeah I know what you mean, but not really required to be honest. Would probably increase price

  • @TwanJaarsveld1
    @TwanJaarsveld1 2 роки тому

    Still think a diy panel would be a better option for most hardcore smart home users

  • @groto27
    @groto27 2 роки тому

    Niiice

  • @welshdave5263
    @welshdave5263 Рік тому

    But will it run DOOM?

  • @moreno55uk
    @moreno55uk 2 роки тому

    Great video. You always sound out of breath

    • @EverythingSmartHome
      @EverythingSmartHome  2 роки тому +1

      Thanks. Speak too slow and I get complaints, speak too quickly and I get complaints - I'm still trying to find the balance

    • @moreno55uk
      @moreno55uk 2 роки тому

      @@EverythingSmartHome You’re awesome mate, keep up the good work! You are working hard and knocking out some superb videos. I am going to be buying one of these because of you.

    • @EverythingSmartHome
      @EverythingSmartHome  2 роки тому

      Thanks buddy, appreciate it! Enjoy!

  • @simonsagthey
    @simonsagthey 2 роки тому

    1337 ^^

  • @denniskluytmans
    @denniskluytmans 2 роки тому +1

    The 75 dollar will become 90 euros with tax applied. With the current functionality a tablet will be more worth it overall. Looks cool, but not 90 euro cool

    • @gmaclean1
      @gmaclean1 2 роки тому +1

      Partly agree, although a tablet does not have relays to physically cut a connection. You could get a switch and a tablet probably for cheaper still. But it is neat to see them combined. I'm curious what the community will do it it!

    • @denniskluytmans
      @denniskluytmans 2 роки тому +1

      @@gmaclean1 your argument is valid too 👌 but the price is just so steep

    • @stephanebuisson3577
      @stephanebuisson3577 2 роки тому

      @@denniskluytmans Nope on the kickstarter last question in the FAQ; Sonoff say it include import tax & vat for EU, so price is final.

    • @denniskluytmans
      @denniskluytmans 2 роки тому

      @@stephanebuisson3577 so, 75 euros?

    • @stephanebuisson3577
      @stephanebuisson3577 2 роки тому

      @@denniskluytmans my understanding is you pay only for your pledge and delivery. in my case 699+94 HK$ about 88€ for a duo pack (i supposed they will bulk ship in EU before shipping intra EU to save on the process)

  • @christopherhemmings
    @christopherhemmings 2 роки тому

    Received mine today. Flashed. and got relay 1 and 2 working.
    The display options in the nspanel.be dont really work properly. Can edit what is shown on the groups screen, but the devices LED strip and the CCt and CCTRGB bulb do not work as intended. When turning on the LED STRIP in the group it turns itself off a second later and does not allow you to click the brightness or colour
    The other two bulb device options do not work at all. no press allowed.
    The temperature is also not using the internal temp probe right now for some reason.
    Its there, why cant we enable it?

    • @christopherhemmings
      @christopherhemmings 2 роки тому +1

      Update: you need to update the screen from an external source.
      If you switch a light widget on using the screen you need to externally update the screen to say the light is on because otherwise it just reverts back to off
      My temp calibration was way off. You need to fix using adcparams
      You also need to tell the screen a device is online in order for it to work

    • @dundiffrunt
      @dundiffrunt 2 роки тому +1

      @@christopherhemmings I've got the same problem with the way off temperature. Could you share how you have fixed it?

    • @rrossilva
      @rrossilva 2 роки тому

      @@christopherhemmings I have the same issue, how did you fix it?

  • @ecoterrorist1402
    @ecoterrorist1402 2 роки тому

    Are you going to do a follow up video, setting up panel etc
    Solving the temperature problem can be solved by going to console “(Your IP Address)”/cs? typing in TempOffset -3 this will resolve a 3 degree over temperature than ambient.