Notifications not working

I have water sensors that had worked sending a notification to my iPhone and Google Mini. For some reason it stopped sending it to my Google Mini, but I do get notifications on my iPhone.

For a test I went into the Notifications app and set up one to go to my iPhone and a spoken one to go to the Google Mini when I turn on a virtual device.

Here is the Notification set up:

You can see from this screen shot that I turned on the virtual device:

However, there is nothing in the logs or Events inside of the Notification that shows it fired.

I also can't find a "Run Now" button in Notifications like there is in Rule Machine to test it other than what I'm doing.

Help, please.

The screenshot doesn't show quite enough to say. Did this device start as off and then get turned on and remain on for 1 minute? If it's a virtual device, descriptionText/info logging should show this.

2 Likes

First things first. I took me a good little while to realize it, but now I understand that the rule is that if the switch is one of one minute. They way I was reading it was that the rule should run for one minute. So, may be that was just me, but I'm sure I can't be the only one who read it like that. I thought I had set it up to say I want the rule to run for 1 minute and notify be 3 times 10 seconds apart. I figured out now that the Stop repeats after number of minutes toggle was what I thought the top "For low long?" field was for,

In any event, I turned it on for over 2 minutes and there was no notification on my iPhone of Google mini.

Any output in Logs from this Notifier instance? Does your phone receive other notifications, like if you go to the device detail page and test the command there? And was the switch off to start in your screenshot above? Look at "Events" for those device (accessible from its device detail page), not Logs, to see for sure--it looks like you log entree just commands, not necessarily resulting events.

Sorry, it was off. I turned it back on and waited for two minutes. Nothing happened, but maybe that is due to something not happening with this virtual device. I tried pushing On (and it shows up in the logs as you see) but it never shows it is on (BTW I also tried the Component On button but that didn't change the Current State to On either):

and nothing shows up in the events:

I'll try again with a real switch.

I changed it to a real switch and also changed the app to take the time factor out so it should have fired instantly, but I didn't get a notification on my iPhone or a Google Mini announcement.


The light's Events page looks like it was notifying Google and Alexa, but nothing about the Mini or my iPhone.

Wait, are/were you using a "real" driver for a virtual device? That's not going to work (and it's why you're not getting events, my suspicion from your logs). It needs to be a driver specifically written for a virtual device.

Seems like maybe you didn't hit "Done" in the Notifications app after making these changes in order to save them (or technically here create the new subscriptions).

1 Like

I thought I had hit "Done" and went back into it, but maybe not, as it then worked. So that portion of the problem is resolved.

Let me go back to where this all started, and that is that I created a rule in RM to notify me if either of my A/C water sensors was wet. (BTW, I had set it up in HSM but I didn't like having to go into the app to cancel the alert). Here is the rule:

I thought there might be something wrong with the While line so I tried to edit it, but can't figure out how to do it. I tried clicking the on While line and it took me here;

But I don't see any way to actually edit that While line from here. The only choices are to Insert before Expression element or Delete Expression element(s). I don't want to do either. I want to edit the expression.

What is worse, since I didn't change anything the Cancel editing action button does nothing and I'm stuck on this screen. How do you get out of this screen if you didn't change anything?

BTW, I had no idea about a virtual device driver. I've only seen people say they created a virtual device to do this or that without mentioning it needed a special driver. I had used it in the past as a placeholder in apps where I only had the app using 1 switch and I needed to delete the switch and reinstall it, so I wouldn't loose that routine.

You can from your screenshot above by adding or removing items (conditions or operators). If you want to edit a condition or create a new one, go to the Manage Conditions box instead (you'll have to "Done" your way out of this action edit first).

Not sure what's going on with the rule but enabling all logging and looking at the output of "Logs," filtered to just this rule, may help.

2 Likes

Hopefully, finally, I'm also not sure how to delete the HSM rule, or more specifically how to get HSM to say that the water detection is armed.
Screen Shot 2024-05-26 at 6.22.53 AM

I went in and deleted everything to go with the water sensors but that is still there.

Not quite sure about that, but if you hit "Done" or maybe disarm all and re-arm (or just leave disarmed if you aren't using HSM at all or have something else that will re-arm when needed), that might help.

Where is the arm/disarm button for the Water? I'm wondering if it disappeared when i removed everything from it?

There isn't disarming for water specifically; it's a part of "Disarm All" (or "Disarm All Monitoring: X, Y, Z" where X, Y and Z are the types you have configured, depending on what part of the UI you're looking at, perhaps including water). If you see that, I'd try it. Then you can re-arm it however you want.

If you don't see that at all, I'm wondering if you ran into some edge case where removing something it was armed for confused it, and temporarily adding water back, disarming that (again, really disarming all), and then removing it might help. But I don't see any evidence of this for sure above.

When I went into HSM there was no Arm/Disarm button:

After I added a water test back in the Arm/Disarm button reappeared. I then removed the Water rule again and now it says disarmed.

Is there a way for it to just say HSM without the armed or disarmed?

It seems like it is a bug if I delete something like water monitoring and it still says armed. They need to code for nothing set.

No, it will always show the arm state at the end of the name.

But from your screenshot, it appears you are not using HSM at all. In this case, why have the app installed in the first place? You can remove it entirely with no effect.

I have it in case I wanted to use it someday. I guess I can remove it and then just add it back in if I ever want it, but when I went to Apps and tried Settings and then went into the HSM and went to Settings I couldn't find a Remove or Uninstall choice.

I guess this one is harder to remove, perhaps so people don't accidentally remove it. If you want to, you can do it from the app status page (gear icon next to this app in the list or inside the app) or just leave it if you don't care.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.