it instantly checked github,yml020 wrote: ... to get hold of a R104 binary,
https://github.com/ESP8266nu/ESPEasy/bl ... eNotes.ino
but only found r103 at the moment. may a typo?
but r103 will get you going too...
Moderators: grovkillen, Stuntteam, TD-er
it instantly checked github,yml020 wrote: ... to get hold of a R104 binary,
Creating events from within the rules section creates recursive calls to the engine. Actually not tested/supported but it could work. Current version could become unstable due to high RAM usage when the engine calls itself.andy wrote: Booleans do not work, so just set up enough rules. Also, you may want to define on and off events, then call them with rules:Code: Select all
On thermon do mcpgpio,23,1 gpio,0,1 endon On thermoff do mcpgpio,23,0 gpio,0,0 endon on temp1#Temperature<38 do if [occupied#Output]=1 event,thermon endon
no. i uploaded a binary.yml020 wrote:Is it correct that it wants to download an .EXE file that must be run first?? Looks like to install a download manager ?!?!
My anti virus app (that I cannot switch off) the goes mad showing all sorts of bugs.
That's good to know, thanks.Martinus wrote:Creating events from within the rules section creates recursive calls to the engine. Actually not tested/supported but it could work. Current version could become unstable due to high RAM usage when the engine calls itself.andy wrote: Booleans do not work, so just set up enough rules. Also, you may want to define on and off events, then call them with rules:Code: Select all
On thermon do mcpgpio,23,1 gpio,0,1 endon On thermoff do mcpgpio,23,0 gpio,0,0 endon on temp1#Temperature<38 do if [occupied#Output]=1 event,thermon endon
I've made some changes here and R104 should handle recursive calls better than earlier versions. It will also protect against loop conditions that would otherwise crash the system.
No, you have caught a bug (every event name ending with 'on ' would not process at all)andy wrote:Interestingly, Pon wouldn't work, so I had to change it to Ponn. Maybe Pon is a reserved variable name?
Thank you very much tozett, but there is a member that contacted me on mail and uploaded a R104 for me. I have downloaded it and will test it later. I need to prepare a new device first.tozett wrote:no. i uploaded a binary.yml020 wrote:Is it correct that it wants to download an .EXE file that must be run first?? Looks like to install a download manager ?!?!
My anti virus app (that I cannot switch off) the goes mad showing all sorts of bugs.
where to put?
(google gives a lot of options, but whom will you trust ...)
i can make a md5 hash, if you want...
did you tried this, if it works? (will build something similar myself..)grz3 wrote:any chance to use something like this?
to compare PN532 tags?
Code: Select all
on pn532#tag do if [pn532#tag]="4034998235" // correct tag gpio,15,1 //green led - ok timerSet,1,1 else gpio,13,1 //red led - stop timerSet,1,1 endif endon on Rules#timer=1 do gpio,15,0 gpio,13,0 endon
tried, but not working, the quotes are kind of problem I think.. that is why I put this question here to anybody willing to help me...tozett wrote:did you tried this, if it works? (will build something similar myself..)grz3 wrote:any chance to use something like this?
to compare PN532 tags?
Code: Select all
on pn532#tag do if [pn532#tag]="4034998235" // correct tag gpio,15,1 //green led - ok timerSet,1,1 else gpio,13,1 //red led - stop timerSet,1,1 endif endon on Rules#timer=1 do gpio,15,0 gpio,13,0 endon
looks to me, if it is normal like other comparison...
ohh.... thanks!iron wrote:The "not so obvious" part is that you have to declare that gpio as an input switch.
Check this thread :
http://www.esp8266.nu/forum/viewtopic.php?f=6&t=2039
Code: Select all
on preheatOn do
GPIO,4,1
inputswitchstate 0,1
endon
on preheatOff do
GPIO,4,0
inputswitchstate 0,0
endon
on preheat20 do
timerSet 1,1200 //20 minutes timer
event,preheatOn
endon
on Rules#Timer=1 do
event,preheatOff
endon
Code: Select all
On sensorname#valuename do
If [sensorname#valuname] > 30
Gpio 12,1
Else
Gpio 12,0
Endif
Endon
Users browsing this forum: No registered users and 152 guests