Hello, ESP Easy experts,
I've recently been getting my house a little smarter. I've been flashing some Sonoff units with Tasmota. And since about 2 weeks I'm using
ESPEASY (Vers.:Mega-20191208) file: [ESP_Easy_mega-20191208_normal_ESP8266_4M1M.bin] flashed on a NodeMCU board.
So far it all works.
Only with Device the switch "Enabled" deactivates itself automatically after a few days. I use a HALL sensor for a project "Gasmeter".
This was selected as "Generic - Pulse counter".
If enabled is active, then the counter counts correctly. As soon as the enabled switch is deactivated, there are problems. And therefore the gas meter is not correct.
If I set enabled active and then press submit, I also get a confirmation.
Even if I do a reboot everything is IO at the beginning.
Only the next day or the day after next the switch deactivates itself.
Which experiences do you have?
How can I set the switch "Enabled" correctly?
I would be happy to hear about your experiences and tips.
Have a nice evening and a successful week
Dieter
Device, Enabled - deactivates itself
Moderators: grovkillen, Stuntteam, TD-er
Re: Device, Enabled - deactivates itself
What GPIO pin do you use?
What position in the task list do you use for this plugin?
About disabling tasks/controllers.
If a module reboots > 10 times before it could complete a boot, it will start disabling tasks and controllers until it is successful in booting.
So if the task is disabled, it means it was probably the task that prevented the unit to boot.
What position in the task list do you use for this plugin?
About disabling tasks/controllers.
If a module reboots > 10 times before it could complete a boot, it will start disabling tasks and controllers until it is successful in booting.
So if the task is disabled, it means it was probably the task that prevented the unit to boot.
-
- New user
- Posts: 3
- Joined: 04 Feb 2020, 22:13
Re: Device, Enabled - deactivates itself
Thanks for the quickly answer.
I use the following: NodeMCU LolinaV3.
I use the first position in the task site.
And I use GPIO14 (D5)
I use the following: NodeMCU LolinaV3.
I use the first position in the task site.
And I use GPIO14 (D5)
Re: Device, Enabled - deactivates itself
Is it possible this Hall-effect sensor is sometimes in a position where it is triggered continuously? For example when the position of the magnetic dial is exactly between 'triggered' and 'not triggered' ?
Then the pulse counter may have to process lots and lots of interrupts and crash. Maybe even crash before it can complete a boot cycle.
Then the pulse counter may have to process lots and lots of interrupts and crash. Maybe even crash before it can complete a boot cycle.
-
- New user
- Posts: 3
- Joined: 04 Feb 2020, 22:13
Re: Device, Enabled - deactivates itself
yes, it's possible. But why is he crashing?
Do I need to change the times for
Debounce Time : (currently 1000ms)
or
Interval: (5sec)?
Do I need to change the times for
Debounce Time : (currently 1000ms)
or
Interval: (5sec)?
Re: Device, Enabled - deactivates itself
A debounce time of 1000 msec may limit the max. number of pulses to 1 per second (or even less).
Who is online
Users browsing this forum: No registered users and 38 guests