Config UI: visualize Modbusproxy (#24015)
Co-authored-by: Michael Geers <michael@geers.tv>
This commit is contained in:
parent
7924922d4b
commit
07bcca2925
19 changed files with 666 additions and 119 deletions
19
tests/config-modbusproxy-migrate.sql
Normal file
19
tests/config-modbusproxy-migrate.sql
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
BEGIN;
|
||||
|
||||
CREATE TABLE `settings` (
|
||||
`key` text
|
||||
, `value` text
|
||||
, PRIMARY KEY(`key`)
|
||||
);
|
||||
|
||||
INSERT INTO settings("key", value) VALUES('modbusproxy', '- port: 5021
|
||||
uri: 192.0.2.2:502
|
||||
- port: 5022
|
||||
device: /dev/ttyUSB0
|
||||
baudrate: 9600
|
||||
comset: "8N1"
|
||||
- port: 5023
|
||||
uri: 192.0.2.3:502
|
||||
rtu: true');
|
||||
|
||||
COMMIT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue