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

api panels event


parip69

Question

Hi

API ->   How can i read the latest events from a device. I need the device ID.

 

 

not all Only from a device ID.  - >   http://192.168.11.111/api/panels/event?last=10&type=id

Thank you.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

 

current:

 

http://192.168.1.36/api/devices/759

 

Please login or register to see this image.

 

 

Please login or register to see this code.

 

or from history:

 

http://192.168.1.36/api/panels/event?last=1&type=id&deviceID=759

 

M5DKIsd4T9.png

Edited by 10der
Link to comment
Share on other sites

  • 0
  • Inquirer
  • this works well with your temperature sensor but I need DEN energy consumption from this Fibaro GEN5 Fibaro Wall Plug

    Fibaro Wall Plug GEN5

     

    http://192.168.11.111/api/devices/14

    I need that value.  "power": "0.00",

     

     

    Link to comment
    Share on other sites

    • 0

    IMHO

     

    Please login or register to see this image.

    UPD:

    thoughts aloud: You can't find the right answer if you ask the wrong questions.

    Link to comment
    Share on other sites

    • 0

    @10derthat's a super interesting screenshot. where did you get that if i may ask? having something like that would solve a whole bunch of the current questions/issues i'm running into with my projects.

    Link to comment
    Share on other sites

    • 0
    1 minute ago, LordOfFalcons said:

    where did you get that if i may ask?

    lol

     

    navigate locally on your PC

    http://192.168.1.36/docs/#!/consumption/getEnergy

     

    where 192.168.1.36 is IP address of your HC

     

    Link to comment
    Share on other sites

    • 0

    wow. and there is a whole library of interactive documentation there... a treasure trove of resources i never thought existed. and i've been asking some of these questions on forum and nobody told me to 'just read the *abuse* manual'... the pro's and con's of a community of nice people :-D

     

    anyways. thanks for the quick response and this amazing tip.

    • Like 1
    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...