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

[INFO] v1.5 of sonos http api available


Question

Posted

Hi folks,

 

v1.5 of the api is now available on GIT, (just take the latest master)

This version contains a number of fixes and some enhancements including some changes to the clip feature

The list can be found here 

Please login or register to see this link.

 

In previous releases the /SAY/ command could get cut off early before it finished or not play at all especially if you had a long sentence being spoken

I have been testing the fix for this in v1.5 over the last few days and it would appear to be resolved

 

Upgrade as follows (if running tha api on a pi with Raspbian image)

 

log into pi (normally pi and then raspberry)

 

rename your existing api directory to node-sonos-http-api-old

Please login or register to see this code.

 

Clone the latest api master branch from git and place in new directory called node-sonos-http-api

Please login or register to see this code.

 

Copy your settings.json file from your old to your new api folder

Please login or register to see this code.

 

Download the necessary dependencies

Please login or register to see this code.

 

Move back to pi home directory and reboot

Please login or register to see this code.

 

The new version of the api should be running and can be checked through a browser if you wish

 

Please login or register to see this code.

 

 

enjoy.....

 

 

 

 

 

  • Thanks 3

4 answers to this question

Recommended Posts

  • 0
Posted

Thanks for the heads up!

 

Jim

  • 0
Posted

@AutoFrank

 

thanks for your explanation.

After the implementation I get the following error regarding tts (and the roomnames are not from me....):

Do you have a tip?

 

> [email protected] start /home/pi/node-sonos-http-api-master
> node server.js

2017-10-29T13:39:32.030Z INFO Presets loaded: { example:
   { players:
      [ { roomName: 'Bathroom', volume: 10 },
        { roomName: 'Kitchen', volume: 10 },
        { roomName: 'Office', volume: 10 },
        { roomName: 'Bedroom', volume: 10 },
        { roomName: 'TV Room', volume: 15 } ],
     playMode: { shuffle: true, repeat: 'all', crossfade: false },
     pauseOthers: false } }
2017-10-29T13:39:34.390Z INFO http server listening on port 5005
2017-10-29T13:39:34.776Z ERROR
  { error: 'action \'tts\' not found' }"

 

Regards

Hoggle

 

  • 0
Posted

A update of the RPI solved the problem.....

  • 0
  • Inquirer
  • Posted
    1 hour ago, Hoggle said:

    A update of the RPI solved the problem.....

     

    sorruy @Hoggle, late back to this 

     

    the 

    Please login or register to see this code.

    are just sample (example)  zone names

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