Search found 29 matches

by DMike92
07 Mar 2023, 16:38
Forum: ESP Easy: General Discussion
Topic: On Clock#Time=All with vars
Replies: 4
Views: 1271

Re: On Clock#Time=All with vars

I tried 8:00 : 8;01 ; 8:05 ; 8:09 and 8;10 and only the latest worked (8:10)
So, no solution/workaround?
by DMike92
01 Mar 2023, 23:31
Forum: ESP Easy: General Discussion
Topic: On Clock#Time=All with vars
Replies: 4
Views: 1271

Re: On Clock#Time=All with vars

Thank you Ath for your reply.
Unfortunately that did not solve the problem.
I have the same rule for the evening (soir) to close the blinds and
I tried hsoir=14 and mnsoir=1 but nothing happened à 14:01
by DMike92
26 Feb 2023, 17:23
Forum: ESP Easy: General Discussion
Topic: On Clock#Time=All with vars
Replies: 4
Views: 1271

On Clock#Time=All with vars

I have surprisingly found that this syntax almost works: On Clock#Time=All,[Horaires#hmat]:[Horaires#mnmat] do ... endon With Device 3 named Horaires and containing 4 variables, 2 of which being: hmat for morning hour mnmat for morning minutes The ESP8266 controls my blinds and I able to change thes...
by DMike92
05 Sep 2021, 14:26
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

YEAH ! Everithing works! Even the syntax in controller 2 (associated to Switch input) : demo.php?name=DummyContr&value=%value%&QUI=[Dummy#Qui] which send a value from another device (Dummy in this case). This is what I receive now: time= 2021:09:05|14:15 (demo.php) ; name='DummyContr' ; val...
by DMike92
05 Sep 2021, 14:06
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

You're a genius!
Thanks
Let'go for the real test;)
by DMike92
05 Sep 2021, 11:45
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

So,
I managed to use ESPEasy_normal_ESP8266_4M1M.bin
It does have the refresh interval optional now:)
But there is only 1 possible variable (I need 3)?
Did I missed something ?
by DMike92
04 Sep 2021, 17:28
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

1) Restarting Windows did not help 2) Trying https://td-er.nl/ESPEasy/ tries to connct first to the same ports than the flasher (not to 11) Workaround: I have unplgged all my other ESP a just plugged the one I'm interested in. It has taken port 7 which is ok for the flasher. Will try to install new ...
by DMike92
04 Sep 2021, 13:14
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

Hi, Trying to install ESPEasy_normal_ESP8266_4M1M.zip (unzipped of course) with ESPEasy flasher but the flasher does not detect mmy COM ports correctly. Downloaded the latest realease does not improve (0.04.007): https://pasteboard.co/Kj25srz.png https://pasteboard.co/Kj25srz.png (Sorry, dont know h...
by DMike92
04 Sep 2021, 12:23
Forum: ESP Easy: Software
Topic: Variables for use in rules??
Replies: 18
Views: 25413

Re: Variables for use in rules??

Thanks a lot Ath,
After a second reading, I get everything:)
How can I close this ?
by DMike92
19 Aug 2021, 01:13
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

Thank you Ath. See that in september :-)
by DMike92
18 Aug 2021, 18:44
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

Ok, Sorry, I didn't understood that.
Thanks a lot.
I'll make more tests on simplier configurations and updated firmware in september and let you know if it still does not work.
by DMike92
18 Aug 2021, 16:05
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

Hi, I'm using a Wemos D1 ESP8266 with ESP_Easy_mega-20190523_normal_ESP8266_4M.bin I cannot try another software for the moment but will definitly try in early september. I think that replacing [task#var] with their values in the controller string would be a major enhancement. Note that : - [Dummy#v...
by DMike92
18 Aug 2021, 15:10
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

mega-20190523
This is what I'm trying to do:

Code: Select all

