Blackymas / NSPanel_HA_Blueprint

This allows you to configure your complete NSPanel via Blueprint with UI and without changing anything in the code
1.2k stars 225 forks source link

Well... did i kill it? NSPanel died after update and change the bluetooth settings #2069

Open TeDeVPrime opened 3 weeks ago

TeDeVPrime commented 3 weeks ago

TFT Version

4.3.2

ESPHome Version

4.3.2

Blueprint Version

4.3.2

Panel Model

EU

What is the bug?

i spent a few hours trying to update my nspanel to the latest 4.3.2. long story short... i had to download the tft locally so that i could actually work.

right when i said "finally!" i decided to try and enable the ble_tracker...

i included these lines

esp32_ble_tracker: scan_parameters: interval: 1100ms window: 1100ms

then i pressed installed in the ESPHome.... the installation finished.... and then it died.... it doesn't boot up.... i tried turning the power off and on again ... nothing. it's a brick device.

i know that it doesn't make sense... but this is my story. any ideas?

Steps to Reproduce

No response

Your Panel's YAML

No response

ESPHome Logs

No response

Home Assistant Logs

No response

edwardtfn commented 3 weeks ago

Flash it using TTL adapter and without the Bluetooth and it should work.

By the way, it will probably work with Bluetooth if you use v4.3.4. 😉

edwardtfn commented 3 weeks ago

The idea is to have a BLE Tracker add-on in experimental mode with v4.3.5.

TeDeVPrime commented 3 weeks ago

@edwardtfn hi. what do you mean it will work with bluetooth? i had the latest version installed 4.3.4. then i tried the above config and it died on me. nothing works.

edwardtfn commented 3 weeks ago

It should work with v4.3.4. Do you have any other component added in your yaml?

TeDeVPrime commented 3 weeks ago

It should work with v4.3.4. Do you have any other component added in your yaml?

no i don't. this is the only one i installed. so you believe that it is not bricked? i should remove it from the wall and try to connect it with the usb adapter again?

edwardtfn commented 3 weeks ago

Yes, I got to this situation a few times when playing with different components and it's just about compile the firmware with just the basics, then install using TTL and the panel is back to life.

edwardtfn commented 3 weeks ago

The issue is about getting out of RAM during the boot, then the panel stops it even before turning on the display or starting support to OTA flashing. Flashing with a firmware which didn't take all the memory should work, but will require TTL adapter as OTA is out.

TeDeVPrime commented 3 weeks ago

The issue is about getting out of RAM during the boot, then the panel stops it even before turning on the display or starting support to OTA flashing. Flashing with a firmware which didn't take all the memory should work, but will require TTL adapter as OTA is out.

ok i will try it next weekend because i don't have time for that right now. i also ordered a new nspanel just to be sure. they came out as an offer yesterday for 30 euros!

edwardtfn commented 3 weeks ago

Where did you found this price?

Mauricewillemstein commented 3 weeks ago

ok i will try it next weekend because i don't have time for that right now. i also ordered a new nspanel just to be sure. they came out as an offer yesterday for 30 euros!

I also want to know wehere you found it for 30 euros :)

TeDeVPrime commented 3 weeks ago

it's on offer here in Greece for this week. i ordered two https://www.e-shop.gr/sonoff-nspanel-smart-scene-wall-switch-black-p-PER.941903

edwardtfn commented 3 weeks ago

How is the panel where you got the black screen? Flashing via ttl recovered that one?

TeDeVPrime commented 3 weeks ago

How is the panel where you got the black screen? Flashing via ttl recovered that one?

i will try it this weekend. i didn't have time to take it out because of work.

what are the latest optimal esp config that i should use in order to flash my nspanel again?

TeDeVPrime commented 2 weeks ago

How is the panel where you got the black screen? Flashing via ttl recovered that one?

ok i just managed to get it back into working again. how should i enable the bluetooth?

i have the latest TFT and version installed

edwardtfn commented 2 weeks ago

I'd like to know if the add on Bluetooth proxy works for you. That worked fine on all my tests, so I really wanna know if that is working or not. I will fully understand if you don't wanna give a try, as the chance of having to flash via TTL exists, but if you wanna try that, please let us know your results.

TeDeVPrime commented 2 weeks ago

I'd like to know if the add on Bluetooth proxy works for you. That worked fine on all my tests, so I really wanna know if that is working or not. I will fully understand if you don't wanna give a try, as the chance of having to flash via TTL exists, but if you wanna try that, please let us know your results.

well i have closed everything again so if i need to flash via ttl again i will cry, since taking the panel off is a real pain the butt. i will probably try it on another nspanel that i have. what configuration do i need to add in the esp in order for the bluetooth to work?