timer event unreliable / irregular working

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

timer event unreliable / irregular working

#1 Post by riker1 » 25 Oct 2018, 09:50

Hi

try to do an easy gpio on off timer event.

Code: Select all

http://192.168.0.147/control?cmd=event,timerstart
but it is not ending, gpio is on but timer is not stoping.


Code: Select all

On timerstart do 
  timerSet,1,3 //timer 1 wird fr 3 Sekunden gesetzt
  gpio,5,1 //GPIO aktiv schalten
endon
 

On Rules#Timer=1 do 
   gpio,5,0
#  timerSet,1,0 //timer 1 wird auf 0 Sekunden gesetzt 
endon

On timerstop do 
#  timerSet,1,0 //timer 1 wird auf 0 Sekunden gesetzt  
   gpio,2,0 //test
endOn


is there a difference starting it within tool website command send

or http request?

Code: Select all

http://192.168.0.147/control?cmd=event,timerstart
]
this event request is not executed via http call:

Code: Select all

http://192.168.0.147/control?cmd=event,timerstart
but in website it is maonly working.

in all it is very unreliable

any http header required?

device is: wemos Mini

Code: Select all

Unit:	147
GIT version:	mega-20180826
Local Time:	2018-10-25 08:29:52
Uptime:	0 days 0 hours 3 minutes
Load:	15.60% (LC=18755)
Free Mem:	18320 (17320 - sendContentBlocking)
IP:	192.168.0.147
Wifi RSSI:	-83 dB



thanks for hints

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

Re: timer event unreliable / irregular working

#2 Post by grovkillen » 25 Oct 2018, 10:01

Today's release is the closest thing to a proper official stable we've ever had. Update your unit and test.

PS, why do you have hashtags in the rules?
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:

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: timer event unreliable / irregular working

#3 Post by riker1 » 25 Oct 2018, 11:14

ok thanks
will try new release

is it working on an esp01?

# removed them from the rule

will update later

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

Re: timer event unreliable / irregular working

#4 Post by grovkillen » 25 Oct 2018, 14:16

Use // to comment out code.

The release work just fine with the ESP-01 but OTA do not work with 1MB memory.
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 18 guests