Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Windows Phone 8 how to receive notification


Question

Guest Whirphi
Posted

hello

There is an application

Please login or register to see this link.

to send notification to Windows phone 8

usage

simple GET request (with optional web-based image)

Please login or register to see this link.

notify/{DEVICEID}?title={TITLE}&text={TEXT}&sender={SENDER}ℑ={IMAGEURL}

does anyone know how to create this request in a virtual device with LUA

Thanks in advance for your help

16 answers to this question

Recommended Posts

  • 0
Posted

Try that. You just need to call your global.

Please login or register to see this code.

  • 0
Posted

Interesting, did you manage to get this to work? Thinking about buying the app but would like to know before I put money on it

  • 0
Guest Whirphi
  • Inquirer
  • Posted

    Hello

    unfortunately it does not work with the device or scene in HC2 because I'm not able to write the good synthax

    The Windows 8 phone application is toasty from web browser notificatiions works well

    • 0
    Posted

    Shad:

    Tried your syntax but it seems not working. Got anything i'll can try to change?

    • 0
    Posted

    Did you add all global ???

    • 0
    Posted

    Did a copy/paste of the code to a virtualdevice

    Please login or register to see this code.

    And then changed DEVICEID to my number i got from Toasty

    • 0
    Posted

    No you must add all global for your device, title, text, send and imageurl.

    Because all of variable are empty.

    • 0
    Posted

    I am currently rebuilding the Windows Phone app for the new Firmware.

    I was already looking into toast notifications. The problem is that the Home Center should implement a way to send toast notifications.

    If someone could help me with a good solution, I can implement it in the App?!

    • 0
    Posted

    Being totally new to LUA, but try to understand and learn.

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    Am I wrong in the following code?

    Please login or register to see this code.

    Can i test the lua code in a scene to see if i get any errors, so i got the right conditions?

    • 0
    Posted

    Yes you don't define variable in the right place, you don't call device in the good way.

    • 0
    Posted

    Made some changes but still nothing

    Please login or register to see this code.

    Also tried just in lua but then i get error

    [ERROR] 17:23:44: line 12: attempt to index global 'Net' (a nil value)

    What am i doing wrong

    • 0
    Posted

    sendnot = Net.FHttp("http://api.supertoasty.com",80)

    Please login or register to see this code.

    biblioteka net dostępna jest tylko jeszcze dla urządzeń wirtualnych

    /edit

    sorry i don't saw that was in english...

    • 0
    Posted

    Translated:

    net library are available only for virtual machines

    • 0
    Posted

    still no solution for windowsphone? with the v4 maybe ?

    • 0
    Posted

    I use an app called pushalot. It has a win phone and win 8 metro app that sync read messages.

    It uses a simple email interface which is what I use but it has a rest api

    Please login or register to see this link.

    Hope this helps

    Darren

    • 0
    Posted

    Ohh Great !

    Thanks

    Please login or register to see this image.

    /emoticons/default_wink.png" alt=";)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...