Ralf Jung [Wed, 5 Mar 2014 18:08:57 +0000 (19:08 +0100)]
silence sphinx a bit
Ralf Jung [Sat, 1 Mar 2014 15:34:48 +0000 (16:34 +0100)]
more information in the logfile
Constantin Berhard [Wed, 19 Feb 2014 22:41:34 +0000 (23:41 +0100)]
status report command introduced
checking pin states is yet to implement
Ralf Jung [Wed, 19 Feb 2014 22:14:38 +0000 (23:14 +0100)]
fix: don't close client sockets too early
Constantin Berhard [Wed, 19 Feb 2014 21:34:47 +0000 (22:34 +0100)]
fallback mode usable from tyshell
Ralf Jung [Wed, 29 Jan 2014 19:35:10 +0000 (20:35 +0100)]
Be quiet at night
Ralf Jung [Sat, 7 Dec 2013 09:55:56 +0000 (10:55 +0100)]
Wait a bit more before starting to complain
Constantin Berhard [Wed, 4 Dec 2013 22:28:36 +0000 (23:28 +0100)]
abs2rel works and more sounds
Constantin Berhard [Wed, 4 Dec 2013 20:18:52 +0000 (21:18 +0100)]
tidied up fire_and_forget_cmd for sound playing
Ralf Jung [Wed, 27 Nov 2013 19:20:47 +0000 (20:20 +0100)]
Be less spammy when SpaceAPI update fails
Ralf Jung [Sat, 23 Nov 2013 12:23:56 +0000 (13:23 +0100)]
ignore socket timeouts; refine tuer-warnstate-nervlist
Ralf Jung [Sat, 9 Nov 2013 12:51:12 +0000 (13:51 +0100)]
rename adduser -> addtueruser
Ralf Jung [Sat, 9 Nov 2013 12:49:44 +0000 (13:49 +0100)]
send an email when updating the SpaceAI consistently fails
Ralf Jung [Sat, 9 Nov 2013 12:46:37 +0000 (13:46 +0100)]
add a script to add tuer users
Ralf Jung [Sat, 9 Nov 2013 12:46:26 +0000 (13:46 +0100)]
there can be more than one message on the socket; empty the queue when shutting down a callback-thread; increase the SpaceAPI-retry-time
Ralf Jung [Fri, 1 Nov 2013 11:22:30 +0000 (12:22 +0100)]
update the SpaceAPI at least once every 10 minutes (so the server could check for this heartbeat)
Ralf Jung [Thu, 31 Oct 2013 08:40:25 +0000 (09:40 +0100)]
Use TLS for SpaceAPI updates
Ralf Jung [Wed, 30 Oct 2013 20:02:25 +0000 (21:02 +0100)]
complete SpaceAPI integration
Ralf Jung [Sun, 27 Oct 2013 18:00:46 +0000 (19:00 +0100)]
remove now-unused variable
Ralf Jung [Sun, 27 Oct 2013 17:59:33 +0000 (18:59 +0100)]
Merge branch 'master' of ralfj.de:saartuer
Constantin Berhard [Sun, 27 Oct 2013 16:05:28 +0000 (17:05 +0100)]
Merge branch 'master' of ralfj.de:saartuer
Constantin Berhard [Sun, 27 Oct 2013 16:04:46 +0000 (17:04 +0100)]
Fallback mode works now (software side)
Ralf Jung [Sun, 27 Oct 2013 15:53:00 +0000 (16:53 +0100)]
avoid hard-coding a default value twice
Ralf Jung [Sun, 27 Oct 2013 15:51:21 +0000 (16:51 +0100)]
Merge branch 'master' of ralfj.de:saartuer
Ralf Jung [Sun, 27 Oct 2013 15:51:16 +0000 (16:51 +0100)]
Re-implement ToBeWoken as class instead of namedtuple (it must be modifiable)
Constantin Berhard [Sun, 27 Oct 2013 15:50:19 +0000 (16:50 +0100)]
some fixes, not totally fixed yet
Constantin Berhard [Sun, 27 Oct 2013 10:14:59 +0000 (11:14 +0100)]
concept spaceAPI + Locking
Ralf Jung [Sat, 26 Oct 2013 20:16:08 +0000 (22:16 +0200)]
oops, Waker needs locking
Ralf Jung [Sat, 26 Oct 2013 20:09:13 +0000 (22:09 +0200)]
update space API concept
Ralf Jung [Sat, 26 Oct 2013 20:08:59 +0000 (22:08 +0200)]
change the way the waker works: let others register to be called by it
Constantin Berhard [Fri, 25 Oct 2013 15:18:25 +0000 (17:18 +0200)]
concept space api
Ralf Jung [Thu, 24 Oct 2013 17:48:28 +0000 (19:48 +0200)]
libtuer: add a fire_and_forget for python functions
Ralf Jung [Thu, 24 Oct 2013 17:45:26 +0000 (19:45 +0200)]
Merge branch 'master' of ralfj.de:saartuer
Conflicts:
statemachine.py
Ralf Jung [Thu, 24 Oct 2013 17:41:16 +0000 (19:41 +0200)]
Better logging
Constantin Berhard [Thu, 24 Oct 2013 13:45:14 +0000 (15:45 +0200)]
added fallback mode, TODO: test&debug
mode for when some of the sensors don't work, just using one state in the statemachine and using only the space switch sensor
in this mode the red LED blinks, use this mode only if it is really necessary,
use it with parameter --fallback
Ralf Jung [Thu, 24 Oct 2013 08:41:50 +0000 (10:41 +0200)]
Merge branch 'master' of ralfj.de:saartuer
Ralf Jung [Thu, 24 Oct 2013 08:39:29 +0000 (10:39 +0200)]
Only wait for space switches while we are in StateZu
mar-v-in [Wed, 23 Oct 2013 20:03:27 +0000 (22:03 +0200)]
Merge branch 'master' of ralfj.de:saartuer
mar-v-in [Wed, 23 Oct 2013 20:02:28 +0000 (22:02 +0200)]
Version 0.2 (includes log and icon \o/)
Ralf Jung [Wed, 23 Oct 2013 19:09:51 +0000 (21:09 +0200)]
Traces of debugging tyshell
Ralf Jung [Wed, 23 Oct 2013 17:13:54 +0000 (19:13 +0200)]
Open the space when the switch is toggled while we are closed
Ralf Jung [Wed, 23 Oct 2013 16:53:18 +0000 (18:53 +0200)]
make unlock the command and open the alias
Ralf Jung [Wed, 23 Oct 2013 16:51:40 +0000 (18:51 +0200)]
Merge branch 'master' of ralfj.de:saartuer
Ralf Jung [Wed, 23 Oct 2013 16:51:25 +0000 (18:51 +0200)]
implement a debug mode
Constantin Berhard [Sun, 20 Oct 2013 02:51:34 +0000 (04:51 +0200)]
named tuples in tyshell for better readability
Constantin Berhard [Sun, 20 Oct 2013 02:44:35 +0000 (04:44 +0200)]
help strings for commands
Constantin Berhard [Sun, 20 Oct 2013 02:00:46 +0000 (04:00 +0200)]
Merge branch 'master' of ralfj.de:saartuer
Constantin Berhard [Sun, 20 Oct 2013 02:00:24 +0000 (04:00 +0200)]
nice alias system
Ralf Jung [Thu, 17 Oct 2013 14:00:15 +0000 (16:00 +0200)]
Prepare for adding command-line arguments
Ralf Jung [Thu, 17 Oct 2013 06:51:12 +0000 (08:51 +0200)]
fixes; implement the Pins
Ralf Jung [Wed, 16 Oct 2013 17:46:09 +0000 (19:46 +0200)]
make the actor more multi-threaded and do more logging
Ralf Jung [Tue, 15 Oct 2013 08:55:08 +0000 (10:55 +0200)]
add on_leave callback and use it; send email when the space was open for 24h (as that should rarely be the case)
Ralf Jung [Tue, 15 Oct 2013 08:36:56 +0000 (10:36 +0200)]
missed a place where I had to rename open -> unlock
Ralf Jung [Tue, 15 Oct 2013 08:36:18 +0000 (10:36 +0200)]
introduce abstract states for each side of the Rubikon
Ralf Jung [Mon, 14 Oct 2013 19:56:34 +0000 (21:56 +0200)]
Put a date in the e-mails
Ralf Jung [Mon, 14 Oct 2013 19:47:26 +0000 (21:47 +0200)]
better logging; properly detect whether the bell button was newly pressed
Ralf Jung [Mon, 14 Oct 2013 19:04:05 +0000 (21:04 +0200)]
Remove the exception-throwing test...
Constantin Berhard [Mon, 14 Oct 2013 19:01:46 +0000 (21:01 +0200)]
Merge branch 'master' of ralfj.de:saartuer
Ralf Jung [Mon, 14 Oct 2013 19:01:23 +0000 (21:01 +0200)]
lots of changes to make things actually work
Constantin Berhard [Mon, 14 Oct 2013 18:46:03 +0000 (20:46 +0200)]
tyshell who works now
Constantin Berhard [Mon, 14 Oct 2013 18:40:06 +0000 (20:40 +0200)]
command who
Ralf Jung [Mon, 14 Oct 2013 17:39:06 +0000 (19:39 +0200)]
fix FIXMEs
Ralf Jung [Mon, 14 Oct 2013 17:22:28 +0000 (19:22 +0200)]
Merge branch 'master' of ralfj.de:saartuer
Ralf Jung [Mon, 14 Oct 2013 17:22:22 +0000 (19:22 +0200)]
Make nervlists relative
Constantin Berhard [Mon, 14 Oct 2013 17:21:57 +0000 (19:21 +0200)]
nervliste relativ
Ralf Jung [Thu, 10 Oct 2013 17:15:12 +0000 (19:15 +0200)]
tyshell: add tab completion
Ralf Jung [Thu, 10 Oct 2013 17:06:16 +0000 (19:06 +0200)]
name some things a bit clearer: open -> unlock, close -> lock
Ralf Jung [Thu, 10 Oct 2013 17:03:22 +0000 (19:03 +0200)]
implement a general nerv mechanism and also use it for door closing/opening
Ralf Jung [Thu, 10 Oct 2013 16:41:40 +0000 (18:41 +0200)]
Implement the last two states
Ralf Jung [Thu, 10 Oct 2013 16:24:51 +0000 (18:24 +0200)]
Merge branch 'master' of ralfj.de:saartuer
Ralf Jung [Thu, 10 Oct 2013 16:24:35 +0000 (18:24 +0200)]
update diargam for "open" in about-to-open
Constantin Berhard [Thu, 10 Oct 2013 14:59:34 +0000 (16:59 +0200)]
constructor: ralf style
Constantin Berhard [Thu, 10 Oct 2013 14:54:04 +0000 (16:54 +0200)]
Merge branch 'master' of ralfj.de:saartuer
Constantin Berhard [Thu, 10 Oct 2013 14:53:36 +0000 (16:53 +0200)]
StateClosing (implementation quite ugly)
Ralf Jung [Thu, 10 Oct 2013 13:54:14 +0000 (15:54 +0200)]
Ensure we call the superclass implementation where applicable
Ralf Jung [Thu, 10 Oct 2013 13:47:10 +0000 (15:47 +0200)]
Inherit superclass constrcutor where applicable; avoid repeating superclass name
Ralf Jung [Thu, 10 Oct 2013 13:23:00 +0000 (15:23 +0200)]
Fix old_pins (though it is not used)
Constantin Berhard [Thu, 10 Oct 2013 12:55:13 +0000 (14:55 +0200)]
statemachine weitergecodet
StateAboutToOpen, StateOpening und StateAuf fertig
StateMachine hat jetzt old_pins
Constantin Berhard [Wed, 9 Oct 2013 19:04:00 +0000 (21:04 +0200)]
Merge branch 'master' of ralfj.de:saartuer
Constantin Berhard [Wed, 9 Oct 2013 19:03:29 +0000 (21:03 +0200)]
thread instead of multiprocessing for fire_and_forget
Ralf Jung [Wed, 9 Oct 2013 18:04:20 +0000 (20:04 +0200)]
get rid of __main__ hack
Ralf Jung [Wed, 9 Oct 2013 18:04:10 +0000 (20:04 +0200)]
add statemachine doc
Ralf Jung [Wed, 9 Oct 2013 17:09:21 +0000 (19:09 +0200)]
Name TODOs
Constantin Berhard [Fri, 4 Oct 2013 10:16:01 +0000 (12:16 +0200)]
sound support
Ralf Jung [Thu, 3 Oct 2013 16:28:26 +0000 (18:28 +0200)]
Fix pin numbers
Ralf Jung [Thu, 3 Oct 2013 15:58:48 +0000 (17:58 +0200)]
start implementing the new all-great tuerd
Ralf Jung [Wed, 2 Oct 2013 17:10:56 +0000 (19:10 +0200)]
Add .gitignore
Ralf Jung [Wed, 2 Oct 2013 17:08:46 +0000 (19:08 +0200)]
Explain the prefix stuff a bit more
Constantin Berhard [Mon, 30 Sep 2013 14:38:52 +0000 (16:38 +0200)]
developer shell added which doesn't do any magic
new file: tryshell
Constantin Berhard [Mon, 30 Sep 2013 13:48:28 +0000 (15:48 +0200)]
massive simplification of command shortcuts
Constantin Berhard [Thu, 26 Sep 2013 09:55:42 +0000 (11:55 +0200)]
tyshell: convenience command shortcuts
Constantin Berhard [Wed, 25 Sep 2013 20:16:25 +0000 (22:16 +0200)]
Ralfs Makefileänderung
mar-v-in [Wed, 25 Sep 2013 17:29:53 +0000 (19:29 +0200)]
Java/Android stuff (me coding dirty \o/)
Ralf Jung [Mon, 23 Sep 2013 06:37:39 +0000 (08:37 +0200)]
add a ThreadFunction class and use it
Ralf Jung [Wed, 18 Sep 2013 20:45:18 +0000 (22:45 +0200)]
lots of updates, amongst others:
* logging to syslog
* multithreaded input-PIN handling
Ralf Jung [Mon, 16 Sep 2013 14:11:21 +0000 (16:11 +0200)]
tuerd: Get peer information from socket
Constantin [Sun, 15 Sep 2013 22:47:58 +0000 (00:47 +0200)]
my senf to ralfs senf to tuerd
as suggested in http://stackoverflow.com/questions/
10840533/most-pythonic-way-to-delete-a-file-which-may-not-exist
Ralf Jung [Sun, 15 Sep 2013 15:43:01 +0000 (17:43 +0200)]
my senf to tuerd
Constantin [Sun, 15 Sep 2013 12:19:09 +0000 (14:19 +0200)]
my senf to tyshell (code beauty farm)
Constantin [Sun, 15 Sep 2013 12:01:11 +0000 (14:01 +0200)]
cleanup atexit