%eventvalue% does not give value

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Soundstorm
New user
Posts: 6
Joined: 26 Jan 2019, 17:17

%eventvalue% does not give value

#1 Post by Soundstorm » 26 Jan 2019, 17:27

Hi guys

I'm trying to transfer a value through an HTTP event, but I can't seem to get it working. Went back to a clean install just to make sure I did nothing wrong, but still the same issue.

Just using the rule from the example, I get the following:

Code: Select all

 on remoteTimerControl do
   timerSet,1,%eventvalue%
 endon 

Code: Select all

http://192.168.1.82/control?cmd=event,remoteTimerControl=5

Code: Select all

705880 : EVENT: remoteTimerControl=5
705883 : ACT : timerSet,1,%eventvalue%
706337 : EVENT: Rules#Timer=1
Why isn't the 5 transferred to the Timer?

Im running build 120

Code: Select all

Build:	120
Core Version:	2_3_0
Hardware is a Wemos D1 Mini

How can I get this working?
Thanks!

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

Re: %eventvalue% does not give value

#2 Post by grovkillen » 26 Jan 2019, 17:51

I'm not sure that the event value is available in that old version.
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:

Soundstorm
New user
Posts: 6
Joined: 26 Jan 2019, 17:17

Re: %eventvalue% does not give value

#3 Post by Soundstorm » 26 Jan 2019, 17:54

I don't mind using a newer version if that is the issue, but I can't seem to find a version that works.

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

Re: %eventvalue% does not give value

#4 Post by grovkillen » 26 Jan 2019, 17:56

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:

Soundstorm
New user
Posts: 6
Joined: 26 Jan 2019, 17:17

Re: %eventvalue% does not give value

#5 Post by Soundstorm » 26 Jan 2019, 18:13

Yes, tried a couple of them (did a full erase in between). Don't start as AP, so I can't configure them.
LED stays on most of the time.

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

Re: %eventvalue% does not give value

#6 Post by grovkillen » 26 Jan 2019, 19:50

What type of unit are you flashing?
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:

Soundstorm
New user
Posts: 6
Joined: 26 Jan 2019, 17:17

Re: %eventvalue% does not give value

#7 Post by Soundstorm » 27 Jan 2019, 09:45

Got it working with mega-20190116 and the espeasyflasher instead of the espresif one.
%eventvalue% works now!

Thanks for pointing out it was a version related issue! Just a bit strange this is not mentioned in the documentation, as Build 120 is the latest stable version according to it.

Cheers

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

Re: %eventvalue% does not give value

#8 Post by grovkillen » 27 Jan 2019, 11:48

Soundstorm wrote: 27 Jan 2019, 09:45 Got it working with mega-20190116 and the espeasyflasher instead of the espresif one.
%eventvalue% works now!

Thanks for pointing out it was a version related issue! Just a bit strange this is not mentioned in the documentation, as Build 120 is the latest stable version according to it.

Cheers
I know, it's the current/official stable version. But we are releasing the brand new version soon. But we're doing a lot of development in the background that we want to have in place for the release. I'm the one responsible for the documentation but haven't had time for a couple of weeks (I'm doing consulting for an income until this brings us a steady income)
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:

Soundstorm
New user
Posts: 6
Joined: 26 Jan 2019, 17:17

Re: %eventvalue% does not give value

#9 Post by Soundstorm » 27 Jan 2019, 13:15

No problem. Just a bit confusing when you just start out with espeasy, and the first thing you try doesn't work.

Thanks a lot. Keep up to good work!

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests