Typo .. must be inputswitchstate
Install APP "EspTouch_Demo" android version to configure wifi account and password for ESP-01 module on the first time of mode 2
Sounds like a dead board, ... a dead battery, ...polarity reversal .....LED is red, but the charging voltage for the battery is (a too low) 0.45V.
is not THE solution.I disconnected the 5V connection and used a 3.3V regulator LM1117T-3.3 with 800mA specification. Thus by-passing the on-board regulator.
https://espeasy.readthedocs.io/en/lates ... hlight=pwmPWM,<GPIO>,<duty>,<duration>,<frequency>
My experience is that long press is more robust.