Hi,
I have to do some API calls from thousands of embedded device that have the same API key, to reach thousands of client smartphones.
I thought this was possible only by providing the deviceId on the embedded side.
I've been able to do those calls with android as target, but this doesn't work with iPhone X.
My friend, which has an iPhone x, has to create a pushsafer account to get the deviceId. This Is a big problem for me as i don't want that My customers had to create any account.
So My question is: Is My business model correct, ie does the way i plan to use pushsafer Is correct and compatible with the way it works ? And Why does My friend doesn't receives any notification even in the client app ?
Thanks in advance for your reply
Question about business model
- admin
- Site Admin
- Posts: 944
- Joined: 1. Dec 2014, 12:41
- Location: Germany
Re: Question about business model
You only need one Pushsafer Account. Your are the administrator of this account.
All other devices has to register as guest-devices!
All other devices has to register as guest-devices!
you have to register your friends phone as a guest-device into your account. Your friend have no access to your data or profile!
You will find this feature on your pushsafer profil page!
To send a message to your friends iphone use the same arduino action as you use to send to your own device. The only thing you have to do, is to set the device parameter [d] to your friends device ID.
All api calls will be charged to your account!
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
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Re: Question about business model
Thanks for your reply,
OK, so what i have not well understood is how I obtain a guest-device-id without login.
According to the client app, friends can:
-scan a QR code => my devices that does API calls has only a local web site and does not expose a QR to www.
-enter a guest id => where does it come from ? I guess from me (sms/mail/vocally), or from my embedded device, and most important thing, how do I generate it programmatically speaking, and to avoid guest-id overlap with other pushsafer accounts ?
OK, so what i have not well understood is how I obtain a guest-device-id without login.
According to the client app, friends can:
-scan a QR code => my devices that does API calls has only a local web site and does not expose a QR to www.
-enter a guest id => where does it come from ? I guess from me (sms/mail/vocally), or from my embedded device, and most important thing, how do I generate it programmatically speaking, and to avoid guest-id overlap with other pushsafer accounts ?
- admin
- Site Admin
- Posts: 944
- Joined: 1. Dec 2014, 12:41
- Location: Germany
Re: Question about business model
vibi27 wrote: ↑28. Nov 2019, 19:43Thanks for your reply,
OK, so what i have not well understood is how I obtain a guest-device-id without login.
According to the client app, friends can:
-scan a QR code => my devices that does API calls has only a local web site and does not expose a QR to www.
-enter a guest id => where does it come from ? I guess from me (sms/mail/vocally), or from my embedded device, and most important thing, how do I generate it programmatically speaking, and to avoid guest-id overlap with other pushsafer accounts ?
- How your buisness model works?
- Your guest id is unique, you will find it under the qr code in your pushsafer profile!
- For example you can share the qr-code in a password protected area!
- With the callback functionallity, you also can automate the the user mapping!
- You can combine the guest id with an uniqe device name to assign users in your envirorment
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
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Re: Question about business model
So, on one of my devices named <deviceId> (<deviceId> = mac address for example),
that is aware of the <api-key> and of the <guest-id>,
and that manages multiples users/friends <user1>, <user2>, <user3>,
i can programmatically generate complete guests Id fields:
<guest-id>|<deviceId><user1>
<guest-id>|<deviceId><user2>
<guest-id>|<deviceId><user3>
And each user/friend enters this complete guest id, and it is enough, am i right ?
that is aware of the <api-key> and of the <guest-id>,
and that manages multiples users/friends <user1>, <user2>, <user3>,
i can programmatically generate complete guests Id fields:
<guest-id>|<deviceId><user1>
<guest-id>|<deviceId><user2>
<guest-id>|<deviceId><user3>
And each user/friend enters this complete guest id, and it is enough, am i right ?
- admin
- Site Admin
- Posts: 944
- Joined: 1. Dec 2014, 12:41
- Location: Germany
Re: Question about business model
you only need to values combined with a pipe character!
[GUESTID]|[UNIQUEDEVICENAME]
[GUESTID] = your unique guest-id you will find in your pushsafer profile
[UNIQUEDEVICENAME] = a name or value of your choice to assign the user/device to your enviroment
After registration the device get a unique device id (integer), this id you use to send the push-notification to.
To get the device id you can look in your device dashboard or use the callback functionality to automate this procedure!
Kevin
[GUESTID]|[UNIQUEDEVICENAME]
[GUESTID] = your unique guest-id you will find in your pushsafer profile
[UNIQUEDEVICENAME] = a name or value of your choice to assign the user/device to your enviroment
After registration the device get a unique device id (integer), this id you use to send the push-notification to.
To get the device id you can look in your device dashboard or use the callback functionality to automate this procedure!
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
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Re: Question about business model
OK thanks, now I understand.
So the only way for my embedded device to know the phone deviceId is to decode the JSON return via the callback URL.
But as I have many embedded devices, I should have many callback URL (one per embedded device) which is not possible.
So the only way for my embedded device to know the phone deviceId is to decode the JSON return via the callback URL.
But as I have many embedded devices, I should have many callback URL (one per embedded device) which is not possible.
- admin
- Site Admin
- Posts: 944
- Joined: 1. Dec 2014, 12:41
- Location: Germany
Re: Question about business model
no, you only need one callback url.
Evertime a device was registered the callback url is called and run your script to process the received data from pushsafer.
Evertime a device was registered the callback url is called and run your script to process the received data from pushsafer.
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
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 92 guests