Notifymyandroid results in error, although key is OK Topic is solved

Post Reply
marin849
Posts: 65
Joined: Tuesday 27 May 2014 10:36
Target OS: Raspberry Pi
Domoticz version: 2.4xxx
Location: Sweden
Contact:

Notifymyandroid results in error, although key is OK

Post by marin849 » Monday 04 July 2016 23:09

I have had the problem for a few months that NMA notification doesn't work so decided to check today.
I have created a new API-key, and tested it with the verify-url, then I sent a test message as an URL-string through the web-browser to check that it works. It does!

Then I tried this on the pi running Domoticz.

Code: Select all

[email protected] ~ $ wget "https://www.notifymyandroid.com/publicapi/notify?apikey=yesmykeywashere&application=%22Domoticz%22&message=%22test%22&event=%22testevent%22&description=%22inget%22"
That works as well!

Problem is in Domoticz I only get "Problem sending, check API-key" when I test the notification, and in the log it only says:

Code: Select all

 2016-07-04 23:02:51.080 Error: NMA:
2016-07-04 23:02:51.080 Error: Notification sent (nma) => Failed 
Verbose logging is enabled.

It is difficult too see what is wrong, as the error message is blank. I have Domoticz 3.5274. Any Ideas?

marin849
Posts: 65
Joined: Tuesday 27 May 2014 10:36
Target OS: Raspberry Pi
Domoticz version: 2.4xxx
Location: Sweden
Contact:

Re: Notifymyandroid results in error, although key is OK

Post by marin849 » Friday 15 July 2016 0:39

Can anyone confirm that their NMA-notification is working?

DomoOr1981
Posts: 11
Joined: Sunday 30 July 2017 10:44
Target OS: Raspberry Pi
Domoticz version: 3.8373
Location: Holland
Contact:

Re: Notifymyandroid results in error, although key is OK

Post by DomoOr1981 » Friday 08 September 2017 12:37

I too, have the same problem and I'am curious how other boardmembers realized their Notifications (through NMA?).

This verify-test went fine (of course <my-api-key> was replaced by my own 48-char-api-key).
https://www.notifymyandroid.com/publica ... my-api-key>
My Browser returned:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<nma>
<success code="200" remaining="995" resettimer="30"/>
</nma>

Also, this notify-test went fine.
https://www.notifymyandroid.com/publica ... n=DomoDesc
My Browser returned:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<nma>
<success code="200" remaining="996" resettimer="32"/>
</nma>

And a little later this "popupped" on my phone:
Screenshot_NMA_Test.jpg
Screenshot_NMA_Test.jpg (10.97 KiB) Viewed 298 times

But I cannot get it to work in Domoticz. The testbutton in Domoticz result in (the log):
2017-09-08 11:46:29.122 Error: NMA:
2017-09-08 11:46:29.123 Error: Notification sent (nma) => Failed

2017-09-08 11:46:29.161 Active notification Subsystems: nma (1/12)

"Who o who" has got the solution?
Thank you for your help.

DomoOr1981
Posts: 11
Joined: Sunday 30 July 2017 10:44
Target OS: Raspberry Pi
Domoticz version: 3.8373
Location: Holland
Contact:

Re: Notifymyandroid results in error, although key is OK

Post by DomoOr1981 » Tuesday 12 September 2017 13:57

At last everything works fine now on my "RPi 1 B+" after a fresh installation with this older image: "2017-07-05-raspbian-jessie-lite.img" (my starting-trials were with different versions of Raspbian Stretch Lite).

SweetPants
Posts: 1530
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V3.8627
Location: The Netherlands
Contact:

Re: Notifymyandroid results in error, although key is OK

Post by SweetPants » Tuesday 12 September 2017 14:21

If you read the forum, you would have seen there are some problems with the latest Beta's concerning HTTP(s) mainly related using Stretch

DomoOr1981
Posts: 11
Joined: Sunday 30 July 2017 10:44
Target OS: Raspberry Pi
Domoticz version: 3.8373
Location: Holland
Contact:

Re: Notifymyandroid results in error, although key is OK

Post by DomoOr1981 » Sunday 17 September 2017 14:11

I can't read the whole forum the whole time ;)

So, to which topic(s) are you referring?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests