-
-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug
Panel firmware reverting to initial firmware
#2435
Comments
Build logs.
|
The bootloader keeps 2 copies of the firmware, but should always boot from the latest, which looks to be failing in some cases on your panels. |
Anyways, if flashing via serial is an option, that will clean up everything. |
Thanks for the reply. I have not tried to change the framework. The strange thing is that it happens to all the same NSPANEL each time while all other are ok. |
This just happened me, had them programmed and setup and left them aside for the electrician to install, when they were installed they are back on base firmware and wont connect to wifi. Will try reflashing |
They do present with the correct names with wifi hotspots enabled but I didnt set a password for that and it looks for one. Is there a default wifi hotspot password. |
By default this is your Wi-Fi password. |
Alas no, thats not working. |
Since the early days of this project, way before I start playing with it, the substitution
NSPanel_HA_Blueprint/esphome/nspanel_esphome_core.yaml Lines 121 to 140 in 0c0be2d
NSPanel_HA_Blueprint/esphome/nspanel_esphome_advanced.yaml Lines 14 to 15 in 0c0be2d
NSPanel_HA_Blueprint/esphome/nspanel_esphome_advanced.yaml Lines 105 to 115 in 0c0be2d
Users can easily change that, of course. So, either you have a device with an older Wi-Fi password set, or a device with an incorrect Wi-Fi password set, or a user defined password or even another firmware not related to this project. |
TFT Version
4.3.12
Firmware Version
2024.10.3
Blueprint Version
4.3.12
Panel Model
US
What is the bug?
Issue happens on half of my NSPANEL (seems to be my second batch). The firmware on the NSPANEL seems to revert to the initial build ESPHome version 2023.11.2 compiled on Nov 18 2023, 19:10:32 after the following conditions:
I am seeing this behaviour on 4 of my NSPANEL and I can't find a solution as this problem comes back every time I upgrade the Panel and the TFT. I don't know why the 2023.11.2 stays there.
Steps to Reproduce
No response
Your Panel's YAML
No response
ESPHome Logs
INFO ESPHome 2024.11.3
INFO Reading configuration /config/esphome/nspanelsdb1.yaml...
INFO Updating https://github.com/Blackymas/NSPanel_HA_Blueprint@v4.3.12
INFO Detected timezone 'America/Toronto'
INFO Starting log output from 192.168.13.119 using esphome API
INFO Successfully connected to nspanelsdb1 @ 192.168.13.119 in 0.126s
INFO Successful handshake with nspanelsdb1 @ 192.168.13.119 in 0.024s
[11:43:26][I][app:102]: ESPHome version 2023.11.2 compiled on Nov 18 2023, 19:10:32
[11:43:26][C][wifi:559]: WiFi:
[11:43:26][C][wifi:391]: Local MAC: C0:49:EF:D1:E9:60
[11:43:26][C][wifi:396]: SSID: 'fred-iot'[redacted]
[11:43:26][C][wifi:397]: IP Address: 192.168.13.119
[11:43:26][C][wifi:399]: BSSID: 8A:2A:A8:54:AD:96[redacted]
[11:43:26][C][wifi:400]: Hostname: 'nspanelsdb1'
[11:43:26][C][wifi:402]: Signal strength: -52 dB ▂▄▆█
[11:43:26][C][wifi:406]: Channel: 1
[11:43:26][C][wifi:407]: Subnet: 255.255.254.0
[11:43:26][C][wifi:408]: Gateway: 192.168.12.1
[11:43:26][C][wifi:409]: DNS1: 192.168.12.1
[11:43:26][C][wifi:410]: DNS2: 0.0.0.0
[11:43:26][C][logger:416]: Logger:
[11:43:26][C][logger:417]: Level: DEBUG
[11:43:26][C][logger:418]: Log Baud Rate: 0
[11:43:26][C][logger:420]: Hardware UART: UART0
[11:43:26][C][uart.arduino_esp32:124]: UART Bus 0:
[11:43:26][C][uart.arduino_esp32:125]: TX Pin: GPIO16
[11:43:26][C][uart.arduino_esp32:126]: RX Pin: GPIO17
[11:43:26][C][uart.arduino_esp32:128]: RX Buffer Size: 256
[11:43:26][C][uart.arduino_esp32:130]: Baud Rate: 115200 baud
[11:43:26][C][uart.arduino_esp32:131]: Data Bits: 8
[11:43:26][C][uart.arduino_esp32:132]: Parity: NONE
[11:43:26][C][uart.arduino_esp32:133]: Stop bits: 1
[11:43:26][C][ledc.output:164]: LEDC Output:
[11:43:26][C][ledc.output:165]: Pin GPIO21
[11:43:26][C][ledc.output:166]: LEDC Channel: 0
[11:43:26][C][ledc.output:167]: PWM Frequency: 1000.0 Hz
[11:43:26][C][ledc.output:168]: Bit depth: 16
[11:43:26][C][template.binary_sensor:028]: Template Binary Sensor 'nspanelsdb1 Nextion display'
[11:43:26][C][template.binary_sensor:028]: Device Class: 'connectivity'
[11:43:26][C][template.number:050]: Template Number 'nspanelsdb1 Display Brightness'
[11:43:26][C][template.number:050]: Unit of Measurement: '%'
[11:43:26][C][template.number:051]: Optimistic: YES
[11:43:26][C][template.number:052]: Update Interval: 60.0s
[11:43:26][C][template.number:050]: Template Number 'nspanelsdb1 Display Brightness Dimdown'
[11:43:26][C][template.number:050]: Unit of Measurement: '%'
[11:43:26][C][template.number:051]: Optimistic: YES
[11:43:26][C][template.number:052]: Update Interval: 60.0s
[11:43:26][C][template.number:050]: Template Number 'nspanelsdb1 Temperature Correction'
[11:43:26][C][template.number:050]: Unit of Measurement: '°C'
[11:43:26][C][template.number:051]: Optimistic: YES
[11:43:26][C][template.number:052]: Update Interval: 60.0s
[11:43:27][C][template.number:050]: Template Number 'nspanelsdb1 Timeout Page'
[11:43:27][C][template.number:050]: Icon: 'mdi:timer'
[11:43:27][C][template.number:050]: Unit of Measurement: 's'
[11:43:27][C][template.number:051]: Optimistic: YES
[11:43:27][C][template.number:052]: Update Interval: 60.0s
[11:43:27][C][template.number:050]: Template Number 'nspanelsdb1 Timeout Dimming'
[11:43:27][C][template.number:050]: Icon: 'mdi:timer'
[11:43:27][C][template.number:050]: Unit of Measurement: 's'
[11:43:27][C][template.number:051]: Optimistic: YES
[11:43:27][C][template.number:052]: Update Interval: 60.0s
[11:43:27][C][template.number:050]: Template Number 'nspanelsdb1 Timeout Sleep'
[11:43:27][C][template.number:050]: Icon: 'mdi:timer'
[11:43:27][C][template.number:050]: Unit of Measurement: 's'
[11:43:27][C][template.number:051]: Optimistic: YES
[11:43:27][C][template.number:052]: Update Interval: 60.0s
[11:43:27][C][template.select:065]: Template Select 'nspanelsdb1 Wake-up page'
[11:43:27][C][template.select:065]: Icon: 'mdi:page-next-outline'
[11:43:27][C][template.select:066]: Update Interval: 60.0s
[11:43:27][C][template.select:069]: Optimistic: YES
[11:43:27][C][template.select:070]: Initial Option: home
[11:43:27][C][template.select:071]: Restore Value: YES
[11:43:27][C][switch.gpio:068]: GPIO Switch 'nspanelsdb1 Screen Power'
[11:43:27][C][switch.gpio:091]: Restore Mode: always ON
[11:43:27][C][switch.gpio:031]: Pin: GPIO4
[11:43:27][C][template.text_sensor:020]: Template Sensor 'nspanelsdb1 Detailed Entity'
[11:43:27][C][template.text_sensor:020]: Icon: 'mdi:tablet-dashboard'
[11:43:27][C][template.text_sensor:020]: Template Sensor 'nspanelsdb1 Notification Label'
[11:43:27][C][template.text_sensor:020]: Template Sensor 'nspanelsdb1 Notification Text'
[11:43:27][C][switch.gpio:068]: GPIO Switch 'nspanelsdb1 Relay 1'
[11:43:27][C][switch.gpio:091]: Restore Mode: restore defaults to OFF
[11:43:27][C][switch.gpio:031]: Pin: GPIO22
[11:43:27][C][switch.gpio:068]: GPIO Switch 'nspanelsdb1 Relay 2'
[11:43:27][C][switch.gpio:091]: Restore Mode: restore defaults to OFF
[11:43:27][C][switch.gpio:031]: Pin: GPIO19
[11:43:27][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'nspanelsdb1 Left Button'
[11:43:27][C][gpio.binary_sensor:016]: Pin: GPIO14
[11:43:27][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'nspanelsdb1 Right Button'
[11:43:27][C][gpio.binary_sensor:016]: Pin: GPIO27
[11:43:27][C][template.switch:068]: Template Switch 'nspanelsdb1 Notification sound'
[11:43:27][C][template.switch:091]: Restore Mode: restore defaults to OFF
[11:43:27][C][template.switch:057]: Optimistic: YES
[11:43:27][C][template.switch:068]: Template Switch 'nspanelsdb1 Relay 1 Local'
[11:43:27][C][template.switch:091]: Restore Mode: restore defaults to OFF
[11:43:27][C][template.switch:057]: Optimistic: YES
[11:43:27][C][template.switch:068]: Template Switch 'nspanelsdb1 Relay 2 Local'
[11:43:27][C][template.switch:091]: Restore Mode: restore defaults to OFF
[11:43:27][C][template.switch:057]: Optimistic: YES
[11:43:27][C][template.switch:068]: Template Switch 'nspanelsdb1 Notification unread'
[11:43:27][C][template.switch:091]: Restore Mode: always OFF
[11:43:27][C][template.switch:057]: Optimistic: YES
[11:43:27][C][rtttl:029]: Rtttl
[11:43:27][C][nextion:123]: Nextion:
[11:43:27][C][nextion:124]: Device Model: NX4832F035_011C
[11:43:27][C][nextion:125]: Firmware Version: 110
[11:43:27][C][nextion:126]: Serial Number: FF8B340182143961
[11:43:27][C][nextion:127]: Flash Size: 16777216
[11:43:27][C][nextion:128]: Wake On Touch: True
[11:43:27][C][nextion:139]: Start Up Page : 8
[11:43:27][C][restart.button:017]: Restart Button 'nspanelsdb1 Restart'
[11:43:27][C][adc:097]: ADC Sensor 'ntc_source'
[11:43:27][C][adc:097]: Device Class: 'voltage'
[11:43:27][C][adc:097]: State Class: 'measurement'
[11:43:27][C][adc:097]: Unit of Measurement: 'V'
[11:43:27][C][adc:097]: Accuracy Decimals: 2
[11:43:27][C][adc:107]: Pin: GPIO38
[11:43:27][C][adc:122]: Attenuation: 11db
[11:43:27][C][adc:142]: Update Interval: 60.0s
[11:43:27][C][resistance:010]: Resistance Sensor 'resistance_sensor'
[11:43:27][C][resistance:010]: State Class: 'measurement'
[11:43:27][C][resistance:010]: Unit of Measurement: 'Ω'
[11:43:27][C][resistance:010]: Accuracy Decimals: 1
[11:43:27][C][resistance:010]: Icon: 'mdi:flash'
[11:43:27][C][resistance:011]: Configuration: DOWNSTREAM
[11:43:27][C][resistance:012]: Resistor: 11200.00Ω
[11:43:27][C][resistance:013]: Reference Voltage: 3.3V
[11:43:28][C][ntc:014]: NTC Sensor 'nspanelsdb1 Temperature'
[11:43:28][C][ntc:014]: Device Class: 'temperature'
[11:43:28][C][ntc:014]: State Class: 'measurement'
[11:43:28][C][ntc:014]: Unit of Measurement: '°C'
[11:43:28][C][ntc:014]: Accuracy Decimals: 1
[11:43:28][C][homeassistant.time:010]: Home Assistant Time:
[11:43:28][C][homeassistant.time:011]: Timezone: 'EST5EDT,M3.2.0,M11.1.0'
[11:43:28][C][status:034]: Status Binary Sensor 'nspanelsdb1 Status'
[11:43:28][C][status:034]: Device Class: 'connectivity'
[11:43:28][D][sensor:094]: 'ntc_source': Sending state 1.75100 V with 2 decimals of accuracy
[11:43:28][D][resistance:039]: 'resistance_sensor' - Resistance 12660.6Ω
[11:43:28][D][sensor:094]: 'resistance_sensor': Sending state 12660.55664 Ω with 1 decimals of accuracy
[11:43:28][D][ntc:026]: 'nspanelsdb1 Temperature' - Temperature: 19.8°C
[11:43:28][D][sensor:094]: 'nspanelsdb1 Temperature': Sending state 19.78388 °C with 1 decimals of accuracy
[11:43:28][C][mdns:115]: mDNS:
[11:43:28][C][mdns:116]: Hostname: nspanelsdb1
[11:43:28][C][ota:097]: Over-The-Air Updates:
[11:43:28][C][ota:098]: Address: nspanelsdb1.local:3232
[11:43:28][C][ota:101]: Using Password.
[11:43:28][C][api:139]: API Server:
[11:43:28][C][api:140]: Address: nspanelsdb1.local:6053
[11:43:28][C][api:144]: Using noise encryption: NO
Home Assistant Logs
No response
The text was updated successfully, but these errors were encountered: