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

I do really like this @jgab :D

But do you have any toughts on how we could access it on a Pad/tablet? 🤔 
Are you thinking view the layout from browser with some ipadresse of the host pc and port number, cast the view or making a app version for tablets?  🤔 
I guess this is somthing a bit in the future, but just to hear your toughts about it :D 

 

  • Topic Author
  • Posted (edited)

    The framework I use allows me to build for iPad and Android tablets.
    It will require some changes to the UI to be more touch friendly and some way to avoid having people to muck around with data files... I have started the UI journey...
    I must also pay $99 to apple for a developer license to get it distributed via the appstore.
    So, I'm trying to come up with more reasons why I need an apple developer license...
    Google license is only $25, and I believe that apps can be side-loaded on those devices? but I don't have an Android tablet, and would like to avoid buying one...

     

    I will make some experiments with the iPad locally in the future and if it looks promising I may make the jump...

    Edited by jgab
    • Thanks 1
    Posted
    4 minutes ago, jgab said:

    The framework I use allows me to build for iPad and Android tablets.
    It will require some changes to the UI to be more touch friendly and some way to avoid having people to muck around with data files...
    I must also pay $99 to apple for a developer license to get it distributed via the appstore.
    So, I'm trying to come up with more reasons why I need an apple developer license...
    Google license is only $25, but I don't have an Android tablet, and would like to avoid buying one...

     

    I will make some experiments with the iPad locally in the future and if it looks promising I may make the jump...


    Hmm, 
    I am just thinking.. 🤔
    To make it a user frendly way to add devices 🤔(thinking of touch to)
    When in edit mode, can we display a "add device" button instead of the "Right click->add device" and an "Dropdown window" with all devices that is connected to the hc3?
    But then again we have to make spesefic widgets for each type of com.fibarodevices.. I guess? 


    The license is it a onetime payment or monthly payment to have it in the store? 🤔






     

    Posted
    38 minutes ago, jgab said:

    Fixes the missing widget bug, hopefully

    Sorry, not fixed, the dropdown list is still empty

    Please login or register to see this image.

    /monthly_2025_10/image.png.07834c3ec74a3f31379213e7358e36e0.png" />

  • Topic Author
  • Posted
    8 minutes ago, Brors94 said:


    Hmm, 
    I am just thinking.. 🤔
    To make it a user frendly way to add devices 🤔(thinking of touch to)
    When in edit mode, can we display a "add device" button instead of the "Right click->add device" and an "Dropdown window" with all devices that is connected to the hc3?

     

    Yes, to present a list of current device on the HC3 is in my mind, but if you have a lot of devices the dropdown list becomes long....
     

    8 minutes ago, Brors94 said:

    But then again we have to make spesefic widgets for each type of com.fibarodevices.. I guess? 
    The license is it a onetime payment or monthly payment to have it in the store? 🤔


    It's per year.

    2 minutes ago, Christb said:

    Sorry, not fixed, the dropdown list is still empty

    Please login or register to see this link.

    How's the structure of your homemapdata folder? especially the widgets/*

  • Topic Author
  • Posted (edited)
    6 minutes ago, jgab said:

     

    Yes, to present a list of current device on the HC3 is in my mind, but if you have a lot of devices the dropdown list becomes long....
     


    It's per year.

    How's the structure of your homemapdata folder? especially the widgets/*

    Actually, you probably have a folder named widgets/ with all the widgets.json files in?
    If you create a subfolder widgets/built-in/
    and move the widgets.json files there.

    This is the new structure and I thought that I had a backward compatible fix, but not in 0.1.10.

    Edited by jgab
    • Like 1
    Posted
    6 minutes ago, jgab said:

    How's the structure of your homemapdata folder? especially the widgets/*

     

    Please login or register to see this attachment.

     

    Please login or register to see this attachment.

  • Topic Author
  • Posted (edited)

    so move the widgets json files under widgets/built-in/*

    Please login or register to see this image.

    /monthly_2025_10/image.png.5d3a7130a87329744f8de595e478924d.png" />

    Also the icons
    image.png.c045afe6028e65686468870393e04736.png

    Edited by jgab
    Posted
    2 minutes ago, jgab said:

    so move the widgets json files under widgets/built-in/*

    I dit it and now get the full list, thanks

    Please login or register to see this image.

    /monthly_2025_10/image.png.58e05e65601c3bdd8ee555fb185bbdaf.png" />

    BUT I STILL HAVE  the connection error just after pressing the Add Device button:

     

    image.png.1f9d96033be9e509d24e23eec1f8e8a4.png

    Before, closing the application and launching it again regain connection: no more now because the config.json file has been updated with "devices" array as below:

     

    "devices": [
            {
                "id": 416,
                "name": "Escalier_cave",
                "floor_id": "Cellar0",
                "position": {
                    "x": 401.4000244140625,
                    "y": 508.2999954223633
                },
                "type": "light"
            }
        ],

    If I suppress the data in the device array, I can have homemap connected again. Strange!

  • Topic Author
  • Posted
    6 minutes ago, Christb said:

    IBefore, closing the application and launching it again regain connection: no more now because the config.json file has been updated with "devices" array as below:

     

    "devices": [
            {
                "id": 416,
                "name": "Escalier_cave",
                "floor_id": "Cellar0",
                "position": {
                    "x": 401.4000244140625,
                    "y": 508.2999954223633
                },
                "type": "light"
            }
        ],

    If I suppress the data in the device array, I can have homemap connected again. Strange!

     

    Just to clarify, if you have a devices in h devices list you can connect? or you can't?
    So there was a lock implemented that would refrain it from connecting again unless one re-saved the settings (the cog-wheel). Thinking that people should correct the credentials. If not the app would try to get events when starting up and immediately complain that there were multiple failed attempts.
    Now 0.1.12 (ready in 10min)  will not try to get events if lock is in place. You need to open settings (cogwheel) and the lock will be reset. Also a place to update the credentials if they were wrong and try "Test connection"

    Posted (edited)

    my idea too to import devices. Better to clear the list as to add devices separately.

    Floor plan is it possible to:

    one  jpg of the whole floor and if you click on that floor on a room you get that room full screen?

    Thanks for consideration.

    Edited by Sjakie
    floor plan
    Posted

    Running latest version.

    Ok I have the floor map. If I create under images/built-in and move floor map I get error can't find then file.

     

    Second once I saw a lamp but now I can't get a light in my floor plan what am I doing wrong?

    Please login or register to see this code.

     

    Posted (edited)
    2 hours ago, jgab said:

    Just to clarify, if you have a devices in h devices list you can connect? or you can't?

    Home map is connected at launch but disconnected with the message 1 second later.

    2 hours ago, jgab said:

    Now 0.1.12 (ready in 10min)  will not try to get events if lock is in place

    Update done, using the menu configuration I re-enter all credential an save, relaunch application which is again connected to HC3

    Try to add a device in Cellar and 1s after pressing the Add Device button, Application disconnected due to to much failed connections. 

    A new icon is present in the cellar0 floor (when inspecting it shows that it is named as the new device just added).

    I checked the config.json file and the device data are present in the array (attached).

    the .env file is also correct.

    For your information:

    I cannot change the access to https -> Connection Failed: undefined

    Even if I enter its IP address as 192.1681.107 in the console it is stating that apllication is connected to http;//hc-0000xxxxx which is the address I am using to connect HC3 in https but its attempt to get my HC3 settings seems to be accepted

    Attached also a text file with the Shift-Ctrl-I script: HomeMapConsole.txt

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Edited by Christb
  • Topic Author
  • Posted
    29 minutes ago, Sjakie said:

    Running latest version.

    Ok I have the floor map. If I create under images/built-in and move floor map I get error can't find then file.

     

    Second once I saw a lamp but now I can't get a light in my floor plan what am I doing wrong?

    Please login or register to see this code.

     

    If your floor image path is   "image": "images/Appartement_rev_03.jpg", it needs to be there. If you move it to images/built-in/ directory you must change path to
     "image": "images/built-in/Appartement_rev_03.jpg"

    However, the built-in subduers are only neccessary for icons and widgets.

    See post 

    Do you have the widgets and icons in the right subdir?

  • Topic Author
  • Posted

    [0.1.15] - 2025-10-30

    Added

    • Device Parameters System:
      • New params field in device configuration for customization
      • Custom icon set support - override widget icons per device
      • UI fields in Add/Edit Device dialogs for icon set selection
      • Backward compatible - existing configs work without changes
      • Documentation: docs/CUSTOM_ICONS.md with complete guide
      • Example icons: docs/examples/custom-icons/exampleCustomLight/
      • Implementation docs: docs/DEVICE_PARAMS_IMPL.md

    Changed

    • Widget Rendering:
      • renderDevice() checks for device.params.iconSet before using widget default
      • Custom icon sets loaded dynamically at render time
      • Allows same widget to have different icons on different devices

    Benefits

    • No Widget Cloning: Users don't need to duplicate widget files for custom icons
    • Per-Device Customization: Each device can use unique icon sets
    • Theme Support: Easy to create and switch between visual themes
    • Non-Destructive: Original widget definitions remain unchanged

    Future Extensions

    • Support for additional parameters: iconSize, iconColor, customStyles, rotateIcon
    • Like 1
    Posted
    5 hours ago, jgab said:

     

    Yes, to present a list of current device on the HC3 is in my mind, but if you have a lot of devices the dropdown list becomes long....


    It's per year.


    Nice if we get that dropdown later :D 

    and do you have a paypal? I would love to donate to this! (you dont have to use the donation to actually release an app on android/ios, but you deserve it!) 

    But isnt it possible to install app without the ios and androd store?🤔


    And @Sjakie Idea about a floor plan that you hit the room you want to view and get a new view of the room could be solved with a button inside each room to go to another "floor"/"section"=? 
    Like the button we already have, but like a widget? 🤔





     

    Posted

    Jan, I have one light working in my floor plan, hehe.

    If I add second or third device I get error key must be a string line 26.

    Please login or register to see this attachment.

  • Topic Author
  • Posted
    7 hours ago, Sjakie said:

    Jan, I have one light working in my floor plan, hehe.

    If I add second or third device I get error key must be a string line 26.

    Please login or register to see this attachment.

    -The first 2 devices you haven't closed with a "}", only the position object but then you need to add "}"

    -The last device you have a trailing ",".In a json array/table, the last element can't have a "," after it.

     

    If you add devices with the UI (right-click on floorplan) you avoid having to fight with json...

     

    Posted (edited)

    Ok Thanks. If I right click I don't see nothing change.

    If I hold down ctrl key "add device" pops up but I can't click it it's gone before to click.

    Wierd:

    I modify the config.json with the tip you gave and after saving getting error:

    could't find homedatafolder

     

    Edited by Sjakie
  • Topic Author
  • Posted
    20 minutes ago, Sjakie said:

    Ok Thanks. If I right click I don't see nothing change.

    If I hold down ctrl key "add device" pops up but I can't click it it's gone before to click.

    Wierd:

    I modify the config.json with the tip you gave and after saving getting error:

    could't find homedatafolder

     

    Ok, you are on a Mac - no right-click, but ctrl-click, or 2-finger click if you set that up.

    You have a trackpad? Go into settings for trackpad and setup secondary click to be 2 fingers, then the popup menu seems to work better when you click with 2 fingers on the floorplan.

     

    could't find homedatafolder - have you set the location of floorplan in settings? or setup HC3_HOMEMAP=....

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