You are reading a single comment by @Michal and its replies. Click here to read the full conversation.
  • Thanks. I will add this memory info to my log and additionally timestamp at the beginning of each line.
    Below sample curl calls (in my app I have D1 and D2 configured as relays and D5 as temperature sensor):
    1) curl -X GET http://nodemcuip -H "Content-Type: application/json"
    result:
    {"error":"","result":{"D1":0,"D2":0,"D5"­:22.75}}
    2) curl -X POST http://nodemcuip -H "Content-Type: application/json" -d '{"D1":"1", "D2": "0"}'
    turns on D1 relay and turns off D2 relay.

About

Avatar for Michal @Michal started