Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: event support #10

Open
fldc opened this issue Aug 30, 2013 · 19 comments
Open

Feature request: event support #10

fldc opened this issue Aug 30, 2013 · 19 comments

Comments

@fldc
Copy link

fldc commented Aug 30, 2013

About the only thing I'm missing here is event support, I hope to see it further on.

@p3tecracknell
Copy link
Owner

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

@fldc
Copy link
Author

fldc commented Aug 31, 2013

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.

@p3tecracknell
Copy link
Owner

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.

@jakeru
Copy link

jakeru commented Dec 26, 2013

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?

@p3tecracknell
Copy link
Owner

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!

@jakeru
Copy link

jakeru commented Dec 28, 2013

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.

@p3tecracknell
Copy link
Owner

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

@jakeru
Copy link

jakeru commented Jan 7, 2014

Oki, I look forward to test!

@svenakela
Copy link

I can sign up for testing too. Was going to add some scheduling locally when I found this.

@p3tecracknell
Copy link
Owner

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.

@svenakela
Copy link

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.

@p3tecracknell
Copy link
Owner

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//issues/10#issuecomment-40971288
.

@p3tecracknell
Copy link
Owner

Hopefully it might be as simple as it needs reinstalling. If so, browse to:
[url]/json/api/install?key=[key]

@svenakela
Copy link

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.

@p3tecracknell
Copy link
Owner

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//issues/10#issuecomment-41094558
.

@swetono
Copy link

swetono commented Apr 23, 2014

Hi,
Just installed tellprox on debian and have the same problem. So let me know if you need more help with troubleshooting.

@p3tecracknell
Copy link
Owner

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.

@svenakela
Copy link

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//issues/10#issuecomment-41215695
.

@swetono
Copy link

swetono commented Apr 24, 2014

Device page works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants