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

VD not display in AndroidFibaroApp


Tomax

Question

I have an VD to gather real time values for monitoring battery bank. 

I can see these values in HC2 but not in Fibaro App (android). Is there an Fibaro App bug? Could be fixed somehow?

 

Thank a lot for any feedback,

Tomas

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0
  • Inquirer
  • I'm trying to see that data coming from the Arduino board into the Virtual Device... from Fibaro App (Android).

    Link to comment
    Share on other sites

    • 0

    But in our app, which view do you check? Could you post a screenshot where do you think this VD should be?

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Srodka, first scenario was using no labels for Virtual Device, so the only info I was looking for was the "green text" to display the values (exactly as used by default do display "power" for wallplug). So that green line cannot be seen in App.
    In the second, I used labels; now I can see the labels (values attached) in App. It is ok for me now.

    Can you help to figure out another issue, please?
    I have that Virtual Device monitoring a battery bank. I would like to set the global variable to "1" if the battery is charged (>96V) and to "0' if it's discharged (<96V). I already create that variable but I don't know how to create the scene since the "if" cannot call the virtual device at all (I mean in "block scenes", the virtual device are not displayed to let me set the ui.Label1.value as trigger). 
    Some code example will help me a lot, Srodka!

    Thanks,

    T

    My not-working code is this:

     


     

    Please login or register to see this code.

     

    Link to comment
    Share on other sites

    • 0

    Hi @Tomax!

     

    I would drop that scene and I think it would be better to use VD completely instead.

     

    Just make a VD which will check it as well:

    Please login or register to see this code.

    Set some sleep time, for example 5 seconds, and code that this VD will change the global variable.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Hi Srodka, 

     

    I've tried to code as you suggest but I found that the function 

    Please login or register to see this link.

     can be used only for global variables that are not read-only variables
    (source:

    Please login or register to see this link.

     ).

    Is any way to overwrite/change an read-only global variable (to one of 4 predefined values)?

    Edited by Tomax
    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...