{"id":17157,"date":"2015-12-16T15:58:21","date_gmt":"2015-12-16T13:58:21","guid":{"rendered":"http:\/\/www.max2play.com\/?page_id=17157"},"modified":"2015-12-16T15:58:21","modified_gmt":"2015-12-16T13:58:21","slug":"how-to-max2play-voice-control-with-apple-voice-assistant-siri","status":"publish","type":"page","link":"https:\/\/www.max2play.com\/en\/how-tos\/how-to-max2play-voice-control-with-apple-voice-assistant-siri\/","title":{"rendered":"How-to &#8211; Max2Play Voice Control with Apple Voice Assistant Siri"},"content":{"rendered":"[spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<blockquote><p>&#8222;Hey Siri. Turn music on at home!&#8220;<\/p><\/blockquote>\n<p>In this how-to, we show you how to configure voice control of your Max2Play device in a few steps with voice assistant Siri on Apple iOS devices. At the end of this tutorial, you can start music playback via Squeezelite Player in Max2Play with the voice command &#8222;Turn music on at home&#8220;. Let&#8217;s go.<\/p>\n[\/spb_text_block] [spb_column width=&#8220;1\/2&#8243; el_position=&#8220;first&#8220;] [spb_text_block title=&#8220;1. Install Max2Play Plug-in Voice Control&#8220; pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p>Install the plug-in &#8222;Voice Control&#8220; on your Max2Play device by pasting this download link into the &#8222;Settings\/Reboot&#8220; menu of the Max2Play interface and clicking &#8222;Install new plugin&#8220;. After the installation, the menu &#8222;Voice Control&#8220; appears in the interface. The plug-in is also available at our <span style=\"color: #00ffff;\"><a title=\"Max2Play Plug-ins\" href=\"https:\/\/www.max2play.com\/en\/addons\/\"><span style=\"color: #00ffff;\">plug-in page<\/span><\/a><\/span>.<\/p>\n<p>To control the Max2Play device, the house automation system HomeKit by Apple is required. We are going to install it in the next step.<\/p>\n[\/spb_text_block] [spb_single_image image=&#8220;17280&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_text_block title=&#8220;3. Link HomeKit with Max2Play Device&#8220; pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p>As soon as the log-in screen appears, enter &#8222;admin&#8220; as name and password as described. If you want, you can set your own password at first. To do that, click on the red gear at the top-right corner, choose &#8222;My Settings&#8220;, enter a new password at the end of the page and set it by hitting the &#8222;Submit&#8220; button.<\/p>\n<p>Click on the red gear again now and choose &#8222;Apps&#8220; to open the overview of all apps. At first, we are focussing on a &#8222;HTTP Device&#8220;. After clicking on &#8222;Add App&#8220;, you have to enter some information about your Max2Play device. At &#8222;Name&#8220;, you should use a meaningful name, e.g. &#8222;Max2Play Living Room&#8220;. To stay on top of things, this name should match the name of your Max2Play device in the &#8222;Settings\/Reboot&#8220; menu. You can leave the field &#8222;My Notes&#8220; blank. Choose &#8222;switchBinary&#8220; in the next field.<\/p>\n<p>Next in the line are the three URls and some JavaScript code containing the control commands of your Squeezeliteplayer. Note that the player has to be controlled by a running Squeezebox Server by all means with this setup. If there is no in your network, install one directly in the &#8222;Squeezebox Server&#8220; menu on your Max2Play device. You can look up the commands easily in the &#8222;Voice Control&#8220; menu of Max2Play. By the way, these links begin with the IP address end with the MAC address of your Max2Play device, the LAN port or WiFi adapter. When making the switch between these, keep in mind to enter the the current URLs from the Max2Play interface in each case. If you use a Squeezeboxserver beyond your Max2Play device, you have to enter its IP address of course. Copy the URLs to start, pause and request the status of the Squeezelite Player into the three corresponding fields and the JavaScript code into the field &#8222;Inline Javascript(&#8230;)&#8220;.<\/p>\n<p>Keep the preconfigured request interval. Please choose &#8222;GET&#8220; as &#8222;HTTP method to use&#8220;, additionally, check the option &#8222;Update value on action&#8220;. Leave the second checkbox unchecked. Please click on &#8222;Save&#8220; to create the HTTP device.<\/p>\n[\/spb_text_block] [spb_single_image image=&#8220;17282&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_text_block title=&#8220;4. Configure your iOS device&#8220; pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p>To use HomeKit on your iOS device, please install a HomeKit-capable app, a free example is <span style=\"color: #00ffff;\"><a title=\"Free Homekit App Elegato Eve\" href=\"https:\/\/itunes.apple.com\/app\/elgato-eve\/id917695792\"><span style=\"color: #00ffff;\">Elegato Eve<\/span><\/a><\/span>.<\/p>\n<p>Once the app is installed successfully, open it and hit &#8222;Add Accessory&#8220;. Set a name for your home and wait while the app is looking for the HomeKit Gate we set up before. Press on its name and on the PIN area on the next screen. Ignore the message that this not certified HomeKit accessory might not work reliably, and press &#8222;Add Anyway&#8220; and &#8222;Enter code manually&#8220;. Enter the row of numbers from the Max2Play interface into the PIN prompt to complete the pairing of your iOS and Max2Play device. The http device should be found automatically now by your iOS device. Optionally, you can assign a Siri name and a room.<\/p>\n<p>After completing all these configuration steps, you can turn on and off the Squeezeliteplayer on your Max2Play device with voice commands.<\/p>\n[\/spb_text_block] [spb_text_block title=&#8220;6. More Use Cases&#8220; pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p>In the Max2Play interface, &#8222;Voice Control&#8220; offers a list with more important URL commands you can again configure as further &#8222;HTTP Devices&#8220;, e.g. to start and stop Kodi and Jivelite or to shut down your Max2Play device.<\/p>\n<p>Keep in mind that you can find out those URL commands quickly on your own by pushing a button in the Max2Play interface and look after the URL command that is shown after it was executed. for the URL command shown after its execution. For example, click on &#8222;Update Max2Play in the &#8222;Settings\/Reboot&#8220; menu to receive a URL with the command &#8222;action=checkMax2PlayUpdate&#8220;.<\/p>\n<p>How to configure voice control on an android device, you can look up in &#8222;How-to &#8211; Max2Play Voice Control with Google Voice Assistant Google Now&#8220; (available soon).<\/p>\n[\/spb_text_block] [\/spb_column] [spb_column width=&#8220;1\/2&#8243; el_position=&#8220;last&#8220;] [spb_single_image image=&#8220;17279&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_text_block title=&#8220;2. Install HomeKit&#8220; pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p>Click on &#8222;Voice Control&#8220; in the Max2Play interface to open the plug-in. Expand the section &#8222;I have a Apple Device (iPhone \/ iPad) with Siri&#8220; to install HomeKit in a few minutes. Finally, the Max2Play device must be restarted. The fastest way is to click on &#8222;Click here to Reboot Now&#8220; in the yellow info box. HomeKit is now ready for action.<\/p>\n<p>Click on &#8222;Open Z-Wave Server Interface&#8220; to access HomeKit. We are going to configure some settings there to link your Max2Play device with HomeKit.<\/p>\n[\/spb_text_block] [spb_single_image image=&#8220;17281&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p>You find yourself back again in the app overview now. Create a new app, &#8222;Apple HomeKit Gate&#8220; right after &#8222;HTTP Device&#8220;, by hitting &#8222;Add App&#8220;. At &#8222;Name&#8220; and at &#8222;Name as it appears in iOS devices&#8220;, you could enter &#8222;Max2Play HomeKit Server&#8220; for example, &#8222;My Notes&#8220; is optional. Click on &#8222;Save&#8220; to create the &#8222;Apple HomeKit Gate&#8220;.<\/p>\n<p>Next step is to hit &#8222;Elements&#8220;, the menu right next to the little house button (&#8222;Dashboard&#8220;), and look for your http device. If you cannot see it, reload the page by hitting the F5 key. The http device does not automatically carry over the name of the app we created before. If this bothers you, click on the gear of your http device and type out the field &#8222;Generated by App&#8220; for example. Click &#8222;Save&#8220;.<\/p>\n<p>Switch over to the Max2Play interface. In the Siri section, a HomeKit PIN is automatically shown after setting up a HomeKit Gate. We need this PIN to configure your iOS device.<\/p>\n[\/spb_text_block] [spb_single_image image=&#8220;17283&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_text_block title=&#8220;5. Usage of Voice Commands&#8220; pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p>Activate Siri as usual by pressing the home button of your iOS device for a while and speak: &#8222;Turn music on at home&#8220;. If you set up the &#8222;Hey Siri&#8220; command available since iOS 8, this also work of course. Shortly after, the Squeezelite Player on your Max2Play device should be started and play music. Please don&#8217;t get confused: Siri might tell you she switched a lamp on. With the command &#8222;Turn music off at home.&#8220;, you trigger the stop of the Squeezelite Player. In the background, the embedded URLs are called that we entered before.<\/p>\n<p>Very good. You can simply tell your iOS device whether Max2Play should play music or not. Beyond that, Max2Play offers many other use cases you can control the same way with voice control.<\/p>\n[\/spb_text_block] [\/spb_column]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] &#8222;Hey Siri. Turn music on at home!&#8220; In this how-to, we show you how to configure voice control of your Max2Play device in a few steps with voice assistant Siri on Apple iOS devices. At the end of this tutorial, you can start music playback via Squeezelite Player in Max2Play with the voice command [&hellip;]<\/p>\n","protected":false},"author":171,"featured_media":0,"parent":17211,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/pages\/17157"}],"collection":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/users\/171"}],"replies":[{"embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/comments?post=17157"}],"version-history":[{"count":18,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/pages\/17157\/revisions"}],"predecessor-version":[{"id":17366,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/pages\/17157\/revisions\/17366"}],"up":[{"embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/pages\/17211"}],"wp:attachment":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/media?parent=17157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}