Can Domoticz ask a ESPeasy device of a GPIO state?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Docc
Posts: 22
Joined: Saturday 02 May 2015 8:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Sweden
Contact:

Can Domoticz ask a ESPeasy device of a GPIO state?

Post 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.
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post 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
Quality outlives Quantity!
Docc
Posts: 22
Joined: Saturday 02 May 2015 8:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Sweden
Contact:

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

Post 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.
franckrem
Posts: 3
Joined: Wednesday 16 March 2016 13:47
Target OS: Windows
Domoticz version:
Contact:

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

Post by franckrem »

Hey docc, did you found a way to ask gpio state in domoticz?
Number8
Posts: 374
Joined: Friday 23 May 2014 7:55
Target OS: Linux
Domoticz version: 2022.1
Location: Saint Pierre de Jards
Contact:

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

Post by Number8 »

I would send in bash

Code: Select all

gpio read <pin number>
Debian buster on NUC and three RPi with buster.
xbmcnut
Posts: 1
Joined: Thursday 27 March 2014 3:38
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by xbmcnut »

Did you get this resolved as there is a way to query a GPIO on ESPEasy?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest