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

16.5 hours run time with a 60 second main loop....there's definitely something strange, almost like a memory leak or something where it's basically getting clogged up and quitting.

Posted

Upgraded to 4.11 this morning and VD has been running for 1.5hrs main loop delay.....much better than the 17 minutes from before :-)

Fingers crossed that's the problem solved. 

  • Topic Author
  • Posted
    2 hours ago, Desmo said:

    Upgraded to 4.11 this morning and VD has been running for 1.5hrs main loop delay.....much better than the 17 minutes from before :-)

    Fingers crossed that's the problem solved. 

     

    @Desmo

    that's a good start...

    Let me know how the long term testing goes :-)

     

    Posted

    Playing with this API is fun.

    As a surprise for my wife the Imperial March will blast at her when she gets home from work tomorrow... Wonder how mad she'll be at me :)

  • Topic Author
  • Posted
    1 hour ago, jimicr said:

    Playing with this API is fun.

    As a surprise for my wife the Imperial March will blast at her when she gets home from work tomorrow... Wonder how mad she'll be at me :)

     

    @jimicr

    glad it's working out.....

    Here's hoping your wife sees the funny side or it could all end in tears :-)

     

     

    Posted
    6 minutes ago, AutoFrank said:

     

    @jimicr

    glad it's working out.....

    Here's hoping your wife sees the funny side or it could all end in tears :-)

     

     

    Nah she's used to it.... And she always pulling my leg aswell :D

  • Topic Author
  • Posted
    7 minutes ago, jimicr said:

    Nah she's used to it.... And she always pulling my leg aswell :D

     

    @jimicr

     

    I think that the case for most of out better half's.. otherwise we wouldn't be allow to play :-)

    my wife gets greeted with - "Welcome Home, The house temperature is  XX"

    .. might try a marching band for fun some day :-)

     

    Posted
    18 hours ago, jimicr said:

    Playing with this API is fun.

    As a surprise for my wife the Imperial March will blast at her when she gets home from work tomorrow... Wonder how mad she'll be at me :)

    I did similar once but with all of my RGBW strip lights around the house. Wife walks in and LAPD mode goes off :mrgreen:

     

    On another note...this has been running fine now since the update on Saturday so must have been some bug with HC2 on V4.080.

     

    Just one thing I'd like to fix now and that is 3 of my players all show "Stopped" when off but one shows "Paused_Playback". Odd.

  • Topic Author
  • Posted
    20 minutes ago, Desmo said:

    Just one thing I'd like to fix now and that is 3 of my players all show "Stopped" when off but one shows "Paused_Playback". Odd.

     

    @Desmo

    Greta to hear that the upgrade solved the issues

    I think the PAUSED_PLAYBACK v STOPPED is radio v music track being stopped/paused

    If you are just looking to have the display on the VD the same you could code an approach like "if state == paused_playback or state == stopped then display stopped in label "

     

     

    Posted

    Yeah, that would make sense. Most are streaming radio from the internet whilst the odd one out is via spotify. I did think of changing as you said but wondered if there was an obvious reason I was missing.

    Posted

    Still up and running without a hitch :-D Also changed my Play and Stop messages to the traditional "Triangle" and "Square" icons as they take up less space and look nicer.

    Now this is running properly I've set up a scene to let me know when the baby is asleep. We play white noise in her room when sleeping and so I can now set a variable along with a door sensor so I know when she's sleeping....I can now automatically limit volume on the other speakers should somebody else turn them on.

    • 2 weeks later...
    Posted

     

    Running the same engine since a while. The API is great and TTS functions works perfectly.

     

    I'm using a slightly modified VD as I wanted to have a compact tile on HC2 web interface.

    Please login or register to see this image.

    /monthly_2017_02/small.jpg.37c8f1887cd7db2c7ab3bbfcb6dd2e21.jpg" style="width:80px;height:auto;" alt="small.jpg" />

     

    Please login or register to see this attachment.

  • Topic Author
  • Posted
    5 minutes ago, jcichon01 said:

     

    Running the same engine since a while. The API is great and TTS functions works perfectly.

     

    I'm using a slightly modified VD as I wanted to have a compact tile on HC2 web interface.

    Please login or register to see this link.

     

    Please login or register to see this attachment.

     

    Hi @jcichon01

     

    Glad to hear its working out well :-)

    that compact VD looks v slick.

    . if you have a chance would you mind sharing the code from your 'main' button as I think it would be a nice addition to this post

     

    -f

    Posted (edited)
    25 minut temu, AutoFrank napisał:

     

    Hi @jcichon01

     

    Glad to hear its working out well :-)

    that compact VD looks v slick.

    . if you have a chance would you mind sharing the code from your 'main' button as I think it would be a nice addition to this post

     

    -f

     

    sure, no problem :)

     

    Zone name is hardcoded as it contains "space" (and thus the need for %20) which does not look good being in VD name ;)

    Please login or register to see this code.

    and forgot the "main button"... here it is

    Please login or register to see this code.

     

    Edited by jcichon01
  • Topic Author
  • Posted
    1 minute ago, jcichon01 said:

     

    sure, no problem :)

     

    Zone name is hardcoded as it contains "space" (and thus the need for %20) which does not look good being in VD name ;)

    Please login or register to see this code.

     

     

    Thanks @jcichon01

    Posted

    Nice VD @jcichon01

     

    Here's something you might like to add for a little neatness....

    Please login or register to see this code.

    It changes the states to icons instead which I think looks far nicer :)

    Posted
    1 godzinę temu, Desmo napisał:

    Nice VD @jcichon01

     

    Here's something you might like to add for a little neatness....

    Please login or register to see this code.

    It changes the states to icons instead which I think looks far nicer :)

     

    COOL, will do that right away :) 

    Posted (edited)

    Any of you guys go the code so I can use a slider to report/set the volume?

     

    Never used sliders in a VD before and my baby sleep deprived brain can't work it out right now :cry:

    Edited by Desmo
    Posted
    7 godzin temu, Desmo napisał:

    Any of you guys go the code so I can use a slider to report/set the volume?

     

    Never used sliders in a VD before and my baby sleep deprived brain can't work it out right now :cry:

     

    sure :)

    Please login or register to see this code.

     

    ui.sldVol.value is your slider element's ID.

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