Logged in users > User Diaries
Monitoring the Tristar TS-xx with a PI.
DamonHD:
Dealing gracefully with the unexpected, ie not being too brittle in strange cases, is what I aim for in anything that has to "just work" for a while.
Rgds
Damon
Simen:
I see there's other places in the code that could do with some error-trapping... I do have a tendency to just wanting to get the code to work, and not make it 'safer' until something fails... ::) But then again; Python are new to me, so i'm learning as i go. ;)
One thing would be to include a timestamp with the data, and use that timestamp on the generated webpage. The time currently displayed on the webpage are when the webpage was generated, not when the data was retrieved, which would be more interesting. ;)
Since this is a program that runs unattended on a Linux machine without a screen or keyboard; only network access, it's important that it can take care of itself, and tell me with a log what went wrong. :)
bob golding:
hi simen,
i have taken the liberty of passing your code ion to some people who run a hackspace for people interested in raspberry Pi and python to see what they think of it. hope you don't mind. will get back to you in a couple of weeks after they have had a look at it and passed comment. i am away for a couple of weeks so wont be able to provide any input till i get back. i left them the link to this site so you may hear from someone.
Bruce S:
Bob;
If you could let us (GMs) know what possible user names they may use, we could be on the lookout for them.
ATM there is still quite a lot of spammers trying to get in so at times I kill 20+ request at a time.
Damon or I could be notified via email as well , we could then go looking for those specific user names in the request area.
Safe Travels
Bruce S
bob golding:
hi bruce,
most likely to will be something like david monk or marcus @openshed .org or something like that. i just printed this thread and left it with them. will report back when i return. as i have a tristar it would be useful to play with a PI, not that i am short of things to play with at the moment. yurt needs finishing, turbine needs new blades, bio diesel plant needs finishing, finish the prototype WMO stove, put parts for the centrifuge together. the list goes on. tidy workspace. well that one can wait a bit......
cheers
bob
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version