Last active
December 3, 2022 12:28
-
-
Save EverythingSmartHome/33fa8b1c430a4974b323024071c65178 to your computer and use it in GitHub Desktop.
Sonoff NSPanel Flashing commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get Flash Size and info: | |
esptool.py flash_id | |
Read backup flash from esp32 with 4MB of flash size: | |
esptool.py 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"} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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"}