I have an app installed on my Vera Plus controller called Push Notification. I have used it for more than 10 years. On November 1 of last year, it stopped working. Has anyone else had the same problem? When I search for some similar threads in the forum, I get 50 threads from many years ago, but nothing more recent than 2016.
The app version is 0.99
My controller firmware is 1.7.5186 (7.31), the latest as of 2/10/24.
I checked the log and it says: JobHandler_LuaUPnP::RunAction device 15 action urn:upnp-org:serviceId:IOSPush1/SendPushOverNotification failed with -911/Device not ready
When I look at the device on the controller, and I try to save a different setting like “Add Vera serial to subject” and hit save, it appears to save, but when I go back and check the settings a little later, it was not saved. It does have the correct User Key, but I am also unable to change it.
I prefer to keep using Pushover, if possible, because I can call it from Luup code and customize the notifications. I also put variables into the notification.
Any help is appreciated.
Edit: I have a message at the top of the controller page that says " Push Notification[15] : Startup Lua Failed"
I am not familiar with this particular Push Notifications plugin, as I never used it.
However do you remember changing anything before it stopped working?
I assume the key you refer to is an API key for PushOver platform / service?
Lua Startup errors are usually quite serious and means the plugin or lua code in question failed to load up properly.
It might be related to the PushOver service changing their website / API stuff at their end and maybe thus breaking the Vera pkugin for it, that is always a possibility with these kind of integrations.
While plugins are great when they work, they can be a challenge to fix when they stop working and the creator is not around to help. When it comes to Pushover, I don’t use a plugin for that - instead I run a bit of LUA code.
If you have issues and want to test or even try doing something else - feel free to use this…
local http = require("socket.http")
local https = require("ssl.https")
local url = "https://api.pushover.net/1/messages.json"
local apptoken = "ENTER YOUR APP TOKEN FROM THE PUSHOVER ADMIN VIEW"
local usertoken = "ENTER YOUR USER TOKEN FROM THE PUSHOVER ADMIN VIEW"
local devname = "ENTER THE NAME OF YOUR REGISTERED DEVICE"
https.TIMEOUT = 5
function push_link(apptoken, title, message, priority, url, urltitle)
local status = https.request ( "https://api.pushover.net/1/messages.json" , "token="..apptoken.."&user="..usertoken.."&device="..devname.."&message="..message.."&title="..title.."&priority="..priority.."×tamp="..os.time().."&url="..url.."&url_title="..urltitle)
end
push_link(apptoken, "Vera Pushover Test", "Testing 1 2 3", 1, 'http://192.168.111.123/', "Vera Home")
It works like a charm. Now I need to edit all my scenes with this new code to get the notifications I want. By the way, I removed the url value and replaced it with two single quotes, like this ‘’. I didn’t want to have an explicit reference to my controller in the code if not needed, and apparently, it is not needed.
One last post to let you know how well it worked. I modified the push_link function slightly to add the devname and sound as new arguments. I put the apptoken and usertoken in the Startup Lua as global variables, so I didn’t need to include them to every scene. I modified about 50 scenes with the new code, and I’m happy with the results. Here’s a template of the new code:
– global tokens, apptoken and usertoken, defined in startup lua
function push_link(apptoken, iosdevname, title, message, priority, sound, url, urltitle)
local status = https.request ( “https://api.pushover.net/1/messages.json” , “token=”…apptoken…“&user=”…usertoken…“&device=”…iosdevname…“&message=”…message…“&title=”…title…“&priority=”…priority…“×tamp=”…os.time()…“&url=”…url…“&url_title=”…urltitle…“&sound=”…sound)
end
push_link(apptoken, “RobsiPhone”, “Testing global tokens for pushover”, “oh yeah”, 1, “bugle”, ‘’, “”)
– Note: The sound argument must be in lower case to be accepted by Pushover