Skip to content

oderwat/jim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jim

mqtt-smarthome

Jim is a home automation assistant.

Jim comes with a simple DSL for connecting to devices via the mqtt-smarthome architecture.

DSL Example

scene nightime {
    set almond/door/DoorLock/front locked

    when
        almond/door/DoorLock/front is unlocked
    wait 5m
        set almond/door/DoorLock/front locked
}

scene daytime {
    when
        almond/door/DoorLock/front is unlocked
    wait 15m
        set almond/door/DoorLock/front locked
}

at 8:00AM {
    stop  nightime
    start daytime
}

at 9:00AM {
    stop daytime
    start nightime
}

Binaries

This project contains two commands that can be run:

  • jim - An interactive REPL command for running DSL commands interactively.
  • jimd - A server daemon that will run scripts from a configured directory.

About

Jim is a home automation assistant

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%