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

Like the app update log says, the favorite tab is stored on the hub. Is it access able somewhere with the api/swagger in an json format maybe? :D

it is no info about it under the device id of the phones 🤔 
May I ask you about this to @m.roszak ?
May you check about this? :D 


Please login or register to see this attachment.

Posted

So, it was planned as typical Yubii App internal feature but I don't see why not share the API, its super easy to use:
 

GET /api/mobile/settings/  - list of all stored configs

GET /api/mobile/settings/$uuid - configs for specific device

PUT /api/mobile/settings/$uuid - updating

DEL /api/mobile/settings/$uuid - deleting

 

We will add this into the swagger in 5.191. 

  • Like 1
  • Thanks 1
  • Topic Author
  • Posted
    5 hours ago, m.roszak said:

    So, it was planned as typical Yubii App internal feature but I don't see why not share the API, its super easy to use:
     

    GET /api/mobile/settings/  - list of all stored configs

    GET /api/mobile/settings/$uuid - configs for specific device

    PUT /api/mobile/settings/$uuid - updating

    DEL /api/mobile/settings/$uuid - deleting

     

    We will add this into the swagger in 5.191. 

     

    Thanks works like a charm!! :D


     

    • Like 1
    • 5 months later...
    Posted
    On 10/2/2025 at 9:51 AM, m.roszak said:

    GET /api/mobile/settings/  - list of all stored configs

    GET /api/mobile/settings/$uuid - configs for specific device

     

    That's a cool way of getting some info on the mobile app

    In my case I'm looking to get the app's "skin" parameter in order to apply some color scheme to my QA accordingly.

    @m.roszak do you know if the app's skin/theme "dark" or "light" preference will someday be shared in the Json of /api/mobile/settings/$uuid ? It's not the case now, but could it be suggested for some next release ?

     

    Thanks

     

    Posted

    Ah, its for now local phone setting not related with the hub in any way - I will put it in the backlog as an idea.

    For now, if you are using the same theme in web and app - you can base your theme in QA on hub settings.

    • Like 1
  • Topic Author
  • Posted
    1 hour ago, m.roszak said:

    Ah, its for now local phone setting not related with the hub in any way - I will put it in the backlog as an idea.

    For now, if you are using the same theme in web and app - you can base your theme in QA on hub settings.


    1+. I agree with @fel-x we should have the light/dark from the mobile to :D 

    Posted (edited)
    5 hours ago, m.roszak said:

    For now, if you are using the same theme in web and app - you can base your theme in QA on hub settings.

    This is exactly what I'm doing :-)

    My QA is checking the "skin" parameter on the hub and adjusts colors according to it. It's very nice on the web UI.

    I was writing a function to adapt the colors on the app in case the QA is running on the app, but since there is not (yet) a solution to check user's preferences on the app, it will be based on the Hub setting.

     

    Of course not everyone uses web and app identical theme/skin settings...

    So thanks for putting the idea in the backlog 👍 

    it will definitely make my QA's look better for eveybody.

     

    Edited by fel-x

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