. Here's what I did to turn the onboard LED (GPIO2) off and on:
20:36:02 CMND: Ledstate
20:36:02 RSLT: RESULT = {"LedState":1}
20:36:54 CMND: LedPower
20:36:54 RSLT: RESULT = {"LedPower":"OFF"}
20:37:08 CMND: LedPower 1
20:37:08 RSLT: RESULT = {"LedPower":"ON"}
20:37:44 CMND: LedPower 0
20:37:44 RSLT: RESULT = {"LedPower":"OFF"}
(Note that on the WeMos D1, LedPower:OFF is the state where the LED is energized (glows))
If LedState were not already set to 1, I would have preceded the OFF/ON commands with an "LedState 1" command.
I'm loving this project!