Categorygithub.com/nathanielc/jim
module
0.0.2
Repository: https://github.com/nathanielc/jim.git
Documentation: pkg.go.dev

# README

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.

# Packages

No description provided by the author
No description provided by the author