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


Recommended Posts

Posted (edited)

Please login or register to see this attachment.

Please login or register to see this code.

 

 

 

Please login or register to see this image.

/monthly_2020_05/image.png.aaecda732e7fb28bd70f41ec8a092c51.png" />

 

 

 

 

Edited by 10der
  • Like 3
  • Thanks 1
Posted

@10der,

 

hhh... I knew you woul'd do it :-D

 

  • Thanks 1
  • 11 months later...
Posted

Hello,

i just try your QA but it crash when i try to start it

 

[01.05.2021] [12:59:24] [DEBUG] [QUICKAPP441]: onInit

[01.05.2021] [12:59:28] [DEBUG] [QUICKAPP441]: onAction: {"actionName":"showNotification","deviceId":441,"args":["table: 0xffff40326430"]}

[01.05.2021] [12:59:28] [DEBUG] [QUICKAPP441]: ./include/main.lua:52: bad argument #1 to 'for iterator' (table expected, got string)[01.05.2021] [12:59:28] [ERROR] [QUICKAPP441]: QuickApp crashed[01.05.2021] [12:59:28] [ERROR] [QUICKAPP441]: Unknown error occurred: handleJsonRpc

 

I upload the QA, set the variable ip and API and i made a scene on wich i put the following string: 

 

Please login or register to see this code.

did i miss something ?

I'm not a programmer, only very basic knowlege

 

thank's 

 

  • 10 months later...
Posted

I've tried it and it works for me. How do I change the notification icon and sound?

  • Topic Author
  • Posted
    On 3/22/2022 at 3:07 PM, Laco Jurdik said:

    I've tried it and it works for me. How do I change the notification icon and sound?

    find icon and sound in LUA text

     

    PS: can't help right now. i think u understand what happened in my country and my city

     

    • Like 2
    Posted
    7 minutes ago, 10der said:

    i think u understand what happened in my country and my city

    I honestly don't know what it is to be in a situation like you, I would be lying if I told you otherwise! My thoughts are with you.

    • Like 2
    Posted

    @petergebruers thank you for those true words.

    @10der i'm putting a "like" of course i dislike what i'm reading. We are all with your people, your family and with you Oleg. Keep safe and update us.

    As Peter said, what you are living is so far away from what we can imagine.

     

     

    • Like 1
    • Thanks 1
  • Topic Author
  • Posted
    On 3/22/2022 at 3:07 PM, Laco Jurdik said:

    I've tried it and it works for me. How do I change the notification icon and sound?

    UPDATED in header

     

    how to call?

     

    local id = 1816
    fibaro.call(id, "showNotification", json.encode({"Hello World!""Glory to Ukraine!"}), "i188""notification4")
     
     
     

     

     

    • Like 5

    Join the conversation

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

    Guest
    Reply to this topic...

    ×   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...