jhonderson / gone-man-switch

Gone Man’s Switch
GNU General Public License v3.0
74 stars 2 forks source link

Test messages are sent but check-in or messages are not #1

Closed florianwgnr closed 11 months ago

florianwgnr commented 11 months ago

I just started your application via docker-compose, added SMTP and telegram (test-messages are working for both) and setup a message to be sent after 2 days of not checking in, while sending the check-in notification after 1 day.

grafik

This container is running since 2 days but i did not receive a message or can see anything in the logs. What is missing here?

grafik

My setup:

jhonderson commented 11 months ago

Hello. It seems to me that you need to wait 3 days. 1 for the checkin to trigger, and 2 for the message to be sent, since message is delivered 2 days after the checkin notification is sent and not responded.

One more thing to keep in mind is that every time you interact with the website (I.e you open the website while logged in), the system will interprete that as you being available and will mark your checkin notifications as acknowledged. So for this test to work you will need to not interact with the website for 3+ days. Let me know how it goes.

jhonderson commented 11 months ago

Feel free to re-open if you are still having issues

florianwgnr commented 11 months ago

Hello. It seems to me that you need to wait 3 days. 1 for the checkin to trigger, and 2 for the message to be sent, since message is delivered 2 days after the checkin notification is sent and not responded.

One more thing to keep in mind is that every time you interact with the website (I.e you open the website while logged in), the system will interprete that as you being available and will mark your checkin notifications as acknowledged. So for this test to work you will need to not interact with the website for 3+ days. Let me know how it goes.

Hi, thank you for your reply! The message has been delivered delivered after a few days and I am quite happy with your application. But since i was wondering when the messages arrive, maybe others will wonder too. What do you think about adding a "last check-in" date/time and a "next notification sent on" date/time? This will make it clear to everyone when the notifications will be sent, especially after logging in (which checks the user in).

jhonderson commented 11 months ago

I like the idea, maybe adding those 2 fields in the Home Screen, after the welcome message.