2017-03-11 13:51:40 +01:00
|
|
|
# c4ctrl
|
2017-03-14 15:20:08 +01:00
|
|
|
Command line client and utilities for AutoC4.
|
2017-03-11 13:51:40 +01:00
|
|
|
|
2017-03-31 19:25:12 +02:00
|
|
|
### Dependencies
|
2017-03-11 15:24:04 +01:00
|
|
|
* Python 3.?: [[https://www.python.org/]]
|
|
|
|
* Paho Python Client: [[https://github.com/eclipse/paho.mqtt.python]]
|
|
|
|
|
2017-03-31 19:25:12 +02:00
|
|
|
### Usage
|
2017-03-11 15:24:04 +01:00
|
|
|
```
|
2017-04-06 16:38:01 +02:00
|
|
|
$ c4ctrl.py -h
|
2017-03-11 15:24:04 +01:00
|
|
|
```
|
2017-03-31 19:25:12 +02:00
|
|
|
|
2017-04-17 21:46:23 +02:00
|
|
|
## kitchentext
|
2017-03-31 19:25:12 +02:00
|
|
|
Kitchenlight utility script.
|
|
|
|
|
2017-03-14 15:20:08 +01:00
|
|
|
```
|
2017-04-17 22:31:11 +02:00
|
|
|
$ kitchentext -h
|
2017-03-14 15:20:08 +01:00
|
|
|
```
|
2017-03-31 19:25:12 +02:00
|
|
|
|
|
|
|
## c4ctrl.vim
|
|
|
|
A vim plugin to help with the creation and editing of preset files.
|
|
|
|
Depends on *c4ctrl[.py]*. Install by putting *c4ctrl.vim* into your
|
|
|
|
*~/.vim/plugin/* directory.
|
|
|
|
|
|
|
|
### Usage
|
|
|
|
```
|
2017-04-17 21:46:23 +02:00
|
|
|
:C4ctrl get -- Read current state into buffer.
|
|
|
|
:C4ctrl open $name -- Open local preset $name.
|
|
|
|
:C4ctrl set [w|p|f] [-magic] -- Apply current buffer or range/selection as
|
|
|
|
preset to room [w]ohnzimmer, [p]lenarsaal or
|
|
|
|
[f]nordcenter. Default is all rooms.
|
|
|
|
:C4ctrl kitchentext [register] -- Display text in register, selected text or
|
|
|
|
text in range on the Kitchenlight.
|
|
|
|
:C4ctrl write $name -- Save current buffer as preset $name.
|
2017-03-31 19:25:12 +02:00
|
|
|
```
|
2017-04-17 21:46:23 +02:00
|
|
|
|
|
|
|
## _c4ctrl
|
|
|
|
|
|
|
|
Completion script for zsh.
|
|
|
|
|
|
|
|
### Installation
|
|
|
|
|
|
|
|
Put *_c4ctrl* somewhere into *$fpath* (or alter *$fpath* in your *.zshrc*).
|
2017-04-17 22:31:11 +02:00
|
|
|
See also: [[http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-Directories]]
|
2017-04-17 21:46:23 +02:00
|
|
|
|