Commit Graph

99 Commits

Author SHA1 Message Date
Paweł Żak 080e9a1338
chore(deps): Bump golangci-lint from v1.64.5 to v2.0.2 (#16683) 2025-03-31 13:52:09 +01:00
Sven Rebhan 798f683805
docs(inputs): Add plugin metadata and update description for j* to m* (#16593)
Co-authored-by: Maya Strandboge <136023093+mstrandboge@users.noreply.github.com>
2025-03-24 16:38:42 +01:00
Paulo Dias cb71790cf7
chore(linters): Enforce import grouping with gci linter (#16526)
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
2025-02-24 19:37:12 -06:00
Paweł Żak d829a5b29c
chore: Fix linter findings for `revive:unused-receiver` in `plugins/inputs/[l-r]` (#16325) 2024-12-18 12:47:47 -06:00
Paweł Żak 8a7947abbb
chore: Fix linter findings for `revive:exported` in `plugins/inputs/m*` (#16191) 2024-11-18 12:27:17 +01:00
Sven Rebhan 85f025ad22
chore(inputs.modbus): Add device or controller information to error messages (#16114) 2024-11-04 15:55:54 -06:00
Paweł Żak 0a6e51d1d6
chore: Fix linter findings for `revive:enforce-slice-style` in `plugins/inputs/[k-o]*` (#16071) 2024-10-28 14:30:13 +01:00
Sven Rebhan f06111499e
feat(inputs.modbus): Allow grouping across register types (#16040) 2024-10-24 10:50:16 -05:00
Paweł Żak 6c48fbb1f2
chore: Fix linter findings for `revive:enforce-map-style` in `plugins/inputs/[a-m]*` (#16042) 2024-10-21 13:11:11 +02:00
Sven Rebhan 52d30f9a3a
chore(inputs.modbus): Add more debug information for request grouping (#15959) 2024-10-02 10:26:35 -05:00
Thomas Casteleyn 0febb7e588
chore(inputs): Remove deprecated options from sample config (#15872) 2024-09-23 11:34:25 -05:00
Paweł Żak 453d32bd81
chore: Fix linter findings for `revive:comment-spacings` (part 2) (#15897) 2024-09-19 11:03:28 +02:00
Sven Rebhan d160276552
feat(logging): Add 'trace' log-level (#15695) 2024-08-01 00:32:24 +02:00
Sven Rebhan fe7321e35b
feat(inputs.modbus): Allow reading single bits of input and holding registers (#15648) 2024-07-29 11:48:05 -05:00
Joshua Powers 71718fba7d
chore: Update removal dates to either v1.35.0 or v1.40.0 (#15452) 2024-06-05 15:19:47 -05:00
Sven Rebhan 71b58ddaf5
chore(log): Restructure and cleanup logging code (#15234) 2024-05-10 16:43:43 -05:00
Sven Rebhan 0966bcbd4e
chore(deps): Bump github.com/grid-x/modbus from v0.0.0-20211113184042-7f2251c342c9 to v0.0.0-20240503115206-582f2ab60a18 (#15276) 2024-05-07 10:57:26 -05:00
Sven Rebhan 80891a6413
fix(inputs.modbus): Avoid overflow when calculating with uint16 addresses (#15146) 2024-04-12 14:31:33 -05:00
Joshua Powers 3b133ed05b
docs(inputs.modbus): Remove extra comma (#14883) 2024-02-22 19:06:32 +01:00
Sven Rebhan f77049855b
feat(inputs.modbus): Add workaround for unusual string-byte locations (#14764) 2024-02-14 07:21:18 -07:00
Paweł Żak c4dbe65732
chore(linters): Bump golangci-lint to v1.56.1 (#14759) 2024-02-12 23:26:10 +01:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Paweł Żak aa681be594
chore(linters): Remove blank identifiers and errors which are not needed to handle (#14399) 2023-12-07 08:09:01 -07:00
Sven Rebhan ea3e6dfb91
fix(inputs.modbus): Split large request correctly at field borders (#14388) 2023-12-06 06:55:49 -07:00
Andreas Deininger 6814d7af8a
docs: Fix typos (#14359)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2023-11-29 14:47:39 +01:00
Andreas Deininger d1b316ab1a
docs: Fix typos (#14339) 2023-11-27 07:27:34 -07:00
Sven Rebhan 247a808769
feat(inputs.modbus): Add support for string-fields (#14145) 2023-11-07 09:48:23 +01:00
Paweł Żak 8fbea28ab3
chore(linters): Fix findings found by testifylint: expected-actual (#14229) 2023-11-01 14:09:55 -06:00
Sven Rebhan a6858b8024
chore(inputs.modbus): Deprecate aggressive optimization (#14030) 2023-10-02 18:39:21 +02:00
Michael Kasch 2dd5682e1a
chore(inputs.modbus): Improve deprecation documentation (#13832) 2023-08-29 10:37:44 -06:00
Joshua Powers 013b73213d
chore: Spell endianness correctly (#13752) 2023-08-14 10:43:32 +02:00
Joshua Powers 2ac45b8d25
chore: Enable additional gocritic (#13714) 2023-08-03 18:58:27 +02:00
Sven Rebhan 96b9845853
feat(inputs.modbus): Add per-metric configuration style (#13507) 2023-06-30 12:47:16 -06:00
Sven Rebhan 56aac4f0e1
fix(inputs.modbus): Fix optimization of overlapping requests and add warning (#13486) 2023-06-23 07:53:57 -06:00
Sven Rebhan c459d7b8ff
fix(inputs.modbus): Check number of register for datatype (#13485) 2023-06-23 07:51:56 -06:00
Sven Rebhan 9c6cd94d6e
chore: Add generator for sample-config includes (#13348) 2023-06-02 08:08:56 -06:00
r3inbowari 19c4316694
chore: Update README.md (#12989) 2023-04-04 13:43:49 +02:00
Sven Rebhan 2006086262
feat(inputs.modbus): Allow to convert coil and discrete registers to boolean (#12825) 2023-03-13 12:18:02 +01:00
Sven Rebhan 0a0cbc24d5
feat(inputs.modbus): Add RS485 specific config options (#12786) 2023-03-07 11:29:59 -07:00
Paweł Żak 5b2346dfa0
chore: Fix linter findings for errorlint (part5) (#12731)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-01 22:18:35 +01:00
Thomas Casteleyn 6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf (#12722) 2023-02-23 06:49:36 -07:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Sven Rebhan 150f0cd3a7
feat(inputs.modbus): add workaround to enforce reads from zero for coil registers (#12408) 2023-01-09 12:35:46 -07:00
Sven Rebhan 7df97486d4
fix(inputs.modbus): fix default value of transmission mode (#12367) 2022-12-09 11:23:51 -07:00
Sven Rebhan 5cb40a1882
feat(inputs.modbus): add support for half-precision float (float16) (#12340) 2022-12-07 07:20:51 -07:00
Sven Rebhan eea9021771
fix(inputs.modbus): Fix Windows COM-port path (#12339) 2022-12-06 15:47:58 +01:00
TimurDela edb2358764
feat(inputs.modbus): optimize grouped requests (#11106) 2022-11-30 09:31:41 -07:00
Paweł Żak 960a1f7b14
chore: Fix linter findings for prealloc (part3) (#12246) 2022-11-21 21:53:55 +01:00
Sven Rebhan 75aaa8981e
feat(inputs.modbus): Add 8-bit integer types (#12255) 2022-11-18 16:23:23 +01:00
Sven Rebhan 6cfae2a1fd
fix(input.modbus): Add workaround to read field in separate requests (#12235) 2022-11-18 11:53:36 +01:00