Page 1 of 1
Domoticz is not working with Pushbullet/ api key anymore
Posted: Wednesday 16 December 2020 18:38
by witteherder
Hello,
I hope I did put it in the right topic.
Since 11 december I m not getting the Pushbullet notifications anymore.
I have my api key which I have for a year now and I didn't change anything.
Is there a simple solution to check what is going wrong???
I have Domoticz: Version: 2020.2 on my RASPBIAN pI
Re: Domoticz is not working with Pushnbullet/ api key anymore
Posted: Wednesday 16 December 2020 21:43
by waaren
witteherder wrote: ↑Wednesday 16 December 2020 18:38
Since 11 december I m not getting the Pushbullet notifications anymore.
Is there a simple solution to check what is going wrong???
Pushbullet still works for me from domoticz and from CLI.
You can test it from within domoticz GUI
[Setup][Settings][Notifications][PushBullet] test
or from the CLI
Code: Select all
sudo curl --header 'Access-Token: <your token>' https://api.pushbullet.com/v2/users/me
it should return with something like
Code: Select all
{"active":true,"iden":"ujAVl3JSny4","created":1409170180.0644,"modified":1537709075.133504,"email":"[email protected]","email_normalized":"[email protected]","name":"waaren","image_url":"https://static.pushbullet.com/google-user/123456789abcdef123456789abcdef123456789abcdef","max_upload_size":26214400}
Re: Domoticz is not working with Pushnbullet/ api key anymore
Posted: Thursday 17 December 2020 16:28
by witteherder
waaren wrote: ↑Wednesday 16 December 2020 21:43
witteherder wrote: ↑Wednesday 16 December 2020 18:38
Since 11 december I m not getting the Pushbullet notifications anymore.
Is there a simple solution to check what is going wrong???
Pushbullet still works for me from domoticz and from CLI.
You can test it from within domoticz GUI
[Setup][Settings][Notifications][PushBullet] test
or from the CLI
Code: Select all
sudo curl --header 'Access-Token: <your token>' https://api.pushbullet.com/v2/users/me
it should return with something like
Code: Select all
{"active":true,"iden":"ujAVl3JSny4","created":1409170180.0644,"modified":1537709075.133504,"email":"[email protected]","email_normalized":"[email protected]","name":"waaren","image_url":"https://static.pushbullet.com/google-user/123456789abcdef123456789abcdef123456789abcdef","max_upload_size":26214400}
Then I m getting this message:
Code: Select all
{"active":true,"iden":"ujyLErwsv92","created":1566214886.835526,"modified":1607978209.892458,"email":"[email protected]","email_normalized":"[email protected]","name":"YOURNAME","image_url":"https://static.pushbullet.com/google-user/20e341862846abc79562e05286c21004ae226592cd8c9230696c085729793ec2","max_upload_size":26214400}
Re: Domoticz is not working with Pushnbullet/ api key anymore
Posted: Thursday 17 December 2020 18:13
by waaren
witteherder wrote: ↑Thursday 17 December 2020 16:28
I m getting this message:
Code: Select all
{"active":true,"iden":"ujyLErwsv92","created":1566214886.835526,"modified":1607978209.892458,"email":"[email protected]","email_normalized":"[email protected]","name":"YOURNAME","image_url":"https://static.pushbullet.com/google-user/20e341862846abc79562e05286c21004ae226592cd8c9230696c085729793ec2","max_upload_size":26214400}
This looks OK to me.
Can you try from the Command line:
Code: Select all
curl --header 'Authorization: Bearer <Your token>' -X POST https://api.pushbullet.com/v2/pushes --header 'Content-Type: application/json' --data-binary '{"type": "note", "title": "Curl", "body": "Command Line"}'
and from the address bar of your browser:
Code: Select all
http://<domoticz IP:domoticz Port>/json.htm?type=command¶m=testnotification&subsystem=pushbullet&subject=API&body=testnotification
http://<domoticz IP:domoticz Port>/json.htm?type=command¶m=sendnotification&subsystem=pushbullet&subject=API&body=sendnotification
While looking at the domoticz log
Re: Domoticz is not working with Pushbullet/ api key anymore
Posted: Thursday 31 December 2020 15:04
by witteherder
The problem was I was getting to much pushing messages so I had to take an subscription at Pusbullet.
Now everything works fine again