Solved:
Topic is "/esp01/gpio/16"
Not "esp01/gpio/16"
Notice the extra / at the start.
Search found 6 matches
- 14 Jun 2018, 03:53
- Forum: ESP Easy: General Discussion
- Topic: Help a noob , basic MQTT & switch setup (SOLVED)
- Replies: 4
- Views: 4376
- 14 Jun 2018, 02:56
- Forum: ESP Easy: Projects / Applications
- Topic: Wifi Candle - illuminate with ESPEasy (WS2812)
- Replies: 94
- Views: 156146
Re: Wifi Candle - illuminate with ESPEasy (WS2812)
Can someone tell me how to issue mqtt commands to espeasy using openhab protocol. Device name = esp01 Subscribe template = /%sysname%/ Task -> Device: switch Task -> Device name: led Task -> Device GPIO: 14 Task -> Device optional name: switch http://192.168.178.100/control?cmd=GPIO,14,0 and http://...
- 14 Jun 2018, 02:29
- Forum: ESP Easy: General Discussion
- Topic: Help a noob , basic MQTT & switch setup (SOLVED)
- Replies: 4
- Views: 4376
Re: Help a noob , basic MQTT & switch setup
http://192.168.178.100/control?cmd=GPIO,16,1 http://192.168.178.100/control?cmd=GPIO,16,0 { "log": "GPIO 16 Set to 1", "plugin": 1, "pin": 16, "mode": "output", "state": 1 } Is working to control the LED, but I can't get the MQTT ...
- 14 Jun 2018, 01:56
- Forum: ESP Easy: General Discussion
- Topic: Help a noob , basic MQTT & switch setup (SOLVED)
- Replies: 4
- Views: 4376
Re: Help a noob , basic MQTT & switch setup
If I want to connect an LED to the nodemcu do I wire it up like follows: GPIO16 -> Resister -> LED -> GND What are the correct settings?: Config -> Main Settings -> Name: esp01 Advanced Settings -> Subscribe template: /%sysname%/# Advanced Settings -> Publish template: /%sysname%/%tskname%/%valname%...
- 14 Jun 2018, 01:45
- Forum: ESP Easy: General Discussion
- Topic: Help a noob , basic MQTT & switch setup (SOLVED)
- Replies: 4
- Views: 4376
Re: Help a noob , basic MQTT & switch setup
I found an answer to my question: MQTT-Spy (Java App) can subscribe and spy on all topics.
When I short GPIO 16 to GND I get
- Topic: esp01/led/switch
- Content: 1
and when it's unshorted I get
- Topic: esp01/led/switch
- Content: 0
When I short GPIO 16 to GND I get
- Topic: esp01/led/switch
- Content: 1
and when it's unshorted I get
- Topic: esp01/led/switch
- Content: 0
- 14 Jun 2018, 01:36
- Forum: ESP Easy: General Discussion
- Topic: Help a noob , basic MQTT & switch setup (SOLVED)
- Replies: 4
- Views: 4376
Help a noob , basic MQTT & switch setup (SOLVED)
Hi I have a nodemcu esp12n flashed with build 120 of espeasy. It is connected to my wifi and is connecting to my mqtt broker (i use hassio). I'm not sure if the device is functioning correctly... I have been unable to figure out the default mqtt topics, as every guide I read has different mqtt topic...