theyosh / TerrariumPI

Home automated terrarium/aquarium or other enclosed environment with a Raspberry Pi
https://terrarium.theyosh.nl
GNU General Public License v3.0
408 stars 98 forks source link

[FEATURE]: Toggle to enable/disable notifications in the "edit button" screen #842

Closed chakachim closed 10 months ago

chakachim commented 11 months ago

Is your feature request related to a problem? Please describe. I have started using the notification feature to alert me whenever the door is opened on the Terrarium. However it looks like there is no way (that I've found) to disable a button from notifying. As a result I get notified everytime the light sensor is triggered.

Describe the solution you'd like toggle button on the button edit screen that allows me to disable notifications.

Additional context Add any other context or screenshots about the feature request here.

theyosh commented 11 months ago

Yeah, I think this can be done. Need some time to add it.

theyosh commented 11 months ago

Hi,

I added this option to sensor, relays and buttons. In order to test/use you need to update the code with git pull and rerun the installer. sudo ./install.sh as there new libraries being used for other new features.

After that, you can edit the button you want to disable from notification by disabling the notification setting.

theyosh commented 11 months ago

Oh, and make user TerrariumPI is stopped before updating.

theyosh commented 10 months ago

Any update on this? The new release is out, and this is released. So it should work. Could you confirm this?

chakachim commented 10 months ago

Just updated and tested. Everything is working great. Thank you for adding this feature!

On Mon, Nov 13, 2023 at 12:36 PM TheYOSH @.***> wrote:

Any update on this? The new release is out, and this is released. So it should work. Could you confirm this?

— Reply to this email directly, view it on GitHub https://github.com/theyosh/TerrariumPI/issues/842#issuecomment-1808652421, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFBH3BIR6DUR2AJLQSBIBS3YEJLAPAVCNFSM6AAAAAA5ZIQ4MCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBYGY2TENBSGE . You are receiving this because you authored the thread.Message ID: @.***>

theyosh commented 10 months ago

Thanks for the feedback.