button problem
-
Hi,
I have a couple of push buttons using the vlight in the sketch.
The problem is that VERA restarts if I push a button too many times.
I would like to limit the pushes the sensor is able to send to maybe 1 per second.
It should send the first push immediately but if another push is detected then wait 1 second to send it.Would this too difficult to implement?
Any clues on how to start?
-
-
I tried to rise it above 20 but it just stops working.
-
-
I'm using a multi binary sketch for 2 buttons.
I'll take a look at yours.Could it be the vera plugin what's causing the restarts?
-
@ferpando said:
I'm using a multi binary sketch for 2 buttons.
I'll take a look at yours.Could it be the vera plugin what's causing the restarts?
I would look at the vera log while you are doing a button push.
The two button sketch should be no problem. If you need help, post it and I can try my best.
-
I'm having some problems with these buttons.
They work but sometimes Vera just restarts.
I'll try to loot at vera logs and see.Keep you posted.
Thanks for the help
-
Which Vera version are you using? Vera 2?
I doubt the MySensors plugin makes Vera restart unless it is very low on memory or overloaded with other work.
-
@hek
I currently have a vera lite running.
It never restarts but when it does is after I push a button, no action is fired, then I push again maybe 2-3 times and then I find Vera is restarting.
I still have no proof but I'll try to find something in the logs.
-
@ferpando said:
@hek
I currently have a vera lite running.
It never restarts but when it does is after I push a button, no action is fired, then I push again maybe 2-3 times and then I find Vera is restarting.
I still have no proof but I'll try to find something in the logs.did the lockout help?
I agree with Hek, it seems like there must be something up on the vera side.
-
@BulldogLowell
Didn't have the chance to test it yet.
I also have an RFXcom device attached to vera. Maybe they don't like eachother? Anyone has one?
-
I do have both the mysensors gateway and a RFXtrx433 attachced to a veralite. My system is stable now but I have allso had issues with memory and have uninstalled everything I absolutely did not need and simplyfied everything I could. If your vera is acting strange I would check my memory status.
-
@korttoma
could you post your memory usage for comparison?
-
memoryTotal 62480
memoryFree 8360
memoryBuffers 5652
memoryCached 17336
memoryUsed 54120
memoryAvailable 25696I began to have issues once memoryAvailable is less than 20000.
-
@korttoma
this is what I currently have on my vera lite:total used free shared buffers Mem: 62480 55376 7104 0 6304 Swap: 0 0 0 Total: 62480 55376 7104
how do you get the 'memoryAvailable'?
-
I have the "System Monitor" plugin installed so I get it as a Variable in the advanced tab.