Skip to content

elmo2k3/had

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

had - home automation daemon

Bjoern Biesenbach <bjoern@bjoern-b.de>

By now this project is very specialised for me and my hardware. By time
I will document and publish everything. If you have any questions
don't hesitate to contact me.

Functions:

	- communication with base station (atmega8, io ports, rf module) using serial port
	- handling devices connected to base station using rf (temperature module, remote control)
	- inserting temperatures into a mysql database
	- network server
	- controlling mpd using libmpd
	- submitting tracks from mpd to lastfm
	- controlling 64x16 led matrix connected over ethernet
	- sending sms on special events
	- communication with Honeywell HR20 thermometer (see http://openhr20.sourceforge.net)

The following files are taken from mpd (www.musicpd.org) and were more or less modified by me:
They represent the TCP server

ack.h
client.c
client.h
client_event.c
client_expire.c
client_global.c
client_idle.c
client_internal.h
client_list.c
client_new.c
client_process.c
client_read.c
client_write.c
command.c
command.h
fd_util.c
fd_util.h
fifo_buffer.c
fifo_buffer.h
idle.c
idle.h
listen.c
listen.h
socket_util.c
socket_util.h
tokenizer.c
tokenizer.h