tellprox
tellprox copied to clipboard
Feature request: event support
About the only thing I'm missing here is event support, I hope to see it further on.
I have requested access to the beta. If I am allowed access I will see what I can do. It appears there are other methods I could add too
Access should hopefully not be a problem as they state it's available to any developer. :D Yeah, grouping and scheduler seems to be available also in the API so that's good.
I have not been granted access yet. I thought it would ideal to get access so I can see it running. The API does not provide all the information I need. For example it is good to say exactly what is returned in all cases.
Hi, I have tested tellprox and it works great. I am quite new to Python but the code looks really nice as well. So thank you for sharing such a nice project! Have you been thinking anymore about this issue regarding events and scheduling?
I think I'll make a start on scheduling first of all. Unfortunately as I don't own any sensor devices, it would be very hard to implement and test events. Being open source, it'd be great if someone wanted to add event handling!
Hi again. The problem with scheduling is that tellprox cannot use tellcore-py for this since this is only part of the telldus live-thing, right? I want to run some kind of scheduler on my Raspberry connected to a Tellstick Duo and I want it to be able to perform this task even if there is no internet connection present or the Telldus live server is down. When you start adding support for scheduling I hope I can help you but right now I dot not know where or how to start. For events I know even less as of today.
I've started putting some things together for scheduling. I'm not sure how long it'll take, but I'll probably put it in a new branch if you'd like to test it as it goes? Events will be difficult, but scheduling should definitely be possible
Oki, I look forward to test!
I can sign up for testing too. Was going to add some scheduling locally when I found this.
I have added scheduler support. If you guys wouldn't mind testing it that would be great? I have had a look through the event stuff and it should be possible to implement, though a little harder for me as I don't own a Duo. I might be able to stub it out. The scheduler does not implement retries and the API does not verify the inputs, so make sure you populate them. I have found it works with RemoteStick if you use that. It posts a little bit of information to the console.
I tried it today and unfortunately the latest source didn't work. No devices appears, only the waiting icon which stays forever. If I refresh the Device page I can see one device window flash by super fast and then there is only the waiting icon again. Blank screen in the Scheduler window too.
My apologies there must be a problem with the UI. Does the API work? If so, can you list devices with devices/list? On 21 Apr 2014 21:06, "svenakela" [email protected] wrote:
I tried it today and unfortunately the latest source didn't work. No devices appears, only the waiting icon which stays forever. If I refresh the Device page I can see one device window flash by super fast and then there is only the waiting icon again. Blank screen in the Scheduler window too.
— Reply to this email directly or view it on GitHubhttps://github.com/p3tecracknell/tellprox/issues/10#issuecomment-40971288 .
Hopefully it might be as simple as it needs reinstalling. If so, browse to: [url]/json/api/install?key=[key]
If I am using the URL you suggested the console output only says "writing" and the web browser says "done". Listing devices with the API seems to work as expected.
I can only imagine that a file hasn't been checked in correctly. Would you mind pressing f12 and pasting in the contents of the log? Obviously make sure that you remove any information you don't want to publicise. On 22 Apr 2014 21:55, "svenakela" [email protected] wrote:
If I am using the URL you suggested the console output only says "writing" and the web browser says "done". Listing devices with the API seems to work as expected.
— Reply to this email directly or view it on GitHubhttps://github.com/p3tecracknell/tellprox/issues/10#issuecomment-41094558 .
Hi, Just installed tellprox on debian and have the same problem. So let me know if you need more help with troubleshooting.
My sincerest apologies; I missed out checking in a file, which is now checked in. I did a clean checkout and the problem should now be resolved.
Ok! I'll test tomorrow! Den 23 apr 2014 23:14 skrev "p3tecracknell" [email protected]:
My sincerest apologies; I missed out checking in a file, which is now checked in. I did a clean checkout and the problem should now be resolved.
— Reply to this email directly or view it on GitHubhttps://github.com/p3tecracknell/tellprox/issues/10#issuecomment-41215695 .
Device page works now.