Question about Status

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
hans65
Normal user
Posts: 38
Joined: 19 Mar 2018, 17:01

Question about Status

#1 Post by hans65 » 04 Apr 2018, 10:53

In the log file I see the status of my switch device changes ever second, is this normal?
Attachments
switch state.jpg
switch state.jpg (113.07 KiB) Viewed 4412 times

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

Re: Question about Status

#2 Post by grovkillen » 04 Apr 2018, 11:56

No not normal. Can you measure the GPIO and see if it's not quite high enough voltage wise making it jump like that?
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:

hans65
Normal user
Posts: 38
Joined: 19 Mar 2018, 17:01

Re: Question about Status

#3 Post by hans65 » 04 Apr 2018, 15:10

Sorry but I don't have necessary tools to measure GPIO. I think with the previous firmware I did not have had this problem.
Currently I'm on 20180306

AndrewJ
Normal user
Posts: 229
Joined: 14 Feb 2017, 12:38

Re: Question about Status

#4 Post by AndrewJ » 04 Apr 2018, 16:41

I'm not certain, but the use of "Switch" for both the task and the value may be causing problems.
You could try changing them to see if it helps.

hans65
Normal user
Posts: 38
Joined: 19 Mar 2018, 17:01

Re: Question about Status

#5 Post by hans65 » 04 Apr 2018, 17:18

AndrewJ you are a genius, it works thanks

AndrewJ
Normal user
Posts: 229
Joined: 14 Feb 2017, 12:38

Re: Question about Status

#6 Post by AndrewJ » 04 Apr 2018, 21:20

Glad to be of help!

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

Re: Question about Status

#7 Post by grovkillen » 04 Apr 2018, 22:20

Good spotted!
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 19 guests