5b79487ab8
Format with uncrustify
2018-11-04 16:45:23 +01:00
31dcf28ff0
Add Timespec.{Get,Clear,Add} RPCs
2018-11-04 16:45:05 +01:00
0ad33f5fbc
Add timespec() and channel_override logic -- so we can install a time specification with which the channels are driven, but yet allowing a human override (either by RPC or by Button)
2018-11-04 15:44:17 +01:00
5c26d2d43b
format with uncrustify
2018-11-04 14:19:00 +01:00
b29edab495
Add 'duration' argument to Channel.Set RPC call
2018-11-01 21:01:37 +01:00
491ba88d1a
Formatting
2018-04-17 15:00:29 +02:00
7ea1e26020
Fix JSON escaping and scoping
2018-01-24 14:27:58 +01:00
4a083555e8
Clean up RPC response.
...
- Refactor mqtt_publish_stat() to take va_list
- Make publish_stat format its response with json_vprintf() so it is
valid JSON.
- Call publish_stat in channel_set, the only place where the GPIO state
changes
- Return (valid) JSON response in all RPCs
2018-01-24 14:08:29 +01:00
3327a561f9
Add channel_get_total()
2018-01-22 22:23:48 +01:00
4679636fdc
Initial checkin.
2018-01-05 16:58:15 +01:00