Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. Sayit –> welche Möglichkeiten (HW) zur Ansage nutzt ihr?

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Sayit –> welche Möglichkeiten (HW) zur Ansage nutzt ihr?

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

      Hi,

      mir ist es nicht gelungen die Ansage über Bluetooth zu schaffen. Ich konnte zwar online streams abspielen aber Ansage über Sayit ging nicht.

      Bei dem Testen ist mir aber auch aufgefallen das die Distanz zwischen meinem Bluetooth Sender und Empfänger zu groß ist… also nix mit Bluetooth.

      Dann gestern Top Aktuelle HW vom Speicher "Igel Thin Client 3/4" geholt. Hab ich halt noch da rum liegen.

      http://ipc.pebkac.at/wiki/index.php/Hardware/Igel/3210

      Neues Linux und MPD Server installiert und Lautsprecher angeschlossen.... keine Ansage zu hören 😞

      Für mich sieht es in den Logs so aus als wenn zumindest zum MPD Server alles richtig übertragen wird:

      IoBroker log:

      
      	Zeit		Nachricht
      
      x
      nut.0	2017-01-14 11:31:26.915	info	nut.0 All Nut values set
      nut.0	2017-01-14 11:31:26.891	info	nut.0 Start NUT update
      openmediavault	2017-01-14 11:30:03.646	info	host.openmediavault instance system.adapter.weatherunderground.0 terminated with code 0 (OK)
      weatherunderground.0	2017-01-14 11:30:00.656	info	weatherunderground.0 starting. Version 1.0.2 in /opt/iobroker/node_modules/iobroker.weatherunderground, node: v4.7.2
      openmediavault	2017-01-14 11:30:00.308	info	host.openmediavault instance system.adapter.weatherunderground.0 started with pid 6749
      harmony.0	2017-01-14 11:29:17.307	info	harmony.0 connected to Wohnzimmer
      harmony.0	2017-01-14 11:29:14.444	info	harmony.0 connecting to Wohnzimmer
      harmony.0	2017-01-14 11:29:14.444	info	harmony.0 discovered Wohnzimmer
      harmony.0	2017-01-14 11:28:42.555	info	harmony.0 keep alive cannot get current Activity: Error: Timed out after 5000 ms
      harmony.0	2017-01-14 11:28:41.800	warn	harmony.0 client ended
      harmony.0	2017-01-14 11:28:41.800	warn	harmony.0 lost Wohnzimmer
      nut.0	2017-01-14 11:26:26.911	info	nut.0 All Nut values set
      nut.0	2017-01-14 11:26:26.887	info	nut.0 Start NUT update
      mpd.0	2017-01-14 11:25:33.713	debug	mpd.0 LoadPlaylist...
      mpd.0	2017-01-14 11:25:33.713	info	mpd.0 client.sendCommand {"load": "temp_ForSayIt"} OK! - ""
      mpd.0	2017-01-14 11:25:33.713	debug	mpd.0 update system - "playlist"
      mpd.0	2017-01-14 11:25:33.713	debug	mpd.0 CleraPlaylist...
      mpd.0	2017-01-14 11:25:33.713	info	mpd.0 client.sendCommand {"clear": ""} OK! - ""
      mpd.0	2017-01-14 11:25:33.710	debug	mpd.0 CleraPlaylist...
      mpd.0	2017-01-14 11:25:33.710	info	mpd.0 client.sendCommand {"consume ": "0"} OK! - ""
      mpd.0	2017-01-14 11:25:33.708	debug	mpd.0 sayTimePlay...
      inMem	2017-01-14 11:25:03.654	debug	message mpd.0.* mpd.0.playlist_list val=[], ack=true, ts=1484389503646, q=0, from=system.adapter.mpd.0, lc=1484389503646
      inMem	2017-01-14 11:25:03.653	debug	message mpd.0.* mpd.0.playlist val=42, ack=true, ts=1484389503644, q=0, from=system.adapter.mpd.0, lc=1484389503644
      inMem	2017-01-14 11:25:03.648	debug	message mpd.0.* mpd.0.consume val=0, ack=true, ts=1484389503640, q=0, from=system.adapter.mpd.0, lc=1484389503640
      mpd.0	2017-01-14 11:25:03.638	debug	LoadPlaylist...
      mpd.0	2017-01-14 11:25:03.638	info	client.sendCommand {"load": "temp_ForSayIt"} OK! - ""
      mpd.0	2017-01-14 11:25:03.634	debug	update system - "player"
      mpd.0	2017-01-14 11:25:03.634	debug	update system - "playlist"
      mpd.0	2017-01-14 11:25:03.633	debug	CleraPlaylist...
      mpd.0	2017-01-14 11:25:03.633	info	client.sendCommand {"clear": ""} OK! - ""
      mpd.0	2017-01-14 11:25:03.632	debug	update system - "options"
      mpd.0	2017-01-14 11:25:03.632	debug	CleraPlaylist...
      mpd.0	2017-01-14 11:25:03.631	info	client.sendCommand {"consume ": "0"} OK! - ""
      mpd.0	2017-01-14 11:25:03.630	debug	sayTimePlay...
      inMem	2017-01-14 11:25:03.621	debug	message mpd.0.* mpd.0.playlist_list val=[{"artist":"","album":"","bitrate":0,"title":"","file":"http://192.168.178.18:8082/state/sayit.1.tts.mp3","genre":"","year":0,"len":"00:00","rating":"","cover
      inMem	2017-01-14 11:25:03.612	debug	message mpd.0.* mpd.0.playlist val=40, ack=true, ts=1484389503606, q=0, from=system.adapter.mpd.0, lc=1484389503606
      mpd.0	2017-01-14 11:25:03.607	info	client.sendCommand {"playid": "13"} OK! - ""
      mpd.0	2017-01-14 11:25:03.607	debug	update system - "playlist"
      mpd.0	2017-01-14 11:25:03.606	debug	SayIt addid...Id: 13
      mpd.0	2017-01-14 11:25:03.606	info	client.sendCommand {"addid": "http://192.168.178.18:8082/state/sayit.1.tts.mp3"} OK! - "Id: 13\n"
      mpd.0	2017-01-14 11:25:03.605	debug	CleraPlaylist...
      mpd.0	2017-01-14 11:25:03.605	info	client.sendCommand {"consume ": "1"} OK! - ""
      mpd.0	2017-01-14 11:25:03.604	debug	update system - "playlist"
      mpd.0	2017-01-14 11:25:03.603	debug	CleraPlaylist...
      mpd.0	2017-01-14 11:25:03.603	info	client.sendCommand {"clear": ""} OK! - ""
      mpd.0	2017-01-14 11:25:03.602	debug	update system - "stored_playlist"
      mpd.0	2017-01-14 11:25:03.602	debug	SavePlaylist...
      mpd.0	2017-01-14 11:25:03.601	info	client.sendCommand {"save": "temp_ForSayIt"} OK! - ""
      mpd.0	2017-01-14 11:25:03.601	debug	update system - "stored_playlist"
      mpd.0	2017-01-14 11:25:03.599	debug	DelPlaylist...
      mpd.0	2017-01-14 11:25:03.598	info	client.sendCommand {"rm": "temp_ForSayIt"} OK! - ""
      mpd.0	2017-01-14 11:25:03.597	debug	Added sayit to queue...
      inMem	2017-01-14 11:25:03.596	debug	message mpd.0.* mpd.0.playtime val=9, ack=true, ts=1484389503582, q=0, from=system.adapter.mpd.0, lc=1484389503582
      inMem	2017-01-14 11:25:03.596	debug	message mpd.0.* mpd.0.uptime val=50942, ack=true, ts=1484389503581, q=0, from=system.adapter.mpd.0, lc=1484389503581
      inMem	2017-01-14 11:25:03.595	debug	message mpd.0.* mpd.0.id val=, ack=true, ts=1484389503581, q=0, from=system.adapter.mpd.0, lc=1484389503581
      inMem	2017-01-14 11:25:03.595	debug	message mpd.0.* mpd.0.state val=stop, ack=true, ts=1484389503580, q=0, from=system.adapter.mpd.0, lc=1484389503580
      inMem	2017-01-14 11:25:03.591	debug	message mpd.0.* mpd.0.playlistlength val=0, ack=true, ts=1484389503580, q=0, from=system.adapter.mpd.0, lc=1484389503580
      inMem	2017-01-14 11:25:03.580	debug	message mpd.0.* mpd.0.playlist val=39, ack=true, ts=1484389503575, q=0, from=system.adapter.mpd.0, lc=1484389503575
      inMem	2017-01-14 11:25:03.574	debug	message mpd.0.* mpd.0.playlist_list val=[], ack=true, ts=1484389503569, q=0, from=system.adapter.mpd.0, lc=1484389503569
      mpd.0	2017-01-14 11:25:03.528	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:03.528	debug	update system - "player"
      mpd.0	2017-01-14 11:25:03.528	debug	update system - "playlist"
      mpd.0	2017-01-14 11:25:03.428	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:03.327	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:03.225	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:03.125	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:03.023	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:02.923	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:02.821	debug	sayTimePlay...
      inMem	2017-01-14 11:25:02.800	debug	message mpd.0.* mpd.0.seek val=50.00, ack=true, ts=1484389502796, q=0, from=system.adapter.mpd.0, lc=1484389502796
      inMem	2017-01-14 11:25:02.799	debug	message mpd.0.* mpd.0.current_elapsed val=00:01, ack=true, ts=1484389502795, q=0, from=system.adapter.mpd.0, lc=1484389502795
      inMem	2017-01-14 11:25:02.799	debug	message mpd.0.* mpd.0.bitrate val=256, ack=true, ts=1484389502795, q=0, from=system.adapter.mpd.0, lc=1484389502795
      inMem	2017-01-14 11:25:02.795	debug	message mpd.0.* mpd.0.elapsed val=1.381, ack=true, ts=1484389502794, q=0, from=system.adapter.mpd.0, lc=1484389502794
      inMem	2017-01-14 11:25:02.793	debug	message mpd.0.* mpd.0.time val=1:2, ack=true, ts=1484389502792, q=0, from=system.adapter.mpd.0, lc=1484389502792
      mpd.0	2017-01-14 11:25:02.721	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:02.620	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:02.595	debug	stateChange mpd.0.say {"val":"70;http://192.168.178.18:8082/state/sayit.1.tts.mp3","ack":false,"ts":1484389502592,"q":0,"from":"system.adapter.sayit.1","lc":1484339245228}
      inMem	2017-01-14 11:25:02.594	debug	message mpd.0.* mpd.0.say val=70;http://192.168.178.18:8082/state/sayit.1.tts.mp3, ack=false, ts=1484389502592, q=0, from=system.adapter.sayit.1, lc=1484339245228
      sayit.1	2017-01-14 11:25:02.588	info	Set "mpd.0.say: 70;http://192.168.178.18:8082/state/sayit.1.tts.mp3
      sayit.1	2017-01-14 11:25:02.588	info	saying: Hallo
      mpd.0	2017-01-14 11:25:02.520	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:02.419	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:02.319	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:02.217	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:02.115	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:02.015	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:01.915	debug	sayTimePlay...
      mpd.0	2017-01-14 11:25:01.854	debug	update system - "mixer"
      mpd.0	2017-01-14 11:25:01.815	info	client.sendCommand {"setvol": "70"} OK! - ""
      inMem	2017-01-14 11:25:01.803	debug	message mpd.0.* mpd.0.id val=12, ack=true, ts=1484389501800, q=0, from=system.adapter.mpd.0, lc=1484389501800
      inMem	2017-01-14 11:25:01.802	debug	message mpd.0.* mpd.0.current_duration val=00:02, ack=true, ts=1484389501795, q=0, from=system.adapter.mpd.0, lc=1484389501795
      inMem	2017-01-14 11:25:01.801	debug	message mpd.0.* mpd.0.current_duration_s val=2, ack=true, ts=1484389501794, q=0, from=system.adapter.mpd.0, lc=1484389501794
      inMem	2017-01-14 11:25:01.801	debug	message mpd.0.* mpd.0.audio val=44100:24:2, ack=true, ts=1484389501794, q=0, from=system.adapter.mpd.0, lc=1484389501794
      inMem	2017-01-14 11:25:01.801	debug	message mpd.0.* mpd.0.bitrate val=160, ack=true, ts=1484389501794, q=0, from=system.adapter.mpd.0, lc=1484389501794
      inMem	2017-01-14 11:25:01.800	debug	message mpd.0.* mpd.0.elapsed val=0.359, ack=true, ts=1484389501794, q=0, from=system.adapter.mpd.0, lc=1484389501794
      inMem	2017-01-14 11:25:01.800	debug	message mpd.0.* mpd.0.time val=0:2, ack=true, ts=1484389501794, q=0, from=system.adapter.mpd.0, lc=1484389501794
      inMem	2017-01-14 11:25:01.800	debug	message mpd.0.* mpd.0.playtime val=8, ack=true, ts=1484389501794, q=0, from=system.adapter.mpd.0, lc=1484389501794
      inMem	2017-01-14 11:25:01.800	debug	message mpd.0.* mpd.0.songid val=12, ack=true, ts=1484389501793, q=0, from=system.adapter.mpd.0, lc=1484389501793
      inMem	2017-01-14 11:25:01.795	debug	message mpd.0.* mpd.0.state val=play, ack=true, ts=1484389501792, q=0, from=system.adapter.mpd.0, lc=1484389501792
      inMem	2017-01-14 11:25:01.795	debug	message mpd.0.* mpd.0.playlist val=38, ack=true, ts=1484389501790, q=0, from=system.adapter.mpd.0, lc=1484389501790
      mpd.0	2017-01-14 11:25:01.789	debug	update system - "player"
      mpd.0	2017-01-14 11:25:01.789	debug	update system - "playlist"
      mpd.0	2017-01-14 11:25:01.751	debug	update system - "player"
      inMem	2017-01-14 11:25:01.656	debug	message mpd.0.* mpd.0.playlist_list val=[{"artist":"","album":"","bitrate":0,"title":"","file":"http://192.168.178.18:8082/state/sayit.1.tts.mp3","genre":"","year":0,"len":"00:00","rating":"","cover
      inMem	2017-01-14 11:25:01.629	debug	message mpd.0.* mpd.0.playlistlength val=1, ack=true, ts=1484389501621, q=0, from=system.adapter.mpd.0, lc=1484389501621
      inMem	2017-01-14 11:25:01.629	debug	message mpd.0.* mpd.0.playlist val=37, ack=true, ts=1484389501620, q=0, from=system.adapter.mpd.0, lc=1484389501620
      inMem	2017-01-14 11:25:01.629	debug	message mpd.0.* mpd.0.consume val=1, ack=true, ts=1484389501619, q=0, from=system.adapter.mpd.0, lc=1484389501619
      inMem	2017-01-14 11:25:01.628	debug	message mpd.0.* mpd.0.playlist val=36, ack=true, ts=1484389501616, q=0, from=system.adapter.mpd.0, lc=1484389501616
      inMem	2017-01-14 11:25:01.628	debug	message mpd.0.* mpd.0.uptime val=50940, ack=true, ts=1484389501615, q=0, from=system.adapter.mpd.0, lc=1484389501615
      inMem	2017-01-14 11:25:01.616	debug	message mpd.0.* mpd.0.playlist val=35, ack=true, ts=1484389501613, q=0, from=system.adapter.mpd.0, lc=1484389501613
      mpd.0	2017-01-14 11:25:01.615	info	client.sendCommand {"playid": "12"} OK! - ""
      mpd.0	2017-01-14 11:25:01.613	debug	update system - "playlist"
      mpd.0	2017-01-14 11:25:01.612	debug	SayIt addid...Id: 12
      mpd.0	2017-01-14 11:25:01.612	info	client.sendCommand {"addid": "http://192.168.178.18:8082/state/sayit.1.tts.mp3"} OK! - "Id: 12\n"
      mpd.0	2017-01-14 11:25:01.612	debug	update system - "options"
      mpd.0	2017-01-14 11:25:01.612	debug	CleraPlaylist...
      mpd.0	2017-01-14 11:25:01.612	info	client.sendCommand {"consume ": "1"} OK! - ""
      mpd.0	2017-01-14 11:25:01.611	debug	update system - "playlist"
      mpd.0	2017-01-14 11:25:01.611	debug	CleraPlaylist...
      mpd.0	2017-01-14 11:25:01.611	info	client.sendCommand {"clear": ""} OK! - ""
      mpd.0	2017-01-14 11:25:01.609	debug	update system - "stored_playlist"
      mpd.0	2017-01-14 11:25:01.609	debug	SavePlaylist...
      mpd.0	2017-01-14 11:25:01.609	info	client.sendCommand {"save": "temp_ForSayIt"} OK! - ""
      mpd.0	2017-01-14 11:25:01.608	debug	update system - "stored_playlist"
      mpd.0	2017-01-14 11:25:01.608	debug	DelPlaylist...
      mpd.0	2017-01-14 11:25:01.608	info	client.sendCommand {"rm": "temp_ForSayIt"} OK! - ""
      mpd.0	2017-01-14 11:25:01.606	debug	stateChange mpd.0.say {"val":"70;http://192.168.178.18:8082/state/sayit.1.tts.mp3","ack":false,"ts":1484389501598,"q":0,"from":"system.adapter.sayit.1","lc":1484339245228}
      inMem	2017-01-14 11:25:01.601	debug	message mpd.0.* mpd.0.say val=70;http://192.168.178.18:8082/state/sayit.1.tts.mp3, ack=false, ts=1484389501598, q=0, from=system.adapter.sayit.1, lc=1484339245228
      sayit.1	2017-01-14 11:25:01.586	info	Set "mpd.0.say: 70;http://192.168.178.18:8082/state/sayit.1.tts.mp3
      sayit.1	2017-01-14 11:25:01.584	info	saying: /opt/iobroker/node_modules/iobroker.sayit/gong.mp3
      

      MPD Server LOG:

      Jan 14 11:25 : player: played "http://192.168.178.18:8082/state/sayit.1.tts.mp3"
      Jan 14 11:25 : player: played "http://192.168.178.18:8082/state/sayit.1.tts.mp3"
      
      

      Ich denke es liegt irgendwie an der MPD Server conf, komme da aber nicht weiter.

      Der Igel hat laut Datenblatt diese Ausstattung:

      CPU	VIA Eden C6 (600MHz)
      Chipset Northbridge	CN700
      Chipset Southbridge	
      RAM	SO-DIMM (200-pin) DDR2 (max. 1GB)
      Flash Memory	128MB (Compact-Flash card)
      Display Port	VGA D-Sub + DVI-I with 16MB (VGA 1920 x 1440 24-bit colour, DVI 1600 x 1200 24-bit colour)
      Audio	AC97 kompatible 3,5 mm Stereo-jacks
      Network	onboard 10/100Base-T Fast Ethernet
      Serial Port (COM)	1x RS-232C Ports
      Parallel Port (LPT)	DB-25, bidirectional
      USB	3x USB2.0 Ports (1x front / 2x rear)
      PS/2	Keyboard + Mouse
      Storage	1x IDE-port (2,5" , 44-pin) + onboard CompactFlash Card Reader
      PCI slot	1x
      Power	internal 12V 4A Power Supply. Running: ~19W. Standby: ~7W
      B x H x T	240 x 43 x 225mm
      

      Also eine AC97 kompatible Soundkarte.

      Hat jemand zufällig eine Idee was ich in der mpd.conf einstellen muss?

      Die sieht bei mir zur Zeit so aus:

      ! root@debian1:~# cat /etc/mpd.conf
      ! # An example configuration file for MPD.
      ! # Read the user manual for documentation: http://www.musicpd.org/doc/user/
      ! # or /usr/share/doc/mpd/user-manual.html
      ! # Files and directories #######################################################
      ! #
      ! # This setting controls the top directory which MPD will search to discover the
      ! # available audio files and add them to the daemon's online database. This
      ! # setting defaults to the XDG directory, otherwise the music directory will be
      ! # be disabled and audio files will only be accepted over ipc socket (using
      ! # file:// protocol) or streaming files over an accepted protocol.
      ! #
      ! music_directory "/var/lib/mpd/music"
      ! #
      ! # This setting sets the MPD internal playlist directory. The purpose of this
      ! # directory is storage for playlists created by MPD. The server will use
      ! # playlist files not created by the server but only if they are in the MPD
      ! # format. This setting defaults to playlist saving being disabled.
      ! #
      ! playlist_directory "/var/lib/mpd/playlists"
      ! #
      ! # This setting sets the location of the MPD database. This file is used to
      ! # load the database at server start up and store the database while the
      ! # server is not up. This setting defaults to disabled which will allow
      ! # MPD to accept files over ipc socket (using file:// protocol) or streaming
      ! # files over an accepted protocol.
      ! #
      ! db_file "/var/lib/mpd/tag_cache"
      ! #
      ! # These settings are the locations for the daemon log files for the daemon.
      ! # These logs are great for troubleshooting, depending on your log_level
      ! # settings.
      ! #
      ! # The special value "syslog" makes MPD use the local syslog daemon. This
      ! # setting defaults to logging to syslog, otherwise logging is disabled.
      ! #
      ! log_file "/var/log/mpd/mpd.log"
      ! #
      ! # This setting sets the location of the file which stores the process ID
      ! # for use of mpd –kill and some init scripts. This setting is disabled by
      ! # default and the pid file will not be stored.
      ! #
      ! pid_file "/run/mpd/pid"
      ! #
      ! # This setting sets the location of the file which contains information about
      ! # most variables to get MPD back into the same general shape it was in before
      ! # it was brought down. This setting is disabled by default and the server
      ! # state will be reset on server start up.
      ! #
      ! state_file "/var/lib/mpd/state"
      ! #
      ! # The location of the sticker database. This is a database which
      ! # manages dynamic information attached to songs.
      ! #
      ! sticker_file "/var/lib/mpd/sticker.sql"
      ! #
      ! ###############################################################################
      ! # General music daemon options ################################################
      ! #
      ! # This setting specifies the user that MPD will run as. MPD should never run as
      ! # root and you may use this setting to make MPD change its user ID after
      ! # initialization. This setting is disabled by default and MPD is run as the
      ! # current user.
      ! #
      ! user "mpd"
      ! #
      ! # This setting specifies the group that MPD will run as. If not specified
      ! # primary group of user specified with "user" setting will be used (if set).
      ! # This is useful if MPD needs to be a member of group such as "audio" to
      ! # have permission to use sound card.
      ! #
      ! #group "nogroup"
      ! #
      ! # This setting sets the address for the daemon to listen on. Careful attention
      ! # should be paid if this is assigned to anything other then the default, any.
      ! # This setting can deny access to control of the daemon. Choose any if you want
      ! # to have mpd listen on every address
      ! #
      ! # For network
      ! bind_to_address "any"
      ! #
      ! # And for Unix Socket
      ! #bind_to_address "/run/mpd/socket"
      ! #
      ! # This setting is the TCP port that is desired for the daemon to get assigned
      ! # to.
      ! #
      ! #port "6600"
      ! #
      ! # This setting controls the type of information which is logged. Available
      ! # setting arguments are "default", "secure" or "verbose". The "verbose" setting
      ! # argument is recommended for troubleshooting, though can quickly stretch
      ! # available resources on limited hardware storage.
      ! #
      ! #log_level "verbose"
      ! #
      ! # If you have a problem with your MP3s ending abruptly it is recommended that
      ! # you set this argument to "no" to attempt to fix the problem. If this solves
      ! # the problem, it is highly recommended to fix the MP3 files with vbrfix
      ! # (available as vbrfix in the debian archive), at which
      ! # point gapless MP3 playback can be enabled.
      ! #
      ! #gapless_mp3_playback "yes"
      ! #
      ! # Setting "restore_paused" to "yes" puts MPD into pause mode instead
      ! # of starting playback after startup.
      ! #
      ! #restore_paused "no"
      ! #
      ! # This setting enables MPD to create playlists in a format usable by other
      ! # music players.
      ! #
      ! #save_absolute_paths_in_playlists "no"
      ! #
      ! # This setting defines a list of tag types that will be extracted during the
      ! # audio file discovery process. The complete list of possible values can be
      ! # found in the mpd.conf man page.
      ! #metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
      ! #
      ! # This setting enables automatic update of MPD's database when files in
      ! # music_directory are changed.
      ! #
      ! #auto_update "yes"
      ! #
      ! # Limit the depth of the directories being watched, 0 means only watch
      ! # the music directory itself. There is no limit by default.
      ! #
      ! #auto_update_depth "3"
      ! #
      ! ###############################################################################
      ! # Symbolic link behavior ######################################################
      ! #
      ! # If this setting is set to "yes", MPD will discover audio files by following
      ! # symbolic links outside of the configured music_directory.
      ! #
      ! #follow_outside_symlinks "yes"
      ! #
      ! # If this setting is set to "yes", MPD will discover audio files by following
      ! # symbolic links inside of the configured music_directory.
      ! #
      ! #follow_inside_symlinks "yes"
      ! #
      ! ###############################################################################
      ! # Zeroconf / Avahi Service Discovery ##########################################
      ! #
      ! # If this setting is set to "yes", service information will be published with
      ! # Zeroconf / Avahi.
      ! #
      ! #zeroconf_enabled "yes"
      ! #
      ! # The argument to this setting will be the Zeroconf / Avahi unique name for
      ! # this MPD server on the network.
      ! #
      ! #zeroconf_name "Music Player"
      ! #
      ! ###############################################################################
      ! # Permissions #################################################################
      ! #
      ! # If this setting is set, MPD will require password authorization. The password
      ! # can setting can be specified multiple times for different password profiles.
      ! #
      ! #password "password@read,add,control,admin"
      ! #
      ! # This setting specifies the permissions a user has who has not yet logged in.
      ! #
      ! #default_permissions "read,add,control,admin"
      ! #
      ! ###############################################################################
      ! # Database #######################################################################
      ! #
      ! #database {
      ! # plugin "proxy"
      ! # host "other.mpd.host"
      ! # port "6600"
      ! #}
      ! # Input #######################################################################
      ! #
      ! input {
      ! plugin "curl"
      ! # proxy "proxy.isp.com:8080"
      ! # proxy_user "user"
      ! # proxy_password "password"
      ! }
      ! #
      ! ###############################################################################
      ! # Audio Output ################################################################
      ! #
      ! # MPD supports various audio output types, as well as playing through multiple
      ! # audio outputs at the same time, through multiple audio_output settings
      ! # blocks. Setting this block is optional, though the server will only attempt
      ! # autodetection for one sound card.
      ! #
      ! # An example of an ALSA output:
      ! #
      ! audio_output {
      ! type "alsa"
      ! name "My ALSA Device"
      ! # device "hw:0,0" # optional
      ! # mixer_type "hardware" # optional
      ! # mixer_device "default" # optional
      ! # mixer_control "PCM" # optional
      ! # mixer_index "0" # optional
      ! }
      ! #
      ! # An example of an OSS output:
      ! #
      ! #audio_output {
      ! # type "oss"
      ! # name "My OSS Device"
      ! # device "/dev/dsp" # optional
      ! # mixer_type "hardware" # optional
      ! # mixer_device "/dev/mixer" # optional
      ! # mixer_control "PCM" # optional
      ! #}
      ! #
      ! # An example of a shout output (for streaming to Icecast):
      ! #
      ! #audio_output {
      ! # type "shout"
      ! # encoding "ogg" # optional
      ! # name "My Shout Stream"
      ! # host "localhost"
      ! # port "8000"
      ! # mount "/mpd.ogg"
      ! # password "hackme"
      ! # quality "5.0"
      ! # bitrate "128"
      ! # format "44100:16:1"
      ! # protocol "icecast2" # optional
      ! # user "source" # optional
      ! # description "My Stream Description" # optional
      ! # url "http://example.com" # optional
      ! # genre "jazz" # optional
      ! # public "no" # optional
      ! # timeout "2" # optional
      ! # mixer_type "software" # optional
      ! #}
      ! #
      ! # An example of a recorder output:
      ! #
      ! #audio_output {
      ! # type "recorder"
      ! # name "My recorder"
      ! # encoder "vorbis" # optional, vorbis or lame
      ! # path "/var/lib/mpd/recorder/mpd.ogg"
      ! ## quality "5.0" # do not define if bitrate is defined
      ! # bitrate "128" # do not define if quality is defined
      ! # format "44100:16:1"
      ! #}
      ! #
      ! # An example of a httpd output (built-in HTTP streaming server):
      ! #
      ! #audio_output {
      ! # type "httpd"
      ! # name "My HTTP Stream"
      ! # encoder "vorbis" # optional, vorbis or lame
      ! # port "8000"
      ! # bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
      ! # quality "5.0" # do not define if bitrate is defined
      ! # bitrate "128" # do not define if quality is defined
      ! # format "44100:16:1"
      ! # max_clients "0" # optional 0=no limit
      ! #}
      ! #
      ! # An example of a pulseaudio output (streaming to a remote pulseaudio server)
      ! # Please see README.Debian if you want mpd to play through the pulseaudio
      ! # daemon started as part of your graphical desktop session!
      ! #
      ! #audio_output {
      ! # type "pulse"
      ! # name "MPD"
      ! # server "remote_server" # optional
      ! # sink "remote_server_sink" # optional
      ! #}
      ! #
      ! # An example of a winmm output (Windows multimedia API).
      ! #
      ! #audio_output {
      ! # type "winmm"
      ! # name "My WinMM output"
      ! # device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
      ! # or
      ! # device "0" # optional
      ! # mixer_type "hardware" # optional
      ! #}
      ! #
      ! # An example of an openal output.
      ! #
      ! #audio_output {
      ! # type "openal"
      ! # name "My OpenAL output"
      ! # device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
      ! #}
      ! #
      ! ## Example "pipe" output:
      ! #
      ! #audio_output {
      ! # type "pipe"
      ! # name "my pipe"
      ! # command "aplay -f cd 2>/dev/null"
      ! ## Or if you're want to use AudioCompress
      ! # command "AudioCompress -m | aplay -f cd 2>/dev/null"
      ! ## Or to send raw PCM stream through PCM:
      ! # command "nc example.org 8765"
      ! # format "44100:16:2"
      ! #}
      ! #
      ! ## An example of a null output (for no audio output):
      ! #
      ! #audio_output {
      ! # type "null"
      ! # name "My Null Output"
      ! # mixer_type "none" # optional
      ! #}
      ! #
      ! # If MPD has been compiled with libsamplerate support, this setting specifies
      ! # the sample rate converter to use. Possible values can be found in the
      ! # mpd.conf man page or the libsamplerate documentation. By default, this is
      ! # setting is disabled.
      ! #
      ! #samplerate_converter "Fastest Sinc Interpolator"
      ! #
      ! ###############################################################################
      ! # Normalization automatic volume adjustments ##################################
      ! #
      ! # This setting specifies the type of ReplayGain to use. This setting can have
      ! # the argument "off", "album", "track" or "auto". "auto" is a special mode that
      ! # chooses between "track" and "album" depending on the current state of
      ! # random playback. If random playback is enabled then "track" mode is used.
      ! # See <http://www.replaygain.org> for more details about ReplayGain.
      ! # This setting is off by default.
      ! #
      ! #replaygain "album"
      ! #
      ! # This setting sets the pre-amp used for files that have ReplayGain tags. By
      ! # default this setting is disabled.
      ! #
      ! #replaygain_preamp "0"
      ! #
      ! # This setting sets the pre-amp used for files that do NOT have ReplayGain tags.
      ! # By default this setting is disabled.
      ! #
      ! #replaygain_missing_preamp "0"
      ! #
      ! # This setting enables or disables ReplayGain limiting.
      ! # MPD calculates actual amplification based on the ReplayGain tags
      ! # and replaygain_preamp / replaygain_missing_preamp setting.
      ! # If replaygain_limit is enabled MPD will never amplify audio signal
      ! # above its original level. If replaygain_limit is disabled such amplification
      ! # might occur. By default this setting is enabled.
      ! #
      ! #replaygain_limit "yes"
      ! #
      ! # This setting enables on-the-fly normalization volume adjustment. This will
      ! # result in the volume of all playing audio to be adjusted so the output has
      ! # equal "loudness". This setting is disabled by default.
      ! #
      ! #volume_normalization "no"
      ! #
      ! ###############################################################################
      ! # Character Encoding ##########################################################
      ! #
      ! # If file or directory names do not display correctly for your locale then you
      ! # may need to modify this setting.
      ! #
      ! filesystem_charset "UTF-8"
      ! #
      ! # This setting controls the encoding that ID3v1 tags should be converted from.
      ! #
      ! id3v1_encoding "UTF-8"
      ! #
      ! ###############################################################################
      ! # SIDPlay decoder #############################################################
      ! #
      ! # songlength_database:
      ! # Location of your songlengths file, as distributed with the HVSC.
      ! # The sidplay plugin checks this for matching MD5 fingerprints.
      ! # See http://www.c64.org/HVSC/DOCUMENTS/Songlengths.faq
      ! #
      ! # default_songlength:
      ! # This is the default playing time in seconds for songs not in the
      ! # songlength database, or in case you're not using a database.
      ! # A value of 0 means play indefinitely.
      ! #
      ! # filter:
      ! # Turns the SID filter emulation on or off.
      ! #
      ! #decoder {
      ! # plugin "sidplay"
      ! # songlength_database "/media/C64Music/DOCUMENTS/Songlengths.txt"
      ! # default_songlength "120"
      ! # filter "true"
      ! #}
      ! #
      ! ###############################################################################
      ! root@debian1:~#

      Oder fehlt mir noch ein zu installierendes Paket um Audio zu aktivieren?

      Habe zusätzlich zum Linux Paket nur noch das installiert:

      apt-get install alsa-utils -y
      
       apt-get install mpd -y
      

      Danke und Gruß

      1 Reply Last reply Reply Quote 0
      • Jey Cee
        Jey Cee Developer last edited by

        In der sayit readme steht das mpg321 installiert sein muss.

        Gesendet von meinem m8 mit Tapatalk

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

          @Jey Cee:

          In der sayit readme steht das mpg321 installiert sein muss.

          Gesendet von meinem m8 mit Tapatalk `

          Danke… wie peinlich... hatte die Seite auch die ganze Zeit auf 😢

          Jetzt höre ich zumindest die System eigenen Töne z.B. beim reboot über den Lautsprecher.

          Aber immer noch nicht die SayIt Ansage.

          Wie könnte ich das denn mal ohne Sayit testen?

          1 Reply Last reply Reply Quote 0
          • Jey Cee
            Jey Cee Developer last edited by

            Versuch mal mit mpg321 eine mp3 wiederzugeben.

            Gesendet von meinem m8 mit Tapatalk

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

              OK.

              Kommt nichts aus dem LS.

              Liegt wohl irgendwie am Thin Client.

              maya2810@debian:~/MP3$ mpg321 test.mp3
              High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
              Version 0.3.2-1 (2012/03/25). Written and copyrights by Joe Drew,
              now maintained by Nanakos Chrysostomos and others.
              Uses code from various people. See 'README' for more!
              THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
              Title   : Das schlechte Gewissen         Artist : Annett Louisan
              Album   : Teilzeithippie 'Ltd.Edition' ( Year    : 2008
              Comment :                                Genre : Pop
              
              Playing MPEG stream from test.mp3 ...
              MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
              
              
              1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 last edited by

                Es läuft.

                Im Alsa Mixer war es noch Muted.

                1 Reply Last reply Reply Quote 0
                • E
                  easyhoo last edited by

                  Ich hab jetzt 2 shields von HifiBerry erfolgreich getestet.

                  Jeweils an den Deckenlautsprechern Visaton Dl-10 klappt das mit MPD nun prima mit dem sayit-Adapter.
                  235_pri-x225.jpg

                  Den amp+
                  235_rpi-hb-amp_plus_03.jpg

                  und auch den ampmini
                  235_rpi_hb_mini_amp_01.jpg

                  Für mich die perfekte Kombi.

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

                    @easyhoo:

                    Ich hab jetzt 2 shields von HifiBerry erfolgreich getestet.

                    Jeweils an den Deckenlautsprechern Visaton Dl-10 klappt das mit MPD nun prima mit dem sayit-Adapter.
                    filename="pri-x225.jpg" index="0">~~

                    Den amp+
                    filename="RPI-HB-AMP_PLUS_03.jpg" index="2">~~

                    und auch den ampmini
                    filename="RPI_HB_MINI_AMP_01.jpg" index="1">~~

                    Für mich die perfekte Kombi. `

                    Danke für die Info.

                    Kannst du mir vielleicht verraten nach welcher der zahlreichen Anleitungen du MPD auf dem PI installiert hast?

                    Ich habe das Problem das der MPD Deamon auf dem Pi 3 immer wieder stoppt nachdem er jetzt ca.14 Tage problemlos lief.

                    Gesendet von iPhone mit Tapatalk Pro

                    1 Reply Last reply Reply Quote 0
                    • E
                      easyhoo last edited by

                      also ich habe in noch nicht 14 Tage am Stück laufen, bisher läuft der Dienst aber stabil.

                      Eine Anleitung habe ich nicht wirklich benutzt.

                      Habe den HifiBerry Installer genutzt um direkt das fertige Raspbian zu erhalten, Netzwerk konfiguriert, alles geupdated und dann mpd installiert:

                      sudo apt-get install mpd mpc alsa-utils
                      

                      Dann die mpd.conf angepasst, Auswahl der Soundkarte und Anpassung der Lautstärke im Alsamixer und anschließend mpd als service gestartet, fertig. Damit sollte mpd schon laufen.

                      alsamixer
                      
                      service mpd start
                      ````(/usr/bin/mpd –no-daemon)
                      
                      Für tts ist dann noch die Angabe des formats entscheidend weil die hifiberry karten die geringen samplerates nicht wiedergeben können.
                      
                      mit der Angabe vom Ausgabeformat in der mpd.conf wird von mpd alles gnadenlos resampled:
                      

                      format "44100:16:2"

                      
                      VG
                      
                      easyhoo
                      1 Reply Last reply Reply Quote 0
                      • wendy2702
                        wendy2702 last edited by

                        Ok. Danke

                        Gesendet von iPhone mit Tapatalk Pro

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

                          @easyhoo:

                          also ich habe in noch nicht 14 Tage am Stück laufen, bisher läuft der Dienst aber stabil.

                          Eine Anleitung habe ich nicht wirklich benutzt.

                          Habe den HifiBerry Installer genutzt um direkt das fertige Raspbian zu erhalten, Netzwerk konfiguriert, alles geupdated und dann mpd installiert:

                          sudo apt-get install mpd mpc alsa-utils
                          

                          Dann die mpd.conf angepasst, Auswahl der Soundkarte und Anpassung der Lautstärke im Alsamixer und anschließend mpd als service gestartet, fertig. Damit sollte mpd schon laufen.

                          alsamixer
                          
                          service mpd start
                          ````(/usr/bin/mpd –no-daemon)
                          
                          Für tts ist dann noch die Angabe des formats entscheidend weil die hifiberry karten die geringen samplerates nicht wiedergeben können.
                          
                          mit der Angabe vom Ausgabeformat in der mpd.conf wird von mpd alles gnadenlos resampled:
                          

                          format "44100:16:2"

                          
                          VG
                          
                          easyhoo `  
                          

                          Hi,

                          darf ich fragen ob das bei dir immer noch Stabil läuft?

                          Das HifiBerry Package, basiert das auf Wheezy, Jessie oder worauf?

                          Danke

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

                            Bei mir klappt es mit den Infos aus

                            http://forum.iobroker.net/viewtopic.php … 14&p=52559

                            Ich muss nur noch schaffen pulseaudio als deamon zu starten ...

                            1 Reply Last reply Reply Quote 0
                            • E
                              easyhoo last edited by

                              ` > @wendy2702:

                              darf ich fragen ob das bei dir immer noch Stabil läuft?

                              Das HifiBerry Package, basiert das auf Wheezy, Jessie oder worauf?

                              Bisher läuft es ohne Ausfälle nun seit 15 Tagen.

                              Das Raspbian ist die aktuelle lite Version:

                              root@raspberrypi:~# cat /proc/version
                              Linux version 4.4.45-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG c                                                                                                                                                             rosstool-ng-1.22.0-88-g8460611) ) #954 SMP Fri Jan 27 19:06:40 GMT 2017
                              root@raspberrypi:~# cat /etc/debian_version
                              8.0
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 last edited by

                                Ich habe es jetzt auf nem Cubietruck mit pulseaudio als Audio-Server an laufen.

                                1 Reply Last reply Reply Quote 0
                                • T
                                  tempestas last edited by

                                  @dtp:

                                  Ich nutze ein Acer Iconia A1-810 mit Home24 Mediaplayer. Mehr ist nicht notwendig. Sprachansagen kommen klar und deutlich.

                                  Allerdings findet meine Frau die Ansagen ziemlich doof, so dass ich die meisten wieder deaktiviert habe. 😉

                                  Sobald die HomeMatic eine Bewegung bei Abwesenheit registriert, kommt aber die Ansage:

                                  "Ihr Einbruch wurde registriert. Wir haben bereits die Polizei verständigt."

                                  Vielleicht sollte ich das noch mit einer Polizeisirene untermalen. 😉

                                  Bis dann,

                                  Thorsten `

                                  Habe eine ähnliche Ansage. Fiese Sirene 5 Sekunden, dann "Alarm ausgelöst. Polizei ist informiert. Bitte verlassen sie das Haus", wieder Sirene, dann Ansage auf Englisch und wieder von vorne.

                                  Läuft dann quer durchs Haus auf allen Sonos Boxen (nicht gruppiert, damit nicht alles mit einem Klick abgeschaltet werden kann).

                                  Damit ist dann die Ausgangsfrage auch beantwortet, ich nutze meine Sonos Boxen als Alarm sowie für morgendliche Ansagen (Skript von Skopril und Pix) sowie für Durchsagen, falls Fenster bei niedrigen Temperaturen über 15 Minuten geöffnet sind.

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

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  929
                                  Online

                                  31.7k
                                  Users

                                  79.7k
                                  Topics

                                  1.3m
                                  Posts

                                  9
                                  43
                                  9997
                                  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