Jump to content
Guides for the Forum Read more... ×
Poradniki na Forum Read more... ×
FIBARO Home Center App 1.0.0 - release Read more... ×
FIBARO Home Center App 1.0.0 - wydanie Read more... ×
  • 0
pogo

A problem: API with real time devices status...

Question

I'm trying to create a desktop app for my HC2 using API and maybe one day a personalized android app.

But to be able to control everything I need a real time status of all devices.

I can read all devices via API, but the API won't send me info that something has changed. Also reading all is rather slow... Acceptable only for the first view.

I wish there were anything that I can call to get all changes since last call... or rather since specified time.

 

There's something called refreshStates but I can't see the way to force it to show anything... 

Edited by pogo

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
  • Inquirer
  • Thanks :)

    I know what was wrong... I used timestamp as "last" value for request... that was stupid of me :D 

    Share this post


    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    ×