1
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-04 22:19:38 +00:00
fhem-mirror/t/FHEM/98_Modbus/52_Combine2.cfg
StefanStrobel 1901729367 98_Modbus: update Tests
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@23942 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2021-03-13 10:12:36 +00:00

107 lines
2.8 KiB
INI

attr global mseclog 1
define Slave ModbusAttr 5 slave global:5501
attr Slave dev-addressErrCode 0
attr Slave obj-h256-reading TempWasserEin
attr Slave obj-h258-reading TempWasserAus
attr Slave obj-h100-reading Test1
attr Slave obj-h101-reading Test2
attr Slave obj-h101-unpack f>
attr Slave obj-h101-len 2
attr Slave obj-h103-reading Test2m
attr Slave obj-h120-reading Test4a
attr Slave obj-h120-unpack f>
attr Slave obj-h120-len 2
attr Slave obj-h122-reading Test4b
attr Slave obj-h122-unpack f>
attr Slave obj-h122-len 2
attr Slave obj-h130-reading Test5
attr Slave obj-h130-unpack f<
attr Slave obj-h130-len 2
attr Slave obj-h132-reading Test5m
attr Slave obj-h132-unpack n
define Master ModbusAttr 5 0 localhost:5501
attr Master disable 1
attr Master verbose 3
attr Master nonPrioritizedGet 1
attr Master nonPrioritizedSet 1
attr Master dev-timing-sendDelay 0
attr Master dev-timing-commDelay 0
attr Master dev-timing-timeout 0.5
attr Master obj-h256-reading TempWasserEin
attr Master obj-h256-poll 1
attr Master obj-h258-reading TempWasserAus
attr Master obj-h258-poll 1
attr Master obj-h100-reading Test1
attr Master obj-h100-expr $val + 2
attr Master obj-h100-poll 1
attr Master obj-h100-polldelay 0
attr Master obj-h101-reading Test2
attr Master obj-h101-unpack f>
attr Master obj-h101-len 2
attr Master obj-h101-format %.2f
attr Master obj-h101-poll 1
attr Master obj-h101-polldelay 0
attr Master obj-h101-group 2-2
attr Master obj-h101-expr ReadingsVal($name, 'Test2m', 0) * $val
attr Master obj-h103-reading Test2m
attr Master obj-h103-poll 1
attr Master obj-h103-polldelay 0
attr Master obj-h103-group 2-1
attr Master obj-h120-reading Test4a
attr Master obj-h120-unpack f>
attr Master obj-h120-len 2
attr Master obj-h120-format %.2f
attr Master obj-h120-poll 1
attr Master obj-h120-polldelay 0
attr Master obj-h120-group 3-1
attr Master obj-h122-reading Test4b
attr Master obj-h122-unpack f>
attr Master obj-h122-len 2
attr Master obj-h122-format %.2f
attr Master obj-h122-poll 1
attr Master obj-h122-polldelay 0
attr Master obj-h122-group 3-2
attr Master obj-h122-expr ReadingsVal($name, 'Test4a', 0) + $val
attr Master obj-h130-reading Test5
attr Master obj-h130-unpack f<
attr Master obj-h130-len 2
attr Master obj-h130-group 1-1
attr Master obj-h130-poll 1
attr Master obj-h130-expr ReadingsVal($name, 'Test5m', 0) * $val
attr Master obj-h132-reading Test5m
attr Master obj-h132-unpack n
attr Master obj-h132-polldelay 0
attr Master obj-h132-group 1-2
attr Master obj-h10-reading o1
attr Master obj-h10-map 0:off, 1:on
attr Master obj-h11-reading o2
attr Master obj-h11-min 1
attr Master obj-h11-max 3
attr Master dev-h-defSet 1
attr Master dev-c-defSet 1
attr Master dev-h-defShowGet 1
attr Master dev-h-combine 22