Thanks, it's a tricky one. I agree with you. I do make an assumption that if you arrived at this video that you would know that this device is simply not powerful enough to run HA Core.
@@smart_home_australia oh definitely, but when I read the headline in the notification I straight away was thinking, "nah that thing can't run actual HA, must be the app". Now I'm kinda spewing I installed normal NS Panels in my house!
LOL... At least you can install them. I'm from the UK originally so I'm used to that form factor, but in Australia we have the horizontal rectangular back plates so the NS Panel Pro's don't actually fit unless you install a none standard back plate :(
@@smart_home_australia yep, I'm in Aus too so that was mostly why I used the normal NS Panels, but I would have just made a custom hole in the wall if I wanted to use the Pro
One other question, I have the new NSpanel pro setup on the network and I configured it as a zigbee router connected to zigbee2mqtt in home assistant. When I follow your process to install HA will I lose the zigbee router configuration
I believe so, although I have never tried it, follow these instructions: - Firmware Update: Ensure your NSPanel Pro is running firmware version 2.2.0 or later, which added the Zigbee router feature. - Activate the device using the eWeLink app - Update to the latest firmware if necessary - Enable developer mode - In the eWeLink app, go to Settings > Experimental Features > ZigBee Mode - Tap on "Router Mode" to enable it (note that this may erase your data) - Install the Home Assistant Companion app using ADB as per the video.
I'm in Australia and I'm keen to get an NSPanel Pro but looks like it requires an electrician to wire it before we can do anything with it. I'd like to power it somehow before getting it installed in the wall. Is there an easy way to do this without soldering wires?
Yep. Sorry but due to Australian law all wiring must be installed by a registered electrician. In my case I used a 12v inverter to power the NSPanel Pro for configuration purposes. I hope that helps.
So I ran your process on the new NSPanel Pro 120 and after step Run XPOSED Framework the next step was to reboot panel. Now when the panel turns on I only get the Sonoff splash screen. Is the panel now bricked or is there a way to get back into it.
I got this message when executing adb connect statement cannot connect to 192.168.0.228:5555: No connection could be made because the target machine actively refused it. (10061), Could you please advice?
Hi Kris, I assume you solved this problem based on the later message, but common causes for this are: - ADB Access Not Enabled: The NSPanel Pro may not have ADB access enabled. - Incorrect IP Address: The IP address you're trying to connect to may be incorrect or the device's IP may have changed. - Firewall Issues: Your computer's firewall may be blocking the connection. - Device Not in Developer Mode: The NSPanel Pro needs to be in developer mode for ADB connections. Hopefully this will resolve.
I did all the steps without any problem till 6:43 but after rebooting the screen in 6:43 is not shown but it still shows the original screen. Maybe it has something to do with the choice you have to make in 4:26, I did choose the eWELinkControlPanel. Did I miss something? do I need to choose launcher and can I do all steps again?
I love it when the audience solve their own issues :) Yes, if you select always then it will launch the launcher and bring up HA. Otherwise it will need you to start the launcher and then go into HA. To solve, just follow through the ADB to bring up the launcher and select always if you want this to be a dedicated HA screen. Otherwise you'll need to do it manually each time.,
@@smart_home_australia thanks for the info but like I said I did choose eWeLinkControlPanel instead of Laucher, I did check Always but now the icons as displayed in 6:43 are not displayed.... I tried to execute adb shell input keyevent 3 again but I do not get the screen to choose between the 2 options again. Could you please explain how to solve this
In which case it might be a version issue with your NSPanel pro or a compatibility issue. I have heard of the odd occasion where it would seem the underlaying hardware of the NSPanel Pro is different to the "standard" one. Sorry I cant be of more help.
@@smart_home_australia Do you know if it is possible to bring it back to the factory settings (like I bought it) to try it again, as I can't see the ultra small launcher in my installed packages (even if it says it is installed)
I managed to get until 10 minutes in the video. The developer mode works and I am able to switch WebView implementation to 119.0.6045.194 Then the connection between workstation and Sonoff hung up, and I am not any more ablo to connect to the device via ADB Switching back to Webview and Android System Webview 107.0.5304.105 does not help. All I get is this: c:\etc\adb connect 10.10.0.23 * daemon not running; starting now at tcp:5037 * daemon started successfully cannot connect to 10.10.0.23:5555: No connection could be made because the target machine actively refused it. (10061) Booting workstation or Sonoff does not help. IP has stayed the same. Any ideas how to fix this?
Without seeing the details in the logs then probably not. I'd recommend a factory reset (ref: czcams.com/video/O4wDDNH0T_s/video.html) and starting from scratch. Sorry... looks like the ADB gods were not smiling today.
@@smart_home_australia Cheers mate! I was able to reset from System and now this works. Android gods are never favourable. Linux gods are, but they are very strict. Windows/dos gods are loose but irrelevant. Automagic is discontinued, but NSPanel Pro tools seems to do the trick(s). ☕
@@jannemaenpaa7470 alls well that ends well. Thanks for the tip on automatic. I might need to recut a new video with a replacement. Thanks for the beer. 👍😊
Another question that does not match 100% to your video: I use NSPanel with fully kiosk browser instead of companion app now. Got two Devices, both configured identical (I think). However when turning off the screen on one device (via fkb) it drops wifi completely and it’s impossible to turn screen on again remotely. The other device does not show this. Any thoughts what I can do here?
Never hit that issue. I suspect that they are not identical and might have either firmware or component differences. Regardless the process should be the same for both. I’d suggest verifying the components and firmware are identical and then raising a question with Blackaddr as to if this is something that others have seen and if there is a solution.
@@smart_home_australia think I got it. Just installed the NSPanel tools apk which requested „run in background“ permissions. Maybe FKB has not requested this? As on the working NSPanel also companion app is installed, which is not installed on the failure device an app is missing thats requesting this permission. In both cases companion app is not used. Conclusion: it works now on both devices.
Thanks for the feedback, very strange that it needed the NSPanel tools apk, but does make sense that it needs permission to run in background. Regardless its great that you managed to get both working. I think I mentioned in the video that this was a "journey" with various version and incompatibilities. I've also tried this on a T6 screen and although I did manage to get that working the screen was way more expensive and you needed to break it open for flashing, so I scrapped that video as I didn't want hundred of frustrated viewers :) Either way, WELL DONE !! I hope other read the comments and learn from your findings.
Yep. This just loads HA as an App. The full functionality of the panel is still active. The only issue you have is that you can’t switch to the panel Home Screen without a virtual press of the Home Screen which you can do via software or a reset of the NSPanel (power cycle)
recently bought an NSPanel Pro with version 2.2 (recovery goes back to 2.2 as well) and i get the 'cp: xwrite: No space left on device' when trying to install the XPosed Framework. I've read that you can skip the XPosed installation but if i do this it doesnt show any other versions of Android System Webview other than the stock 107.0... one. Home Assistant Companion then gives an error that it cant connect to my homeassistant.local:8123. any ideas?
When I was researching and creating the video I had a lot of issues with the versions that worked and didn't work. My suggestion would be to stick the only the versions linked in the video.
Just to update for anyone with the same issue: I repeated the process with your apk links but still got the same 'out of space' error. Anyway I went ahead without XPosed/changing the webview version (still at 107) and installed the Wallpanel app, launched and it connected to my HA. Seems like it was an issue with the HA Companion App not connecting for whatever reason 🤷♂
@@boboboz9541 Thanks for the update. Very strange the companion app causing that issue. As you mentioned maybe that due to the firmware you received with your panel as other have not had this issue.
I get this out of space error, despite having lots of space on teh CD card... I'm assuming it means out of space on the partition with the system folder..... Any way around this??? Perhaps teh latest firmware which it has on it (3.2) takes up most of the available space??? How can I increase the size of that partition!?!? 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
I think that's exactly what the problem is..... so for anyone with new firmware, this won't work. /dev/block/mmcblk1p11 1491184 1463208 27976 99% /system Perhaps there's a folder that's safe to delete? a way to increase the size of that partition? Or a way to downgrade the firmware? resetting my device, just resets me to this large firmware version.
For anyone else on a bulky firmware... this is exactly the problem.... I navigated to /system and went into the "app" folder.... I then deleted some of the big things that I don't think are important!?!?!?!? EEEEEKKK ! Then the framework installed fine..... now to reboot!!!!!! We need to be able to extend the size of the system partition
Hi John, sounds like you have found the culprit. Super brave of you just deleting stuff that you thought might not be needed ;) Apart from the constant need to upgrade to latest version for new functionality and security reasons, was there a specific need to use the latest version of the firmware??
@@smart_home_australia LOL - super brave?!? Nar, I'm just generally stupid!! But to be fair in this case it worked, as the device rebooted no problem, with the framework showing the grreen tick. I did notice that as I'd already started to install / copy the files across before the no space warning popped up, that I got an orange warning in that box saying installed but not working.... When I cleared space and reinstalled successfully, the orange warning remained and the green / tick did not appear until a reboot.... but reboot it did and it was all fine. Regarding the latest firmware... I didn't actually want it! I took the nspanelpro out of the box, turned it on, connected to WiFi, went into the about section to get the IP address of the product and it was already downloading and updating 1/2 files.... no cancel option. I didn't click update... it did it all by itself on first boot.
Ever get the feeling manufacturer are "forcing" you to upgrade and they cram firmware's into the space leaving as little wiggle room as possible. I know it cost extra, but it doesn't allow for extra community development, which would ultimately lead to more sales. Either way I still think Sonoff is a great company and that they really engineer products and dont just copy others at cheaper prices.
Thank you for great instructions! I have NSPanel Pro working great, dashboard currently contains weather, security camera, electricity price, electric car battery status&location&map, carage door status. Planning to put it inside, next to the main door. One issue remains though: I plan to replace one almost unused "light" switch with this one. Any idea how to control the relays in NSPanel Pro?
You are out of luck. The NSPanel Pro (the one shown) does not contain a relay switch, even though it does have the terminals for it. Check BlakAddr's comments "There are no power output terminals! There’s only the two terminals used to connect power to it. Sonoff later confirmed there are currently no plans to have relays or any other physical controls attached to the switch."
@@smart_home_australia Bummer. I think I'll have a look at standard NSPanel, or maybe have lecetrician install a zigbee relay someplace else to control the light (which is almost never used). On the bright side, now I'll have to get more devices. He who dies with the most toys wins.
thanks for this video. How do you manage to start HA App on NSPanel Boot? Tried to do it via Automagic, however the "at service startup" automation is disabled after a reboot and HA app does not come up.
Have you tried to give Automagic permissions so that the "at service startup" is enabled? Follow these instructions and let me know if that give you startup, Ref: support.google.com/android/answer/9431959?hl=en
@@smart_home_australia I got it work. My problem is/was, that a new automation is disabled even if I definitely enabled it. After enabling the automation multiple times and do some reboot the „enable“ is persistent and it works like it is supposed to do. Weird.
Thank you so much for great instructions. I was successful in getting HA on 2 devices but when I tried again on 3 additional devices, this is the error I got and the NS PAnel is stuck in the boot screen. 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
If you check back through the comments you will see the same issue from anther channel member. It would seem that not all NSPAnel Pro's were made equal and that some have different internal hardware. The upgrade must really push the internal space requirements to the very limit. Three options. - Make sure you use exactly the versions of firmware used in the demo. - Start deleting "stuff" to make the space (not the ideal and dangerous, but seemed to work for the other channel member) - Switch this device to web view only Ref: czcams.com/video/j6s1zTiKmkg/video.html I hope that helps.
Thanks for the reply. I will try that. I was able to get home assistant working on it.. When I turn it off and back on though, it's stuck on the sonoff screen. Also, is this what the automagic config link should look like?
This XML file does not appear to have any style information associated with it. The document tree is shown below. true Proximity Sensor: Distance > 300.0cm true false 300.0 true true Turn Screen On: Bright for 15s true 15s true Proximity turn screen ON true STOP 100 Proximity Sensor: Distance > 300.0cm Turn Screen On: Bright for 15s
Style information in XML is typically found in attributes or associated style sheets, but this XML seems to be purely for data and configuration, not for presentation. Therefore, it doesn’t contain any style information. If you’re looking to style this XML for presentation, you might want to consider using XSLT (Extensible Stylesheet Language Transformations), which is a language for transforming XML documents into other types of documents such as HTML or CSS. 😊
thanks for the video.... when setting the promimity bit, mine shows about 15cm when nothing is infront of it and increases up to 25000cm when finger near the sensor... surely this is the wrong way around!?!??! I can only get it working when I literally wave my hand right in front of it... anyone else?
@@smart_home_australia yes - new nspanel... updated to the latest firmware, then enabled developer mode and installed home assistant. Lighting was good With nothing in front of the device it said 25cm
@@johnadams1976 Hmmm. OK well maybe raise a ticket with Sonoff, they have one of the best reputations for engineering and customer support. Might be a hardware issue....
@@smart_home_australia OK - thanks.... on an identical device, just taken out the box.... I get this 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 No space left on device?!?!? The otherone is identical - same firmware, straight out the box and didn't say this.... any idea!? running the adb command to get free disk space it says /data/media 3.3G 104M 3.2G 4% /storage/emulated Loads free!?!?!?
Sounds like it might look to be the same device but the underlying hardware might be different or the firmware / sub framework might vary slightly and that under normal user cases this would not be an issue but in this case as space is so tight you are hitting that limit.
I don't have one of these but I believe you can, but you cant do it completely over the air, I believe you need to gain access to the micro USB inside (do at your risk!), check out Blakadders full instructions. blakadder.com/nspanel-pro-sideload/
Yes, you can use the built-in Zigbee hub and run Home Assistant on the NSPanel Pro simultaneously. The Zigbee hub functionality remains independent, allowing you to control Zigbee devices, such as the R5, directly from the panel.
@@smart_home_australia Does that mean that I can still run the WeLink and add the devices and then switch to the home assistant app for "viewing" purpose?
yes, but switching on the screen is going to be the issue. Kiosk mode, as the name suggests, means you will be locked into a single App, hence switching means power cycling the device.
@@smart_home_australia Ok, so easiest will be the following steps: - Start up the Nspanel and run it in std mode including adding all my R5 switches into the zigbee network - Install the local apps including HA - If new devices needs to be adding I need to restart the panel by cutting power and choose the std app. Then another hardware restart and choose the local HA app Did I get it?
Yep. that would be the process, or ADB into the NSPanel Pro and force a Home button press. Although I am not sure if the ADB connection would be maintained over an extended duration so power cycling is the safest way.
For the purposes of this video I was focused on the side loading of the Home Assistant companion App, not utilising the inbuilt Zigbee hub. I have another variant of the same panel that I will be testing shortly. That video will be focused on the base functionality of the device, including the Zigbee hub, so keep an eye out for that video.
Very cool tutorial.
The video title should probably say Home Assistant "Companion App".
Thanks, it's a tricky one. I agree with you. I do make an assumption that if you arrived at this video that you would know that this device is simply not powerful enough to run HA Core.
@@smart_home_australia oh definitely, but when I read the headline in the notification I straight away was thinking, "nah that thing can't run actual HA, must be the app".
Now I'm kinda spewing I installed normal NS Panels in my house!
LOL... At least you can install them. I'm from the UK originally so I'm used to that form factor, but in Australia we have the horizontal rectangular back plates so the NS Panel Pro's don't actually fit unless you install a none standard back plate :(
@@smart_home_australia yep, I'm in Aus too so that was mostly why I used the normal NS Panels, but I would have just made a custom hole in the wall if I wanted to use the Pro
Nice to meet you fellow Aussie :) (even though I am an import ;))
Followed your tutorial for the NSPanel pro running HA locally - worked perfect!!! THX a lot 😃
Thanks heaps. Super glad it worked out. It took abit to make the video, but well worth it. 😊
One other question, I have the new NSpanel pro setup on the network and I configured it as a zigbee router connected to zigbee2mqtt in home assistant. When I follow your process to install HA will I lose the zigbee router configuration
I believe so, although I have never tried it, follow these instructions:
- Firmware Update: Ensure your NSPanel Pro is running firmware version 2.2.0 or later, which added the Zigbee router feature.
- Activate the device using the eWeLink app
- Update to the latest firmware if necessary
- Enable developer mode
- In the eWeLink app, go to Settings > Experimental Features > ZigBee Mode
- Tap on "Router Mode" to enable it (note that this may erase your data)
- Install the Home Assistant Companion app using ADB as per the video.
I'm in Australia and I'm keen to get an NSPanel Pro but looks like it requires an electrician to wire it before we can do anything with it. I'd like to power it somehow before getting it installed in the wall. Is there an easy way to do this without soldering wires?
Yep. Sorry but due to Australian law all wiring must be installed by a registered electrician. In my case I used a 12v inverter to power the NSPanel Pro for configuration purposes. I hope that helps.
Your instructions worked perfectly! Thank you. Was there ever a follow-up on tuning HA for small screens?
Oh yes I was going to do one of those 😊 I’m onto it as a special request. Watch this space 👍
Hey, is there anyway to automatically launch automatically the HA App in case of power failure reboot ?
If you check out Blakaddr's secrets page (blakadder.com/nspanel-pro-secrets/) then it should give you the instructions on how to do this.
Hi. Will this process work with the new SONOFF NSPanel Pro Smart Home Control Panel-120
Not confirmed yet. I have one in transit and will let you know.
So I ran your process on the new NSPanel Pro 120 and after step Run XPOSED Framework the next step was to reboot panel. Now when the panel turns on I only get the Sonoff splash screen. Is the panel now bricked or is there a way to get back into it.
Try this NSPANEL PRO FACTORY RESET - Unbricking
czcams.com/video/O4wDDNH0T_s/video.html
Thanks I tried that with no luck. I guess it’s toast
Dont trash it just yet. I'll reach out to Sonoff and get the instructions and lets see if we can bring it back from the dead.
Much appreciated
I got this message when executing adb connect statement
cannot connect to 192.168.0.228:5555: No connection could be made because the target machine actively refused it. (10061),
Could you please advice?
found the solution, need to enable developer options using the eWELink app and enable ADB
Hi Kris, I assume you solved this problem based on the later message, but common causes for this are:
- ADB Access Not Enabled: The NSPanel Pro may not have ADB access enabled.
- Incorrect IP Address: The IP address you're trying to connect to may be incorrect or the device's IP may have changed.
- Firewall Issues: Your computer's firewall may be blocking the connection.
- Device Not in Developer Mode: The NSPanel Pro needs to be in developer mode for ADB connections.
Hopefully this will resolve.
I tried to follow your guide but Automagic seems not to be available. The website is down. Could you provide an alternative link?
APK sites do have a habit of disappearing :) I've added an alternative to the description, urlday.cc/kko72.
I did all the steps without any problem till 6:43 but after rebooting the screen in 6:43 is not shown but it still shows the original screen. Maybe it has something to do with the choice you have to make in 4:26, I did choose the eWELinkControlPanel. Did I miss something? do I need to choose launcher and can I do all steps again?
I love it when the audience solve their own issues :)
Yes, if you select always then it will launch the launcher and bring up HA. Otherwise it will need you to start the launcher and then go into HA.
To solve, just follow through the ADB to bring up the launcher and select always if you want this to be a dedicated HA screen. Otherwise you'll need to do it manually each time.,
@@smart_home_australia thanks for the info but like I said I did choose eWeLinkControlPanel instead of Laucher, I did check Always but now the icons as displayed in 6:43 are not displayed.... I tried to execute adb shell input keyevent 3 again but I do not get the screen to choose between the 2 options again. Could you please explain how to solve this
In which case it might be a version issue with your NSPanel pro or a compatibility issue. I have heard of the odd occasion where it would seem the underlaying hardware of the NSPanel Pro is different to the "standard" one. Sorry I cant be of more help.
@@smart_home_australia Do you know if it is possible to bring it back to the factory settings (like I bought it) to try it again, as I can't see the ultra small launcher in my installed packages (even if it says it is installed)
Yep, I'm stumped. But to reset watch this video czcams.com/video/O4wDDNH0T_s/video.html
Great video well presented thank you
Glad you enjoyed it
I managed to get until 10 minutes in the video. The developer mode works and I am able to switch WebView implementation to 119.0.6045.194
Then the connection between workstation and Sonoff hung up, and I am not any more ablo to connect to the device via ADB
Switching back to Webview and Android System Webview 107.0.5304.105 does not help. All I get is this:
c:\etc\adb connect 10.10.0.23
* daemon not running; starting now at tcp:5037
* daemon started successfully
cannot connect to 10.10.0.23:5555: No connection could be made because the target machine actively refused it. (10061)
Booting workstation or Sonoff does not help. IP has stayed the same.
Any ideas how to fix this?
Without seeing the details in the logs then probably not. I'd recommend a factory reset (ref: czcams.com/video/O4wDDNH0T_s/video.html) and starting from scratch. Sorry... looks like the ADB gods were not smiling today.
@@smart_home_australia Cheers mate! I was able to reset from System and now this works. Android gods are never favourable. Linux gods are, but they are very strict. Windows/dos gods are loose but irrelevant.
Automagic is discontinued, but NSPanel Pro tools seems to do the trick(s).
☕
@@jannemaenpaa7470 alls well that ends well.
Thanks for the tip on automatic. I might need to recut a new video with a replacement.
Thanks for the beer. 👍😊
Another question that does not match 100% to your video: I use NSPanel with fully kiosk browser instead of companion app now. Got two Devices, both configured identical (I think). However when turning off the screen on one device (via fkb) it drops wifi completely and it’s impossible to turn screen on again remotely. The other device does not show this.
Any thoughts what I can do here?
Never hit that issue. I suspect that they are not identical and might have either firmware or component differences. Regardless the process should be the same for both.
I’d suggest verifying the components and firmware are identical and then raising a question with Blackaddr as to if this is something that others have seen and if there is a solution.
@@smart_home_australia think I got it. Just installed the NSPanel tools apk which requested „run in background“ permissions. Maybe FKB has not requested this? As on the working NSPanel also companion app is installed, which is not installed on the failure device an app is missing thats requesting this permission. In both cases companion app is not used. Conclusion: it works now on both devices.
Thanks for the feedback, very strange that it needed the NSPanel tools apk, but does make sense that it needs permission to run in background.
Regardless its great that you managed to get both working. I think I mentioned in the video that this was a "journey" with various version and incompatibilities. I've also tried this on a T6 screen and although I did manage to get that working the screen was way more expensive and you needed to break it open for flashing, so I scrapped that video as I didn't want hundred of frustrated viewers :)
Either way, WELL DONE !! I hope other read the comments and learn from your findings.
Hey! Does it still works as a Zigbee hub after the mod?
Yep. This just loads HA as an App. The full functionality of the panel is still active. The only issue you have is that you can’t switch to the panel Home Screen without a virtual press of the Home Screen which you can do via software or a reset of the NSPanel (power cycle)
recently bought an NSPanel Pro with version 2.2 (recovery goes back to 2.2 as well) and i get the 'cp: xwrite: No space left on device' when trying to install the XPosed Framework.
I've read that you can skip the XPosed installation but if i do this it doesnt show any other versions of Android System Webview other than the stock 107.0... one.
Home Assistant Companion then gives an error that it cant connect to my homeassistant.local:8123.
any ideas?
When I was researching and creating the video I had a lot of issues with the versions that worked and didn't work. My suggestion would be to stick the only the versions linked in the video.
Just to update for anyone with the same issue: I repeated the process with your apk links but still got the same 'out of space' error. Anyway I went ahead without XPosed/changing the webview version (still at 107) and installed the Wallpanel app, launched and it connected to my HA.
Seems like it was an issue with the HA Companion App not connecting for whatever reason 🤷♂
@@boboboz9541 Thanks for the update. Very strange the companion app causing that issue. As you mentioned maybe that due to the firmware you received with your panel as other have not had this issue.
What firmware you have on your nspanel pro you managed to install it? Tnx
The NSPanel Pro is running Android 8.1.0, Kernel version 4.4.138, Build Number 1.7.0. Hopefully that helps.
I get this out of space error, despite having lots of space on teh CD card... I'm assuming it means out of space on the partition with the system folder..... Any way around this??? Perhaps teh latest firmware which it has on it (3.2) takes up most of the available space??? How can I increase the size of that partition!?!?
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
I think that's exactly what the problem is..... so for anyone with new firmware, this won't work.
/dev/block/mmcblk1p11 1491184 1463208 27976 99% /system
Perhaps there's a folder that's safe to delete? a way to increase the size of that partition? Or a way to downgrade the firmware? resetting my device, just resets me to this large firmware version.
For anyone else on a bulky firmware... this is exactly the problem.... I navigated to /system and went into the "app" folder.... I then deleted some of the big things that I don't think are important!?!?!?!? EEEEEKKK !
Then the framework installed fine..... now to reboot!!!!!!
We need to be able to extend the size of the system partition
Hi John, sounds like you have found the culprit. Super brave of you just deleting stuff that you thought might not be needed ;)
Apart from the constant need to upgrade to latest version for new functionality and security reasons, was there a specific need to use the latest version of the firmware??
@@smart_home_australia LOL - super brave?!? Nar, I'm just generally stupid!! But to be fair in this case it worked, as the device rebooted no problem, with the framework showing the grreen tick. I did notice that as I'd already started to install / copy the files across before the no space warning popped up, that I got an orange warning in that box saying installed but not working.... When I cleared space and reinstalled successfully, the orange warning remained and the green / tick did not appear until a reboot.... but reboot it did and it was all fine.
Regarding the latest firmware... I didn't actually want it! I took the nspanelpro out of the box, turned it on, connected to WiFi, went into the about section to get the IP address of the product and it was already downloading and updating 1/2 files.... no cancel option. I didn't click update... it did it all by itself on first boot.
Ever get the feeling manufacturer are "forcing" you to upgrade and they cram firmware's into the space leaving as little wiggle room as possible. I know it cost extra, but it doesn't allow for extra community development, which would ultimately lead to more sales.
Either way I still think Sonoff is a great company and that they really engineer products and dont just copy others at cheaper prices.
Thank you for great instructions! I have NSPanel Pro working great, dashboard currently contains weather, security camera, electricity price, electric car battery status&location&map, carage door status. Planning to put it inside, next to the main door.
One issue remains though: I plan to replace one almost unused "light" switch with this one. Any idea how to control the relays in NSPanel Pro?
You are out of luck. The NSPanel Pro (the one shown) does not contain a relay switch, even though it does have the terminals for it.
Check BlakAddr's comments "There are no power output terminals! There’s only the two terminals used to connect power to it. Sonoff later confirmed there are currently no plans to have relays or any other physical controls attached to the switch."
@@smart_home_australia Bummer. I think I'll have a look at standard NSPanel, or maybe have lecetrician install a zigbee relay someplace else to control the light (which is almost never used).
On the bright side, now I'll have to get more devices. He who dies with the most toys wins.
lol. Exactly. Don’t forget the discount code. 👍😊
Do you have a video showing how to build a dashboard & cards designed specifically for use on the NSPanel pro?
It’s on the list 😊 only so much I can do while working full time.
thanks for this video. How do you manage to start HA App on NSPanel Boot? Tried to do it via Automagic, however the "at service startup" automation is disabled after a reboot and HA app does not come up.
Have you tried to give Automagic permissions so that the "at service startup" is enabled? Follow these instructions and let me know if that give you startup, Ref: support.google.com/android/answer/9431959?hl=en
@@smart_home_australia I got it work. My problem is/was, that a new automation is disabled even if I definitely enabled it. After enabling the automation multiple times and do some reboot the „enable“ is persistent and it works like it is supposed to do. Weird.
@@marcozett9863 now that’s a very strange “feature”. Great diagnosis on your side. Well done!!
Thank you so much for great instructions. I was successful in getting HA on 2 devices but when I tried again on 3 additional devices, this is the error I got and the NS PAnel is stuck in the boot screen. 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
If you check back through the comments you will see the same issue from anther channel member. It would seem that not all NSPAnel Pro's were made equal and that some have different internal hardware. The upgrade must really push the internal space requirements to the very limit.
Three options.
- Make sure you use exactly the versions of firmware used in the demo.
- Start deleting "stuff" to make the space (not the ideal and dangerous, but seemed to work for the other channel member)
- Switch this device to web view only Ref: czcams.com/video/j6s1zTiKmkg/video.html
I hope that helps.
Thanks for the reply. I will try that. I was able to get home assistant working on it.. When I turn it off and back on though, it's stuck on the sonoff screen. Also, is this what the automagic config link should look like?
This XML file does not appear to have any style information associated with it. The document tree is shown below.
true
Proximity Sensor: Distance > 300.0cm
true
false
300.0
true
true
Turn Screen On: Bright for 15s
true
15s
true
Proximity turn screen ON
true
STOP
100
Proximity Sensor: Distance > 300.0cm
Turn Screen On: Bright for 15s
Style information in XML is typically found in attributes or associated style sheets, but this XML seems to be purely for data and configuration, not for presentation. Therefore, it doesn’t contain any style information. If you’re looking to style this XML for presentation, you might want to consider using XSLT (Extensible Stylesheet Language Transformations), which is a language for transforming XML documents into other types of documents such as HTML or CSS. 😊
@@smart_home_australia you're speaking a language I don't understand. I'm just wondering if the fact I couldn't push that is why I'm stuck
thanks for the video.... when setting the promimity bit, mine shows about 15cm when nothing is infront of it and increases up to 25000cm when finger near the sensor... surely this is the wrong way around!?!??! I can only get it working when I literally wave my hand right in front of it... anyone else?
Are you running the latest firmware? Was the lighting conditions good when you tested? What was the reporting of the distance from the device?
@@smart_home_australia yes - new nspanel... updated to the latest firmware, then enabled developer mode and installed home assistant. Lighting was good With nothing in front of the device it said 25cm
@@johnadams1976 Hmmm. OK well maybe raise a ticket with Sonoff, they have one of the best reputations for engineering and customer support. Might be a hardware issue....
@@smart_home_australia OK - thanks.... on an identical device, just taken out the box.... I get this 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
No space left on device?!?!? The otherone is identical - same firmware, straight out the box and didn't say this.... any idea!?
running the adb command to get free disk space it says
/data/media 3.3G 104M 3.2G 4% /storage/emulated
Loads free!?!?!?
Sounds like it might look to be the same device but the underlying hardware might be different or the firmware / sub framework might vary slightly and that under normal user cases this would not be an issue but in this case as space is so tight you are hitting that limit.
Would a NSPanel with the two buttons work with this?
I don't have one of these but I believe you can, but you cant do it completely over the air, I believe you need to gain access to the micro USB inside (do at your risk!), check out Blakadders full instructions. blakadder.com/nspanel-pro-sideload/
What if i still want to use it as a Zigbee Hub and connect eg the scene controller Sonoff R5?
Yes, you can use the built-in Zigbee hub and run Home Assistant on the NSPanel Pro simultaneously. The Zigbee hub functionality remains independent, allowing you to control Zigbee devices, such as the R5, directly from the panel.
@@smart_home_australia Does that mean that I can still run the WeLink and add the devices and then switch to the home assistant app for "viewing" purpose?
yes, but switching on the screen is going to be the issue. Kiosk mode, as the name suggests, means you will be locked into a single App, hence switching means power cycling the device.
@@smart_home_australia Ok, so easiest will be the following steps:
- Start up the Nspanel and run it in std mode including adding all my R5 switches into the zigbee network
- Install the local apps including HA
- If new devices needs to be adding I need to restart the panel by cutting power and choose the std app.
Then another hardware restart and choose the local HA app
Did I get it?
Yep. that would be the process, or ADB into the NSPanel Pro and force a Home button press. Although I am not sure if the ADB connection would be maintained over an extended duration so power cycling is the safest way.
Hello, do you get the zigbee hub also working?? Greetings.
For the purposes of this video I was focused on the side loading of the Home Assistant companion App, not utilising the inbuilt Zigbee hub. I have another variant of the same panel that I will be testing shortly. That video will be focused on the base functionality of the device, including the Zigbee hub, so keep an eye out for that video.
@smart_home_australia thanks for your response. Ok, got you, 👌, it was only a doubt. I will be waiting for your tests, greetings.
Should be up in 2 weeks :)