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

PopUp Service images


Question

Posted

Hi,

I am creating a PopUpService in my scene.

One of the settings is the image URL.

I tried an image URL external to Fibaro and it didn't work.

How do I find the URL of the icon images I have within Fibaro?

5 answers to this question

Recommended Posts

  • 0
Posted

Here are some links to icons on Fibaro Home Center:

 

ROOM: http://<YOUR_HC_IP>/fibaro/icons/rooms/*.png

SCENE: http://<YOUR_HC_IP>/fibaro/icons/scena/*.png

VD: http://<YOUR_HC_IP>/fibaro/n_vicons/*.png

 

Of course in above links you have to replace <YOUR_HC_IP> with IP address of your HC. Also replace * with name of the icon.

 

To find name of the wanted icon you can use HC REST API or just go to change icon for room, scene or VD and then right click on icon in browser and select Save Image As... to see name in Save window.

 

If your HC IP address is set by DHCP (not static) then you will need this code to get HC IP address just before sending popup message:

 

Please login or register to see this code.

Hope this helps.

  • Like 2
  • 0
  • Inquirer
  • Posted

    Awesome! Thanks @Sankotronic

    Follow Up question: What if the icon is uploaded but not assigned to a Scene or Device? Can I use it in PopUpService?

     

    Further Question: should this be "scena" or "scene"?

     

    http://<YOUR_HC_IP>/fibaro/icons/scena/*.png

    • 0
  • Inquirer
  • Posted

     

    Here are some examples of what I am trying - none resulted in icon showing in PopUpService:

    'http://<IP>/fibaro/icons/scena/Elsa 128x128px.png'

    'http://<IP>/fibaro/icons/scene/Elsa 128x128px.png'

    'http://<IP>/fibaro/icons/Freeze Shutters LR/Elsa 128x128px.png'

    • 0
    Posted

    Hi @Lenny212 ,

     

    links are copy pasted and are correct. scena is correct, it is in Polish.

     

    1 minute ago, Lenny212 said:

     

    Here are some examples of what I am trying - none resulted in icon showing in PopUpService:

    'http://<IP>/fibaro/icons/scena/Elsa 128x128px.png'

    'http://<IP>/fibaro/icons/scene/Elsa 128x128px.png'

    'http://<IP>/fibaro/icons/Freeze Shutters LR/Elsa 128x128px.png'

     

    Names of custom icons are usually User1020.png where 1020 is ID of the icon. That is why I give you solution how to get icon name. Another solution is to get my

     

     

    With Icon preview VD you can easily find all HC installed icons names for rooms, scenes and virtual devices :-)

     

    NOTE

    If you use icons that are installed locally on HC then they will be shown on mobile app only if mobile device is connected to HC on local network. They will NOT show when you are out of your home and connected to HC remotely.

     

    If you want to show icons on popup notifications when not at home then you either need to connect to HC using VPN or place icons on some FTP server on the internet.

     

     

    • Like 1
    • 0
  • Inquirer
  • Posted

    Thanks so much for the detailed follow up response @Sankotronic

    I will give it a go!

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