Pushsafer and ThingsonEdge Cricket Board

Pushsafer make it easy and safe to get push-notifications in real time on your Android or Windows mobile device, iPhone, iPad and Desktop!

Mit Pushsafer kann man in Echtzeit, einfach und sicher, Push-Benachrichtigungen auf sein iPhone, iPad, Android oder Windows Gerät sowie auf den Desktop senden lassen!

======================
Google Play
App Store
Windows Store
Homepage
graham1963
Posts: 6
Joined: 9. Sep 2022, 16:45

Pushsafer and ThingsonEdge Cricket Board

Postby graham1963 » 9. Sep 2022, 16:49

Hi. Has anyone tried to use the Thingsonedge Cricket board v1.0 with Pushsafer. I am using the https:/ post facility and using the 'send notification' section to create a message. The message is coming through OK, but the cricket is supposed to send the Battery voltage information and also the on board Temperature sensor reading, but I cannot see how to get the cricket to send this information. Anyone used pushsafer with this board before?
Many thanks for your help.

User avatar
admin
Site Admin
Posts: 942
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: Pushsafer and ThingsonEdge Cricket Board

Postby admin » 9. Sep 2022, 19:05

Hi,

i've never used a cricked board to send a push-notification by pushsafer.
But i found this documentation: https://docs.google.com/document/d/e/2P ... CRyLHk/pub

I think this should help you.

If not you can post some screenshots from the set up page.

Kevin
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!

Pushsafer.com Website - iOS - Android - Windows 10

graham1963
Posts: 6
Joined: 9. Sep 2022, 16:45

Re: Pushsafer and ThingsonEdge Cricket Board

Postby graham1963 » 9. Sep 2022, 19:21

Hi. Thanks for the reply. I had been using this, but am probably still doing something wrong. My toe_device screen is attached. I have the pushsafer.com web address along with my api key and also an m=Bedroom. The text 'Bedroom' comes through OK, but not the batt value or temp value.
I have the payload as a copy and paste from that on the documentation under HTTP Post. {"value1":"#batt","value2":"#temp"}
Thanks
Graham
Attachments
cricket1.JPG
cricket1.JPG (82.12 KiB) Viewed 4471 times

User avatar
admin
Site Admin
Posts: 942
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: Pushsafer and ThingsonEdge Cricket Board

Postby admin » 10. Sep 2022, 12:45

Hi,

please use https://www.pushsafer.com/api for URL

Content type select application/x-www-form-urlencoded if possible

Payload should look like this: k={your_privatekey}&d={your_deviceid}&t=Bedroom Temperature&m=Bedroom Temperature is #temp and Battery #batt&s=25&i=62

Payload is a combination of pushsafer parameter=value seperated by & to set up your push notification. You can ad more parameter if you need
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!

Pushsafer.com Website - iOS - Android - Windows 10

graham1963
Posts: 6
Joined: 9. Sep 2022, 16:45

Re: Pushsafer and ThingsonEdge Cricket Board

Postby graham1963 » 11. Sep 2022, 20:31

Hi. Thanks for the reply.
I have tried what you suggested but cannot receive any pushsafer message at all. Not even the text.

url: https://www.pushsafer.com/api

The content options are auto, text/plain and application/json

I have tried both the auto and application/json.

k={myprivatekey}&d={00521CXXXX}&t=Bedroom Temperature&m=Bedroom Temperature is #temp and Battery #batt&s=25&i=62

The ID I have taken as the serial number from the info page.
I have used all of the brackets as shown.

Thanks for trying to help.
Graham

User avatar
admin
Site Admin
Posts: 942
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: Pushsafer and ThingsonEdge Cricket Board

Postby admin » 12. Sep 2022, 05:00

deviceid = are the ids next your device in your pushsafer dashboard
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!

Pushsafer.com Website - iOS - Android - Windows 10

graham1963
Posts: 6
Joined: 9. Sep 2022, 16:45

Re: Pushsafer and ThingsonEdge Cricket Board

Postby graham1963 » 12. Sep 2022, 12:29

Hi. Thanks once again for the reply.

I have entered the following:

url: https://www.pushsafer.com/api

The content options are application/json


k={myprivatekey}&d={20XXX}&t=Bedroom Temperature&m=Bedroom Temperature is #temp and Battery #batt&s=25&i=62

The ID I have taken from the dashboard.
I have used all of the brackets as shown.

No message is coming through.

Thanks for trying to help.
Graham

User avatar
admin
Site Admin
Posts: 942
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: Pushsafer and ThingsonEdge Cricket Board

Postby admin » 12. Sep 2022, 13:31

looks good so far!

Try content-type auto or text/plain not application/json

Is there any log file?
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!

Pushsafer.com Website - iOS - Android - Windows 10

graham1963
Posts: 6
Joined: 9. Sep 2022, 16:45

Re: Pushsafer and ThingsonEdge Cricket Board

Postby graham1963 » 12. Sep 2022, 15:23

Hi. Thanks

There does not appear to be any log file.
I have tried both auto and text/plain, but no transmission of message.

Do I need a ? after 'api' in the url?

I did reach out to the Thingsonedge folks, but no joy from them.

Thanks for trying
Graham

User avatar
admin
Site Admin
Posts: 942
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: Pushsafer and ThingsonEdge Cricket Board

Postby admin » 12. Sep 2022, 17:24

Hi,

please try to reach TOE by Twitter or Facebook.
Ask them it it is possible to send post data application/x-www-form-urlencoded!

Kevin
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!

Pushsafer.com Website - iOS - Android - Windows 10


Who is online

Users browsing this forum: No registered users and 2 guests