Possible to set GPIO after successful sending?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
zocker
New user
Posts: 1
Joined: 13 Sep 2017, 19:20

Possible to set GPIO after successful sending?

#1 Post by zocker » 13 Sep 2017, 19:33

Hi to the forum,

i have a question on using the rules engine:

I'am reading a DHT22 sensor with my esp module using espeasy.
I configured espeasy to send the readings via HTTP to my server using the FHEM HTTP protocol.
This works fine ... no problem at all.

But i like to set a GPIO after successful sending the reading.

Is there a way to to this? Perhaps with a rule?
Exist a trigger event i can catch in the rule engine after the reading is sent?

Thx for your help.
Cheers Markus

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Possible to set GPIO after successful sending?

#2 Post by grovkillen » 13 Sep 2017, 19:58

I'm not sure I understand you correctly but if I do:

You will have to make the rule do all the publishing and then add a GPIO command after the publish. There's no trigger by default.

You can see this example here: https://www.letscontrolit.com/wiki/inde ... th_own_IDX

After the publish/sendtohttp you do a "gpio" set.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests