Conditions for alerts !

More
02 Jul 2017 05:32 #63243 by sfersystem
Conditions for alerts ! was created by sfersystem
Hi guys,

On Taranis, they can for example setup a voice alert for the battery low on the plane or quad copter but they can setup a condition for this alert.

When the voltage goes under during more than x seconds, so the voice alert is launched.

Can we do something like that on our Devo's ?

Actually i created different melody beeper to differentiate my low voltage from my low RSSI when i fly FPV model, but when i fly hard, my low voltage alert don't stop annoying me from beeping.

Thx

Please Log in or Create an account to join the conversation.

More
10 Jul 2017 22:03 #63384 by Moeder
Replied by Moeder on topic Conditions for alerts !
Rainy weather over here today, so I made some spare time available for your wish.

Please check the test builds I uploaded here.

It's a rather simple threshold feature but should take care of your need: When selecting a telemetry alarm value, you can press the enter key (or touch the value field on a touch screen) to cycle through a threshold from 0-9 seconds which your alarm value has to be reached until the music (beep or voice) get's played.

Please Log in or Create an account to join the conversation.

More
11 Jul 2017 06:08 #63393 by magic_marty
Replied by magic_marty on topic Conditions for alerts !
Seems to be working great but will do some further testing this weekend perhaps...
Thanks a bunch for adding it..

Please Log in or Create an account to join the conversation.

More
11 Jul 2017 06:42 #63395 by Fernandez
Replied by Fernandez on topic Conditions for alerts !
While you are doing it could you make it in smaller steps 0.1sec, up 10sec?

Another option would be to be time independent, but just set and count nr of sequential frames ?
So if 5 time RSSI telemetry frame received < threshold, then alert.
Or if 5 time lipo below 3.5V then alert?

Please Log in or Create an account to join the conversation.

More
11 Jul 2017 18:15 - 11 Jul 2017 18:16 #63404 by sfersystem
Replied by sfersystem on topic Conditions for alerts !
I have a usb driver problem with the impulserc driver conflict but i managed to install your build.

I've done a battery just before, and it's seems to be perfect !
Thanks à lot Moeder, this is just i need.

Very good work ! :)
Last edit: 11 Jul 2017 18:16 by sfersystem.

Please Log in or Create an account to join the conversation.

More
11 Jul 2017 18:39 - 11 Jul 2017 18:40 #63405 by Moeder
Replied by Moeder on topic Conditions for alerts !
@Fernandez:. 100 ms resolution doesn't make sense, as alarms don't get checked that fast, it is not a high priority task. That's why I opted for 1 sec intervals. The other reason is that the telemetry page on Devo 7/10/12e is already pretty full and I could just fit 1 digit :P
A more complex setting would require another menu subpage and thus would most likely not fit on the 7e anymore.

Please go ahead and test it a little bit (options to do so are limited in the emulator) if everybody is happy I won't hesitate to make a pull request as the code change was rather small.
Last edit: 11 Jul 2017 18:40 by Moeder.

Please Log in or Create an account to join the conversation.

More
12 Jul 2017 11:44 - 12 Jul 2017 11:45 #63408 by sfersystem
Replied by sfersystem on topic Conditions for alerts !
New try today, it's awesome, thank you very much Moeder, you changed my life and i think all the people who are using Deviation can thank you !
Last edit: 12 Jul 2017 11:45 by sfersystem.

Please Log in or Create an account to join the conversation.

More
17 Jul 2017 20:06 #63498 by jejeg
Replied by jejeg on topic Conditions for alerts !
Hi
Moeder, do you have to update the library file or just the firmware?
If so, can we have the media file for the 12s
thanks

Please Log in or Create an account to join the conversation.

More
17 Jul 2017 22:34 #63501 by magic_marty
Replied by magic_marty on topic Conditions for alerts !
When I installed i just upgraded the firmware and it works great..

Please Log in or Create an account to join the conversation.

More
18 Jul 2017 08:56 #63506 by Moeder
Replied by Moeder on topic Conditions for alerts !
Updating the library is indeed not necessary.

Please Log in or Create an account to join the conversation.

More
18 Jul 2017 20:06 #63514 by jejeg
Replied by jejeg on topic Conditions for alerts !
Thanks ...but.
In which menu is the setting, I have nothing more ??

Please Log in or Create an account to join the conversation.

More
18 Jul 2017 20:51 #63515 by magic_marty
Replied by magic_marty on topic Conditions for alerts !
on the telemetry alerts page..When u highlight a alarm just press the enter button to scroll thru the seconds settings..

Please Log in or Create an account to join the conversation.

More
19 Jul 2017 19:39 #63523 by jejeg
Replied by jejeg on topic Conditions for alerts !
Perfect, it works well
Thanks :)

Please Log in or Create an account to join the conversation.

More
01 Aug 2017 05:31 #63657 by sfersystem
Replied by sfersystem on topic Conditions for alerts !
hi, it definitely work very well

can someone do a pull request ?

Hexfet done a new good enhancement on the FrskyX protocol, but i don't want loose the alert timer.

Thx

Please Log in or Create an account to join the conversation.

More
02 Aug 2017 04:25 #63677 by Moeder
Replied by Moeder on topic Conditions for alerts !
A pull request has already been placed, but there still needs to be some gui optimization for f-series transmitters be made. I haven't had time to look into it yet.

Please Log in or Create an account to join the conversation.

More
02 Aug 2017 05:18 #63680 by sfersystem
Replied by sfersystem on topic Conditions for alerts !
So, it's all right, i'll waiting
Thank you Moeder.

Please Log in or Create an account to join the conversation.

More
05 Sep 2017 21:34 #64212 by Moeder
Replied by Moeder on topic Conditions for alerts !
Feature will be available in all upcoming nightlies, the pull request was just merged.

Please Log in or Create an account to join the conversation.

More
06 Sep 2017 03:49 #64222 by sfersystem
Replied by sfersystem on topic Conditions for alerts !

Moeder wrote: Feature will be available in all upcoming nightlies, the pull request was just merged.


Thank you for the great job !

Please Log in or Create an account to join the conversation.

More
11 Sep 2017 18:44 #64336 by Wene001
Replied by Wene001 on topic Conditions for alerts !
Very fine, thx...i like this feature

Please Log in or Create an account to join the conversation.

Time to create page: 0.072 seconds
Powered by Kunena Forum