Commit Graph
100 Commits
Author SHA1 Message Date
John 7cc7e64e65 fix HA entity name prefix warnings (closes #1011) 2023-10-07 17:42:57 +02:00
John 9e236bb206 abstract MQTT client 2023-10-07 17:01:00 +02:00
John 37334c54f9 allow envp missing 2023-10-03 08:28:43 +02:00
John 28bebfa49d check for timegm() 2023-10-01 23:42:56 +02:00
John fe49e9b67f separate arg parsing 2023-10-01 23:30:40 +02:00
John cb0bfe75ff fix timeout 2023-10-01 22:33:15 +02:00
John 5f493255ee prepare logging without timestamp 2023-10-01 22:31:50 +02:00
John d9f1bc58f3 fix building ebusfeed 2023-10-01 18:24:12 +02:00
John c71b1daf74 remove unused param to arg parser 2023-10-01 14:54:27 +02:00
John acc6eddbba fix previous commit, formatting 2023-10-01 14:29:11 +02:00
John 22b6f02752 get rid of argp dependency 2023-10-01 14:09:38 +02:00
John 1b9723c96f fix long-running cmds 2023-09-24 20:22:58 +02:00
John 03483babc3 updated 2023-09-24 09:21:40 +02:00
John 26102d0de3 simplify some dir/file defines 2023-09-24 08:43:22 +02:00
John 087209f2e7 fix missing defines 2023-09-24 08:28:19 +02:00
John d89b7cf29a fix macos build (closes #673) 2023-09-23 14:23:06 +02:00
John 0698906cd1 allow limiting number of scan retries (fixes 1013) 2023-09-23 14:09:27 +02:00
John 1c1b39ea29 send empty topic instead of logging an error on messages without a single field (fixes #817) 2023-09-23 12:34:21 +02:00
John 70db4fa509 log invalid env setting more readable 2023-09-23 09:28:35 +02:00
John b0cfb52e3b bring back missing scanconfig default, better help texts, add "off" to scanconfig, better argument combination validation 2023-09-23 09:27:55 +02:00
John 9bd534afa4 allow notifying queue and improve shutdown duration 2023-09-23 09:09:05 +02:00
john30 689c38610b better defines for debugging 2023-09-17 15:50:11 +02:00
John f633e07840 include temperatures in Kelvin (closes #989) 2023-09-09 10:20:07 +02:00
John 76184c766b some docs (also closes #974) 2023-08-15 17:25:34 +02:00
JohnandGitHub ebd68a48da Merge pull request #961 from samm-git/patch-1
remove unused using
2023-08-15 17:17:52 +02:00
JohnandGitHub 8f95b54206 Merge pull request #981 from lgoenner/readme
fix wiki link
2023-08-15 17:03:45 +02:00
John e3abbf1b09 set no signal asap when device is detected as invalid (for #965) 2023-08-06 08:59:38 +02:00
John 949b366fe6 deny mqtttopic starting with '/' (fixes #960) 2023-08-06 08:26:25 +02:00
John c5bf9754fe add argp hints for standalone 2023-08-06 08:12:22 +02:00
John 8e55d44a14 remove no longer supported libmosquitto0, fix libssl3 detection+dependencies 2023-08-06 08:11:45 +02:00
john30 d442184f84 updated to 23.2 2023-07-09 09:54:09 +02:00
John 5c5a150fed drop stretch in favour of bookworm 2023-07-08 15:54:20 +02:00
john30 ae8e689e11 updated version to 23.2 2023-07-08 14:28:51 +02:00
John 739324fb8e missed update in c1624f5 2023-07-08 12:00:31 +02:00
John 43d3599c73 fix for topic separator check (closes #943) 2023-07-08 11:47:04 +02:00
John c1624f528f extract request related parts 2023-07-08 11:08:29 +02:00
John e295cc3434 typedef for options 2023-07-08 09:25:49 +02:00
John e33810aafe use vars for executable location, make bash verbose 2023-06-17 11:16:38 +02:00
John cd097b1d2b higher config web service timeout, formatting 2023-06-17 10:25:12 +02:00
John ea87515ef5 repeat HTTP requests once 2023-06-17 10:24:08 +02:00
John 333ae3b82f apply same workaround to all BIO_should_retry() calls and log timeout in send+recv as well 2023-06-17 10:08:34 +02:00
John 8f190e9e84 add scan status 2023-06-17 08:18:34 +02:00
John 2c7cab3dc1 update year 2023-06-16 20:40:35 +02:00
John 0ede430ece extra layer for device, more abstraction 2023-06-16 20:26:30 +02:00
John 9d08eec68e better iterator 2023-06-16 19:45:29 +02:00
John 9c74288ba9 delay check only if scan succeeded 2023-06-16 19:23:32 +02:00
John 6fc44800e3 updated link 2023-06-16 18:41:11 +02:00
John 3d5bec37a5 updated 2023-06-16 18:02:22 +02:00
John eb2af024a2 fix previous commit 2023-06-16 18:01:41 +02:00
John c66bd85e03 fix invalid iterator usage (maybe related to #925) 2023-06-11 12:04:48 +02:00
John dd7c668af4 add updatecheck for v5 2023-06-11 10:46:07 +02:00
John 7f0328cbae updated
[skip ci]
2023-06-04 08:28:07 +02:00
John 746b79d17e fix previous commit 2023-06-04 08:11:51 +02:00
John 1222eb165e copy cmd/resp in messageCompleted() for potential edge cases 2023-06-03 19:55:58 +02:00
John d89a5289cf fix potential (but unlikely) endless loop 2023-06-03 19:53:05 +02:00
John 7134c82848 prefer const iterator 2023-06-03 19:52:19 +02:00
John 128f0aa38f Merge branch 'master' of github.com:john30/ebusd 2023-06-03 11:09:40 +02:00
John 699f056381 add value list support 2023-06-03 10:45:08 +02:00
JohnandGitHub a0b0c39f05 Merge pull request #920 from Commifreak/update-mqtt-hassio-helplink
corrected HA MQTT discovery link
2023-06-03 10:29:30 +02:00
John 5825975d48 make capath+cafile static as they are 2023-05-31 18:50:04 +02:00
John 17d92bca76 force logging upon exit, set level+facilities asap, log valid configpath URL 2023-05-31 18:30:28 +02:00
John 30cf1a926f force use of IPv4 in libssl (see #751) 2023-05-31 18:15:47 +02:00
John e2a4695c9b add bio logging and print set_nbio success, clear auto-retry (for #751) 2023-05-31 08:18:40 +02:00
John 3669385386 add ssl debugging, assume ssl_ctx is global as documented (for #751) 2023-05-30 15:55:48 +02:00
John 207435650d workaround for potentially faced libssl bug 11574 2023-05-30 11:00:08 +02:00
John 172f856967 limit number of handled telegrams per loop and wait time for #843 2023-05-30 10:22:27 +02:00
John 4152ea6a84 code style 2023-05-30 09:24:02 +02:00
John 56aaba03ad detecte injected scan messages and issue scan procedure for those 2023-05-30 09:23:41 +02:00
John 25a00f5d96 fix for commit e419c950 2023-05-30 08:32:24 +02:00
John a6bd51102f Merge branch 'master' of github.com:john30/ebusd 2023-05-29 17:32:04 +02:00
John 4c09854546 explicitly check against null, better x509 free, log timeout on connect and increase default to 5 secs, support wildcard subject 2023-05-29 17:26:58 +02:00
John 8408e32d32 set state_clss to total_increasing for readable items with "poweron" or "count" in the name, remove no longer value state_class measurement for globals 2023-05-29 14:51:32 +02:00
John 773a4dd661 improve compilability 2023-05-18 13:24:03 +02:00
John e606772e9d code style 2023-05-18 13:00:12 +02:00
John 5b53fa313b more wildcards+ignores 2023-05-18 12:31:11 +02:00
John e419c950d8 separate resolving+scanning to own interface+class and avoid use of extern 2023-05-18 12:24:50 +02:00
John ec6dae6abb allow late init of ssl 2023-05-18 12:04:42 +02:00
John 4886b016f3 log if a tcp server could not be started 2023-05-18 12:03:09 +02:00
John 1895339e45 add timeout for info request and allow more being optional, support shorter config response, comments 2023-05-01 19:32:14 +02:00
John 9c0af7b95e fix for variable datatype length bounds check (fixes #805) 2023-01-30 22:55:46 +01:00
John 9218a1d8e8 better wording 2023-01-30 22:32:32 +01:00
John 3b6d5402c9 note high-speed mode in help and logging (fixes #804) 2023-01-30 22:30:56 +01:00
John d35d0bb71d don't set min/max/step values for EXP based types (workaround for #803) 2023-01-30 22:07:14 +01:00
John fd47929f8e add getStep() method 2023-01-30 22:06:06 +01:00
john30 af614ae1e1 added current version 2023-01-06 14:59:24 +01:00
John 02ce387e12 fix new gh location 2023-01-06 14:49:27 +01:00
john30 de997ab30c fix new gh location, updated to 23.1 2023-01-06 14:14:48 +01:00
john30 4c2d87e40f updated version to 23.1 2023-01-06 12:35:17 +01:00
John ca6767dece allow argp-standalone as well 2023-01-06 12:32:06 +01:00
John b42b798e54 formatting 2023-01-06 12:31:29 +01:00
John 672dae22e7 fix previous commit 2023-01-06 12:14:44 +01:00
John 8e612b9e0e add option to exit non-zero on non-success response from ebusd (fixes #782) 2023-01-06 12:08:17 +01:00
John 8af687aa66 retry config check once 2023-01-06 11:49:27 +01:00
John 780703c6ff avoid unnecessary waits when there is no signal 2023-01-06 11:39:13 +01:00
John fe2849ec65 updated 2023-01-06 10:59:47 +01:00
John 78e12b241b add COM port hint 2023-01-06 10:58:29 +01:00
John 9f51946f6d print setsockopt errors and add missing options, add TCP_USER_TIMEOUT if defined 2023-01-06 10:58:00 +01:00
John 88f54c0d7f remove unused 2023-01-06 10:51:47 +01:00
John be574f1f8c pass env from main and check FreeBSD for endian include (fix #650) 2023-01-06 10:51:21 +01:00
John d6854ff877 add COM-port hint on cygwin 2023-01-06 08:00:58 +01:00