Commit Graph
1236 Commits
Author SHA1 Message Date
john30 d6e59c8422 set exit code in checkconfig (fixes #297) 2019-10-27 10:15:27 +01:00
john30 bbfe10b9b9 add option to listen to unknown messages (fixes #80) 2019-10-27 09:59:37 +01:00
john30 af77f4bc1e add adjustable verbosity to listen command (fixes #163) 2019-10-27 09:27:22 +01:00
john30 82d6a5b4a4 formatting 2019-10-27 09:23:54 +01:00
john30 ae91be0874 simplified hiding secrets from cmdline (fixes #300) 2019-10-27 08:17:22 +01:00
john30 4cfdb4d97c hide secrets from cmdline 2019-10-24 09:01:05 +02:00
john30 67a42543f9 also check reconnect when loop reports connection loss 2019-10-19 15:40:04 +02:00
john30 28e5f90002 add other to areas 2019-10-19 15:33:05 +02:00
john30 fa977f45f4 add support for logging to syslog (fixes #293), log exit on errors during daemonization, log config path on error, better variable names 2019-10-06 14:12:52 +02:00
john30 f8733a5e6b fix required arguments check for write -h 2019-09-08 11:10:27 +02:00
john30 be370c487b missing include 2019-08-15 19:05:36 +02:00
john30 b23d8c32dc formatting 2019-08-15 19:05:25 +02:00
john30 27778f2255 use defines for values in source mask of message key and simplified a bit (in preparation of #278), documentation 2019-08-15 19:04:51 +02:00
john30 c2163d683e stop if logfile cannot be opened in daemon mode 2019-08-15 18:38:49 +02:00
john30 28f79290ed fix compiler warning 2019-08-11 08:21:44 +02:00
Alex SamorukovandJohn 67fc6e59cc FreeBSD and MacOS related fixes and improvements: compilation and serial port access (#290)
fixes for compilation and usage under FreeBSD+MaxOS including setting low latency for FTDI device (thanks @samm-git)
2019-08-11 08:06:13 +02:00
john30 c26f7b3b07 also detect subsequent fields with less than 8 bits not fitting into 1 byte 2019-06-29 08:16:26 +02:00
john30 a3f49994ad added /list topic (fixes #277) 2019-04-07 21:00:30 +02:00
john30 82ae8480d3 added new direct command and mode (fixes #269) 2019-03-24 14:52:44 +01:00
john30 3514515b4d added last time to GrabbedMessage in preparation of direct mode 2019-03-24 14:51:08 +01:00
john30 cdd26bbfe8 added last time to GrabbedMessage in preparation of direct mode 2019-03-24 14:50:35 +01:00
john30 94932c1fe1 fix for #266 2019-03-16 15:50:45 +01:00
john30 d366bbb6b3 log loop communication error at most every 10 seconds and wait at least 1 second before doing the loop again on error (#262) 2019-02-16 17:38:36 +01:00
john30 753cde6773 fixed escaping with quote or dquote (fixes #256) 2019-01-27 10:00:02 +01:00
john30 fa434e5151 fix for messages with later set poll priority being preferred before others in the poll sequence 2019-01-13 20:52:00 +01:00
john30 cc6f16e65a fix for messages with later set poll priority being preferred before others in the poll sequence 2019-01-13 18:02:35 +01:00
john30 eb39103cd7 retain signal 2019-01-13 09:10:25 +01:00
john30 f32714a8a7 added option to set poll priority with /get topic and message with question mark plus priority number (fixes #246) 2019-01-12 16:53:55 +01:00
john30 2f6b2bba85 fix for always enabled --mqttchanges option (fixes #241) 2018-12-30 11:58:28 +01:00
john30 b5ade5734c mosquitto_threaded_set not available in 1.3.2 yet 2018-12-26 16:38:15 +01:00
john30 9cf2f426b6 fixed docu 2018-12-26 16:06:14 +01:00
john30 4dfa163efa code style 2018-12-26 16:03:14 +01:00
john30 eb8f63c80e code style 2018-12-26 16:02:53 +01:00
john30 caedcc6cb5 Revert "remove newline from JSON output"
This reverts commit d3e496ef6b.
2018-12-26 15:27:47 +01:00
john30 4d742f5b33 Revert "fixed tests for changed JSON format"
This reverts commit 187a92f722.
2018-12-26 15:27:45 +01:00
john30 187a92f722 fixed tests for changed JSON format 2018-12-25 14:23:09 +01:00
john30 d3e496ef6b remove newline from JSON output 2018-12-25 14:11:33 +01:00
john30 cb78d98185 added --mqttlog and --mqttversion options, check return code of calls to mosquitto library, log library version, set threaded mode 2018-12-25 13:40:16 +01:00
john30 c475e6ce0e fix for deadlock in libmosquitto (https://github.com/eclipse/mosquitto/issues/1090), fixes #231 2018-12-23 15:32:34 +01:00
john30 be8d772524 avoid using C++11 isnan 2018-12-22 19:16:04 +01:00
john30 7d10104dbf allow single quote for escaping as well (fixes #208) 2018-12-02 13:22:16 +01:00
john30 8ed1e4f151 fixed NaN in JSON (fixes #225) 2018-12-02 13:13:05 +01:00
john30 224c947499 add --mqttclientid (fixes #226) 2018-12-02 12:44:53 +01:00
john30 a84c3cb296 added --mqttchanges 2018-12-02 12:28:45 +01:00
john c467f2b245 add MessageMap::findAll changedSince argument to distinguish touched/changed for since/until range 2018-12-02 12:22:37 +01:00
john da56691e41 Merge remote-tracking branch 'origin/master' 2018-12-02 12:00:29 +01:00
john30 c9eae87bd9 send version, running, and current signal after reconnect, re-set message callback on reconnect (fixes #222) 2018-12-02 11:59:42 +01:00
john aec6dfccbe allow empty circuit if not part of topic format 2018-12-02 11:34:23 +01:00
john30 45b9bad57e missing include (fixes #212) 2018-10-21 14:42:00 +02:00
john30 18bd21f23f fix for bit combinations during write to SymbolString (fixes #202) 2018-10-03 11:00:31 +02:00