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)

Here is a small QuickApp that can be very helpful for developers. Many times, when we needed to solve problems remotely, we had to check certain values in Swagger. This usually meant quickly writing some Lua code just to retrieve the device’s JSON data.

This small QuickApp allows you to simply select a device and access any information you need to inspect.

Note: untick the new view for mobile application checkbox 

 

Please login or register to see this attachment.

Edited by Neo Andersson
Posted

1. Sort the files displayed in some stable order, so that ex. id is always at top, type second etc... it slows the usage down if you have to hunt through the whole list to find the field you are looking for...
2. [Reload] I would expect to just update the current view displayed. Now it clears the device selected and it has to be reselected.
3. Why encrypted?
 

  • Topic Author
  • Posted
    2 hours ago, jgab said:

    1. Sort the files displayed in some stable order, so that ex. id is always at top, type second etc... it slows the usage down if you have to hunt through the whole list to find the field you are looking for...
    2. [Reload] I would expect to just update the current view displayed. Now it clears the device selected and it has to be reselected.
    3. Why encrypted?
     


    1. Devices are sorted by ABC. And anyway you have searchbox in every dropdown. Or am i not getting you? You dont have to print the entire JSON, you can multiselect some property fields that you re interested in etc..But feel free to adjust it to your liking.
    2. Reload is for plugin reload. It serves for situations when api.get/devices needs to be refreshed (your system got new devices or some was removed)
    3. Encrypted because i just uploaded it to here when we were uploading it to customers, and there we use encrypted versions. I did not think even about this. This is a simple QA, nothing out of ordinary, especially nothing new for you :-), but i am attaching the fqa too.

    Please login or register to see this attachment.

    • Like 4

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