Jag byggde ihop det för egen skull för att integera det med mitt MythTV system hemma. Har provkört det i två veckor nu, med hyftsat enkel config, och det ser ut att göra som jag vill än så länge.
tellstickd har utvecklas en hel del sedan jag började mitt hackande. Jag provkörde version 0.1.2 tror jag. Så rätt mycket av de grejer jag tyckte saknades finns nu tillgängligt i det programmet.
Men iaf om någon vill prova så finns mitt program tellstickController att ladda ner här:
http://tyr.mobipro.se/tellstickController/
Exempel på kommandon man kan använda:
Code: Select all
# tellstickController --set testDevice2 on
# tellstickController --list
Device testDevice1 = off
Device testDevice2 = on
# tellstickController --get testDevice1
Off
# tellstickController --daemon
Code: Select all
# List of location settings.
#
# Usage example:
# Set Key Value
# Set Timezone Europe/Stockholm
#
#
Set Timezone Europe/Stockholm
Set Latitude 58.24
Set Longitude 15.31
Set dbfile /var/lib/tellstickController.db
Set pidfile /var/run/tellstickController.pid
Set logfile /var/log/tellstickController.log
# Aliases for recevier devices.
#
# Usage example:
# Alias Name Dimmer Protocol Housecode Channel
# Alias BedroomWindow yes Nexa A 1
# Alias device42 No Waveman B 3
# or
# Usage example:
# Alias Name Dimmer Protocol Channel
# Alias MythTv_Backlight No Sartano 000000001
#
#
Alias testDevice1 No Nexa A 1
Alias testDevice2 No Nexa A 2
# Timer rules for reciever devices.
#
# Usage examples:
# Rule Alias DeviceOn DeviceOff
# Rule BedroomWindow Sunrise Sunrise+01:30
# Rule BedroomWindow 18:33 23:10+Random(00:45)
# Rule MythTv_Backlight Weekend/Sunset Weekend/23:45
#
#
Rule testDevice1 weekend/sunrise weekend/08:45
Rule testDevice1 sunset+00:15 23:30+Random(00:20)
Rule testDevice2 monday/20:42 wednesday/20:42