Page 1 of 1

Can Domoticz ask a ESPeasy device of a GPIO state?

Posted: Sunday 29 November 2015 12:05
by Docc
I am doing some testing with the ESP8266 module and ESPeasy and it works very well.
But I can't find a way to ask for the state of an IO pin.
Is there any way of doing that?
I'm not sure this is implemented in the ESPeasy protocol and I should probably ask this question on the ESPeasy forum, but I'm having problems registering a new user there, so I thought I'd ask hear.

Re: Can Domoticz ask a ESPeasy device of a GPIO state?

Posted: Sunday 29 November 2015 17:42
by gizmocuz
i think it should be the other way around, the sensor should send its state to domoticz when it is on or off

Re: Can Domoticz ask a ESPeasy device of a GPIO state?

Posted: Sunday 29 November 2015 17:48
by Docc
gizmocuz wrote:i think it should be the other way around, the sensor should send its state to domoticz when it is on or off
Yes it does that, but I'd like a way to ask for it from Domoticz to make sure Domoticz is in sync with the devices.

Re: Can Domoticz ask a ESPeasy device of a GPIO state?

Posted: Monday 28 March 2016 20:31
by franckrem
Hey docc, did you found a way to ask gpio state in domoticz?

Re: Can Domoticz ask a ESPeasy device of a GPIO state?

Posted: Saturday 09 April 2016 16:29
by Number8
I would send in bash

Code: Select all

gpio read <pin number>

Re: Can Domoticz ask a ESPeasy device of a GPIO state?

Posted: Thursday 11 August 2016 12:47
by xbmcnut
Did you get this resolved as there is a way to query a GPIO on ESPEasy?