Can't set GPIO to LOW. After boot are all pins set to LOW but when I send any message from my Openhab
/heating/gpio/13 0
or
/heating/gpio/13 1
everytime set my board Wemos D1 on HIGH and can't set to LOW.
Where can to be problem?
Can't set GPIO to LOW.
Moderators: grovkillen, Stuntteam, TD-er
Re: Can't set GPIO to LOW.
... what's about with:
http://xxx.xxx.xxx.xxx/tools?cmd=gpio,13,1
http://xxx.xxx.xxx.xxx/tools?cmd=gpio,13,0
wich pinmode do you use?
http://xxx.xxx.xxx.xxx/hardware
only gpio13 or all pins?
test the led with
http://xxx.xxx.xxx.xxx/tools?cmd=gpio,2,0 -> on
http://xxx.xxx.xxx.xxx/tools?cmd=gpio,2,1
http://xxx.xxx.xxx.xxx/tools?cmd=gpio,13,1
http://xxx.xxx.xxx.xxx/tools?cmd=gpio,13,0
wich pinmode do you use?
http://xxx.xxx.xxx.xxx/hardware
only gpio13 or all pins?
test the led with
http://xxx.xxx.xxx.xxx/tools?cmd=gpio,2,0 -> on
http://xxx.xxx.xxx.xxx/tools?cmd=gpio,2,1
Re: Can't set GPIO to LOW.
When I setup in Hardware Pin Mode 13 to Default,after boot setup pin to LOW
When I setup in Hardware Pin Mode 13 to Output LOW,after boot setup pin to HIGH and same
When I setup in Hardware Pin Mode 13 to Output HIGH,after boot setup pin to HIGH
Led works fine ON/OFF.
ESPeasy version R120
All The pins do same.
Command output
and
Command output
When I setup in Hardware Pin Mode 13 to Output LOW,after boot setup pin to HIGH and same
When I setup in Hardware Pin Mode 13 to Output HIGH,after boot setup pin to HIGH
Led works fine ON/OFF.
ESPeasy version R120
All The pins do same.
Code: Select all
http://192.168.0.xxx/tools?cmd=gpio,13,0
Command output
Code: Select all
{
"log": "GPIO 13 Set to 0",
"plugin": 1,
"pin": 13,
"mode": "output",
"state": 0
}
Code: Select all
http://192.168.0.xxx/tools?cmd=gpio,13,1
Command output
Code: Select all
{
"log": "GPIO 13 Set to 1",
"plugin": 1,
"pin": 13,
"mode": "output",
"state": 1
}
Re: Can't set GPIO to LOW.
so you set gpio 13 low - fine 
and now with mqtt
http://x.x.x.x/tools?cmd=Publish+/name/gpio/2,1
http://x.x.x.x/tools?cmd=Publish+/name/gpio/2,0
?
Subscribe Template: /%sysname%/#
Publish Template: /%sysname%/%tskname%/%valname%
MQTT Retain Msg: enable?
what do you see at the boker?
somethink like that
pi@HomeServerPi:~ $ mosquitto_sub -v -t /#
/ETH_01/status connected
/ETH_01/gpio/5 0
/ETH_01/gpio/6 1
/ETH_01/gpio/7 0

and now with mqtt
http://x.x.x.x/tools?cmd=Publish+/name/gpio/2,1
http://x.x.x.x/tools?cmd=Publish+/name/gpio/2,0
?
Subscribe Template: /%sysname%/#
Publish Template: /%sysname%/%tskname%/%valname%
MQTT Retain Msg: enable?
what do you see at the boker?
somethink like that
pi@HomeServerPi:~ $ mosquitto_sub -v -t /#
/ETH_01/status connected
/ETH_01/gpio/5 0
/ETH_01/gpio/6 1
/ETH_01/gpio/7 0
Re: Can't set GPIO to LOW.
MQTT message work fine, but only my board don't do LOW. When I send message 1 or 0, my board do only HIGH. I can't to do LOW. On software side everything looks OK.
Re: Can't set GPIO to LOW.
maybe a stupid question but... have you setup WiFi Status Led on GPIO13 on the hardware tab???
if yes than I guess that's your problem
if yes than I guess that's your problem

My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Who is online
Users browsing this forum: Bing [Bot] and 27 guests