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

How to find ID;s of devices


SpaceCompany

Question

maybe a simple question,

 

but is there a way to extract a list of all devices (inluding actors, reactors, users) and its corresponding ID ?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
On 1/27/2017 at 8:29 PM, seiq said:

Here's another version that automatically adds users and scenes too. All room/device/scene/etc names are converted to lowercase (except the mobile device name so it can be copy/pasted from the Access Control settings page on HC2).

ID's are available using the following format:

HC2["zwave devices"]["room name"]["device name"]

HC2["virtual devices"]["room name"]["device name"]

HC2["mobile devices"]["device name"]

HC2["scenes"]["room name"]["scene name"]

HC2["users"]["user name"]

Please login or register to see this code.

 

 

Link to comment
Share on other sites

  • 0

Hello,

 

i have the problem that i want to find out the IDs of all devices i can turn on/off for a script i can run to switch all device off when i'm leaving home.

 

this is the code snippet i use:

Please login or register to see this code.

 

i hope i can count/select the devices over the interface - for my BatteryCheck-script it runs perfectly

 

thanks for the help and answers

 

greetings

Cannon

 

Link to comment
Share on other sites

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