Pushover cannot be resolved to an item or a type

Tags: #<Tag:0x00007fc3eec80758>

Hi,

I’m testing the pushover action but it does not seem to work for me.
I setup the services/pushover.cfg to declare my app and user keys. I can send notifications to my phone using curl with no problem.
To test in openhab I simply added this line to an existing working rule:

sendPushoverMessage(pushoverBuilder(“Living room sensor update received”))

And when the sensor sends the update, I have this in the openhab logs:

2018-05-11 21:24:13.318 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule ‘ThermostatLiving’: The name ‘sendPushoverMessage’ cannot be resolved to an item or type; line 69, column 2, length 74

Is this addons still working or should I move to the exec addons with curl?

Thanks.

It looks like you are using the pushover action installed through PaperUI and reading the docs for the snapshot pushover action which is only available through this post or via market place.

So you either need to upgrade to the latest pushover action or use the “deprecated” commands from the docs. You could also switch the article version to “2.2”.

Oh… you’re absolutely right!
I was just using the ‘latest’ version of the documentation, I didn’t know this would show a snapshot version…

Thanks @sihui, issue resolved!

1 Like