Apple Siri Addon for Speech Control Plugin BETA

Max2Play Home Forums Max2Play Add-ons Apple Siri Addon for Speech Control Plugin BETA

Viewing 24 posts - 1 through 24 (of 24 total)
  • 29. September 2016 at 16:39 #23256

    Hi,

    good news: The voice control with apples Siri is now available for testing with our Speech Control Plugin. It lets you easily control your Max2Play device with voice commands over your apple device.

    This addon is a part of our Speech Control Plugin BETAWith this you can easily control your Squeezebox Player and your Max2Play with voice commands. For example, start and stop playback with Siri.

    Here you can install the Speech Control Plugin on your Max2Play device.

    You can use the Elgato EVE app or with iOS 10 you can also use the Home App which is a pre-installed app. Furthermore it is possible to use different HTTP-Requests to control Max2Play and the Squeezebox Server.

    If you have a Apple Device (iPhone or iPad) with Siri and you want to control your Squeezebox Server with voice commands, you should give it a try!

    If you have some issues with the BETA Plugin, please tell us some informations about your setup:

    • What Raspberry Pi do you use and what Max2Play SD-Card-Image did you install?
    • What Max2Play-Version do you use?
    • What is the output of the “DEBUG” window at the bottom of the speech control addon?
    • What exaclty is not working?

    Best Regards

    Christoph

    8. Oktober 2016 at 9:30 #23317

    Dear Christoph,
    I was happy to see the new features of this plugin and becaus of Siri integration and Home Kit I wanted to give it a try.
    I installed the plugin after updating M2P to 2.37.
    After the installation an reboot, the Sppech Control Plugin Page is showing me this:

    Enable speech communication for your Max2Play device!
    This plugin is still in development. Make sure no audioplayer is running while using Jasper.

    This happens on installation:

    Jasper Framework gets installed and configured
    The TextToSpeech Engine ESpeak gets installed and configured
    SpeachToText Engine SphinxBase and Pocketsphinx get installed

    Install Speech Control on this device. You need a microphone connected to your device (probably with USB).
    (INSTALL BUTTON)

    Ne settings. No clue of it beeing installed.
    Except the debug info. It is telling me the following:

    #### JASPER Installed ####

    #### ESPEAK Installed ####
    1
    #### POCKETSPHINX Installed ####

    #### JASPER Running ####

    It is a Raspberry Pi 3. I used the standard M2P image – I think I started with version 2.34 on this machine.
    I have no oher plugins except Hifiberry and Kodi installed and active.
    I recognized I had the audioplayer (squeezelite) running while and after first installation.
    I stopped it and prevented it from starting after boot. Then started installation of speech recognition again. Did not change a thing.
    I even attached an USB microphone.
    The Home-App on iOS 10 (iPhone 7 Plus) does not find the Raspberry Pi.

    Do you have a clue what could be wrong?

    Meanwhile I tested the same thing on a Raspberry Pi 2 (M2P 2.37). Also with Hifiberry and Kodi but with audioplayer disabled before installing it for the first time. Here, installation of the plugin worked. BUT: Obviously the service doea not start. When I klick the start button, the message above reads: Install Jasper, Google STT, ESpeak TTS. Something went wrong on the last installation attempt. Delete installation files and try again.

    Many thanks and best regards
    Muhackl

    15. Oktober 2016 at 18:53 #23424

    Hallo,
    Kann ich mit der Sprachsteuerung bzw Siri den Squeezeplayer steuern? Funktionieren sämtliche Befehle wie z.b vor,zurück,play,stop… Kann man auch das os damit runterfahren und booten? Braucht man zwangsläufig eine der ganannten apps?

    Gruss Daniel

    24. Oktober 2016 at 22:18 #23562

    same here, everything installed, started all looks good, but unable to find on iphone…

    any ideas?

    20. November 2016 at 17:38 #24030

    Bekomme folgende Meldung beim starten:

    Versucht zu starten ... NICHT Erfolgreich Hier klicken für weitere Informationen
    *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see
    *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see
    [2016-11-20 16:30:47] Loaded plugin: homebridge-http
    [2016-11-20 16:30:49] Registering accessory 'homebridge-http.Http'
    [2016-11-20 16:30:49] ---
    [2016-11-20 16:30:49] Loaded plugin: homebridge-server
    [2016-11-20 16:30:49] Registering platform 'homebridge-server.Server'
    [2016-11-20 16:30:49] ---
    [2016-11-20 16:30:50] Loaded plugin: homebridge-squeezebox
    [2016-11-20 16:30:50] Registering platform 'homebridge-squeezebox.Squeezebox'
    [2016-11-20 16:30:50] ---
    [2016-11-20 16:30:50] Loaded config.json with 1 accessories and 2 platforms.
    [2016-11-20 16:30:50] ---
    [2016-11-20 16:30:50] Loading 2 platforms...
    [2016-11-20 16:30:50] [Squeezebox] Initializing Squeezebox platform...
    [2016-11-20 16:30:50] [Homebridge Server] Initializing Server platform...
    Homebridge-Server is listening on port 8765
    [2016-11-20 16:30:50] Loading 1 accessories...
    [2016-11-20 16:30:50] [Kodi] Initializing Http accessory...
    Load homebridge-squeezebox.Squeezebox
    [2016-11-20 16:32:13] Got SIGTERM, shutting down Homebridge...

    Raspberry Pi 2
    m2p Version: 2.38

    Gruß Thomas

    Edit: Hab bei der Installation schon folgende Meldung bekommen:

    npm WARN deprecated [email protected]: use uuid module instead
    /usr/local/lib
    • This reply was modified 7 years, 5 months ago by Humpelpumpel.
    25. November 2016 at 8:37 #24202

    Hello

    Installation o.k., homebridge startet but nothing is not found on iPhone.

    Max2Play is on 2.38. But on the voice control site I don’t see any „z-wave server interface“ button as described in the how-to. The page just shows that homebridge is running as well as the according pin.

    Any ideas?

    28. Dezember 2016 at 16:40 #25313

    Is there something new?

    Still have the same problem… 🙁

    13. Januar 2017 at 1:58 #25838

    „suffer“ from the same problem. do i have to ask myselve what i actually doing wrong or is the plugin only suitable for the raspberry pi? i have an Odroid U3 in use.

    16. Januar 2017 at 16:25 #25956

    Hi um9kc,
    The Speech Control Plugin is still in beta and it was developed for the Raspberry Pi. However, if you have any success or found out something new with the Odroid U3, please share your experiences.

    30. Januar 2017 at 6:29 #26396

    Hi,

    The link to the HOW-TO doesn’t seems to work : http://www.max2play.com/howto-voice-control-max2play-apple

    Can you fix this or give us the good one ?

    Thanks

    13. März 2017 at 17:45 #27689

    Hi pics,
    Sorry about the late reply. Here is the link: https://www.max2play.com/en/how-tos/how-to-max2play-voice-control-with-apple-voice-assistant-siri/

    10. Juli 2017 at 16:50 #29868

    Hallo zusammen,

    das gleiche Problem auch hier.

    Ich hab auf meinem Raspberry PI 3 mit M2P Version 2.43 Homebridge installiert.

    Wenn ich bei Homebridge auf „Show Configuration“ klicke, sehe ich die Konfigurationsseite von Homebridge.
    Ich kann auch auf „Plugins“ oben rechts in der Konfigurationsseite von Homebridge und sehe die Pluginseite. Alle anderen Links wie „Backup“ und „Log“ funktionieren nicht und der Server stürzt ab.

    Den Homebridge Server kann man dann leider auch nicht neustarten. Im Log von M2P steht dann folgendes:

    Versucht zu starten ... NICHT Erfolgreich Hier klicken für weitere Informationen
    *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see 
    *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see 
    [2017-07-10 16:23:42] Loaded plugin: homebridge-http
    [2017-07-10 16:23:44] Registering accessory 'homebridge-http.Http'
    [2017-07-10 16:23:44] ---
    [2017-07-10 16:23:44] Loaded plugin: homebridge-server
    [2017-07-10 16:23:44] Registering platform 'homebridge-server.Server'
    [2017-07-10 16:23:44] ---
    [2017-07-10 16:23:44] Loaded plugin: homebridge-squeezebox
    [2017-07-10 16:23:44] Registering platform 'homebridge-squeezebox.Squeezebox'
    [2017-07-10 16:23:44] ---
    [2017-07-10 16:23:44] Loaded config.json with 1 accessories and 2 platforms.
    [2017-07-10 16:23:44] ---
    [2017-07-10 16:23:44] Loading 2 platforms...
    [2017-07-10 16:23:44] [Squeezebox] Initializing Squeezebox platform...
    [2017-07-10 16:23:44] [Homebridge Server] Initializing Server platform...
    [2017-07-10 16:23:44] Loading 1 accessories...
    [2017-07-10 16:23:44] [Kodi] Initializing Http accessory...
    Load homebridge-squeezebox.Squeezebox
    [2017-07-10 16:23:44] [Homebridge Server] is listening on: http://192.168.174.51:8765
    fs.js:303
    binding.open(pathModule._makeLong(path),
    ^
    
    TypeError: path must be a string or Buffer
    at TypeError (native)
    at Object.fs.readFile (fs.js:303:11)
    at Server.handleRequest (/usr/local/lib/node_modules/homebridge-server/index.js:485:27)
    at emitTwo (events.js:106:13)
    at Server.emit (events.js:191:7)
    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:543:12)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:105:23)

    Achso, über Elgato Eve finde ich den Server leider auch nicht. 🙁

    Funktioniert bei euch das Plugin?

    18. Juli 2017 at 13:44 #29944

    Hi Tobi,

    Thanks for sharing your experience in detail. We will try to recreate the issue on a tester and tell you the results, soon.

    26. Juli 2017 at 11:21 #30164

    Hi Heiner,

    is there any news about the problem with Homebridge?

    Thanks,
    Tobias

    27. Juli 2017 at 14:00 #30218

    Hi Tobi,

    Entschuldige die verspätete Rückmeldung. Wir haben dein Problem nachempfunden, aber leider keinen fatalen Fehler entdeckt.

    Die Config musst du wie im HowTo beschrieben manuell im Max2Play Webinterface anpassen unter „Edit Homebridge Config“. Wir konnten dort ein Problem mit dem Link im Webinterface feststellen. Deshalb hier das HowTo nochmal: https://www.max2play.com/en/how-tos/how-to-max2play-voice-control-with-apple-voice-assistant-siri/

    Das Webinterface von HomeBridge selbst ist nicht zur Bedienung geeignet.

    31. Juli 2017 at 7:19 #30239

    Hallo Heiner,

    danke für dein Feedback.

    Mehrere Sachen irritieren mich aber (ich versuche über iOS eine Verbindung herzustellen):

    1. Im Howto steht, dass man über „Open Z-Wave Server Interface“ die Konfiguration machen soll.
    Diesen Link habe ich nicht. Ist das normal? Ist das Howto veraltet?

    2. Ist es normal, dass man den Server nicht neustarten kann?
    – Nach einem Neustart von M2P steht im „Sparchsteuerung“ Bereich: „Status: Homebridge läuft aktuell unter der ProzessID 722“
    – Wenn ich auf „Homebridge stoppen“ klicke, und dann wieder auf „Homebridge starten“ klicke, bekomm ich folgende Fehlermelung: „Versucht zu starten … NICHT Erfolgreich Hier klicken für weitere Informationen“. Hier das Log:

    *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see 
    *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see 
    [2017-07-30 19:52:12] Loaded plugin: homebridge-http
    [2017-07-30 19:52:12] Registering accessory 'homebridge-http.Http'
    [2017-07-30 19:52:12] ---
    [2017-07-30 19:52:12] Loaded plugin: homebridge-server
    [2017-07-30 19:52:12] Registering platform 'homebridge-server.Server'
    [2017-07-30 19:52:12] ---
    [2017-07-30 19:52:12] Loaded plugin: homebridge-squeezebox
    [2017-07-30 19:52:12] Registering platform 'homebridge-squeezebox.Squeezebox'
    [2017-07-30 19:52:12] ---
    [2017-07-30 19:52:12] Loaded config.json with 1 accessories and 2 platforms.
    [2017-07-30 19:52:12] ---
    [2017-07-30 19:52:12] Loading 2 platforms...
    [2017-07-30 19:52:12] [Squeezebox] Initializing Squeezebox platform...
    [2017-07-30 19:52:12] [Homebridge Server] Initializing Server platform...
    [2017-07-30 19:52:12] Loading 1 accessories...
    [2017-07-30 19:52:12] [Kodi] Initializing Http accessory...
    Load homebridge-squeezebox.Squeezebox
    [2017-07-30 19:52:13] [Homebridge Server] is listening on: http://192.168.174.51:8765
    [2017-07-30 19:54:02] [Homebridge Server] Executing: npm list -g | grep 'homebridge'

    3. Ich finde in „Elgato Eve“ kein Homebridge Device. Ist es richtig, dass sich die Geräte nur im selben LAN befinden müssen? Die Verbindung geht nicht über Bluetooth oder so?

    Vielen Dank für die Hilfe,
    Tobi

    31. Juli 2017 at 8:02 #30240

    Hallo Heiner,

    ich hab mal etwas an der config herumgespielt.

    Mit folgender config wird Homebridge gestartet und ich seh das Device in Eve:

    {
        "bridge": {
            "name": "Homebridge",
            "username": "CC:22:3D:E3:CE:30",
            "port": 51826,
            "pin": "031-45-154"
        },
    
        "accessories": [
        ],
     
        "platforms": [
        ]
        
    }

    Aber auch ein „Homebridge stoppen“ klicken, und dann wieder „Homebridge starten“ klappt nicht.
    Im Frontend bekomme ich nur folgendes Log:

    Versucht zu starten ... NICHT Erfolgreich Hier klicken für weitere Informationen
    *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see 
    *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see 
    [2017-07-31 07:57:00] Loaded plugin: homebridge-http
    [2017-07-31 07:57:01] Registering accessory 'homebridge-http.Http'
    [2017-07-31 07:57:01] ---
    [2017-07-31 07:57:01] Loaded plugin: homebridge-server
    [2017-07-31 07:57:01] Registering platform 'homebridge-server.Server'
    [2017-07-31 07:57:01] ---
    [2017-07-31 07:57:01] Loaded plugin: homebridge-squeezebox
    [2017-07-31 07:57:01] Registering platform 'homebridge-squeezebox.Squeezebox'
    [2017-07-31 07:57:01] ---
    [2017-07-31 07:57:01] Loaded config.json with 0 accessories and 0 platforms.
    [2017-07-31 07:57:01] ---
    [2017-07-31 07:57:01] Loading 0 platforms...
    [2017-07-31 07:57:01] Loading 0 accessories...
    Load homebridge-squeezebox.Squeezebox
    Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
    
    ┌────────────┐ 
    │ 031-45-154 │ 
    └────────────┘ 
    
    [2017-07-31 07:57:01] Homebridge is running on port 51826.
    [2017-07-31 07:57:13] Got SIGTERM, shutting down Homebridge...

    Das Log ist aber veraltet und aktualisiert sich nicht… 🙁
    Bei jedem Startversuch steht das gleiche drin.

    Aktuell kann ich nur testen, wenn ich den Raspberry neustarte.

    1. Funktioniert bei dir das Neustarten von Homebridge?
    2. Wo ist das Logfile von Homebridge?

    Danke,
    Tobi

    31. Juli 2017 at 14:07 #30258

    Hallo Tobi,

    Ich kann den HomeBridge Server erfolgreich starten und stoppen mit den Buttons im Webinterface.

    Bitte versuche es mit einer neuen Installation, dies sollte problemlos machbar sein.

    31. Juli 2017 at 17:54 #30267

    Hallo Heiner,

    ich habe Homebridge über „Deinstalliere Homebridge“ deinstalliert und wieder neu installiert.
    Ich merke aber keine Verbesserung. 🙁

    Auch seltsam ist, dass das Log über m2p immer gleich ist, obwohl ich x-Mal schon nach 07:57 neugestartet habe…

    Versucht zu starten ... NICHT Erfolgreich Hier klicken für weitere Informationen
    *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see 
    *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see 
    [2017-07-31 07:57:00] Loaded plugin: homebridge-http
    [2017-07-31 07:57:01] Registering accessory 'homebridge-http.Http'
    [2017-07-31 07:57:01] ---
    [2017-07-31 07:57:01] Loaded plugin: homebridge-server
    [2017-07-31 07:57:01] Registering platform 'homebridge-server.Server'
    [2017-07-31 07:57:01] ---
    [2017-07-31 07:57:01] Loaded plugin: homebridge-squeezebox
    [2017-07-31 07:57:01] Registering platform 'homebridge-squeezebox.Squeezebox'
    [2017-07-31 07:57:01] ---
    [2017-07-31 07:57:01] Loaded config.json with 0 accessories and 0 platforms.
    [2017-07-31 07:57:01] ---
    [2017-07-31 07:57:01] Loading 0 platforms...
    [2017-07-31 07:57:01] Loading 0 accessories...
    Load homebridge-squeezebox.Squeezebox
    Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
    
    ┌────────────┐ 
    │ 031-45-154 │ 
    └────────────┘ 
    
    [2017-07-31 07:57:01] Homebridge is running on port 51826.
    [2017-07-31 07:57:13] Got SIGTERM, shutting down Homebridge...

    Ich finde in /var/log/ keine Logfiles von Homebridge.
    Gibt es dir irgendwo?

    • This reply was modified 6 years, 8 months ago by Tobi81.
    1. August 2017 at 9:51 #30273

    Hallo Tobi,

    Es kann sein, dass bei einem neuen Installieren einer bereits problematischen Installation von HomeBridge weiterhin Fehler auftreten. Um sicher zu gehen, dass dieses Problem wiederherstellbar ist, versuche bitte ein neues Image zu brennen und HomeBridge neu zu installieren.
    Du kannst vorher ein Backup machen von deinem aktuellen Image mit unserem Image Burner oder einer anderen Software, um deine Daten zu sichern.

    2. August 2017 at 12:54 #30324

    Hallo Heiner,

    von einer Neuinstallation bin ich nicht begeistert.

    Ich habe darum mal auf einem Raspberry Pi Zero mit m2p 2.43 versucht die Sprachsteuerung zu installieren, was leider nicht erfolgreich war.

    Das erste Log habe ich leider nicht mehr.
    Aber nach jedem Neustart des Raspberrys werde ich aufgefordert Homebridge zu installieren.
    Daraufhin erhalte ich am Ende dieses Log:

    node-v8.2.1-linux-armv7l/include/node/v8-version.h
    node-v8.2.1-linux-armv7l/include/node/uv-threadpool.h
    node-v8.2.1-linux-armv7l/include/node/node_buffer.h
    node-v8.2.1-linux-armv7l/include/node/uv.h
    node-v8.2.1-linux-armv7l/CHANGELOG.md
    /var/www/max2play/application/plugins/voicecontrol/controller/../scripts/install_homebridge.sh: line 26: cd: node.tar.gz: Not a directory
    sudo: npm: command not found
    sudo: npm: command not found
    sudo: npm: command not found
    sudo: npm: command not found
    cp: cannot create regular file ‘/usr/local/lib/node_modules/homebridge-squeezebox/index.js’: No such file or directory
    mkdir: cannot create directory ‘/home/pi/.homebridge/’: File exists
    Finished! Click here to Reload Page

    Nach einem Neustart wieder das gleiche.

    Hilft das was?

    Was kann ich jetzt machen?

    Tobi

    10. August 2017 at 16:52 #30559

    I read this: https://www.max2play.com/en/how-tos/how-to-max2play-voice-control-with-apple-voice-assistant-siri/
    but I can’t find Plug-in Voice Control Donwload!
    Where is it?

    Thanks

    Edit: It’s the wrong name in the How To. It’s Plugin Speech Control, not Plug-in Voice Control 😛

    11. August 2017 at 16:38 #30571

    Hi Arianna,

    Here’s the plugin page: https://www.max2play.com/en/portfolio/plugin-speech-control/

    And that’s the install URL you need to paste: http://shop.max2play.com/media/downloadable/beta/voicecontrol.tar

    11. August 2017 at 19:47 #30576

    thanks!

Viewing 24 posts - 1 through 24 (of 24 total)

You must be logged in to reply to this topic.

Register here