After upgrading from 2.3.0 to 2.4.0.M6, sendNotification no longer works. They worked fine before.
I’m guessing from the lack of similar posts that it me , but I’m stuck how to track it down.
I have switched on DEBUG for org.openhab.io.openhabcloud and made a rule to test with:
rule "Test"
when
Item Test changed
then
sendNotification("myEmail", "Test")
end
This shows success in the log:
[DEBUG] [b.io.openhabcloud.NotificationAction] - sending notification 'Test' to user myEmail
[DEBUG] [o.openhabcloud.internal.CloudService] - Sending message 'Test' to user id myEmail
But nothing appears in the Notifications section of myopenhab website.
I am clearly connected OK, because events are working e.g
DEBUG] [io.openhabcloud.internal.CloudClient] - Sending update 'OPEN' for item 'DoorHallway'
and this appears in the Events tab.
Can anyone give some pointers on how to proceed?
I’m using a LAN connected Pi 3 Model B and openHABian.
Thanks for the ideas.
I checked my email address and it’s ok - as I said, this worked before the upgrade.
But both sendBroadcastNotification and sendLogNotification work.
So then I noticed that the email that shows when I’m logged into myopenhab.org is all lower case, as in davidread@blabla, but in my rules I use DavidRead@blabla
I changed the rule to use lower case and it works!
Success.
But that’s a bit weird. Has something changed in myopenhab recently? and it just happened to coincide with my upgrade timing?