Posts: 298
Joined: Jul 2010
Reputation:
0
KRA77
Senior Member
Posts: 298
I rebooted the computer, set to debug plugin and changed to 8 devices, then it worked. Don't know what actually fixed it though.
Posts: 298
Joined: Jul 2010
Reputation:
0
KRA77
Senior Member
Posts: 298
Ok, I got one step further. I can control all my light now, had to do the dimmer -> on/off change for some of them to get them working. and I can now dim all my light sources from the plugin.
So what are your continued plans for the plugin ? So far it's looking great.
I have some suggestions:
- Add more than 8 devices
- Make different behaviour depend on if you watch live-tv/tv-series/movie
- Make different behaviour depend on time of day (or maybe sun up/down)
Posts: 7
Joined: Feb 2013
Reputation:
1
Hmm... seems like a race condition regarding folder and file creation for setup. I'll take a look at it.
The engine itself supports unlimited devices, it is the GUI that introduces the max 8 limit. This can certainly be implemented and was my intention. But it is practicalities. Firstly, it requires a custom GUI scroll implementation, the settings and layout would be a bit more challenging as it is XML and there is no preprocessor support for it. Meaning you cannot generate GUI objects at runtime. Feel free to contribute :-)
Posts: 298
Joined: Jul 2010
Reputation:
0
KRA77
Senior Member
Posts: 298
my coding skills are one step below "hello world" level, so don't really think I can contribute.
I have another question though, is there, or can I add a shortcut for the light control view ?
about the gui limitation, how about auto control more devices, but choose the 8 you would like in the menu view ? would it be better/easy solution ?
tbh 8 devices works for me, what I really would like is the 2 other suggestions.
Posts: 7
Joined: Feb 2013
Reputation:
1
I appreciate the feedback and pointers; it can definitely be done; but there is some work involved. I've added it to the project todo list.
I updated the installer to hopefully get a cleaner setup: rev 0.0.2
You can add programs as shortcuts in XBMC and they will be added to the favorites menu; i believe 'c' is the shortcut.
Posts: 7
Joined: Feb 2013
Reputation:
1
Haven't looked at the 14 API changes. But should be relatively straight forward to update, the code is organized in upper and lower levels. It will probably take several weeks before I get around to doing though - to much other stuff going o. Feel free to take a stab at the source.
Posts: 2
Joined: Feb 2015
Reputation:
0
I have a slight problem with this addon. Don't know if its the right place to turn to but I'll give it a try anyway.
To begin with, I'm running openelec on Rpi2.
The problem is that I can't verify my telldus live account because of the lac of a browser in openelec Rpi2. I've been looking round to get the session URL and log in to it and verify it with my laptop but the only thing missing is the "token" I just can't find a way to see it before its "timed out" and "invalid". So is there a way to get/see the whole URL with the exact token for that session?
Tried to see if I would find something in the "terminal" with ssh. But can't say I've succeeded. Don't even really know that I'm doing not of the time. Don't even know if it's possible that way. Just a thought I had. So please help me.
Posts: 7
Joined: Feb 2013
Reputation:
1
I don't have an up and running system myself as I just moved - things are a bit in flux.
But a couple of pointers: Have you enabled debug under settings? It should flush all information into the log (if I kept my tongue straight during implementation). The file called to initiate is deviceCtrl.py under resources/lib/. The telldusLiveAuthenticate() and telldusLiveConfirm() are the functions managing the authentication and they call upon functions in tdtool.py. xbmc.log() is a useful function in this. I'd really like to get the authentication piece rewritten into JSON that should in theory remove the need for a browser to do this step and handle it all through XBMC. Though I have not gotten to it - help welcome :-) Happy hunting - let me know how it goes.
Posts: 2
Joined: Oct 2015
Reputation:
0
I can get this halfway working. When I open it, a menu on the left shows up and let me controls my devices. However I can not understand how to automaticly control them when pause/playing video..
Any help?
Posts: 59
Joined: Mar 2014
Reputation:
0
I have sent you a PM, could you please let me know how you are sending the commands to telldus live? I'm looking to do something similar and send GET commands over a browser URL. Could you help me, thank you!