Hi,
For testing an advanced flow I added a couple of push notification to check the status and the flow. After concluding that all worked fine I removed them again. However, they keep coming, at the proper event, but in the advanced flow they are gone.
I have already duplicated the flow and removed the old one but that didn’t help.
Any ideas?
You probably have a duplicate flow with the notifications.
I actually duplicated the flow, got rid of the old one, but that didn’t help. I checked all other flows, but none had these push notifications.
So, no.
Maybe try a restart of your Homey?
I’d suggest to always enter the flow name in (temporary) notification cards. Saves you lots of puzzle solving.
To find out whats going on, I recommend to install the Audit app, and set the log level to debug. No flows needed.
You then can check the logs following the timestamp(s) of the push messages.
(Note: it’s possible this app doesn’t run well or crashes on random homeys)
It gets better and better
- I reset the Homey (but had to wait till I get back home after the weekend): notifications immediately popped up again.
- I deleted the old flow and created a new one from scratch, without any push notifications: notifications kept popping op.
- Deleted all flows related to this room/device/sensor: notifications kept popping op.
- Restarted my Homey: notifications kept popping op.
So, no flows are using push notifications anymore, all prior flows deleted, homey pro restarted and they still keep popping up.
Ticket to Athom?
Pull the Plug from Homey… keep it offline for 24h if there are no notifications, it is a Flow on your Homey.
I guess you either have to search better in your Flows, or Reset it to Factory Defaults.
(Or wait until Athom Contacts you after creating a Ticket.
Or you can:
open Homey Developer Tools
Run Homey.flow.getFlows();
Find in your Browser:
If it is a Timeline Notification: homey:manager:notifications:create_notification
or a Push message: homey:manager:mobile:push_text
Scroll back the JSON for The Flow Name or id and open that Flow
(fe https://my.homey.app/flows/81ab66ea-xxxx-xxxx-xxxx-d9d5080879b1 )
or Run for an Advanced Flow:
Homey.flow.getAdvancedFlows();
Search for the same and open the Flow by name or ID
and open https://my.homey.app/flows/advanced/dc1aea11-xxxx-xxxx-xxxx-18fa9f38a6b6
Or disable All Flows / Advanced Flows and enable them then one by one to find the Flow that sends the PushNotification
I don’t understand how on earth Homey can send notifications right after a reset?
A reset is not the same as a restart / reboot!
You’ll have to push the pin for over 30s to actually reset Homey to factory settings.
I assume you have your backups in place, in order for you to bring your system back.
I’m also curious what the Audit app log tells you around the times of the push notifications.
Do realise the log timestamps are in UTC, meaning, 2 hours earlier compared to NL Daylight saving time (GMT+2).
My bad, I restarted, not reset
I am a bit hesitant to reset or even leave it off for 24 hours as so much in the house operates on it.
I’ll try the other suggestions to get the logs though
Ah I see, I was just curious what happened.
Factory reset is of course a last resort option, but when you have your backups in place, you should be good.
It looks like the issue has gone away. Not exactly sure why, but this is what I did:
- Deleted both implicated advanced flows.
- Reviewed all others to ensure non other sent push notifications.
- Restarted the Homey Pro
- Waited 2 days (I think this is the crux)
- Redefined the advanced flows.
Lights go on and off as expected, no more notifications