I’ve written several blog posts in the past about different ways of integrating Kodi Media Center formally XBMC with the MicasaVerde Vera Home Automation system. Which you can see on the following links.
XBMCState – Allows you to run Vera scenes based on Kodi’s video or audio playback status.
My latest article is about the excellent DLNA Media Controller plug-in for Vera, which you can read more about here. With this DLNA plug-in you can then control Kodi playback / transport controls from the Vera web UI. You can also control any other DLNA compliant media box.
Here you can see my Living Room room in the Vera UI5 web interface.
Here is the DLNA device I have configured to connect to my Kodi01 OpenElec HTPC in my living room. You can see there are some basic transport control buttons for controlling Kodi.
And here is another DLNA device instance in Vera for the Kodi02 PC in my bedroom
Another great feature of the DLNA plug-in for Vera is you can also then sent Text-to-Speech (TTS) announcements to Kodi Media Center. which was the main reason why I installed the DLNA plug-in in the first place.
Now I configured all of this a good while ago and may not remember all the steps for the setup, so I don’t think I will be doing a detailed step-by-step guide, however I will describe the basic setup method and post some screen shots of my settings. Also you can read my thread here on the Micasaverde forum where I was talked through the DLNA plug-ins TTS feature.
Firstly install the UPnP Event Proxy plug-in for Vera, the easiest way is to install it from the MiOS marketplace via this link here. Login to your MiOS account and select the Vera unit you want to install on to. The app will then be pushed out to your Vera unit.
I don’t recall having to change any settings to the UPnP Event Proxy device in the Vera web UI as it just runs a simple HTTP server on your Vera which listens for UPnP NOTIFY messages and forwards them on to another MiOS plugin.
Install DLNA plug-in for Vera:
Next install the DLNA plug-in for Vera, again install this from the MiOS marketplace via this link here.
Creating DLNA device in Vera:
When installing the DLNA plug-in via the MiOS marketplace your first DLNA device instance in Vera will be automatically created for you. To create more DLNA devices in Vera refer to the “Create Device” instructions on the MiOS marketplace here.
Kodi UPnP settings:
Next you need to check out the UPnP settings in Kodi Media Center, go to Settings –> Services – UPnP. I just enabled the option “Allow control of Kodi via UPnP”
You can create multiple instances of the DLNA device in the Vera web UI, one for each of your Kodi HTPCs for example. So you would also need to enable this setting on every Kodi PC.
Select your media renderer:
You will also have to then link your new DLNA device in Vera to a physical media renderer device aka your Kodi PC. Follow the instructions entitled “Select your media renderer” as seen on the MiOS marketplace webpage here.
DLNA Device tabs:
Control Tab – On this tab we can see the playback transport control buttons, you can also see I am currently playing a music track on my Kodi HTPC.
Player Tab – On this tab we see more details about the currently playing media, in this case a music album I am playing in Kodi. The transport control buttons can also be seen and used on this tab.
TTS Tab – On this tab you can manually send TTS announcements.
However you can also add them to your Vera scenes, for example on my Doorbell scene, when the doorbell has been pressed it will send a Google TTS announcement to each Kodi PC around the house that “There is someone at the door”.
Again if you are interested in the TTS side of things I’d recommend you read the thread I started about it on the Miscasaverde forum here as there were a few pit-falls from what I recall.
Settings Tab – On this tab you can see that this particular DLNA device instance is linked to my Kodi01 PC. Which is the HTPC in my living room.
In each room where I have a Kodi PC I have also created a DLNA device instance in Vera for that room / Kodi PC.
Help Tab – Not really sure what this tab is for? It appears to be listing some current information about what media content is playing in Kodi.
Advanced Tab – I do remember making some changes to some of the fields on this tab. For example in the name field this is where you name your DLNA device instance. You need to ensure in the IP and MAC fields you have the correct static IP address of your Kodi PC and also the network cards MAC address.
Device Options Tab – There isn’t any.
Also check out the advanced scene functionality here of the DLNA plug-in to see what else you might be able to do with it.
Summary
As I stated the main reason for me installing the DLNA plug-in was for the Text-to-Speech features and then being able to have the Kodi PCs make announcements sent from Vera scenes.
Having the playback / transport control buttons for each Kodi PC in the Vera web UI is handy now and again. However where I can really see this becoming useful is when Vera mobile apps like Authomation HD for Android start supporting the DLNA plug-in! You would then be able to have playback control over your Kodi PC in your Vera mobile app which would be more useful.
I have asked the question about Authomation HD support this? here.
UPDATE:
I have been informed that the latest beta version of the Automation HD app for Android does have basic support included for the DLNA plug-in. I was also told that the Authomation HD app development is currently on hold.
Here are some screen shots of the Authomation HD beta app on an Android tablet and the Kodi / DLNA device.
Music Playback – shows the album cover and I get metadata being displayed, such as track, album and artist name.
Live TV Playback – shows the channel logo image.
Movie Playback – there seems to be an issue with the DLNA plug-in in Vera not showing any metadata for videos that are played in Kodi, I will have to look in to this further. It seems perfectly fine for music playback however. In the screen shots below I was playing the movie title “300” but only a Kodi logo gets displayed and no metadata information about the movie title is shown.
One thought on “Vera DLNA plug-in yet more integration with Kodi Media Center”
Hey there, great article. Does anyone know who to start live tv via vera? I’m trying to get it to start live tv automatically in the morning as part of my scene?
{"id":null,"mode":"button","open_style":"in_place","currency_code":"GBP","currency_symbol":"\u00a3","currency_type":"decimal","blank_flag_url":"https:\/\/thedigitallifestyle.com\/w\/wp-content\/plugins\/tip-jar-wp\/\/assets\/images\/flags\/blank.gif","flag_sprite_url":"https:\/\/thedigitallifestyle.com\/w\/wp-content\/plugins\/tip-jar-wp\/\/assets\/images\/flags\/flags.png","default_amount":500,"top_media_type":"none","featured_image_url":false,"featured_embed":"","header_media":null,"file_download_attachment_data":null,"recurring_options_enabled":true,"recurring_options":{"never":{"selected":true,"after_output":"One time only"},"weekly":{"selected":false,"after_output":"Every week"},"monthly":{"selected":false,"after_output":"Every month"},"yearly":{"selected":false,"after_output":"Every year"}},"strings":{"current_user_email":"","current_user_name":"","link_text":"Leave a tip","complete_payment_button_error_text":"Check info and try again","payment_verb":"Pay","payment_request_label":"TheDigitalLifestyle.com","form_has_an_error":"Please check and fix the errors above","general_server_error":"Something isn't working right at the moment. Please try again.","form_title":"TheDigitalLifestyle.com","form_subtitle":null,"currency_search_text":"Country or Currency here","other_payment_option":"Other payment option","manage_payments_button_text":"Manage your payments","thank_you_message":"Thank you for being a supporter!","payment_confirmation_title":"TheDigitalLifestyle.com","receipt_title":"Your Receipt","print_receipt":"Print Receipt","email_receipt":"Email Receipt","email_receipt_sending":"Sending receipt...","email_receipt_success":"Email receipt successfully sent","email_receipt_failed":"Email receipt failed to send. Please try again.","receipt_payee":"Paid to","receipt_statement_descriptor":"This will show up on your statement as","receipt_date":"Date","receipt_transaction_id":"Transaction ID","receipt_transaction_amount":"Amount","refund_payer":"Refund from","login":"Log in to manage your payments","manage_payments":"Manage Payments","transactions_title":"Your Transactions","transaction_title":"Transaction Receipt","transaction_period":"Plan Period","arrangements_title":"Your Plans","arrangement_title":"Manage Plan","arrangement_details":"Plan Details","arrangement_id_title":"Plan ID","arrangement_payment_method_title":"Payment Method","arrangement_amount_title":"Plan Amount","arrangement_renewal_title":"Next renewal date","arrangement_action_cancel":"Cancel Plan","arrangement_action_cant_cancel":"Cancelling is currently not available.","arrangement_action_cancel_double":"Are you sure you'd like to cancel?","arrangement_cancelling":"Cancelling Plan...","arrangement_cancelled":"Plan Cancelled","arrangement_failed_to_cancel":"Failed to cancel plan","back_to_plans":"\u2190 Back to Plans","update_payment_method_verb":"Update","sca_auth_description":"Your have a pending renewal payment which requires authorization.","sca_auth_verb":"Authorize renewal payment","sca_authing_verb":"Authorizing payment","sca_authed_verb":"Payment successfully authorized!","sca_auth_failed":"Unable to authorize! Please try again.","login_button_text":"Log in","login_form_has_an_error":"Please check and fix the errors above","uppercase_search":"Search","lowercase_search":"search","uppercase_page":"Page","lowercase_page":"page","uppercase_items":"Items","lowercase_items":"items","uppercase_per":"Per","lowercase_per":"per","uppercase_of":"Of","lowercase_of":"of","back":"Back to plans","zip_code_placeholder":"Zip\/Postal Code","download_file_button_text":"Download File","input_field_instructions":{"tip_amount":{"placeholder_text":"How much would you like to tip?","initial":{"instruction_type":"normal","instruction_message":"How much would you like to tip? Choose any currency."},"empty":{"instruction_type":"error","instruction_message":"How much would you like to tip? Choose any currency."},"invalid_curency":{"instruction_type":"error","instruction_message":"Please choose a valid currency."}},"recurring":{"placeholder_text":"Recurring","initial":{"instruction_type":"normal","instruction_message":"How often would you like to give this?"},"success":{"instruction_type":"success","instruction_message":"How often would you like to give this?"},"empty":{"instruction_type":"error","instruction_message":"How often would you like to give this?"}},"name":{"placeholder_text":"Name on Credit Card","initial":{"instruction_type":"normal","instruction_message":"Enter the name on your card."},"success":{"instruction_type":"success","instruction_message":"Enter the name on your card."},"empty":{"instruction_type":"error","instruction_message":"Please enter the name on your card."}},"privacy_policy":{"terms_title":"Terms and conditions","terms_body":null,"terms_show_text":"View Terms","terms_hide_text":"Hide Terms","initial":{"instruction_type":"normal","instruction_message":"I agree to the terms."},"unchecked":{"instruction_type":"error","instruction_message":"Please agree to the terms."},"checked":{"instruction_type":"success","instruction_message":"I agree to the terms."}},"email":{"placeholder_text":"Your email address","initial":{"instruction_type":"normal","instruction_message":"Enter your email address"},"success":{"instruction_type":"success","instruction_message":"Enter your email address"},"blank":{"instruction_type":"error","instruction_message":"Enter your email address"},"not_an_email_address":{"instruction_type":"error","instruction_message":"Make sure you have entered a valid email address"}},"note_with_tip":{"placeholder_text":"Your note here...","initial":{"instruction_type":"normal","instruction_message":"Attach a note to your tip (optional)"},"empty":{"instruction_type":"normal","instruction_message":"Attach a note to your tip (optional)"},"not_empty_initial":{"instruction_type":"normal","instruction_message":"Attach a note to your tip (optional)"},"saving":{"instruction_type":"normal","instruction_message":"Saving note..."},"success":{"instruction_type":"success","instruction_message":"Note successfully saved!"},"error":{"instruction_type":"error","instruction_message":"Unable to save note note at this time. Please try again."}},"email_for_login_code":{"placeholder_text":"Your email address","initial":{"instruction_type":"normal","instruction_message":"Enter your email to log in."},"success":{"instruction_type":"success","instruction_message":"Enter your email to log in."},"blank":{"instruction_type":"error","instruction_message":"Enter your email to log in."},"empty":{"instruction_type":"error","instruction_message":"Enter your email to log in."}},"login_code":{"initial":{"instruction_type":"normal","instruction_message":"Check your email and enter the login code."},"success":{"instruction_type":"success","instruction_message":"Check your email and enter the login code."},"blank":{"instruction_type":"error","instruction_message":"Check your email and enter the login code."},"empty":{"instruction_type":"error","instruction_message":"Check your email and enter the login code."}},"stripe_all_in_one":{"initial":{"instruction_type":"normal","instruction_message":"Enter your credit card details here."},"empty":{"instruction_type":"error","instruction_message":"Enter your credit card details here."},"success":{"instruction_type":"normal","instruction_message":"Enter your credit card details here."},"invalid_number":{"instruction_type":"error","instruction_message":"The card number is not a valid credit card number."},"invalid_expiry_month":{"instruction_type":"error","instruction_message":"The card's expiration month is invalid."},"invalid_expiry_year":{"instruction_type":"error","instruction_message":"The card's expiration year is invalid."},"invalid_cvc":{"instruction_type":"error","instruction_message":"The card's security code is invalid."},"incorrect_number":{"instruction_type":"error","instruction_message":"The card number is incorrect."},"incomplete_number":{"instruction_type":"error","instruction_message":"The card number is incomplete."},"incomplete_cvc":{"instruction_type":"error","instruction_message":"The card's security code is incomplete."},"incomplete_expiry":{"instruction_type":"error","instruction_message":"The card's expiration date is incomplete."},"incomplete_zip":{"instruction_type":"error","instruction_message":"The card's zip code is incomplete."},"expired_card":{"instruction_type":"error","instruction_message":"The card has expired."},"incorrect_cvc":{"instruction_type":"error","instruction_message":"The card's security code is incorrect."},"incorrect_zip":{"instruction_type":"error","instruction_message":"The card's zip code failed validation."},"invalid_expiry_year_past":{"instruction_type":"error","instruction_message":"The card's expiration year is in the past"},"card_declined":{"instruction_type":"error","instruction_message":"The card was declined."},"missing":{"instruction_type":"error","instruction_message":"There is no card on a customer that is being charged."},"processing_error":{"instruction_type":"error","instruction_message":"An error occurred while processing the card."},"invalid_request_error":{"instruction_type":"error","instruction_message":"Unable to process this payment, please try again or use alternative method."},"invalid_sofort_country":{"instruction_type":"error","instruction_message":"The billing country is not accepted by SOFORT. Please try another country."}}}},"fetched_oembed_html":false}
Hey there, great article. Does anyone know who to start live tv via vera? I’m trying to get it to start live tv automatically in the morning as part of my scene?