Is it possible to "wakeup" device and send video feed to it when event occurs? For example: when motion is detected, wake up the panel and then display video feed.
Great tutorial - thanks! My notes: - I would mention the Automagic ability to wake the panel up on a HTTP request which could be sent from HA (rest_commnad). So, you can wake it up on any event from HA. - No need to power cycle the panel if Automagic fails to wake it up on the proximity sensor - use # adb shell input keyevent 26 - "show status bar" option in the Display settings is better than "# adb shell input keyevent 3" in my opinion. Even though you sacrifice a small part of the display it gives you the usual home and back buttons
MATT, you should let people know that if they go to DISPLAY settings, they can enable the status bar at the bottom so that they can actually use android with home back menu etc. without adb commands later on.
Hi Mark! Thank you for the great video, it works like a charm. As Sascha asked you couple of weeks ago, I'm also interested how the Zigbee gateway functionality of the device can be used when HA is installed? This is quite essential. Thank you, Roland
I really like that the device is completely open with root permissions and wireless adb enabled. They could have easily locked it down completely but decided not to.
Has anyone had/ overcome the issue of @cannot connect to (IP adress:5555): no connection could be made because the target machine actively refused it. (10061)
@@kiranmk123 I had that error to start with as, the tcpip is no longer enabled by default. What i did was connect to panel pro using ewelink app on your phone, go to settings of the device and tap 'Device Id' 8 times and then in the new 'developer mode' option/menu, turn on 'ADB' slider .... all the time accepting the warnings and such.
Hi Mark, thanks for the great video, my NSPanel Pro is now running successfully with HA. I still have one question, the previously programed Zigbee devices are now offline, if I switch back to the eewlink app, then they work. How do I get them back online when I start the launcher with HA? Thank you sawo
One thing to note- on the newer firmware versions Sonoff have disabled ADB debugging. So if you update the panel first, you will need to do the manual process (take it apart)
@@MarkWattTech I encountered that and found an alternative way. Add the device to the ewelink app, go into the settings and hit the build number 8 times to become a developer. Inside the developer options is the ability to turn ADB back on. Once that's reneabled, adb connect works again, which panicked me for a moment as I stumbled at the 1st hurdle. One gotcha was the install of the xpposed framework, it was really not happy about the (nodpi) section, I realised that copy and pasting the commands wasn't working and I used the tab to autocomplete the file which then placed it in quotes, from here on I used that everytime. I also use DuckDNS and I had to disable it in order to log in, NSP wasn't going any furhter with enabled. Got it all working now but im finding the WebRTC camera feeds are really choking the performance, shame as this is 1 of the primary use cases for me.
Great tutorial. I was wondering if you need to manually update the companion app when new versions come out or is there an easier way? Also, can you backup the sonoff panel contents? Lot of changes there and would be good to be able to restore them easily if need be.
Hi, the Android platform tools can't work in Terminal on MAC. After open from folder platform-tools the add the terminal open, but after finish process write "Process done" and I cant write to terminal the " add connect 192. ....... 😞
I am just trying this method right now on a Mc and I am getting "Connection refused". These are 3 brand new NS Pros I just received 3 days ago. Any idea if I can enable anything on the device to get this toi work?
Excellent tutorial, did I miss something though, my panel still boots to the default launcher and I need to run 'adb shell input keyevent 3' to select home assistant. Is there any way to automate this?
Great video! Would be interesting to see the Nspanel pro together with the R5 Scene controller. As i understand, the Nspanel pro can act as a hub. But how to pick up the scenes from the R5 in Home assistant?
Thanks! It is very helpful. Using a dedicated NSPanel user it should be possible to limit the dashboards one could see, i.e. limiting the access using the panel. Am I right? Secondly, where did you get the case for the panel from?
The stand is from Sonoff. They sell them Incase you want to use them as desk screens. You are correct about the dashboards too. This is what I do to limit access. Mainly its to stop the kids fiddling with HA settings 😂
Great Tutorial Mark! Thanks. I got everything to work up installing the HA App. I then switched the unit off overnight and wanted to resume today. However the display will not come on. All that's happening is that the display has a very dim grey background that toggles with black. If I touch some app on the blank screen, music starts playing. I can also do adb commands. Any idea what I can try?
Having trouble with isntalling webview as I have sdk 27 but need 29. I could go back and find an older version of webview but would be great to have some clear instruction on how to update so I can maintain it!
Do you know if it possible to automatically open Companion App, directly in the dashboard after a blackout? Now, after a blackout, I need to open manually companion App, and I need also to select the instancy (that in companio app that I have on smartphone is not required). thanks
Heya. When in stock they are on Amazon. You can also get them from the iTead store (sonoff parent company). My description is full because of all the commands but I’ll try pin some links for you 👍🏻. In the video I was using the Sonoff desk stand (it’s just a 3D printed mount)
Hi Mark, this isn't working with the normal NSPanel (not Pro), but with the two buttons. Do I still have to do the ESPHome thing here? Would be great to have the HA companion on these NSPanles as well.
Hi great video just have one question where do I get the companion app from as I am not an android user so have no clue and is not in the list of down load links as I am now stuck at this point thanks
im having an issue when trying to run the final command to install the xposed app, it is saying "no space left on device" I cant seem to find a solution for fixing this either any help is greatly appretiated!
how does one unlock it for usb suppport? I've followed blackadders directions, they stop working at the install usb driver portion. No matter what i try, the drivers will not recognize the panel when connected by usb.
Hey, After unplug my nspanel pro and wait more than 3h I can't see 'Select a Home app'. Only logo SonOff. I looked in my router. I think nspanel don't give up and don't get address IP so I can't connect via adb. I tried connect via USB and when I put `adb usb` and `adb devices` and can't see anything. @Mark help me ? Sorry for my English.
HAllo MArk, after done all in your video, can you doe a nspanel firm/software update ithout losing al things done? or should you do these staps all over agian?
Hello, I had followed completely the tuorial and installed Xposed installer without issues. Xposed installer is on green and seems to work ok. Then When I try to activate the AnyWebView module there is a message stating "This module does not provide a user interface" somebody experienced that?
You can use the Mic but it's not accessible via HA (e.g. you can use sound to wake screen). The NSPanel thermostat also isn't very accurate so I wouldn't use it.
Thanks for the reply. I am looking for a panel that has a microphone (to interface with Alexa) and a thermometer to make it also a thermostat. Any suggestions? Thanks a lot
Cracking tutorial Mark... is there any chance you could share a link to creating a dashboard like the one you show in HA - just so I know where to start with layouts and how to design the buttons etc? Thanks in advance mate.
Hey Paul. Glad you found it useful. I don't have any resources for the ones that I created (they are just grids of buttons). In the new year I will be updating this tutorial and I will show how to make the dashboard as a section of that video. Have a great Christmas.
hi, today I updated the home assistant app on my NS panel, when I open the app I see my local IP of home assistant, but when I press it it does not want to log in. Does anyone know what this is??
Great video. This tutorial was very helpful. Thank you very much for that. Quick question. In 18:02 I see that you have a full screen dashboard. How do I set that up? I want to hide unnecessary options on my screen. Thanks.
Did you have any issues with automagic not always being reliable or the panel locking itself up? i'd already put HA companion app on the NSPanel pro last week, but just saw your addition with the sensor. I'm finidng it wakes up initially from the first sleep, but rather than go to sleep, it goes to sonoff logo and then almost reboots me to the deskop again. Did you come across this? Am using 30secs on/30 off like you showed.
On one of my units if the timing was set lower than 30 I had a few crashes where it would reboot. That was just on one unit. Setting the values higher resolved this. Since then I haven’t had any issues with the 2 I currently have in place.
@@MarkWattTech Thank you Mark for the great tutorial! Had to use the exact Webview version in your video (106.0.5249.65) to keep HA from crashing. I've had a similar issue with Automagic. It works repeatedly if I test every 5 min (screen turns back on) but if I leave panel alpne for a few hours it won't turn on (but can still access with adb). Not sure how to get around this. Thanks.
@@TomMichetti1 Try setting the tolerance for presence in Automagic higher. I had this issue and that fixed it. My issue seemed to be that Automagic was triggering constantly because the threshold was too low.
Hi dear friend (teacher) i've followed almost the steps (only to put in Full kiosk mode, until update WebView), but to control screen, i have other needs: i have the Nspanel in my office for control my lights and devices state my home display, and i have an automation by a sensor presence (mmwave) for turn off the lights if nobory is detected. I need a way to control the Nspanel screen on / off by a HA command.... I think that a way for implemnt is by a template, But i don't have a ideia how to star this.... Could you help me, please?????
So, is this the best way to controll my smart home (lights, ac, sockets) with a light switch replacement wall panel? I rather not mount a tablet on the wall.
If you’re looking to replace light switches you may want to checkout the original NSPanel. The pro doesn’t have any physical buttons or switches. So if your network or zigbee is down, you will end up with no light controls.
@@MarkWattTech ah! Yes thats exactly what I was looking for. Physics button with smart home control. I have a split duct in each room and wifi controll with sensibo since the OME wifi controller was 4 times the cost. I will watch your videos on the non pro. Thanks again!
Sounds like the standard version is the one you want to check out :) As it uses an ESP32 its more customisable (although a little more work as you have to design screens etc - if you want to). It's fully local once flashed though :)
Hi Mark, wonderful tutorial. There is a problem, after screen awakes, HA is not responsive when I want to turn on light for example. HA needs to be reloaded in order to become operational, this is very uncomfortable. Have you any ideea how this can be fixed ? What dashboard do you use for NSPanel Pro ? I am using Mushroom
Ditto i get the following error... ************************************ Xposed Framework installer zip ************************************ - Mounting /system and /vendor read-write - Checking environment Xposed version: 90-beta3 Android version: 8.1 / SDK27 Platform: arm64 - Placing files cp: xwrite: No space left on device
To anyone whos adb connection is getting refused heres the fix: Link nspanel to ewelink Go to device settings in ewlink app, then tap device id a few times to enable developer mode go to developer mode settings, enable adb Based on the video, I thought it was quite scary that adb came enabled out of the box.
unfortunately, I struggle at the beginning getting an error "cannoct connect to.... remote computer access denied (10061). Any idea whats wrong, sorry I'm a newbie. Found some Infos here but where is the USB Connector, I have the Sonoff NSPAnel (first in blakadder).
Open device in Ewelink, press 3 dots on the right, scroll to device_id, press 8 times, it will show up dev mode. New option will appear; developer, enable ADB. Now you should you able to connect.
@@kennyrokven2666 Seems that I have an even newer version. On that page it says 1.4.0. I f I press the Device-ID 8times at any speed ntohing happens. I get today an USB FTDI Adapter and will try it that way. FW-Name E32-MSW-NX
Note to anyone with the same issue. There are instructions to overcome this in the comments. Basically enable developer mode by clicking "Device ID" in the ewlink app eight times. I had to restart the ewlink app to do this.
Sonoff changed the firmware so this is no longer the defaults. You now need to enable the developer mode. I will be updating the video in the new year.
@@MarkWattTech thanks, great tutorial, I got there in the end. I also found that I could not use the “homeassistant.local” address when setting up the home assistant app on the newly configured NSPanel, it kept crashing. Could only use the ip address. Not sure if this should be obvious or not. Thanks again for the tutorial, wouldn’t have been able to do it without it.
@@MarkWattTech Thanks for the video, I'll be waiting for that update. I have a panel in which I did most of the steps (from the blog by Blakadder) and at some point I had to reset the panel (interrupting the booting 5 times) and my panel was downloaded to the factory version 1.8 (I already had had the 2.2) but before activation (which I assume had to be done with some factory software, out of the chineese messages that I got), so I just deleted all the apps from sonoff and tried to go forward with installing HA, that is where I found out I would be installing the COMPANION (I don't have any other HA at home). So, to make it short, I bought a second panel in which I don't want to loose the automatic updates of the original Sonoff software, and it doesn't have the adb internet access... Somewhere I read that if I activate developer mode in the eWelink app, I won't be able to deactivate it and updates wouldn't work, whereas if I activate it in the panel itself, it can be deactivated. So I might open the panel and connect a keyboard just to access setup, enable it, and then make the backup which whatever process you can post :)
Hi Mark. Yesterday I got my NSPanel Pro. When I try in the terminal to connect to it I get an error named 10061. Cannot connect to target device (well, I ll get in german). It sucessfully starts the daemon but then it somehow seems to crash. Do you have any advice? I would appreciate your help. Thanks.
@tilak sidduram wrote If you have updated the NSPanel Pro to 1.3.2 version then itead has disabled ADB debugging in the Android OS. You need to enable developer mode from the ewelink app now. Just open the NSpanel pro device setting in the ewelink app and click the device ID option a few times and that will enable developer mode. Now go back to ur pc and run the adb connect command and you should get connected.
This seems to no longer work. Spent the whole day trying to get ADB to connect. Enabling Developer mode in ewelink app no longer seems to function App Version v1.4.1 and OS Version 1.3.3. Total bummer but it looks like it's been locked down totally unless I am missing something.
@@neilvass6805 Finally, it worked for me. I had to delete the NSPanel once again from the ewelink app. Tapping a few times on the ID switched to developer mode that I could finally save. I also had updated to 1.4.something before. But I also spent a whole evening. Finally, I had some issues with the webview app. It worked when I installed this app via its app installer instead directly using the apk.
@@lanceharvie pretty annoying that they have really 😫. Unfortunately you will have to opt for the USB method to enable adb tcp. Just extra steps and disassembly. It’s still definitely worth it though 👌🏻
Many thanks Matt 🙏 Just to share a handy trick: if you want to open a terminal where you are in an explorer, then juste type 'cmd' where thé path appears, it will open the terminal (old version 🤷) directly at the expected place 😉. Thanks to your video I do not regret anymore to have ordered 2 of them when they were launched because all the video After saying it was nearly unusable😭. Again, thank you to both you and Blakadder.✌️You rocks guys
Thanks dude :) Yeah I knew about cmd in the file explorer. I was just trying to cover things for different user abilities. Thanks for sharing :) This is definitely the best way to use the panels with HA at the moment. I would love to see Sonoff adopt this. It would be nice to be able to use touch to wake and some other features (we can dream). And it’s Mark! 😂
Thanks for a great video, how about a walk through of getting browser mod 2 working? It’s a great tool but I haven’t found a guide for getting the updated version working yet
Such a great inspiration. I could use this information to make my very old Android 5.0 tablet run the HA app. I just had to update Android System WebView in Playstore (which didn't automatically) and then it was able to show the HA login screen correctly which didn't do before. So I can now confirm that the somewhat 10 years old Asus Fonepad K00E 7" is HA compatible.
Hi, Matt. Thank you very much for this video. It´s great to see HA running on NSPanelPro. Are you planning to make a video in order to setup Alarmo on it? I would be really interested. Thank you
Hi can any one help, i can not connect to the panel via wifi, i did disassemble the panel connect to it via micro usb. I can see it in the device manager as a px30_evb. But i can not not connect to it via adb inside the terminal. when i run : adb devices -l List of devices - comes attached ; empty. list I can ping the device, i can access all the files via file manager , but ADB is a no go for me. Can some one please help ?
After typing "adb connect" following by the correct IP, it says connection fails. Any idea why? I can see that it's the correct IP both in my router and on the NSpanel PRO about menu
As of July 2024 I'm running the latest version of the firmware (v3.3.0) and I had to enable Developer Mode by tapping the ID and then specifically enabling ADB in Developer mode settings on the app.
Nice tutorial. I followed it but now when i start Home Assistant Companion for the first time it crashes /stops working when selecting the HA Instance. Any ideas? --EDIT-- Found out that switching to the other webview version (default on 1.5.6) it is working. Now only the Proximity sensor is not showing any value, it did work once, but after a hard reboot there is no value at all. Got any idea on that? :)
I have something strange. If I restart Home Assistant when the screens are off then the screens stop working (All five). They no longer respond to a ping (all at the same time) and the proximity sensor doesn't work either. The only way is to reboot the NSPanels by taking it off the power. I thought I had found a workaround but unfortunately not. I had set in AutoMagic that if the WiFi is disconnected that after 3 minutes the NSPanel is allowed to reboot, this works when I take the WiFi itself offline but when the problem occurs it does not. According to my router, the devices are no longer connected to the WiFi. The problem occurs on both a short reboot of HA and a long reboot. If I remove the sleep timer from the screen it does not happen. Also updated the companion app to 2023.01 but no improvement. Does anyone know how to investigate this further, or another workaround?
I think I have found the issue, but no solution so far. All the panels have the same hostname: homeassistant. Also my home assistant server was named like that, now i changed HA to home-assistant, but the issue is still there. I can't find a way to change the hostname of the devices. setprop net.hostname does'nt work
i have the same problem with only 1 panel, it doesn't depend on the name. the proximity sensor initially works well on the sleep function, after 10 minutes of screen off, it can no longer be activated. Have you found a solution? I am going crazy
Hello @Mark, great content! Quick question, when I am trying to connect via IP with ADB the NSPanel is actively refusing the connection. Has a firmware update blocked connection via IP?
What is the power requirements of the ns panel? Does it work on 240V AC? And how have you powered it on your wall? Thanks for the amazing video as always Mark
Heya :) yeah it is mains powered. It attaches pretty much anywhere you have a light switch. I think I do talk about the physical specs etc in my dedicated NSPanel Pro video. Thank you :)
This is a fantastic tutorial, as long as you follow the steps and tweak as you go to suit updated bits and pieces! Now, I really want a UI on my panel that mirrors yours…do you have a tutorial for that please? Thanks!
thanks for teh video... mine has installed fine... but I cant get home assistant to automatically open on power being restored to the device... any ideas?
Right after the last load of HA, and then rebooting the screen came up with Chinese characters, now the cursor is a weird cross hair and no program completes running. Any ideas?
I accidentally bricked the panel and cannot use it at all. Anyone have any guidance on how to get it back. Forced reset didn’t work. Cannot connect to eWeLink. Only 3 days old.
I haven't been able at all to get my screen to time out/ turn off at all the screen just dims. I have tried setting the time to 30 seconds instead of 15seconds and still no luck. Any one got any ideas?
Great tutorial, all works fine. One question though. How to i get the HA companion app in full screen . Right now i got the bar where i can select the side panel and i can get through the different dashboards. I do not want it to be selectable.
wow, thanks! can't believe we finally have the technology for this, been hoping/waiting for HA on the panel all year long. amazing stuff!
Is it possible to "wakeup" device and send video feed to it when event occurs? For example: when motion is detected, wake up the panel and then display video feed.
Great tutorial - thanks!
My notes:
- I would mention the Automagic ability to wake the panel up on a HTTP request which could be sent from HA (rest_commnad). So, you can wake it up on any event from HA.
- No need to power cycle the panel if Automagic fails to wake it up on the proximity sensor - use # adb shell input keyevent 26
- "show status bar" option in the Display settings is better than "# adb shell input keyevent 3" in my opinion. Even though you sacrifice a small part of the display it gives you the usual home and back buttons
MATT, you should let people know that if they go to DISPLAY settings, they can enable the status bar at the bottom so that they can actually use android with home back menu etc. without adb commands later on.
Good shout :) ill pin your comment and add it to the description.
Also - it’s Mark 😂
Hi Mark!
Thank you for the great video, it works like a charm.
As Sascha asked you couple of weeks ago, I'm also interested how the Zigbee gateway functionality of the device can be used when HA is installed? This is quite essential.
Thank you,
Roland
I really like that the device is completely open with root permissions and wireless adb enabled. They could have easily locked it down completely but decided not to.
Hey Mark! Have tried using two-way-audio to any doorbells from NSPanel Pro or any other tablet thru HA?
Has anyone had/ overcome the issue of @cannot connect to (IP adress:5555): no connection could be made because the target machine actively refused it. (10061)
Did you figure out a solution for this issue ?
Did you figure out a solution for this issue ?@@kiranmk123
@@kiranmk123 I had that error to start with as, the tcpip is no longer enabled by default. What i did was connect to panel pro using ewelink app on your phone, go to settings of the device and tap 'Device Id' 8 times and then in the new 'developer mode' option/menu, turn on 'ADB' slider .... all the time accepting the warnings and such.
Hi Mark,
thanks for the great video, my NSPanel Pro is now running successfully with HA.
I still have one question, the previously programed
Zigbee devices are now offline, if I switch back to the eewlink app, then they work.
How do I get them back online when I start the launcher with HA?
Thank you
sawo
Did you find solution for this?
And today is the day I get to try this out, finally got my NSPanel Pro ;-)
One thing to note- on the newer firmware versions Sonoff have disabled ADB debugging. So if you update the panel first, you will need to do the manual process (take it apart)
@@MarkWattTech I encountered that and found an alternative way. Add the device to the ewelink app, go into the settings and hit the build number 8 times to become a developer. Inside the developer options is the ability to turn ADB back on. Once that's reneabled, adb connect works again, which panicked me for a moment as I stumbled at the 1st hurdle.
One gotcha was the install of the xpposed framework, it was really not happy about the (nodpi) section, I realised that copy and pasting the commands wasn't working and I used the tab to autocomplete the file which then placed it in quotes, from here on I used that everytime.
I also use DuckDNS and I had to disable it in order to log in, NSP wasn't going any furhter with enabled.
Got it all working now but im finding the WebRTC camera feeds are really choking the performance, shame as this is 1 of the primary use cases for me.
thanks for advice!!! It worked. luv ya.
This saved me days of angst and annoyance!! Thank you so so much
Great tutorial! Didnt expect this so soon. Havent even published a vid on my first panel yet. Guess I have work to do this weekend :) Cheers!
Great tutorial. I was wondering if you need to manually update the companion app when new versions come out or is there an easier way? Also, can you backup the sonoff panel contents? Lot of changes there and would be good to be able to restore them easily if need be.
Hi, the Android platform tools can't work in Terminal on MAC. After open from folder platform-tools the add the terminal open, but after finish process write "Process done" and I cant write to terminal the " add connect 192. ....... 😞
Another great video. Thanks for taking the time
I am just trying this method right now on a Mc and I am getting "Connection refused". These are 3 brand new NS Pros I just received 3 days ago. Any idea if I can enable anything on the device to get this toi work?
Were you able to resolve this? I have the same issue.
It is actually possible to install home assistant server it's self on the panel but it's probably not gonna be a good experience
Excellent tutorial, did I miss something though, my panel still boots to the default launcher and I need to run 'adb shell input keyevent 3' to select home assistant. Is there any way to automate this?
Hey Mark.
Is there any way that we can still use the panel as a ZigBee hub while running the HA app?
Did you find solution for this?
No I didnt
Great video! Would be interesting to see the Nspanel pro together with the R5 Scene controller. As i understand, the Nspanel pro can act as a hub. But how to pick up the scenes from the R5 in Home assistant?
Thanks! It is very helpful. Using a dedicated NSPanel user it should be possible to limit the dashboards one could see, i.e. limiting the access using the panel. Am I right?
Secondly, where did you get the case for the panel from?
The stand is from Sonoff. They sell them
Incase you want to use them as desk screens.
You are correct about the dashboards too. This is what I do to limit access. Mainly its to stop the kids fiddling with HA settings 😂
Great Tutorial Mark! Thanks. I got everything to work up installing the HA App. I then switched the unit off overnight and wanted to resume today. However the display will not come on. All that's happening is that the display has a very dim grey background that toggles with black. If I touch some app on the blank screen, music starts playing. I can also do adb commands. Any idea what I can try?
Thanks! A waaaaaay to much talking, but it works. That is awesome.
Can you set the screen up so that certain alerts turn it back on? For example a flashing alert card would wake the screen
When it gets a new update, will you have to perform all these steps again? Also how do you update the side load app?
Having trouble with isntalling webview as I have sdk 27 but need 29. I could go back and find an older version of webview but would be great to have some clear instruction on how to update so I can maintain it!
Do you know if it possible to automatically open Companion App, directly in the dashboard after a blackout? Now, after a blackout, I need to open manually companion App, and I need also to select the instancy (that in companio app that I have on smartphone is not required). thanks
awesome tutorial. Thanks a lot!
Where can we buy this in the UK and what were you using to power that on the desk during setup
Heya. When in stock they are on Amazon. You can also get them from the iTead store (sonoff parent company). My description is full because of all the commands but I’ll try pin some links for you 👍🏻.
In the video I was using the Sonoff desk stand (it’s just a 3D printed mount)
Hi Mark, this isn't working with the normal NSPanel (not Pro), but with the two buttons. Do I still have to do the ESPHome thing here? Would be great to have the HA companion on these NSPanles as well.
Hi great video just have one question where do I get the companion app from as I am not an android user so have no clue and is not in the list of down load links as I am now stuck at this point thanks
Hello
Thanks For The video is it also possible to use The intercom function if i use more panels
Thanks
i´m getting this error when connecting via adb:
"No connection could be made because the target machine actively refused it. (10061)"
Same, and I can ping it, tried the usual developer mode tricks, no dice.
im having an issue when trying to run the final command to install the xposed app, it is saying "no space left on device" I cant seem to find a solution for fixing this either
any help is greatly appretiated!
how does one unlock it for usb suppport?
I've followed blackadders directions, they stop working at the install usb driver portion. No matter what i try, the drivers will not recognize the panel when connected by usb.
I'm. finding that the NSPanel crashes if I use automagic and sleep mode set to 30 seconds. the panel doesn't respond to a adb connect ...
Hey,
After unplug my nspanel pro and wait more than 3h I can't see 'Select a Home app'. Only logo SonOff.
I looked in my router. I think nspanel don't give up and don't get address IP so I can't connect via adb.
I tried connect via USB and when I put `adb usb` and `adb devices` and can't see anything.
@Mark help me ?
Sorry for my English.
HAllo MArk,
after done all in your video, can you doe a nspanel firm/software update ithout losing al things done? or should you do these staps all over agian?
Hello, I had followed completely the tuorial and installed Xposed installer without issues. Xposed installer is on green and seems to work ok. Then When I try to activate the AnyWebView module there is a message stating "This module does not provide a user interface" somebody experienced that?
When I open fully kiosk browser I get "Android Webview is not available or updating right now? Can't do anything...", any ideas?
Thaks for the great tutorial. Do you know whether the HA is able to read from the NSP thermostat and listen from the microphone? Thanks a lot
You can use the Mic but it's not accessible via HA (e.g. you can use sound to wake screen).
The NSPanel thermostat also isn't very accurate so I wouldn't use it.
Thanks for the reply. I am looking for a panel that has a microphone (to interface with Alexa) and a thermometer to make it also a thermostat. Any suggestions? Thanks a lot
This is a nice tutorial but a little over some peoples heads I would imagine lol. Is there an easier way to do this or using a separate panel?
Cracking tutorial Mark... is there any chance you could share a link to creating a dashboard like the one you show in HA - just so I know where to start with layouts and how to design the buttons etc? Thanks in advance mate.
Hey Paul. Glad you found it useful. I don't have any resources for the ones that I created (they are just grids of buttons). In the new year I will be updating this tutorial and I will show how to make the dashboard as a section of that video. Have a great Christmas.
does this work with higher version of NSPanel?
hi, today I updated the home assistant app on my NS panel, when I open the app I see my local IP of home assistant, but when I press it it does not want to log in. Does anyone know what this is??
i also have the same "No Space" problem, any solutions?
any solutions on this? i see no awnser
i have same problem@@Hylian112
This does not work for my 2 panels I just received nor does the otg method suggested by blakkadder, I have a feeling Sonoff disabled this
Hi, in terms of icons and visualization, is not better to run HA on the NS Panel PRO using Fully Kiosk browser?
I preferred the performance using Fully Kiosk on the panel
Great video. This tutorial was very helpful. Thank you very much for that. Quick question. In 18:02 I see that you have a full screen dashboard. How do I set that up? I want to hide unnecessary options on my screen. Thanks.
Hi @Mark Watt Tech second question on this, which cards or dashboard dit you use, looks very clean?
Did you have any issues with automagic not always being reliable or the panel locking itself up? i'd already put HA companion app on the NSPanel pro last week, but just saw your addition with the sensor. I'm finidng it wakes up initially from the first sleep, but rather than go to sleep, it goes to sonoff logo and then almost reboots me to the deskop again. Did you come across this? Am using 30secs on/30 off like you showed.
On one of my units if the timing was set lower than 30 I had a few crashes where it would reboot.
That was just on one unit. Setting the values higher resolved this. Since then I haven’t had any issues with the 2 I currently have in place.
@@MarkWattTech Thank you Mark for the great tutorial!
Had to use the exact Webview version in your video (106.0.5249.65) to keep HA from crashing.
I've had a similar issue with Automagic. It works repeatedly if I test every 5 min (screen turns back on) but if I leave panel alpne for a few hours it won't turn on (but can still access with adb). Not sure how to get around this. Thanks.
@@TomMichetti1 Try setting the tolerance for presence in Automagic higher. I had this issue and that fixed it. My issue seemed to be that Automagic was triggering constantly because the threshold was too low.
Hi dear friend (teacher) i've followed almost the steps (only to put in Full kiosk mode, until update WebView), but to control screen, i have other needs: i have the Nspanel in my office for control my lights and devices state my home display, and i have an automation by a sensor presence (mmwave) for turn off the lights if nobory is detected. I need a way to control the Nspanel screen on / off by a HA command....
I think that a way for implemnt is by a template, But i don't have a ideia how to star this....
Could you help me, please?????
This is great. Can you side load LAN Announcer so that you can notifications?
You can indeed :)
I think Blakadder did some playing around with TTS and announcements.
Köszönjük!
So, is this the best way to controll my smart home (lights, ac, sockets) with a light switch replacement wall panel? I rather not mount a tablet on the wall.
If you’re looking to replace light switches you may want to checkout the original NSPanel. The pro doesn’t have any physical buttons or switches. So if your network or zigbee is down, you will end up with no light controls.
@@MarkWattTech ah! Yes thats exactly what I was looking for. Physics button with smart home control.
I have a split duct in each room and wifi controll with sensibo since the OME wifi controller was 4 times the cost.
I will watch your videos on the non pro. Thanks again!
Sounds like the standard version is the one you want to check out :)
As it uses an ESP32 its more customisable (although a little more work as you have to design screens etc - if you want to).
It's fully local once flashed though :)
Hi Mark, wonderful tutorial. There is a problem, after screen awakes, HA is not responsive when I want to turn on light for example. HA needs to be reloaded in order to become operational, this is very uncomfortable.
Have you any ideea how this can be fixed ? What dashboard do you use for NSPanel Pro ? I am using Mushroom
I'm having this problem too
Hi,
Getting stuck on installing 'Run Xposed framework installer script', error:
- Placing files
cp: xwrite: No space left on device
someone any ideas?
I have the same Problem. Did you find a solution?
@@SaschaLinke No not jet 😞
same here
same here :(
Ditto i get the following error...
************************************
Xposed Framework installer zip
************************************
- Mounting /system and /vendor read-write
- Checking environment
Xposed version: 90-beta3
Android version: 8.1 / SDK27
Platform: arm64
- Placing files
cp: xwrite: No space left on device
what off adb connect is refus
ed? can it be enabled on the panel?
To anyone whos adb connection is getting refused heres the fix:
Link nspanel to ewelink
Go to device settings in ewlink app, then tap device id a few times to enable developer mode
go to developer mode settings, enable adb
Based on the video, I thought it was quite scary that adb came enabled out of the box.
@@rolandtwilt Tried this, doesn't work for me.
unfortunately, I struggle at the beginning getting an error "cannoct connect to.... remote computer access denied (10061). Any idea whats wrong, sorry I'm a newbie. Found some Infos here but where is the USB Connector, I have the Sonoff NSPAnel (first in blakadder).
Open device in Ewelink, press 3 dots on the right, scroll to device_id, press 8 times, it will show up dev mode. New option will appear; developer, enable ADB. Now you should you able to connect.
@@kennyrokven2666 Seems that I have an even newer version. On that page it says 1.4.0. I f I press the Device-ID 8times at any speed ntohing happens. I get today an USB FTDI Adapter and will try it that way. FW-Name E32-MSW-NX
@@peter2buehrer Do you got the NS Panel with two buttons?
@@kennyrokven2666 yes
@@peter2buehrer same problem, seems not to work. So I bought the version without buttons and that one worked without problems.
The original NSPanel had two options: 86/EU Type and 120 Type. Currently the Pro is only available as 86/EU Type.
I don’t think they have plans for the 120 this time round.
I got it set up in my large box. It's a tight fit, but it works. I used the desk stand and hacked it up to make a faceplate too. Looks great
Hit a snag at the first command...
adb connect
failed to connect to ':5555': Connection refused.
Any ideas?
Note to anyone with the same issue. There are instructions to overcome this in the comments. Basically enable developer mode by clicking "Device ID" in the ewlink app eight times. I had to restart the ewlink app to do this.
Sonoff changed the firmware so this is no longer the defaults. You now need to enable the developer mode. I will be updating the video in the new year.
@@MarkWattTech thanks, great tutorial, I got there in the end. I also found that I could not use the “homeassistant.local” address when setting up the home assistant app on the newly configured NSPanel, it kept crashing. Could only use the ip address. Not sure if this should be obvious or not. Thanks again for the tutorial, wouldn’t have been able to do it without it.
@@MarkWattTech Thanks for the video, I'll be waiting for that update.
I have a panel in which I did most of the steps (from the blog by Blakadder) and at some point I had to reset the panel (interrupting the booting 5 times) and my panel was downloaded to the factory version 1.8 (I already had had the 2.2) but before activation (which I assume had to be done with some factory software, out of the chineese messages that I got), so I just deleted all the apps from sonoff and tried to go forward with installing HA, that is where I found out I would be installing the COMPANION (I don't have any other HA at home).
So, to make it short, I bought a second panel in which I don't want to loose the automatic updates of the original Sonoff software, and it doesn't have the adb internet access... Somewhere I read that if I activate developer mode in the eWelink app, I won't be able to deactivate it and updates wouldn't work, whereas if I activate it in the panel itself, it can be deactivated. So I might open the panel and connect a keyboard just to access setup, enable it, and then make the backup which whatever process you can post :)
@@fred7flinstone you also now gave to turn on the bridge in developer settings.
Hi Mark. Yesterday I got my NSPanel Pro. When I try in the terminal to connect to it I get an error named 10061. Cannot connect to target device (well, I ll get in german). It sucessfully starts the daemon but then it somehow seems to crash. Do you have any advice? I would appreciate your help. Thanks.
I have the same issue :/
@tilak sidduram wrote
If you have updated the NSPanel Pro to 1.3.2 version then itead has disabled ADB debugging in the Android OS. You need to enable developer mode from the ewelink app now. Just open the NSpanel pro device setting in the ewelink app and click the device ID option a few times and that will enable developer mode. Now go back to ur pc and run the adb connect command and you should get connected.
@@linusstromsnes7035 Thanks, Linus. I got it.
This seems to no longer work. Spent the whole day trying to get ADB to connect. Enabling Developer mode in ewelink app no longer seems to function App Version v1.4.1 and OS Version 1.3.3. Total bummer but it looks like it's been locked down totally unless I am missing something.
@@neilvass6805 Finally, it worked for me. I had to delete the NSPanel once again from the ewelink app. Tapping a few times on the ID switched to developer mode that I could finally save. I also had updated to 1.4.something before. But I also spent a whole evening. Finally, I had some issues with the webview app. It worked when I installed this app via its app installer instead directly using the apk.
Type CMD and hit enter directly on your folder and you will no need to copy and paste the path
You are great, how to install HA on ESP32-S3--Box?
I created a video on esphome on the original panel
@@MarkWattTech Thanks @NAGITECH
Has anyone tried this on the US Version?
v3.0.0 cannot be rooted
🙏🏻🙏🏻
No connection because the target machine actively refused it.
What version of software is your panel running? It seems Sonoff has disabled the ADB over TCP as a default in newer versions :S
@@MarkWattTech yep looks like it - have to use the micro USB to sideload - bummer - OTW was so much easier as per your guide.
@@lanceharvie pretty annoying that they have really 😫. Unfortunately you will have to opt for the USB method to enable adb tcp. Just extra steps and disassembly. It’s still definitely worth it though 👌🏻
@@MarkWattTech definately thanks my man.
I tried it with usb but the adb tool cant find the device.... And unfortunately i updated the nspanel to the latest version... Definitely a bummer
Thanks for the tips and tricks. By the way, what is the dashboard in time 18:00 th-cam.com/video/c1Dqdz8yHDc/w-d-xo.html
ITs just a custom dashboard I have created using a grid card :)
Many thanks Matt 🙏
Just to share a handy trick: if you want to open a terminal where you are in an explorer, then juste type 'cmd' where thé path appears, it will open the terminal (old version 🤷) directly at the expected place 😉.
Thanks to your video I do not regret anymore to have ordered 2 of them when they were launched because all the video After saying it was nearly unusable😭.
Again, thank you to both you and Blakadder.✌️You rocks guys
Thanks dude :)
Yeah I knew about cmd in the file explorer. I was just trying to cover things for different user abilities. Thanks for sharing :)
This is definitely the best way to use the panels with HA at the moment. I would love to see Sonoff adopt this. It would be nice to be able to use touch to wake and some other features (we can dream).
And it’s Mark! 😂
Thanks for a great video, how about a walk through of getting browser mod 2 working? It’s a great tool but I haven’t found a guide for getting the updated version working yet
Such a great inspiration. I could use this information to make my very old Android 5.0 tablet run the HA app. I just had to update Android System WebView in Playstore (which didn't automatically) and then it was able to show the HA login screen correctly which didn't do before.
So I can now confirm that the somewhat 10 years old Asus Fonepad K00E 7" is HA compatible.
Hi, Matt. Thank you very much for this video. It´s great to see HA running on NSPanelPro. Are you planning to make a video in order to setup Alarmo on it? I would be really interested.
Thank you
It is on my todo list :)
And it’s Mark ;)
@@MarkWattTech Thank you Mark, it would be great. I definitely vote for it!
how is possible switch from Ewelink face to android launcher? If i choosed lika always 😞
Hi can any one help, i can not connect to the panel via wifi, i did disassemble the panel connect to it via micro usb. I can see it in the device manager as a px30_evb. But i can not not connect to it via adb inside the terminal.
when i run : adb devices -l
List of devices - comes attached ; empty. list
I can ping the device, i can access all the files via file manager , but ADB is a no go for me. Can some one please help ?
Hello, I have the same problem did you solve it?
After typing "adb connect" following by the correct IP, it says connection fails. Any idea why? I can see that it's the correct IP both in my router and on the NSpanel PRO about menu
Were you able to resolve this? I am getting "Connection refused".
@@fred7flinstone I had to factory reset the device by unplug it and plug it 5 times until it got back to original firmware
As of July 2024 I'm running the latest version of the firmware (v3.3.0) and I had to enable Developer Mode by tapping the ID and then specifically enabling ADB in Developer mode settings on the app.
thank you so much!
Nice tutorial. I followed it but now when i start Home Assistant Companion for the first time it crashes /stops working when selecting the HA Instance. Any ideas?
--EDIT--
Found out that switching to the other webview version (default on 1.5.6) it is working. Now only the Proximity sensor is not showing any value, it did work once, but after a hard reboot there is no value at all. Got any idea on that? :)
I had exactly the same issue. Thanks for sharing the useful tip!
One question, why are you so awesome?
I have something strange.
If I restart Home Assistant when the screens are off then the screens stop working (All five).
They no longer respond to a ping (all at the same time) and the proximity sensor doesn't work either.
The only way is to reboot the NSPanels by taking it off the power.
I thought I had found a workaround but unfortunately not.
I had set in AutoMagic that if the WiFi is disconnected that after 3 minutes the NSPanel is allowed to reboot, this works when I take the WiFi itself offline but when the problem occurs it does not.
According to my router, the devices are no longer connected to the WiFi.
The problem occurs on both a short reboot of HA and a long reboot.
If I remove the sleep timer from the screen it does not happen.
Also updated the companion app to 2023.01 but no improvement.
Does anyone know how to investigate this further, or another workaround?
I think I have found the issue, but no solution so far.
All the panels have the same hostname: homeassistant.
Also my home assistant server was named like that, now i changed HA to home-assistant, but the issue is still there.
I can't find a way to change the hostname of the devices.
setprop net.hostname does'nt work
i have the same problem with only 1 panel, it doesn't depend on the name.
the proximity sensor initially works well on the sleep function, after 10 minutes of screen off, it can no longer be activated.
Have you found a solution? I am going crazy
got the "requires newer sdk version #29 (current version is #27). any idea how to solve this?
got the version above through apkmirror (Android System WebView 105.0.5195.136), seems to work so far.
Hello @Mark, great content! Quick question, when I am trying to connect via IP with ADB the NSPanel is actively refusing the connection. Has a firmware update blocked connection via IP?
I have the same problem. No dice. Gonna have to use USB it seems
@@thenerdshow did you manage to get it working?
@@guykramer9263 yes. Just did it via USB
What is the power requirements of the ns panel? Does it work on 240V AC? And how have you powered it on your wall? Thanks for the amazing video as always Mark
Heya :) yeah it is mains powered. It attaches pretty much anywhere you have a light switch.
I think I do talk about the physical specs etc in my dedicated NSPanel Pro video.
Thank you :)
Nice one thank you 😊
Great tutorial, but, man, please use full stops when ending sentences xD
Great tutorial and very clear as always, but when I Run Xposed framework installer script I get an error that I am out of space
I've got the same issue. Can anyone help with what can be erased to complete the installation?
does no one have a solution for this issue?
the solution is to downgrade nspanel version to 1.2 (instead of 1.7) and start again all the steps
@@Hylian112
Whatever panel i wont get, it fails at some step. i bricked NSPanel and NSpanel pro actively refuses connection so.... guess im lucky.
This is a fantastic tutorial, as long as you follow the steps and tweak as you go to suit updated bits and pieces! Now, I really want a UI on my panel that mirrors yours…do you have a tutorial for that please? Thanks!
Great tutorial! Thanks a lot! The steps for updating the webview seems to be outdated. mine comes out of the box with v107....
Got through everything and now the HA companion app is saying invalid username/password but works fine when I log in from my PC :/
thanks for teh video... mine has installed fine... but I cant get home assistant to automatically open on power being restored to the device... any ideas?
Right after the last load of HA, and then rebooting the screen came up with Chinese characters, now the cursor is a weird cross hair and no program completes running. Any ideas?
I accidentally bricked the panel and cannot use it at all. Anyone have any guidance on how to get it back. Forced reset didn’t work. Cannot connect to eWeLink. Only 3 days old.
Mark - Before purchasing this does the L1/L2 get exposed to Home Assistant?
I haven't been able at all to get my screen to time out/ turn off at all the screen just dims. I have tried setting the time to 30 seconds instead of 15seconds and still no luck. Any one got any ideas?
I have a problem everytime the panel goes to sleep it needs to be restart to turn on again, what am i doing wrong? p.s excellent video
Hi Mark, good job! How to jump over refused connection in port 5555?
Great video. I'm getting a Firebase Error when I start HA Companion app. Is there a fix for this?
תודה!
האם יש דרך לגרום לבקר זיגבי המובנה להמשיך לעבוד מתי שהום אסיסט פועל?
תודה
Work wichtig this on nspanel pro the mic and stecker, too ?
Great tutorial, all works fine. One question though. How to i get the HA companion app in full screen . Right now i got the bar where i can select the side panel and i can get through the different dashboards. I do not want it to be selectable.
last step i see No space left on device
what can i do about this ?
Is it possible to read temperature sensor ?
Hello Mark, thank you for the excellent video, one question how i can get back to the launcher selection menu?