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
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
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
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
8fbea28ab3
chore(linters): Fix findings found by testifylint: expected-actual ( #14229 )
2023-11-01 14:09:55 -06: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
2006086262
feat(inputs.modbus): Allow to convert coil and discrete registers to boolean ( #12825 )
2023-03-13 12:18:02 +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
Sven Rebhan
2ade360728
feat(inputs.modbus): Optimize requests ( #11273 )
2022-11-14 20:31:50 +01:00
Sven Rebhan
e097676f71
fix(inputs.modbus): Handle field-measurement definitions correctly on duplicate field check ( #12109 )
2022-10-26 14:58:27 -05:00
Sven Rebhan
4b18183da2
fix(inputs.modbus): Improve duplicate field checks ( #11912 )
2022-10-04 18:01:54 +02:00
Sven Rebhan
d637a665e8
fix(inputs.modbus): Do not fail if a single slave reports errors ( #11785 )
2022-09-15 15:42:47 -06:00
Sven Rebhan
6c7b3b3032
feat(inputs.modbus): Error out on requests with no fields defined. ( #11469 )
2022-07-15 12:01:53 +02:00
TimurDela
4d92fe4e5e
fix(inputs/modbus): #11105 fix requests starting with an omitted field ( #11202 )
2022-06-01 13:10:08 -06:00
Martin Reindl
0e1031356e
fix: re-enable OpenBSD modbus support ( #10385 )
2022-01-07 07:19:19 -07:00
Sven Rebhan
31cbd2e504
fix: Make telegraf compile on Windows with golang 1.16.2 ( #10246 )
2021-12-08 15:10:31 -07:00
Sven Rebhan
99ddb467e9
feat: Modbus add per-request tags ( #10231 )
2021-12-08 12:19:13 -07:00
Sven Rebhan
9787f4ac45
feat: Modbus support multiple slaves (gateway feature) ( #9279 )
2021-12-02 16:06:06 -06:00
Joshua Powers
ce46506e19
fix: do not build modbus on openbsd ( #10047 )
2021-11-09 16:05:42 -06:00
Sven Rebhan
2e7b232073
Modbus refactor ( #9141 )
2021-05-27 16:58:46 -04:00
Sven Rebhan
8e7da355b3
Linter fixes (unhandled errors) -- Part 1 ( #8992 )
2021-04-08 11:43:39 -05:00
Antonio Garcia
7ed98c7e5c
fix: reading multiple holding registers in modbus input plugin ( #8628 )
2021-02-26 11:45:33 -05:00
Paweł Żak
d9736d543f
Revive fixes - part 2 ( #8835 )
...
* Revive fixes regarding following set of rules:
[rule.if-return]
[rule.increment-decrement]
[rule.var-declaration]
[rule.package-comments]
[rule.receiver-naming]
[rule.unexported-return]
2021-02-16 18:19:50 -05:00
Paweł Żak
ba66d4facb
Revive fixes - part 1 ( #8797 )
...
* Revive fixes regarding following set of rules:
[rule.blank-imports]
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule.error-return]
[rule.error-strings]
[rule.indent-error-flow]
[rule.errorf]
2021-02-08 11:18:40 -05:00
SoerMan
05378980a3
Add FLOAT64-IEEE support to inputs.modbus ( #8361 ) (by @Nemecsek) ( #8474 )
2020-11-30 16:22:57 -05:00
Franz-Josef Kaiser
d233b4c27f
Fix/extend support of fixed point values on input (modbus plugin) ( #7869 )
...
* Add input float types FIXED/UFIXED (#7317 )
2020-07-27 16:48:44 -04:00
Sven Rebhan
1006c65587
Add retry when slave is busy to modbus input ( #7271 )
2020-04-21 11:21:27 -07:00
Sven Rebhan
f882b8f94f
Add support for 64-bit integer types to modbus input ( #7225 )
2020-03-26 17:05:43 -07:00
Steven Soroka
c31ba94bb8
modbus to support scaling int32 and float32-ieee ( #7148 )
2020-03-10 16:46:36 -04:00
Antonio Garcia
9d97ed22e6
Fix float conversion and startup connection issue in modbus input ( #7002 )
2020-02-10 16:54:33 -08:00
Antonio Garcia
9389099820
Add modbus input plugin ( #6154 )
2020-01-29 02:18:58 -08:00