stusviews Posted March 17, 2016 Posted March 17, 2016 I'd like to be able to print a lost of spokens and the device/scenes/progams each controls other than page by page printouts. Quote
Teken Posted March 17, 2016 Posted March 17, 2016 I'd like to be able to print a lost of spokens and the device/scenes/progams each controls other than page by page printouts. If its lost how do you know what the words are?!?! LOL Quote
stusviews Posted March 17, 2016 Author Posted March 17, 2016 Good point. If I had a list, then it wouldn't be lost. Quote
Teken Posted March 17, 2016 Posted March 17, 2016 On Topic: Are you asking for all of the spoken phrases the skill will accept? Quote
stusviews Posted March 17, 2016 Author Posted March 17, 2016 No. The devices I added to the portal for Echo control. Quote
MWareman Posted March 17, 2016 Posted March 17, 2016 I'm sure it can be retrieved from the API - its just not documented... I'll take a peek this evening. Quote
MWareman Posted March 21, 2016 Posted March 21, 2016 URL is: https://my.isy.io/api/voice/spoken/nodes?uuid=<UUID> This returns JSON which includes the node address, name (on ISY) and an array of the spoken elements. The UUID is URL encoded... so if your ISYs UUID is 00:11:22:33:44:55 the <UUID> parameter should be 00%3A11%3A22%3A33%3A44%3A55 (simply replace each : with %3A) You'll need to send basic auth using your portal credentials. Michael. Quote
stusviews Posted March 21, 2016 Author Posted March 21, 2016 Michael, Thanks a lot. More info than expected makes the command even more useful. BTW, I didn't need to replace : with %3A. Thanks again Quote
MWareman Posted March 21, 2016 Posted March 21, 2016 If you are simply pasting the URL into a browser - the replacement would be done automatically... Some products might need the replacement though... Either way - glad it was helpful! Quote
BJB2757 Posted July 17, 2016 Posted July 17, 2016 Hi Michael, Has this URL changed? Should it work from any browser? I tried it with my UUID, was prompted for credentials, but then Chrome said "server error". Also tried embedding credentials, i.e. https://myusername:mypassword@my.isy.io/api/voice/spoken/nodes?uuid=myuuid, with the same "server error" result. Am I doing something wrong? Thanks in advance for any suggestions. -Barry Quote
MWareman Posted July 17, 2016 Posted July 17, 2016 (edited) Looks like the url now also needs a 'domain' parameter. You can get your domain value from an api call to: https://my.isy.io/api/domains/lookup The _id value is what you need to add to the original url as &domain=...... It should look like this: https://my.isy.io/api/voice/spoken/nodes?uuid=<UUID>&domain=<DOMAIN> Unfortunately, the API is not formerly documented - and subject to change. I discover this by analyzing chrome in developer mode... Michael. Edited July 17, 2016 by MWareman Quote
BJB2757 Posted July 17, 2016 Posted July 17, 2016 Woah, nice that works. Thank you so much! -Barry Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.