Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Sonoff NSPanel Flashing commands
Get Flash Size and info: flash_id
Read backup flash from esp32 with 4MB of flash size: read_flash 0x0 0x400000 nspanel.bin
Tasmota template for NSPanel:
{"NAME":"NSPanel","GPIO":[0,0,0,0,3872,0,0,0,0,0,32,0,0,0,0,225,0,480,224,1,0,0,0,33,0,0,0,0,0,0,0,0,0,0,4736,0],"FLAG":0,"BASE":1,"CMND":"ADCParam 2,64000,10000,3950 | Sleep 0 | BuzzerPWM 1"}
Copy link

mkeegan commented Mar 27, 2022

There appears to be an issue in the template that causes the temperature to report back as a negative value. I checked Blackadder's configuration and there was a difference in the ADC parameters that has fixed it:

{"NAME":"NSPanel","GPIO":[0,0,0,0,3872,0,0,0,0,0,32,0,0,0,0,225,0,480,224,1,0,0,0,33,0,0,0,0,0,0,0,0,0,0,4736,0],"FLAG":0,"BASE":1,"CMND":"ADCParam 2,11200,10000,3950 | Sleep 0 | BuzzerPWM 1"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment