ASRMichael Posted November 20, 2020 Share Posted November 20, 2020 looking forward to the day it happens. As a challenge I previously spent a lot of time trying to get Alexa to play songs on my system. This was more a challenge than creating a way to import full library but managed to successfully do a few albums. I used IFTTT, Alexa voice > IFTTT > Setup module to send command to my raspberry PI, (Alexa to IFTTT website back to my home, 2 secs delay), which has home automation software, then from software I was able to setup receive command from IFTTT trigger the following (effectively 1 command to play one song from my NAS to my Streamers. it did work, long process to get just 10 albums, but was my favourite albums at the time. As I said was just something I was wanting to achieve. I’ve not used it in years now. POST /AVTransport/ctrl HTTP/1.1\x0D\x0AHOST: 192.168.1.190:8080\x0D\x0ASOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"\x0D\x0ACONTENT-TYPE: text/xml; charset="utf-8"\x0D\x0AContent-Length: 550\x0D\x0A\x0D\x0A<?xml version="1.0" encoding="utf-8"?>\x0D\x0A<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">\x0D\x0A <s:Body>\x0D\x0A <u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">\x0D\x0A <InstanceID>0</InstanceID>\x0D\x0A <CurrentURI>http://192.168.1.100:9000/disk/NON-DLNA/O0$1$8I19248142.aif</CurrentURI>\x0D\x0A <CurrentURIMetaData />\x0D\x0A </u:SetAVTransportURI>\x0D\x0A </s:Body>\x0D\x0A</s:Envelope> bluesman 1 Link to comment
ASRMichael Posted November 20, 2020 Share Posted November 20, 2020 Had a quick look at some plug ins which support http commands. The software I use for home automation is called Demopad similar to Creston I suppose. I have Hue lights, heating, AV/Hifi setup. All works nice on iPad. Being able to create your own visual look is pretty cool, & being able to use multiply IF’s is great. Although very time consuming. I discussed years ago with Demopad voice control, the fact all home automation can’t trigger http, being able to scan albums covers on the webpage of streamer library would be great. Visual recognition of album covers. Then for each visual taken (album cover) it would assign a tag. As soon as you can the tag it’s a breeze to control via voice control app, via siri. What we need is AI to recognise artist art cover. As I said It was many years ago I was doing this, probably 6-7 years ago. It’s just a hobby I’ve learnt over time with help from internet with regards understanding protocols & having API’s available. Any let’s not forget the good old HEX for remote control. AI is moving so fast at the moment, currently working with company on a vision system for our food manufacturing factory. Effectively the vision system company is using AI to program the vision system for thousands of variables. They said it’s not perfect yet, cuts down time by 90% currently. With it moving so fast cannot think what the future holds... cheers bluesman 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now