Commit Graph
100 Commits
Author SHA1 Message Date
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 859987ec89 formatted, corrected attrs (fixes #245) 2019-01-02 07:57:40 +01:00
john30 2f6b2bba85 fix for always enabled --mqttchanges option (fixes #241) 2018-12-30 11:58:28 +01:00
john30 212b22dd1a switched to stretch, use entrypoint.sh from release 2018-12-26 19:11:06 +01:00
john30 6fb32d4005 Merge branch 'master' of github.com:john30/ebusd 2018-12-26 18:06:37 +01:00
john30 5e92c6d729 updated md5sum 2018-12-26 17:06:05 +00:00
john30 ce53e75c0d removed unused runtime 2018-12-26 18:04:26 +01:00
john30 b5ade5734c mosquitto_threaded_set not available in 1.3.2 yet 2018-12-26 16:38:15 +01:00
john30 95f0c7e804 updated version to 3.3 2018-12-26 16:19:41 +01:00
john30 194ea9d8aa updated version to 3.3 2018-12-26 16:18:22 +01:00
john30 beb929b095 updated version to 3.3 2018-12-26 16:09:39 +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 7d57d92aad Revert "remove newline from JSON output"
This reverts commit b2c63ac261.
2018-12-26 15:27:25 +01:00
john30 b2c63ac261 remove newline from JSON output 2018-12-25 16:28:06 +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 90eeb20466 updated 2018-12-25 13:48:38 +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 768bd5c299 added RestartSec=30 (fixes #229) 2018-12-16 15:29:36 +01:00
john30 92d6294600 added repository hint 2018-12-16 12:45:38 +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
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
JohnandGitHub b608d80916 wait for being online before starting 2018-11-30 07:43:53 +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
john30 6bd433af46 fix for bit combinations during write to SymbolString 2018-10-03 10:53:38 +02:00
john30 799f6307be corrected write testing and some test cases, added more tests for bit combinations 2018-10-03 10:51:57 +02:00
John 0f77a9d36d Update ChangeLog.md
(cherry picked from commit 58082c6)
2018-09-15 16:01:18 +02:00
john30 065fd76dc1 dont add transfer latency when acting as syn generator 2018-09-15 14:29:48 +02:00
john30 a355abd2a5 fix for answering to first scan only 2018-09-15 13:59:44 +02:00
john30 671c8d2881 Merge branch 'master' of github.com:john30/ebusd 2018-07-01 11:14:47 +02:00
john30 47b895bbd6 fix for missing subscription after reconnect to broker (fixes #195) 2018-07-01 11:14:28 +02:00
JohnandGitHub 5bf4667fda more explicit hints to config web service 2018-05-11 09:16:39 +02:00
john30 17376368a7 updated pkg sum 2018-05-10 14:37:27 +00:00
john30 da4216e154 updated to current version 2018-05-10 16:24:01 +02:00
john30 6d97697b9f updated version 2018-05-10 13:40:13 +02:00
john30 c1129cb451 updated version to 3.2 2018-05-10 13:37:40 +02:00
john30 f36830e95c added helper script for running all tests 2018-05-10 13:36:59 +02:00
john30 3af05a251e added mini install target 2018-05-10 13:32:12 +02:00
john30 1eb3518145 code style, documentation 2018-05-10 13:01:21 +02:00
john30 90baf8c295 more verbose on update notice with message direction/scan/poll/passive 2018-05-10 12:39:13 +02:00
john30 35afd9908c code style 2018-05-06 15:27:44 +02:00
john30 1c17f7c466 use nullptr instead of NULL 2018-05-06 14:54:52 +02:00
john30 dc12476bc1 fix for previous commit 2018-04-15 08:38:24 +02:00
john30 4013ecd14c close device on error 2018-04-15 08:37:34 +02:00
john30 caa0da2a5e log when device became invalid, reduce re-connect time from 10 to 5 seconds 2018-04-15 08:29:38 +02:00
john30 88fd712384 updated to latest changes 2018-04-14 20:15:39 +02:00
john30 c14b1048e1 added missing endscript (fixes #120) 2018-04-08 19:24:15 +02:00
john30 10e0c96ac2 fix for potential duplicate free 2018-04-08 19:07:49 +02:00
john30 00dce10324 added "--mqttignoreinvalid" (fixes #176) 2018-04-08 18:59:28 +02:00
john30 80635ef321 added "--mqttignoreinvalid" (fixes #176) 2018-04-08 18:57:29 +02:00
john30 257fbea82b always include help for "read -def", better error message when using "-def" if not enabled 2018-04-08 14:41:55 +02:00
john30 875c6488cb fixed call 2018-04-08 14:07:09 +02:00
john30 186eacb528 fix for non-C++11 compiler, better var names 2018-04-08 14:05:33 +02:00
john30 1955e4862f added decode/encode commands, use [DD]* instead of Dx in help 2018-04-08 13:48:54 +02:00
john30 bee1fc5b8a aligned tests with latest FileReader changes 2018-04-08 13:48:52 +02:00
john30 000d68f3c2 added "-def" option to read and write commands for using inline message definition (fixes #154), added support for replacing messages during load to FileReader and subclasses, added MessageMap::remove(), prepared decode/encode commands 2018-04-08 13:48:49 +02:00
john30 8ad3ad9c5b removed unnecessary check 2018-04-08 09:08:46 +02:00
john30 ca0f59e146 documentation 2018-04-08 09:08:26 +02:00
john30 2d8b5d8b84 Merge remote-tracking branch 'origin/master' 2018-04-08 09:07:59 +02:00
john30 f0763ce293 allow more than one fd to be set by ppoll for checking error 2018-04-08 09:07:43 +02:00
john30 44d85285b2 removed accidentially added dir again 2018-04-08 07:57:39 +02:00
john30 a177d5c486 updated 2018-04-04 17:59:22 +02:00
john30 343a67f06a added timeout and exit code (fixes #122) 2018-04-04 17:56:29 +02:00
john30 8badc83b05 watch sockets for error as well in connect 2018-04-04 17:51:13 +02:00
john30 230abbb9fb added connect timeout, fixed non-closed sockets on connect error 2018-04-04 17:25:39 +02:00
john30 c7c5feaea6 added maxage argument to HTTP/JSON port (fixes #116) 2018-04-04 16:01:54 +02:00
john30 2a348c2087 aligned tests to latest changes 2018-04-04 15:49:48 +02:00
john30 bd5f800426 code style, missing initializers and imports 2018-04-04 15:48:26 +02:00
john30 d01385cb6d updated (includes fix for #142) 2018-04-04 10:40:38 +02:00
john30 a9c8047f0d removed accidential additions 2018-04-04 10:32:16 +02:00
john30 42d096001f better comments and help for changed config service URL 2018-04-04 10:19:54 +02:00
john30 b410872a97 removed no longer supported build helper 2018-04-04 10:19:02 +02:00
john30 6ec3ef6e4c removed /etc/ebusd for changed config service URL 2018-04-04 10:18:32 +02:00
john30 a36174c02f added support for retrieving configuration files from config service URL and changed that to be the default, always store loaded files by relative path, changed FileReader to allow reading from stream as well 2018-04-04 10:08:46 +02:00
john30 a77b740720 extended request and get to optionally retrieve last-modified header, fix for potentially wrong content-length extraction 2018-04-04 09:57:38 +02:00
john30 0c8563be16 Merge remote-tracking branch 'origin/master' 2018-04-01 15:30:50 +02:00
JohnandGitHub 9246e9ae4c Merge pull request #150 from andig/small
Smaller docker runtime image
2018-03-18 08:10:14 +01:00
john30 f2f70d400a accept urls without trailing '/' 2018-02-04 16:18:10 +01:00
john30 cf05b63aa3 also serve .csv, fix for invalid HTTP requests 2018-02-04 16:17:18 +01:00
john30 66e4d76a9b fix for weird IP address logging 2018-02-04 16:15:34 +01:00
john30 c94da06975 made http client more flexible and support content-length response header 2018-02-03 23:27:02 +01:00
john30 daf771e6d3 fix for /get topic not being interpreted when topic is on field level 2018-02-03 15:27:12 +01:00
JohnandGitHub 2588951f68 Merge pull request #160 from J0EK3R/master
added missing include
2018-02-03 13:36:00 +01:00
john30 4cdcf2d35e changed update logging from "updated" to "received" or "sent" and also log message when sent by ebusd, avoid unnecessary addSeenAddress() calls, removed logging of decoded poll result (already done as regular update output now) 2018-01-28 17:48:35 +01:00
john30 d3f40712f9 Merge remote-tracking branch 'origin/master' 2018-01-28 15:18:01 +01:00
john30 fa78ae73f0 updated copyright year 2018-01-28 15:17:33 +01:00
john30 d6668713d1 extracted http client 2018-01-28 15:12:59 +01:00
john30 7928da60f5 Merge branch 'master' of github.com:john30/ebusd 2018-01-28 14:12:05 +01:00
john30 f2382d1bbe fixed since calculation 2018-01-28 14:11:50 +01:00