demo.php?name=%sysname%&valuename=%valname%&value=%value%&myvar=[Dummy#var]
but it appears that [Dummy#var] is not replaced by any value and even the controller seems to send nothing and more over not called at all when this syntax is used.
by DMike92
18 Aug 2021, 13:11
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

Ath wrote: 18 Aug 2021, 13:05 I can do a PR, probably later today, and provide a test-build.
Thank you Ath :-)
And dou you have an opinion about my very first post (trying to use [Dummy#var] in the php string in a controller)?
by DMike92
18 Aug 2021, 12:32
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

I'd suggest to set the 'Device[n].TimerOptional = true;' option when creating a Dummy device, but setting the default Interval to the current default (in the PLUGIN_SET_DEFAULTS' event). Users will still get the same default that has been there for years, but are now able to inhibit the automatic I...
by DMike92
17 Aug 2021, 23:25
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

That "60 seconds default" is something you can set yourself by the way. ("Config" tab) Still it is rather not intuitive and I do agree that setting it to "0" for the dummy task does not make sense to have it still running every minute. I will have to think about its co...
by DMike92
17 Aug 2021, 22:47
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

OK, so the controller set with [dummy#varname] syntax is working as it should? No I did not use this syntax because that makes the controller crash (not called at least). There was just a question about Taskrun not being calling the controller. Now I can say Taskrun does fire the task AND the contr...
by DMike92
17 Aug 2021, 20:58
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

Ok. I'll wait In the mean time, I have tested the TaskRun,2 command. It does the job, calls the associated controller provided that controller is enabled. Otherwise no. I means, for a Dummy task linked to a controller that the controler wil repeatedly sends GET commands forever. Of course interval c...
by DMike92
17 Aug 2021, 16:32
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

OK, let's try to answer your questions. Under the "devices" tab (confusing I know...) are the "tasks". Thanks Each task is an instance of a "plugin". The following... You can have multiple tasks using the same plugin, so you can have multiple "dummy" tasks fo...
by DMike92
17 Aug 2021, 01:42
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

Thanks a lot!
Have a good night.
(Dont answer now;-)
by DMike92
17 Aug 2021, 01:26
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

If you want to share values among ESPeasy nodes, why don't you use the p2p controller? See: https://espeasy.readthedocs.io/en/latest/Controller/C013.html#c013-page Important things to double check when trying this: - Make sure every ESPEasy node in your network uses an unique unit number (not 0, no...
by DMike92
17 Aug 2021, 01:08
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

You have to link a task to a controller (e.g. the Generic HTTP controller you use). Sorry for my english. That what I meant when I said in my first post: " The first device calls a generic HTTP controller ." And just for clarity: Are 'tasks' are what you see in the "device" tab ...
by DMike92
16 Aug 2021, 20:41
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Re: Dummy var in Controller

If you use the default example string for this controller, does it then send what you expect? (see also the logs) demo.php?name=%sysname%&task=%tskname%&valuename=%valname%&value=%value% N.B. the max length for this formatting string is 128 characters. It should send a GET for each task...
by DMike92
16 Aug 2021, 18:06
Forum: ESP Easy: Software
Topic: Dummy var in Controller
Replies: 40
Views: 12035

Dummy var in Controller

Hi, I have 2 devices, one is a Switch input (#1) and the second is a Dummy (#2) The first device calls a generic HTTP controller. I tried to get the value of my Dummy device variable (myvar) in the controller (the first and only one) like this: demo.php?name=%sysname%&task=%tskname%&valuenam...
by DMike92
16 Aug 2021, 17:49
Forum: ESP Easy: General Discussion
Topic: HTTP get command for sensor value
Replies: 32
Views: 38010

Re: HTTP get command for sensor value

See here for a list of the commands: https://espeasy.readthedocs.io/en/latest/Reference/Command.html What do you need to get, not in JSON format? For example like this? (tasks and value numbers start counting at 0) All values of a task: http://<ip>/csv?tasknr=1 A single value of a task: http://<ip>...
by DMike92
16 Aug 2021, 15:02
Forum: ESP Easy: General Discussion
Topic: HTTP get command for sensor value
Replies: 32
Views: 38010

Re: HTTP get command for sensor value

See here for a list of the commands: https://espeasy.readthedocs.io/en/latest/Reference/Command.html What do you need to get, not in JSON format? For example like this? (tasks and value numbers start counting at 0) All values of a task: http://<ip>/csv?tasknr=1 A single value of a task: http://<ip>...
by DMike92
01 Aug 2021, 20:12
Forum: ESP Easy: Software
Topic: Variables for use in rules??
Replies: 18
Views: 25413

Re: Variables for use in rules??

In rules you can use the command let let,1,10 this will assign the value 10 to %v1%. - Is there any differences between v and var? %v1% represent [var#1]? Or [v#1]? - Does these variables must exists somehere (Devices, maybe)? - Is it possible to get the variable value with a http command (control?...
by DMike92
01 Aug 2021, 18:30
Forum: ESP Easy: Software
Topic: Variables for use in rules??
Replies: 18
Views: 25413

Re: Variables for use in rules??

Hi, I'm a bit confused. I read : In rules you can use the command let let,1,10 this will assign the value 10 to %v1%. - Is there any differences between v and var? %v1% represent [var#1]? Or [v#1]? - Does these variables must exists somehere (Devices, maybe)? - Is it possible to get the variable val...
by DMike92
28 Jul 2020, 17:44
Forum: ESP Easy: General Discussion
Topic: HTTP get command for sensor value
Replies: 32
Views: 38010

Re: HTTP get command for sensor value

Hi,
1) Is there a way to obtain the same result for 1 task without json (simplier) ?
2) Where can I find a list of such commands like json, taskrun etc.
Thanks a lot