Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Русский
    3. ioBroker
    4. ioBroker драйвера
    5. Драйвер Sonos

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Драйвер Sonos

    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vtec last edited by

      У меня перестал выводится звук на колонки Sonos.

      Ни речи, ни дин дона. В логах все нормально.

      Через приложение музыка работает, все ОК.

      Что может быть? И такое ощущение, что после какого то обновления.

      1 Reply Last reply Reply Quote 0
      • V
        vtec last edited by

        Заработало само.

        Ничего не трогал и не менял, я вообще не подходил к iobroker и через три дня заработало само :? .

        1 Reply Last reply Reply Quote 0
        • V
          vtec last edited by

          После перезагрузки опять ничего не идет в колонки.

          На всякий случай перезагрузил роутер и свитч. Стабильно не работает с iobroker'ом ничего не делал кроме перезагрузки.

          1 Reply Last reply Reply Quote 0
          • V
            vtec last edited by

            Bluefox, почему может не работать sayit через sonos. Уже колонку подключил через ethernet, все равно тишина (ни дин дона , ни голоса) в логе все хорошо:

            Нажмите Ctrl+A и Ctrl+C, что бы скопировать в буффер обмена и после этого нажмите мышкой в любом месте.
            sonos.0	2016-01-04 14:26:34	info	sonos.0 Queue on sonos[RINCON_B8E93757ADC401400]: http://192.168.0.200:8082/state/sayit.0.tts.mp3, Volume: 45
            sonos.0	2016-01-04 14:26:34	info	sonos.0 Queue on sonos[RINCON_B8E937541C1801400]: http://192.168.0.200:8082/state/sayit.0.tts.mp3, Volume: 45
            sonos.0	2016-01-04 14:26:34	debug	inMem message messagebox.system.adapter.sonos.0 messagebox.system.adapter.sonos.0
            sayit.0	2016-01-04 14:26:34	info	sayit.0 sendTo 'send' to system.adapter.sonos from system.adapter.sayit.0: '45;'
            sayit.0	2016-01-04 14:26:34	info	sayit.0 Send to sonos 45;http://192.168.0.200:8082/state/sayit.0.tts.mp3
            sayit.0	2016-01-04 14:26:34	info	sayit.0 saying: Тест
            sonos-0	2016-01-04 14:26:31	info	Queue on sonos[RINCON_B8E93757ADC401400]: http://192.168.0.200:8082/state/sayit.0.tts.mp3, Volume: 45
            sonos-0	2016-01-04 14:26:31	info	Queue on sonos[RINCON_B8E937541C1801400]: http://192.168.0.200:8082/state/sayit.0.tts.mp3, Volume: 45
            inMem	2016-01-04 14:26:31	debug	message messagebox.system.adapter.sonos.0 messagebox.system.adapter.sonos.0 command=send, message=45;http://192.168.0.200:8082/state/sayit.0.tts.mp3, from=system.adapter.sayit.0, _id=10129
            sayit-0	2016-01-04 14:26:31	info	sendTo 'send' to system.adapter.sonos from system.adapter.sayit.0: '45;http://192.168.0.200:8082/state/sayit.0.tts.mp3'
            sayit-0	2016-01-04 14:26:31	info	Send to sonos 45;http://192.168.0.200:8082/state/sayit.0.tts.mp3
            sayit-0	2016-01-04 14:26:31	info	saying: /opt/iobroker/node_modules/iobroker.sayit/Chord_cut.mp3
            javascript-0	2016-01-04 14:26:31	info	script.js.Tests: registered 0 subscriptions and 0 schedules
            javascript-0	2016-01-04 14:26:31	info	Start javascript script.js.Tests
            
            
            1 Reply Last reply Reply Quote 0
            • V
              vtec last edited by

              А по данному адресу должен mp3 файл проигрываться из браузера? У меня по данному адресу ничего не проигрывается -> "Страница не найдена".

              http://192.168.0.200:8082/state/sayit.0.tts.mp3
              

              Из SONOS Adapter музыка проигрывается.

              UPD: Ни где про это не написано 😞 😮 , что должен быть запущен драйвер "web web.0 ioBroker simple web Adapter".

              Запустил, и по ссылке сразу файл воспроизвелся и Sonos заработал!!!

              UPD2: В документации как то очень мало про это:

              tts.mp3 - binary mp3 file to read it through web server. If selected "browser" or "sonos" the file will be made accessable over http://ip:8082/state/sayit.0.tts.mp3
              
              1 Reply Last reply Reply Quote 0
              • Bluefox
                Bluefox last edited by

                @vtec:

                UPD: Ни где про это не написано 😞 😮 , что должен быть запущен драйвер "web web.0 ioBroker simple web Adapter".

                Запустил, и по ссылке сразу файл воспроизвелся и Sonos заработал!!!

                UPD2: В документации как то очень мало про это: `
                Добавил в SONOS и в sayIt.

                https://github.com/ioBroker/ioBroker.so … /README.md

                https://github.com/ioBroker/ioBroker.sa ... /README.md

                1 Reply Last reply Reply Quote 0
                • V
                  vtec last edited by

                  После обновления, интерфейс через web не работает. Как будто не видит колонки вообще ни одной.

                  1 Reply Last reply Reply Quote 0
                  • V
                    vtec last edited by

                    Bluefox, драйвер Sonos так и не работает, грешил на одноплатный компьютер, установил iobroker на виртуальной машине. И все то же самое.

                    Тестовый скрипт:

                    ! var idSayIt = "sayit.0.tts.text";
                    ! text = 'Доброе утро.';
                    ! setState (idSayIt, text);
                    ! log('log: '+text);

                    Лог драйвера:

                    ! javascript-0 2016-05-13 11:23:03 info Stop script script.js.Скрипт1
                    ! inMem 2016-05-13 11:22:59 debug message messagebox.system.adapter.sonos.0 messagebox.system.adapter.sonos.0 command=send, message=70;http://192.168.72.128:8082/state/sayit.0.tts.mp3, from=system.adapter.sayit.0, _id=145
                    ! sayit-0 2016-05-13 11:22:59 info Send to sonos 70;http://192.168.72.128:8082/state/sayit.0.tts.mp3
                    ! sayit-0 2016-05-13 11:22:59 info saying: Доброе утро.
                    ! inMem 2016-05-13 11:22:58 debug message messagebox.system.adapter.sonos.0 messagebox.system.adapter.sonos.0 command=send, message=70;http://192.168.72.128:8082/state/sayit.0.tts.mp3, from=system.adapter.sayit.0, _id=140
                    ! javascript-0 2016-05-13 11:22:58 info script.js.Скрипт1: Доброе утро.
                    ! javascript-0 2016-05-13 11:22:58 info script.js.Скрипт1: registered 0 subscriptions and 0 schedules
                    ! javascript-0 2016-05-13 11:22:58 info Start javascript script.js.Скрипт1
                    ! sayit-0 2016-05-13 11:22:58 info Send to sonos 70;http://192.168.72.128:8082/state/sayit.0.tts.mp3
                    ! sayit-0 2016-05-13 11:22:58 info saying: /opt/iobroker/node_modules/iobroker.sayit/gong.mp3
                    ! sonos-0 2016-05-13 11:22:45 info http sonos server listening on port 8083
                    ! sonos-0 2016-05-13 11:22:45 info starting. Version 0.1.8 in /opt/iobroker/node_modules/iobroker.sonos
                    ! sonos-0 2016-05-13 11:22:44 debug statesDB connected
                    ! sonos-0 2016-05-13 11:22:44 debug objectDB connected

                    Но при этом ничего не воспроизводится на колонках. Web сервер запущен. С виндового приложения все работает.

                    В web интерфейсе Sonos, в колонке Rooms не отображается ни одна колонка, ЧТО я ДЕЛАЮ НЕ ТАК?

                    Прикрепил скрины.

                    ! 255_sonos.png
                    255_sonos2.png
                    255_sonos3.png

                    1 Reply Last reply Reply Quote 0
                    • Bluefox
                      Bluefox last edited by

                      Какая у тебя маска сети. На сонос и на ioBroker?

                      1 Reply Last reply Reply Quote 0
                      • AirKing
                        AirKing last edited by

                        Так они явно в разных сетях. Сервер на 192.168.72.128 колонки на 192.168.0.130 и 194. Я незнаю принципы их работы но если через бродкаст , мультикаст то в этом причина

                        Отправлено с моего iPhone используя Tapatalk

                        1 Reply Last reply Reply Quote 0
                        • V
                          vtec last edited by

                          У меня одноплатник в одной подсети и ничего не работает.

                          Перевел вир. машину в туже подсеть. Сейчас ip 192.168.0.201, маска 255.255.255.0

                          Все по прежнему не работает.

                          На Sonos ничего не выставляю, по dhcp сами получают адрес.

                          С компьютера и телефона все работает.

                          1 Reply Last reply Reply Quote 0
                          • V
                            vtec last edited by

                            Заметил вот что:

                            ! sonos.0 2016-05-15 23:45:44 debug inMem message sonos.0.* sonos.0.root.192_168_0_194.volume
                            ! sonos.0 2016-05-15 23:45:44 debug inMem message sonos.0.* sonos.0.root.192_168_0_194.current_elapsed_s
                            ! sonos.0 2016-05-15 23:45:44 debug inMem message sonos.0.* sonos.0.root.192_168_0_194.current_elapsed
                            ! sonos.0 2016-05-15 23:45:44 debug inMem message sonos.0.* sonos.0.root.192_168_0_194.current_duration_s
                            ! sonos.0 2016-05-15 23:45:44 debug inMem message sonos.0.* sonos.0.root.192_168_0_194.current_duration
                            ! sonos.0 2016-05-15 23:45:44 debug inMem message sonos.0.* sonos.0.root.192_168_0_194.current_type
                            ! sonos.0 2016-05-15 23:45:44 debug inMem message sonos.0.* sonos.0.root.192_168_0_194.current_title
                            ! sonos.0 2016-05-15 23:45:44 debug inMem message sonos.0.* sonos.0.root.192_168_0_194.current_artist
                            ! sonos.0 2016-05-15 23:45:44 debug inMem message sonos.0.* sonos.0.root.192_168_0_194.current_album
                            ! sonos.0 2016-05-15 23:45:44 debug inMem message sonos.0.* sonos.0.root.192_168_0_194.state
                            ! sonos.0 2016-05-15 23:45:44 debug inMem message sonos.0.* sonos.0.root.192_168_0_194.state_simple
                            ! sonos.0 2016-05-15 23:45:44 debug inMem message sonos.0.* sonos.0.root.192_168_0_194.alive
                            ! sonos.0 2016-05-15 23:45:44 info sonos.0 Restore state: volume - 41, mute: false, uri: http://192.168.72.128:8082/state/sayit.0.tts.mp3
                            ! sonos.0 2016-05-15 23:45:39 debug inMem message sonos.0.* sonos.0.root.192_168_0_130.muted
                            ! sonos.0 2016-05-15 23:45:39 debug inMem message sonos.0.* sonos.0.root.192_168_0_130.volume
                            ! sonos.0 2016-05-15 23:45:39 debug inMem message sonos.0.* sonos.0.root.192_168_0_130.volume
                            ! sonos.0 2016-05-15 23:45:39 debug inMem message sonos.0.* sonos.0.root.192_168_0_130.current_elapsed_s
                            ! sonos.0 2016-05-15 23:45:39 debug inMem message sonos.0.* sonos.0.root.192_168_0_130.current_elapsed
                            ! sonos.0 2016-05-15 23:45:39 debug inMem message sonos.0.* sonos.0.root.192_168_0_130.current_duration_s
                            ! sonos.0 2016-05-15 23:45:39 debug inMem message sonos.0.* sonos.0.root.192_168_0_130.current_duration
                            ! sonos.0 2016-05-15 23:45:39 debug inMem message sonos.0.* sonos.0.root.192_168_0_130.current_type
                            ! sonos.0 2016-05-15 23:45:39 debug inMem message sonos.0.* sonos.0.root.192_168_0_130.current_title
                            ! sonos.0 2016-05-15 23:45:39 debug inMem message sonos.0.* sonos.0.root.192_168_0_130.current_artist
                            ! sonos.0 2016-05-15 23:45:39 debug inMem message sonos.0.* sonos.0.root.192_168_0_130.current_album
                            ! sonos.0 2016-05-15 23:45:39 debug inMem message sonos.0.* sonos.0.root.192_168_0_130.state
                            ! sonos.0 2016-05-15 23:45:39 debug inMem message sonos.0.* sonos.0.root.192_168_0_130.state_simple
                            ! sonos.0 2016-05-15 23:45:39 debug inMem message sonos.0.* sonos.0.root.192_168_0_130.alive
                            ! sonos.0 2016-05-15 23:45:39 info sonos.0 Play on sonos[RINCON_B8E93757ADC401400]: http://192.168.72.128:8082/state/sayit.0.tts.mp3, Volume: undefined
                            ! sonos.0 2016-05-15 23:45:39 debug sonos.0 queue-changed [object Object]
                            ! sonos.0 2016-05-15 23:45:39 warn sonos.0 Cannot restore sonos state

                            ! javascript-0 2016-05-16 00:45:35 info Stop script script.js.Скрипт1
                            ! sonos-0 2016-05-16 00:45:31 info Play on sonos[RINCON_B8E93757ADC401400]: http://192.168.72.128:8082/state/sayit.0.tts.mp3, Volume: 70
                            ! sonos-0 2016-05-16 00:45:31 info Queue on sonos[RINCON_B8E937541C1801400]: http://192.168.72.128:8082/state/sayit.0.tts.mp3, Volume: 70
                            ! inMem 2016-05-16 00:45:31 debug message messagebox.system.adapter.sonos.0 messagebox.system.adapter.sonos.0 command=send, message=70;http://192.168.72.128:8082/state/sayit.0.tts.mp3, from=system.adapter.sayit.0, _id=909
                            ! sayit-0 2016-05-16 00:45:31 info Send to sonos 70;http://192.168.72.128:8082/state/sayit.0.tts.mp3
                            ! sayit-0 2016-05-16 00:45:31 info saying: Доброе утро.
                            ! javascript-0 2016-05-16 00:45:31 info script.js.Скрипт1: registered 0 subscriptions and 0 schedules
                            ! javascript-0 2016-05-16 00:45:31 info script.js.Скрипт1: log: Доброе утро.
                            ! javascript-0 2016-05-16 00:45:31 info Start javascript script.js.Скрипт1
                            ! inMem 2016-05-16 00:45:29 debug message sonos.0.* sonos.0.root.192_168_0_194.volume val=70, ack=true, ts=1463334329, q=0, from=system.adapter.sonos.0, lc=1463334329
                            ! inMem 2016-05-16 00:45:29 debug message sonos.0.* sonos.0.root.192_168_0_194.current_elapsed_s val=00:00, ack=true, ts=1463334329, q=0, from=system.adapter.sonos.0, lc=1463332350
                            ! inMem 2016-05-16 00:45:29 debug message sonos.0.* sonos.0.root.192_168_0_194.current_elapsed val=0, ack=true, ts=1463334329, q=0, from=system.adapter.sonos.0, lc=1463332350
                            ! inMem 2016-05-16 00:45:29 debug message sonos.0.* sonos.0.root.192_168_0_194.current_duration_s val=00:00, ack=true, ts=1463334329, q=0, from=system.adapter.sonos.0, lc=1463332350
                            ! inMem 2016-05-16 00:45:29 debug message sonos.0.* sonos.0.root.192_168_0_194.current_duration val=0, ack=true, ts=1463334329, q=0, from=system.adapter.sonos.0, lc=1463332350
                            ! inMem 2016-05-16 00:45:29 debug message sonos.0.* sonos.0.root.192_168_0_194.current_type val=0, ack=true, ts=1463334329, q=0, from=system.adapter.sonos.0, lc=1463333006
                            ! inMem 2016-05-16 00:45:29 debug message sonos.0.* sonos.0.root.192_168_0_194.current_title val=sayit.0.tts.mp3, ack=true, ts=1463334329, q=0, from=system.adapter.sonos.0, lc=1463333006
                            ! inMem 2016-05-16 00:45:29 debug message sonos.0.* sonos.0.root.192_168_0_194.current_artist val=, ack=true, ts=1463334329, q=0, from=system.adapter.sonos.0, lc=1462987849
                            ! inMem 2016-05-16 00:45:29 debug message sonos.0.* sonos.0.root.192_168_0_194.current_album val=, ack=true, ts=1463334329, q=0, from=system.adapter.sonos.0, lc=1463333006
                            ! inMem 2016-05-16 00:45:29 debug message sonos.0.* sonos.0.root.192_168_0_194.alive val=true, ack=true, ts=1463334329, q=0, from=system.adapter.sonos.0, lc=1463332350
                            ! sonos-0 2016-05-16 00:45:29 debug queue-changed [object Object]

                            Потом почему то данные не приходят от колонок.

                            1 Reply Last reply Reply Quote 0
                            • V
                              vtec last edited by

                              Только сейчас заметил, что ip старый остался http://192.168.72.128:8082/state/sayit.0.tts.mp3

                              Где он прописался?

                              P.S. Нашел, все изменил.

                              На виртуальной машине заработал голос(нужно время для тестов, видать на одноплатном ПК стала флешка умирать). Но веб морда так и не заработала, в колонке ROOMS нет не одной записи.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              868
                              Online

                              31.9k
                              Users

                              80.1k
                              Topics

                              1.3m
                              Posts

                              4
                              21
                              5052
                              Loading More Posts
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes
                              Reply
                              • Reply as topic
                              Log in to reply
                              Community
                              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                              The ioBroker Community 2014-2023
                              logo