You are not logged in.
Pages: 1
Topic closed
I would like to push a message to my mobile devices by means of the app Pushbullet.
But I have no idea how to deal with the access token and where to put the json string....
Is it also possible to put a text string as message (body)?
Offline
Hi scoobsalamander,
thank you for your interesting question.
Unfortunately there is no way how to pass headers using HTTP function block yet. I wasn't able to pass the access_token directly in URL - the authentication fails. According to their docs it should be possible to include the access_token directly into URL similarly to HTTP Basic Auth (https://docs.pushbullet.com/#using-your-access-token) - it doesn't work for me. I asked them if I misunderstood something - will see what will they reply.
Anyway, we added headers support in HTTP block on our future feature list.
I will inform you about their answer.
Cheers, Tomas
Offline
Some temporary solution should be achievable by using EPC function block to call "curl" commands...
Offline
I was trying to use Node-red and the Node-red part is already working fine.
What is the best method to get data from REXcontrols to the Node-red logic engine on the Ras-pi?
Websocket? REST API? ....
(FYI : node-red-node-pushbullet)
Last edited by scoobsalamander (2016-11-29 16:57:32)
Offline
oops...websocket is not supported I guess, correct?
Once there was a function block RDCWS (Remote data connection - websocket server) which was going to be made available according the old documentation. But in the new version it seems to be removed.
Offline
That's good idea to use Node-red. Best way how to communicate with Rex Control System is using REST API. There is already an example in installation called Node-RED + OpenWeatherMap API example.
RDCWS is not supported any more - the development was stopped.
Cheers, Tomas
Offline
Pages: 1
Topic closed