M0 communication to configurable-Web-Server (MQTT) Version 0.1

Dependencies:   LM75B mbed

MQTT Command

Zurück

  • blue LED_IND blinking 3 times: /?request=BlinkLed&nblink=3
  • LED_IND 2 on nodeMCU 1.0 Pin 5 (D1) - On: /?request=LedOff
  • LED_IND 2 on nodeMCU 1.0 Pin 5 (D1) - Off: /?request=LedOn

RGB on ESP-12F

  • /?ESP12F=GREEN&value=1
  • /?ESP12F=RED&value=0
  • /?ESP12F=BLUE&value=1

Replay: BLUE is now ON

  • Get LDR vaule on ESP-12F /?ESP12F=LDR

Arduino Serial

  • /?arduino=SetDigital&chan=04&state=1
  • /?arduino=GetDigital&chan=01
  • /?arduino=SendMsg&msg=TestMQTT
  • Poti-Wert: /?arduino=GetAnalog&chan=01