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

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

    I've seen the toolkit about but never used it before. Just installed it and it's pretty good, got all my stuff backed up now so should anything catastrophic happen I've got some form of external backup :->

     @Desmo

    yep, its a pretty neat application.

     

    For your backups are they separate to the HC2

    I generally have both, backup of my setup in HC2 and then all my scene and VD code on my NAS 

    Posted

    Yeah, backups are on my media server so pretty safe and kept away from the HC2.

    Posted

    Hey @AutoFrank,

    pauseplay and togglemute work, thanks!

     

    can you help me with this one:

     

    Your Weather scene/ button from a few pages back, I cant get it to work... can you please take a look and help me out?

    VD button lua:

    Please login or register to see this code.

    thanks

     

    Jim 

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

    Hey @AutoFrank,

    pauseplay and togglemute work, thanks!

     

    can you help me with this one:

     

    Your Weather scene/ button from a few pages back, I cant get it to work... can you please take a look and help me out?

    VD button lua:

    Please login or register to see this code.

    thanks

     

    Jim 

     

    No worries @jimicr

    Is your zone called 'kitchen' ?

    what error messages are you getting in the debug window ?

     

    Posted

    Thanks it's Kitchen and no errors in debug. I noticed that if I shorten it to the first global "wCast" it speaks upto the global but not the global..

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

    Thanks it's Kitchen and no errors in debug. I noticed that if I shorten it to the first global "wCast" it speaks upto the global but not the global..

     

    Hi @jimicr

    two things spring to mind...(but you prob have tried both already :-) )

     

    Is the str full encoded all the way to the end (%20 or + or whatever is needed

    - If you echo the str to the debug window before you TTS it, you might see something 

     

    Is there a max number of characters or max time that the google TTS is limited by ?

    - have you tried just a text sentence pulled from anywhere that is of equal length or greater ? ( I know its not a limitation with the api as I have it working )

    Posted
    7 minutes ago, AutoFrank said:

     

    Hi @jimicr

    two things spring to mind...(but you prob have tried both already :-) )

     

    Is the str full encoded all the way to the end (%20 or + or whatever is needed

    - If you echo the str to the debug window before you TTS it, you might see something 

     

    Is there a max number of characters or max time that the google TTS is limited by ?

    - have you tried just a text sentence pulled from anywhere that is of equal length or greater ? ( I know its not a limitation with the api as I have it working )

     

    The debug shows no special characters like + or %20

    The speaker goes quiet for a while and then resumes playing

     

    this one without globals works like a charm:

     

    Please login or register to see this code.

    Will try to speak a global in half an hour, going to try to put the girls to bed.

    Posted

    Hi @AutoFrank, turned out to be a size limit: I just tried different lengths and now it works.

    Found this for reference:

    Please login or register to see this link.

     not sure if it applies here.

     

    But thanks for helping!! 

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

    Hi @AutoFrank, turned out to be a size limit: I just tried different lengths and now it works.

    Found this for reference:

    Please login or register to see this link.

     not sure if it applies here.

     

    But thanks for helping!! 

     

    @jimicr

    That's interesting ..

    I wonder if voiceRSS has the same restriction...

    Might be worth a shot if the Google limit is too short ..

     

    ..Anyway glad you got it sorted .

    -f

    Posted
    1 minute ago, AutoFrank said:

     

    @jimicr

    That's interesting ..

    I wonder if voiceRSS has the same restriction...

    Might be worth a shot if the Google limit is too short ..

     

    ..Anyway glad you got it sorted .

    -f

    VoiceRSS can speak it all, but I dont like the voice it uses.

    I am glad it's working now! :)

    Posted

    So with me adding in a 20 second delay on the main loop meant my VD ran for 5.5 hours. Changed it to a 60 second loop to see if that extends the time.

    It's never going to be practical but it might help track down what the issue might be.

     

    3 Second Main Loop = 17 minutes until crash

    20 Second Main Loop = 5.5 hours until crash

    60 Second Main Loop = ??????

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

    So with me adding in a 20 second delay on the main loop meant my VD ran for 5.5 hours. Changed it to a 60 second loop to see if that extends the time.

    It's never going to be practical but it might help track down what the issue might be.

     

    3 Second Main Loop = 17 minutes until crash

    20 Second Main Loop = 5.5 hours until crash

    60 Second Main Loop = ??????

     

    @jimicr

    Should be interesting to see if teh upgrade to 4.11 fixed this issue

    Posted

    I am already on 4.110. But can try a few things :-)

  • Topic Author
  • Posted
    Just now, jimicr said:

    I am already on 4.110. But can try a few things :-)

     

    @jimicr..ah.. you took the plunge.. That's even weirder. Do you want to export the VD as is and I'll run it on my system and see if its stops. What pi (?) are you running the api on  ?

    Posted

    I'm at work now will do when I get home

    Posted

    I think you've mixed us up @AutoFrank....I'm not on 4.11 yet :-)

  • Topic Author
  • Posted
    Just now, Desmo said:

    I think you've mixed us up @AutoFrank....I'm not on 4.11 yet :-)

     

    @Desmo

    .. oops ..sorry :oops:

    Posted
    1 minute ago, Desmo said:

    I think you've mixed us up @AutoFrank....I'm not on 4.11 yet :-)

    Ui Found It Weird as well haha

  • Topic Author
  • Posted (edited)
    38 minutes ago, jimicr said:

    Ui Found It Weird as well haha

     

    @jimicr @Desmo

     

    I forgot the golden rule - Men CANNOT multitask,

    ...I just end up doing 2 things really badly :-)

     

     

     

    Edited by AutoFrank
    Posted

    So....running for 7.5 hours without a hitch with a 60 second main loop refresh. It's odd....it's almost like it can only handle so much data and then it's crashing.

    Still going for now, will be interesting to see when it packs up.

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