Closed FlorentP42 closed 1 week ago
@FlorentP42 This issue has been fixed. You can verify the available fix in current develop & nightly packages.
API : https://github.com/fledge-iot/fledge/pull/1457
GUI: https://github.com/fledge-iot/fledge-gui/pull/455
Great news :) Is it all right to leave this issue open until an official release containing the fix is produced?
Yeah sure, we can close this once fix is available in next official release.
Fixed in latest release v2.6.0
Is your feature request related to a problem? Please describe. When creating a notification instance of type
retriggered
, you can define theretrigger_time
which is the interval the notification instance must wait before sending two consecutive notifications.One of the use cases we use notifications for in the context of systemsp requires this time to be zero.
However both the Fledge backend and the Fledge GUI does not allow a value of zero for the
retrigger_time
parameter.Describe the solution you'd like Allow a value of 0 for
retrigger_time
when defining or editing a notification instance.Describe alternatives you've considered Currently we are using the following workaround which initializes the notification service with
retrigger_time=1
and then edit that configuration withretrigger_time=-1
:This is a pretty ugly solution which is subject to break if the Fledge API gets updated and also starts to refuse negative values.
Additional context Existing repositories that would benefit from this features: