News:

There is a soft-mute function which we use with the commands like "What song is this?" There is one for system volume, one for each of: MediaMonkey, XBMC, iTunes, MediaPortal.

Main Menu

Oauth

Started by garryjw, January 19, 2015, 05:50:53 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

garryjw

Hi James/Nime5tar

I haven't posted in a while because things have just been working for me. I've recently been given a tellstick.net to work with and this doesn't work with my Tellstick script as it isn't controllable locally but can only be used with the Telldus live service.

There is a pretty full api for this service but they all involve using OAuth to register first. I'm trying to think how I would do this in VC. I could obviously code something but I was thinking there must be some way to do it with the standard plugins.

All the best
Garry

p.s. we ought to do a follow up on TheDigitalLifestyle soon

jitterjames

It might be possible with our scrape actions.  Using Scrape.Post and Scrape.Get you might be able to get it working but it would require some knowledge of their api and probably a lot of experimentation.  Failing that I guess you would need to use python or write a VC plugin.

If you want to do that I would be happy to help.

Since we don't have a Teldus.net and cannot even get them in Canada it is a bit tricky for us to do anything on our own.

Take a look at our Nest commands for ideas on how to use the Scrape actions to do more advanced stuff.  It is still tricky and no easier than programming really.

I would be happy to do another podcast with you.  We can talk about that more in private if you like.  I'm not sure how much I can offer in the way of new material though. :D

garryjw

Hi James

Thanks for this. That all makes sense and looks like its not worth  the effort to go the Scrape route. I've knocked up a VC  friendly version of one of the sample Telldus Live Python apps which seems to be working (well at least the list devices functionality is) - I need to check with Telldus if I can share it.

I will chat with Ian at theDigtalLifestyle about the show and contact you privately - I think there is lots to talk about - all the new plug ins -Arduino etc.

Haddood

I see many APIs with Oauth authorization ... would it be cool if we have some VC commands that handles this like scrape ... one give url, user and password ... receive a token in a map, ready to be used in other commands !!
When Voice command gets tough, use hand gestures

jitterjames

Yeah, it would be great.