%eventvalue%

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
uxhamby
Normal user
Posts: 84
Joined: 29 Dec 2016, 18:13
Location: Toronto Canada

%eventvalue%

#1 Post by uxhamby » 11 Dec 2020, 19:16

OK, I am playing with an esp01 running espeasy v R120.

I read on, what I believe to be, the version appropriate rules tutorial page about %eventvalue%.

I have set up a simple set of rules as follows:
on remoteTimerControl do
gpio,0,0
gpio,2,1
timerSet,1,%eventvalue%
endon

on Rules#Timer=1 do
gpio,0,1
gpio,2,0
endon
gpio 0 and 2 have leds on them

As per the rules tutorial page I am sending

esp17.lan/control?cmd=event,remoteTimerControl=5

via http.

I see the leds change as I would expect but the timing seems off, so I retry wiht other values

esp17.lan/control?cmd=event,remoteTimerControl=50
esp17.lan/control?cmd=event,remoteTimerControl=1000

timing seems not to change proportional to eventvalue and is highly variable regardless of the eventvalue value sent.

Where am I going wrong?

Thanks,

Brian H.
Uxbridge Ont

mrwee
Normal user
Posts: 193
Joined: 31 Aug 2016, 12:52

Re: %eventvalue%

#2 Post by mrwee » 11 Dec 2020, 19:40

Please also read that R120 is waay to old. You should retest with a more recent version. Much good have happened since R120 😀

TD-er
Core team member
Posts: 4277
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: %eventvalue%

#3 Post by TD-er » 11 Dec 2020, 19:56

See this for more recent versions:
https://github.com/letscontrolit/ESPEasy/releases

And where did you find a link to R120?

User avatar
uxhamby
Normal user
Posts: 84
Joined: 29 Dec 2016, 18:13
Location: Toronto Canada

Re: %eventvalue%

#4 Post by uxhamby » 11 Dec 2020, 20:11

This is only a 1M esp01 version of the hardware. Do up to date revisions of espeasy fit on such a device?

TD-er
Core team member
Posts: 4277
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: %eventvalue%

#5 Post by TD-er » 11 Dec 2020, 20:12

They do fit, but you may not be able to perform an OTA update.

User avatar
uxhamby
Normal user
Posts: 84
Joined: 29 Dec 2016, 18:13
Location: Toronto Canada

Re: %eventvalue%

#6 Post by uxhamby » 12 Dec 2020, 20:08

Yup, that's fixed it, thanks.

Wiki
Normal user
Posts: 316
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: %eventvalue%

#7 Post by Wiki » 12 Dec 2020, 23:08

[OT On]
Voyager?
[/OT Off]

Code: Select all

pi@raspberrypi:~ $ man woman
Kein Handbucheintrag für woman vorhanden
pi@raspberrypi:~ $

TD-er
Core team member
Posts: 4277
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: %eventvalue%

#8 Post by TD-er » 12 Dec 2020, 23:22

Wiki wrote: 12 Dec 2020, 23:08 [OT On]
Voyager?
[/OT Off]
Delta quadrant?
I don't get it...

Wiki
Normal user
Posts: 316
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: %eventvalue%

#9 Post by Wiki » 15 Dec 2020, 21:05

TD-er wrote: 12 Dec 2020, 23:22
Wiki wrote: 12 Dec 2020, 23:08 [OT On]
Voyager?
[/OT Off]
Delta quadrant?
I don't get it...
Totally Off Topic, no relation to ESPEasy or the topic itself. Maybe uxhamby may understand.

Code: Select all

pi@raspberrypi:~ $ man woman
Kein Handbucheintrag für woman vorhanden
pi@raspberrypi:~ $

User avatar
uxhamby
Normal user
Posts: 84
Joined: 29 Dec 2016, 18:13
Location: Toronto Canada

Re: %eventvalue%

#10 Post by uxhamby » 02 Jan 2021, 21:27

OT on
'84 Venture
/OT off

Post Reply

Who is online

Users browsing this forum: No registered users and 41 guests