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 want to find for a specific device, all the scenes it is used in. How can I do this, without needing to open every scène and write down the devices I find in there?

Posted

I belive you can't do this. You need to open them one by one.

If aim wrong, i will be very happy.

Posted

You can get the scenes triggering on a device.

Please login or register to see this code.

 

  • Like 3
Posted

For sake of completeness, for a binary switch I used property = "state", instead of property = "value". It doesn't seem to accept a wildcard here, nor can you leave out that part of the JSON query. Is there a trick?

Posted
1 minute ago, petergebruers said:

For sake of completeness, for a binary switch I used property = "state", instead of property = "value". It doesn't seem to accept a wildcard here, nor can you leave out that part of the JSON query. Is there a trick?

No, I think you need to specify the property.

Just now, jgab said:

No, I think you need to specify the property.

I believe this is the mechanism used by fibaro to find the scenes to test the condition for given an incoming event.

Posted (edited)

Thanks. Probably many power users on this forum tackle this question in a different way: get all scenes and all QucikApps on our PCs and do a "grep"

 

Oleg posted a Python script once, and then we discussed this, but we never came to a consensus on how to write a universal way. That script may still work, I haven't used it since it was published

 

I hope Oleg is OK, he has bigger issues at the moment... in Ukraine.

 

Edited by petergebruers
  • Thanks 1
Posted (edited)

Yes, I have similar code. It's a bit more complicated now as QAs can have multiple files and conditions part of a scene where ids can hide

To catch a bit more of usages you need to do some "simple" variable flow tracking too. Like

Please login or register to see this code.

 

etc.

Edited by jgab

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