Ankündigung

Einklappen
Keine Ankündigung bisher.

Immer aktuell: Sonos-Broker und Sonos-Plugin / HowTo

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Immer aktuell: Sonos-Broker und Sonos-Plugin / HowTo

    Sonos Plugin 1.4.8
    • SoCo framework updated to version 0.16
    • bugfix: Google TTS token generation
    • bugfix: coordinator is now set up correctly

    Link on Github


    Bitte keine Antworten auf diesen Post. Hier wird nur das aktuelle Release des Plugins gepostet. Für Fragen, Anregungen und Support steht dieser

    -- Supportthread --

    bereit. Nur dort werden Fragen auch beantwortet ;-)
    Zuletzt geändert von pfischi; 03.10.2018, 18:55.
    Sonos

    #2
    Sonos-Broker v0.2.0-beta (2014-06-06)

    • Command: added join command (joins the speaker to another speaker)
    • Command: added unjoin command (unjoins the speaker from the current group)
    • Command: added partymode command (joins all speaker to one group)
    • Command: added volume_up command (+2 volume, this is the default sonos speaker behaviour)
    • Command: added volume_down command (-2 volume, this is the default sonos speaker behaviour)
    • Event handling now based on soco core functionality
    • added ZoneGroup event handling
    • changed commands pause, play, stop, led, mute to toggle commands (no arguments necessary)
    • fixed bug in play_snippet and play_uri command (case sensitive uri)
    • speaker metadata will only be send, if something has changed
    • many many code improvements


    Sonos-Plugin v0.8.1


    • changed some values in sonos plugin config to 'foo' (commands without parameter like play, pause, next etc)
    • updated usage of 'enforce_updates = True' for some values
    • new command:
      • join [write]: joins a speaker to another speaker (uid as parameter)

      • unjoin [write]: removes the speaker from current group

      • partymode [write]: group all speaker to one zone (partymode)

      • volume_up [write]: increases the volume (+2)

      • volume_down [write]: decreases the volume (-2)

    • new value:
      • additional_zone_members [read]: additional zone members if speaker is in a group

    • changed commands: pause, play, stop, led, mute now toggle commands
    • documentation: 'Group behaviour' added
    • bugfix in command processing


    DOKUMENTATION:


    Sonos-Broker
    Smarthome-Plugin


    DOWNLOADS:


    Sonos-Broker

    Smarthome-Plugin


    Bitte keine Antworten auf diesen Post. Hier soll nur das aktuelle Release des Brokers und des Plugins gepostet sein. Für Fragen, Anregungen und Support steht dieser

    -- Supportthread --

    bereit. Nur dort werden Fragen auch beantwortet ;-)
    Sonos

    Kommentar


      #3
      Sonos-Broker v0.2.1 (2014-06-15)

      • stop, play, pause, led, mute command now supports two value behaviours:
      • toggle mode [if no parameter was passed]
      • direct mode [if parameter was passed]

      • Command: added bass commandommand: added treble command

      • Command: added loudness command (direct / toggle mode)
      • Command: added playmode command ('normal', 'shuffle_norepeat', 'shuffle', 'repeat_all')
      • changed pause command behaviour, if radio is played (wrapped to stop command). This is the default sonos app behaviour.
      • bugifx: additional_zone_member_property was not set correctly
      • some minor soco framework updates


      Sonos-Plugin v0.9
      (2014-06-15)

      • changed values play, pause, stop, led back to normal values (no toggle values). It makes logics easier to write. Please change your sonos item config file!

      • new commands:
        • bass [read/write]: sets the bass for a speaker (value between -10 and 10)
        • treble [read/write]: sets the treble value for a speaker (value between -10 and 10)
        • loudness [read/write]: sets the loudness compensation for a speaker (value 0|1)
        • playmode [read/write] sets the playmode for a sonos speaker values: 'normal', 'shuffle_norepeat', 'shuffle', 'repeat_all'



      DOKUMENTATION:


      Sonos-Broker

      Smarthome-Plugin


      DOWNLOADS:


      Sonos-Broker
      Smarthome-Plugin


      Bitte keine Antworten auf diesen Post. Hier soll nur das aktuelle Release des Brokers und des Plugins gepostet sein. Für Fragen, Anregungen und Support steht dieser

      -- Supportthread --

      bereit. Nur dort werden Fragen auch beantwortet ;-)
      Sonos

      Kommentar


        #4
        Sonos-Broker v0.2.3 (2014-07-08)

        • sonos_broker start script now daemonized (use -d parameter to prevent daemonize behaviour)
          • you don't need the sonos_broker.sh script anymore

        • logger functionality added (see sonos_broker.cfg and documentation)
        • added radio station parser to get normalized artist and track titles
          • you can add more regular expressions to lib_sonos/radio_parser.py to handle your stations

        • system signal handling now implemented (signal.SIGHUP, signal.SIGINT, signal.SIGTERM)
        • better exception handling in cases of uncritical soco exceptions
        • small changes in sonos discover function
        • event subscription now processed by the soco library
        • some adjustments to thread-safe event handling
        • bug: now exceptions in event subscriptions handled as was intended
        • bug: thread start as daemon didn't work properly


        Sonos-Plugin v1.0 (2014-07-08)

        • parameter 'broker_url' in plugin configuration now optional
          • if value is not set, the current system ip and the default broker port (12900) will be assumed
          • manually add this parameter, if the sonos broker is not running on the same system

        • added optional parameter 'refresh' to plugin configuration (edit /usr/smarthome/etc/plugin.conf)
          • this parameter specifies, how often the broker is requested for sonos status updates (default: 120s)
          • Normally, all changes to the speakers will be triggered automatically to the plugin.

        • bug: if a sonos speaker was reported by the broker but was not declared in sonos.conf, an error occured


        smartVISU Sonos Widget v0.1.1 (2014-07-09)

        • if no album cover is given, a transparent PNG is shown
        • see documentation for more informations


        DOKUMENTATION:


        Sonos-Broker

        Smarthome-Plugin
        Sonos Widget

        DOWNLOADS:


        Sonos-Broker
        Smarthome-Plugin
        Sonos Widget


        Bitte keine Antworten auf diesen Post. Hier soll nur das aktuelle Release des Brokers und des Plugins gepostet sein. Für Fragen, Anregungen und Support steht dieser

        -- Supportthread --

        bereit. Nur dort werden Fragen auch beantwortet ;-)
        Angehängte Dateien
        Sonos

        Kommentar


          #5
          Sonos-Broker v0.2.3.1 (2014-07-22)

          • logging now works with daemonized sonos broker
          • added '-s / --stop' parameter to stop the daemonized sonos broker
          • logfile parameter in sonos_broker.cfg now optional
            • default logfile path: /[temp path]/sonos_broker.log (usually /tmp/sonos_broker.log)


          Sonos-Plugin v1.0 (2014-07-08)

          • parameter 'broker_url' in plugin configuration now optional
            • if value is not set, the current system ip and the default broker port (12900) will be assumed
            • manually add this parameter, if the sonos broker is not running on the same system
          • added optional parameter 'refresh' to plugin configuration (edit /usr/smarthome/etc/plugin.conf)
            • this parameter specifies, how often the broker is requested for sonos status updates (default: 120s)
            • Normally, all changes to the speakers will be triggered automatically to the plugin.
          • bug: if a sonos speaker was reported by the broker but was not declared in sonos.conf, an error occured


          smartVISU Sonos Widget v0.1.1 (2014-07-09)

          • if no album cover is given, a transparent PNG is shown
          • see documentation for more informations


          DOKUMENTATION:


          Sonos-Broker

          Smarthome-Plugin
          Sonos Widget

          DOWNLOADS:


          Sonos-Broker
          Smarthome-Plugin
          Sonos Widget


          Bitte keine Antworten auf diesen Post. Hier soll nur das aktuelle Release des Brokers und des Plugins gepostet sein. Für Fragen, Anregungen und Support steht dieser

          -- Supportthread --

          bereit. Nur dort werden Fragen auch beantwortet ;-)
          Sonos

          Kommentar


            #6
            Sonos-Broker v0.3 (2014-09-23)

            • !! ATTENTION !!: commands are changed to JSON commands. They are more flexible than the old HTTP GET commands. Please adapt your clients to this new feature. Older clients won't work. Please read the manual to set it up and get some example implementations. If you're running the Broker together with the Smarthome.py framework, make sure you use the newest Sonos plugin.

            • !! ATTENTION !! Read previous point !! !! ATTENTION !! Read previous point !!
            • commands 'Volume', 'Mute', 'Led', 'Treble', 'Bass', 'Loudness' can now be group commands by adding 'group_command: 1' to the JSON command structure
            • !! seek command is now named SetTrackPosition (see documentation)
            • !! to get the current track position, poll GetTrackInfo with 'force_refresh' option (see documentation)
            • removed command track_info() (this was only useful to get the current track position; use GetTrackInfo instead
            • the Broker now sends only the current changed speaker values instead of the whole Sonos data structure. This results in much less network traffic / overhead.
            • Bug: fixed a problem with join command: join could fail, if the group to join have had more than one speaker
            • Bug: fixed permission problem when saving a Google TTS sound file
            • Bug: sometimes the search for the group coordinator doesn't found a valid object
            • Bug: Loglevel for the SoCo framework differed from the Broker settings
            • added some debug outputs, especially the commands are now logged more detailed
            • much cleaner code and improvements


            Sonos-Plugin v1.1 (2014-09-23)

            • changed commands to JSON requests to implement the new command interface introduced in Broker v0.3
            • added group_command parameter to following items (update your sonos.conf !!!):
              • mute, led, volume, volume_up, volume_down, play_tts, play_snippet, max_volume, bass, treble, loudness

            • play_tts, play_snippet: the group parameter only affects the 'volume'-sub-parameter
            • broker_url parameter was not checked properly for invalid values


            smartVISU Sonos Widget v0.1.1 (2014-07-09)

            • if no album cover is given, a transparent PNG is shown
            • see documentation for more informations


            DOKUMENTATION:


            Sonos-Broker

            Smarthome-Plugin
            Sonos Widget

            DOWNLOADS:


            Sonos-Broker
            Smarthome-Plugin
            Sonos Widget


            Bitte keine Antworten auf diesen Post. Hier soll nur das aktuelle Release des Brokers und des Plugins gepostet sein. Für Fragen, Anregungen und Support steht dieser

            -- Supportthread --

            bereit. Nur dort werden Fragen auch beantwortet ;-)
            Sonos

            Kommentar


              #7
              Sonos-Broker v0.4 (2014-11-09)
              • added new SoCo version
              • changed event parser logic ( thanks to the great SoCo framework)
              • play_tts can now executed like a radio stream without saving the tts file locally
                • this has some disadvantages (no exact timestamp to resume the previous paused track, some time delay due to the radio stream buffering); the "local mode" should be the preferred on
              • added 'fade_in' parameter to play_snippet and play_tts command
                • the volume for the resumed track fades in
              • better Google TTS handling (especially resuming previous tracks) by implementing the SoCo snapshot
              • bug: changed base64 encode and decode algorithm for saving google tts files to urlsafe variant
              • sonos broker should no stop reliable
              • minor bug fixes in documentation


              Sonos-Plugin v1.2 (2014-11-09)

              • added force_stream_mode option to play_tts command (see broker documentation)
              • added 'fade_in' parameter to play_snippet and play_tts command
                • the volume for the resumed track fades in


              smartVISU Sonos Widget v0.1.1 (2014-07-09)

              • if no album cover is given, a transparent PNG is shown
              • see documentation for more informations


              DOKUMENTATION:


              Sonos-Broker

              Smarthome-Plugin
              Sonos Widget

              DOWNLOADS:


              Sonos-Broker
              Smarthome-Plugin
              Sonos Widget


              Bitte keine Antworten auf diesen Post. Hier soll nur das aktuelle Release des Brokers und des Plugins gepostet sein. Für Fragen, Anregungen und Support steht dieser

              -- Supportthread --

              bereit. Nur dort werden Fragen auch beantwortet ;-)
              Sonos

              Kommentar


                #8
                Sonos-Broker v0.5 (2015-01-18)
                • interactive command shell added to interact with the speakers directly (see docu)
                • commands added: get_playlist, set_playlist (see documentation). Its now possible to save and set the playlist for a speaker / zone.
                • commands added: 'is_coordinator'[readonly], 'tts_local_mode'[readonly]: please read the documentation
                • changed some strings to clarify, that a non-existing or broken GoogleTTS configuration disables only the 'local mode'; the 'streaming mode' is always available
                • changed the 'client_list'command: only the uids will be shown
                • bugfix: error during processing a Spotify track
                • bugfix: an error occurred, if the Broker was started with the '-l' parameter and a previous online speaker went offline
                • changed logging handler in daemon.py to global logging handler specified in the config file
                • new SoCo version
                • new start option "-l"
                • this options lists all available Sonos speaker in the network. This is helpful to get the speakers UIDs.


                Sonos-Plugin v1.3 (2015-01-18)

                • added "get_playlist" and "set_playlist" commmands
                • It is now possible to store the playlist for later use.
                • added "is_coordinator" property
                • added "tts_local_mode" property
                • added a fallback method to retrieve the local ip address
                • only working with Sonos Broker version v0.5


                smartVISU Sonos Widget v0.1.1 (2014-07-09)

                • if no album cover is given, a transparent PNG is shown
                • see documentation for more informations


                DOKUMENTATION:


                Sonos-Broker

                Smarthome-Plugin
                Sonos Widget

                DOWNLOADS:


                Sonos-Broker
                Smarthome-Plugin
                Sonos Widget


                Bitte keine Antworten auf diesen Post. Hier soll nur das aktuelle Release des Brokers und des Plugins gepostet sein. Für Fragen, Anregungen und Support steht dieser

                -- Supportthread --

                bereit. Nur dort werden Fragen auch beantwortet ;-)
                Sonos

                Kommentar


                  #9
                  Sonos-Broker v0.5.1 (2015-01-23)
                  • Hotfix: error while handling a DIDL item (in SoCo framework)

                  Sonos-Plugin v1.3 (2015-01-18)

                  • added "get_playlist" and "set_playlist" commmands
                  • It is now possible to store the playlist for later use.
                  • added "is_coordinator" property
                  • added "tts_local_mode" property
                  • added a fallback method to retrieve the local ip address
                  • only working with Sonos Broker version v0.5


                  smartVISU Sonos Widget v0.1.1 (2014-07-09)

                  • if no album cover is given, a transparent PNG is shown
                  • see documentation for more informations


                  DOKUMENTATION:


                  Sonos-Broker

                  Smarthome-Plugin
                  Sonos Widget

                  DOWNLOADS:


                  Sonos-Broker
                  Smarthome-Plugin
                  Sonos Widget


                  Bitte keine Antworten auf diesen Post. Hier soll nur das aktuelle Release des Brokers und des Plugins gepostet sein. Für Fragen, Anregungen und Support steht dieser

                  -- Supportthread --

                  bereit. Nur dort werden Fragen auch beantwortet ;-)
                  Sonos

                  Kommentar


                    #10
                    Neue Version Sonos Broker 0.5.2

                    Sonos-Broker v0.5.2 (2015-02-01)
                    • new auto-renew interval for event subscription, more debug logs
                    • scan interval set to 180sec as default value

                    Sonos-Plugin v1.3 (2015-01-18)

                    • added "get_playlist" and "set_playlist" commmands
                    • It is now possible to store the playlist for later use.
                    • added "is_coordinator" property
                    • added "tts_local_mode" property
                    • added a fallback method to retrieve the local ip address
                    • only working with Sonos Broker version v0.5


                    smartVISU Sonos Widget v0.1.1 (2014-07-09)

                    • if no album cover is given, a transparent PNG is shown
                    • see documentation for more informations


                    DOKUMENTATION:


                    Sonos-Broker

                    Smarthome-Plugin
                    Sonos Widget

                    DOWNLOADS:


                    Sonos-Broker

                    Smarthome-Plugin
                    Sonos Widget


                    Bitte keine Antworten auf diesen Post. Hier soll nur das aktuelle Release des Brokers und des Plugins gepostet sein. Für Fragen, Anregungen und Support steht dieser

                    -- Supportthread --

                    bereit. Nur dort werden Fragen auch beantwortet ;-)
                    Sonos

                    Kommentar


                      #11
                      Sonos-Broker v0.6 (2015-04-11)
                      • fixed a resource leak (thx @hoggle)
                      • commands added: set_wifi_state, get_wifi_state
                        • now you activate or deactivate the speakers wireless network interface (e.g. if you use the speaker with an ethernet connection)
                        • commands integrated in Sonos Cmd client
                      • some changes in handling event subscriptions
                      • increased event subscription period to 240 seconds
                      • new command RefreshMediaLibrary
                        • RefreshMediaLibrary added to Sonos Cmd client
                      • bug: parsing error while playing some radio stations
                      • added radio parser for Alsterradio 106.8
                      • minor bugfixes in Sonos Broker
                      • minor bugfixes in Sonos Cmd client


                      Sonos-Plugin v1.4 (2015-04-11)
                      • added "wifi_state" command
                      • added "refresh_media_library" function


                      smartVISU Sonos Widget v0.1.1 (2014-07-09)
                      • if no album cover is given, a transparent PNG is shown
                      • see documentation for more informations


                      DOKUMENTATION:

                      Sonos-Broker
                      Smarthome-Plugin
                      Sonos Widget

                      DOWNLOADS:

                      Sonos-Broker
                      Smarthome-Plugin
                      Sonos Widget


                      Bitte keine Antworten auf diesen Post. Hier soll nur das aktuelle Release des Brokers und des Plugins gepostet sein. Für Fragen, Anregungen und Support steht dieser

                      -- Supportthread --

                      bereit. Nur dort werden Fragen auch beantwortet ;-)
                      Sonos

                      Kommentar


                        #12
                        Neue Version im 1. Post.

                        Gruss,

                        Stefan
                        Zuletzt geändert von pfischi; 04.01.2016, 18:26.
                        Sonos

                        Kommentar


                          #13
                          Und wieder einmal eine neue Version in Post numero uno.


                          Gruss,


                          Stefan
                          Zuletzt geändert von pfischi; 12.11.2016, 00:16.
                          Sonos

                          Kommentar


                            #14
                            Hallöchen,

                            kleines Update im ersten Post. Bitte das Changelog für v0.8.1 lesen.

                            Gruss,
                            Stefan
                            Sonos

                            Kommentar


                              #15
                              Und weiter gehen die Updates im Post Nr.1

                              Gruss, Stefan
                              Sonos

                              Kommentar

                              Lädt...
                              X