Neue Versionen und Support zum Modbus-Modul

Begonnen von StefanStrobel, 20 August 2017, 12:11:08

Vorheriges Thema - Nächstes Thema

300P

Ich habe es zwar aktuell nicht mehr aktiv im FHEM eingebunden.....

Aber hier mein Ergebnis bei einem set elgris scanModbusObjects h40000-h40150:
==>Modbus TCP sollte also mit ELGRIS funktionieren!

defmod elgris ModbusAttr 1 30 192.168.XXX.YYY:502 TCP
attr elgris group Elgris
attr elgris obj-h40000-reading scan-h40000
attr elgris obj-h40001-reading scan-h40001
attr elgris obj-h40002-reading scan-h40002
attr elgris obj-h40003-reading scan-h40003
attr elgris obj-h40004-reading scan-h40004
attr elgris obj-h40005-reading scan-h40005
attr elgris obj-h40006-reading scan-h40006
attr elgris obj-h40007-reading scan-h40007
attr elgris obj-h40008-reading scan-h40008
attr elgris obj-h40009-reading scan-h40009
attr elgris obj-h40010-reading scan-h40010
attr elgris obj-h40011-reading scan-h40011
attr elgris obj-h40012-reading scan-h40012
attr elgris obj-h40013-reading scan-h40013
attr elgris obj-h40014-reading scan-h40014
attr elgris obj-h40015-reading scan-h40015
attr elgris obj-h40016-reading scan-h40016
attr elgris obj-h40017-reading scan-h40017
attr elgris obj-h40018-reading scan-h40018
attr elgris obj-h40019-reading scan-h40019
attr elgris obj-h40020-reading scan-h40020
attr elgris obj-h40021-reading scan-h40021
attr elgris obj-h40022-reading scan-h40022
attr elgris obj-h40023-reading scan-h40023
attr elgris obj-h40024-reading scan-h40024
attr elgris obj-h40025-reading scan-h40025
attr elgris obj-h40026-reading scan-h40026
attr elgris obj-h40027-reading scan-h40027
attr elgris obj-h40028-reading scan-h40028
attr elgris obj-h40029-reading scan-h40029
attr elgris obj-h40030-reading scan-h40030
attr elgris obj-h40031-reading scan-h40031
attr elgris obj-h40032-reading scan-h40032
attr elgris obj-h40033-reading scan-h40033
attr elgris obj-h40034-reading scan-h40034
attr elgris obj-h40035-reading scan-h40035
attr elgris obj-h40036-reading scan-h40036
attr elgris obj-h40037-reading scan-h40037
attr elgris obj-h40038-reading scan-h40038
attr elgris obj-h40039-reading scan-h40039
attr elgris obj-h40040-reading scan-h40040
attr elgris obj-h40041-reading scan-h40041
attr elgris obj-h40042-reading scan-h40042
attr elgris obj-h40043-reading scan-h40043
attr elgris obj-h40044-reading scan-h40044
attr elgris obj-h40045-reading scan-h40045
attr elgris obj-h40046-reading scan-h40046
attr elgris obj-h40047-reading scan-h40047
attr elgris obj-h40048-reading scan-h40048
attr elgris obj-h40049-reading scan-h40049
attr elgris obj-h40050-reading scan-h40050
attr elgris obj-h40051-reading scan-h40051
attr elgris obj-h40052-reading scan-h40052
attr elgris obj-h40053-reading scan-h40053
attr elgris obj-h40054-reading scan-h40054
attr elgris obj-h40055-reading scan-h40055
attr elgris obj-h40056-reading scan-h40056
attr elgris obj-h40057-reading scan-h40057
attr elgris obj-h40058-reading scan-h40058
attr elgris obj-h40059-reading scan-h40059
attr elgris obj-h40060-reading scan-h40060
attr elgris obj-h40061-reading scan-h40061
attr elgris obj-h40062-reading scan-h40062
attr elgris obj-h40063-reading scan-h40063
attr elgris obj-h40064-reading scan-h40064
attr elgris obj-h40065-reading scan-h40065
attr elgris obj-h40066-reading scan-h40066
attr elgris obj-h40067-reading scan-h40067
attr elgris obj-h40068-reading scan-h40068
attr elgris obj-h40069-reading scan-h40069
attr elgris obj-h40070-reading scan-h40070
attr elgris obj-h40071-reading scan-h40071
attr elgris obj-h40072-reading scan-h40072
attr elgris obj-h40073-reading scan-h40073
attr elgris obj-h40074-reading scan-h40074
attr elgris obj-h40075-reading scan-h40075
attr elgris obj-h40076-reading scan-h40076
attr elgris obj-h40077-reading scan-h40077
attr elgris obj-h40078-reading scan-h40078
attr elgris obj-h40079-reading scan-h40079
attr elgris obj-h40080-reading scan-h40080
attr elgris obj-h40081-reading scan-h40081
attr elgris obj-h40082-reading scan-h40082
attr elgris obj-h40083-reading scan-h40083
attr elgris obj-h40084-reading scan-h40084
attr elgris obj-h40085-reading I_AC_Frequency
attr elgris obj-h40086-reading Hz_Sf
attr elgris obj-h40087-reading scan-h40087
attr elgris obj-h40088-reading Leistung_A
attr elgris obj-h40089-reading Leistung_B
attr elgris obj-h40090-reading Leistung_C
attr elgris obj-h40091-reading scan-h40091
attr elgris obj-h40092-reading scan-h40092
attr elgris obj-h40093-reading scan-h40093
attr elgris obj-h40094-reading scan-h40094
attr elgris obj-h40095-reading scan-h40095
attr elgris obj-h40096-reading scan-h40096
attr elgris obj-h40097-reading scan-h40097
attr elgris obj-h40098-reading scan-h40098
attr elgris obj-h40099-reading scan-h40099
attr elgris obj-h40100-reading scan-h40100
attr elgris obj-h40101-reading scan-h40101
attr elgris obj-h40102-reading scan-h40102
attr elgris obj-h40103-reading scan-h40103
attr elgris obj-h40104-reading scan-h40104
attr elgris obj-h40105-reading scan-h40105
attr elgris obj-h40106-reading scan-h40106
attr elgris obj-h40107-reading scan-h40107
attr elgris obj-h40108-reading scan-h40108
attr elgris obj-h40109-reading scan-h40109
attr elgris obj-h40110-reading scan-h40110
attr elgris obj-h40111-reading scan-h40111
attr elgris obj-h40112-reading scan-h40112
attr elgris obj-h40113-reading scan-h40113
attr elgris obj-h40114-reading scan-h40114
attr elgris obj-h40115-reading scan-h40115
attr elgris obj-h40116-reading scan-h40116
attr elgris obj-h40117-reading scan-h40117
attr elgris obj-h40118-reading scan-h40118
attr elgris obj-h40119-reading scan-h40119
attr elgris obj-h40120-reading scan-h40120
attr elgris obj-h40121-reading scan-h40121
attr elgris obj-h40122-reading scan-h40122
attr elgris obj-h40123-reading scan-h40123
attr elgris obj-h40124-reading scan-h40124
attr elgris obj-h40125-reading scan-h40125
attr elgris obj-h40126-reading scan-h40126
attr elgris obj-h40127-reading scan-h40127
attr elgris obj-h40128-reading scan-h40128
attr elgris obj-h40129-reading scan-h40129
attr elgris obj-h40130-reading scan-h40130
attr elgris obj-h40131-reading scan-h40131
attr elgris obj-h40132-reading scan-h40132
attr elgris obj-h40133-reading scan-h40133
attr elgris obj-h40134-reading scan-h40134
attr elgris obj-h40135-reading scan-h40135
attr elgris obj-h40136-reading scan-h40136
attr elgris obj-h40137-reading scan-h40137
attr elgris obj-h40138-reading scan-h40138
attr elgris obj-h40139-reading scan-h40139
attr elgris obj-h40140-reading scan-h40140
attr elgris obj-h40141-reading scan-h40141
attr elgris obj-h40142-reading scan-h40142
attr elgris obj-h40143-reading scan-h40143
attr elgris obj-h40144-reading scan-h40144
attr elgris obj-h40145-reading scan-h40145
attr elgris obj-h40146-reading scan-h40146
attr elgris obj-h40147-reading scan-h40147
attr elgris obj-h40148-reading scan-h40148
attr elgris obj-h40149-reading scan-h40149
attr elgris obj-h40150-reading scan-h40150
attr elgris obj-i40052-len 16
attr elgris obj-i40052-reading serialNumber
attr elgris obj-i40087-len 1
attr elgris obj-i40087-reading power
attr elgris room 011_MODBUS,Energie
attr elgris showError 1

setstate elgris 2024-03-28 15:59:29 Hz_Sf hex=fffe, string=.., s=-257, s>=-2, S=65279, S>=65534
setstate elgris 2024-03-28 15:59:28 I_AC_Frequency hex=1388, string=.., s=-30701, s>=5000, S=34835, S>=5000
setstate elgris 2024-03-28 15:36:04 LAST_ERROR slave replied with error code 83 / 02, illegal data address
setstate elgris 2024-03-28 15:59:31 Leistung_A hex=002f, string=./, s=12032, s>=47, S=12032, S>=47
setstate elgris 2024-03-28 15:59:32 Leistung_B hex=00dd, string=.., s=-8960, s>=221, S=56576, S>=221
setstate elgris 2024-03-28 15:59:33 Leistung_C hex=fef5, string=.., s=-2562, s>=-267, S=62974, S>=65269
setstate elgris 2024-03-28 15:58:01 scan-h40000 hex=5375, string=Su, s=30035, s>=21365, S=30035, S>=21365
setstate elgris 2024-03-28 15:58:02 scan-h40001 hex=6e53, string=nS, s=21358, s>=28243, S=21358, S>=28243
setstate elgris 2024-03-28 15:58:03 scan-h40002 hex=0001, string=.., s=256, s>=1, S=256, S>=1
setstate elgris 2024-03-28 15:58:04 scan-h40003 hex=0041, string=.A, s=16640, s>=65, S=16640, S>=65
setstate elgris 2024-03-28 15:58:05 scan-h40004 hex=656c, string=el, s=27749, s>=25964, S=27749, S>=25964
setstate elgris 2024-03-28 15:58:06 scan-h40005 hex=6772, string=gr, s=29287, s>=26482, S=29287, S>=26482
setstate elgris 2024-03-28 15:58:07 scan-h40006 hex=6973, string=is, s=29545, s>=26995, S=29545, S>=26995
setstate elgris 2024-03-28 15:58:08 scan-h40007 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:09 scan-h40008 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:10 scan-h40009 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:11 scan-h40010 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:12 scan-h40011 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:13 scan-h40012 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:14 scan-h40013 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:15 scan-h40014 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:16 scan-h40015 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:17 scan-h40016 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:18 scan-h40017 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:19 scan-h40018 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:20 scan-h40019 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:21 scan-h40020 hex=534d, string=SM, s=19795, s>=21325, S=19795, S>=21325
setstate elgris 2024-03-28 15:58:22 scan-h40021 hex=4152, string=AR, s=21057, s>=16722, S=21057, S>=16722
setstate elgris 2024-03-28 15:58:23 scan-h40022 hex=5420, string=T., s=8276, s>=21536, S=8276, S>=21536
setstate elgris 2024-03-28 15:58:24 scan-h40023 hex=4d45, string=ME, s=17741, s>=19781, S=17741, S>=19781
setstate elgris 2024-03-28 15:58:25 scan-h40024 hex=5445, string=TE, s=17748, s>=21573, S=17748, S>=21573
setstate elgris 2024-03-28 15:58:26 scan-h40025 hex=5200, string=R., s=82, s>=20992, S=82, S>=20992
setstate elgris 2024-03-28 15:58:27 scan-h40026 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:28 scan-h40027 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:29 scan-h40028 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:30 scan-h40029 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:31 scan-h40030 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:32 scan-h40031 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:33 scan-h40032 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:35 scan-h40033 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:36 scan-h40034 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:36 scan-h40035 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:37 scan-h40036 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:39 scan-h40037 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:40 scan-h40038 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:40 scan-h40039 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:41 scan-h40040 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:42 scan-h40041 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:44 scan-h40042 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:45 scan-h40043 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:47 scan-h40044 hex=312e, string=1., s=11825, s>=12590, S=11825, S>=12590
setstate elgris 2024-03-28 15:58:48 scan-h40045 hex=3130, string=10, s=12337, s>=12592, S=12337, S>=12592
setstate elgris 2024-03-28 15:58:48 scan-h40046 hex=2e33, string=.3, s=13102, s>=11827, S=13102, S>=11827
setstate elgris 2024-03-28 15:58:49 scan-h40047 hex=3500, string=5., s=53, s>=13568, S=53, S>=13568
setstate elgris 2024-03-28 15:58:51 scan-h40048 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:51 scan-h40049 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:52 scan-h40050 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:53 scan-h40051 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:58:54 scan-h40052 hex=3139, string=19, s=14641, s>=12601, S=14641, S>=12601
setstate elgris 2024-03-28 15:58:55 scan-h40053 hex=3030, string=00, s=12336, s>=12336, S=12336, S>=12336
setstate elgris 2024-03-28 15:58:56 scan-h40054 hex=3031, string=01, s=12592, s>=12337, S=12592, S>=12337
setstate elgris 2024-03-28 15:58:57 scan-h40055 hex=3033, string=03, s=13104, s>=12339, S=13104, S>=12339
setstate elgris 2024-03-28 15:58:58 scan-h40056 hex=3635, string=65, s=13622, s>=13877, S=13622, S>=13877
setstate elgris 2024-03-28 15:58:59 scan-h40057 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:00 scan-h40058 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:02 scan-h40059 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:03 scan-h40060 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:04 scan-h40061 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:05 scan-h40062 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:06 scan-h40063 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:07 scan-h40064 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:08 scan-h40065 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:09 scan-h40066 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:10 scan-h40067 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:11 scan-h40068 hex=00f0, string=.., s=-4096, s>=240, S=61440, S>=240
setstate elgris 2024-03-28 15:59:12 scan-h40069 hex=00cb, string=.., s=-13568, s>=203, S=51968, S>=203
setstate elgris 2024-03-28 15:59:13 scan-h40070 hex=0069, string=.i, s=26880, s>=105, S=26880, S>=105
setstate elgris 2024-03-28 15:59:14 scan-h40071 hex=048c, string=.., s=-29692, s>=1164, S=35844, S>=1164
setstate elgris 2024-03-28 15:59:15 scan-h40072 hex=007a, string=.z, s=31232, s>=122, S=31232, S>=122
setstate elgris 2024-03-28 15:59:16 scan-h40073 hex=01d9, string=.., s=-9983, s>=473, S=55553, S>=473
setstate elgris 2024-03-28 15:59:17 scan-h40074 hex=023a, string=.:, s=14850, s>=570, S=14850, S>=570
setstate elgris 2024-03-28 15:59:18 scan-h40075 hex=fffd, string=.., s=-513, s>=-3, S=65023, S>=65533
setstate elgris 2024-03-28 15:59:19 scan-h40076 hex=5c03, string=\., s=860, s>=23555, S=860, S>=23555
setstate elgris 2024-03-28 15:59:20 scan-h40077 hex=5bd1, string=[., s=-11941, s>=23505, S=53595, S>=23505
setstate elgris 2024-03-28 15:59:21 scan-h40078 hex=5b8d, string=[., s=-29349, s>=23437, S=36187, S>=23437
setstate elgris 2024-03-28 15:59:22 scan-h40079 hex=5cad, string=\., s=-21156, s>=23725, S=44380, S>=23725
setstate elgris 2024-03-28 15:59:23 scan-h40080 hex=0fe4, string=.., s=-7153, s>=4068, S=58383, S>=4068
setstate elgris 2024-03-28 15:59:24 scan-h40081 hex=9efb, string=.., s=-1122, s>=-24837, S=64414, S>=40699
setstate elgris 2024-03-28 15:59:25 scan-h40082 hex=9e5c, string=.\, s=23710, s>=-24996, S=23710, S>=40540
setstate elgris 2024-03-28 15:59:26 scan-h40083 hex=a07c, string=.|, s=31904, s>=-24452, S=31904, S>=41084
setstate elgris 2024-03-28 15:59:27 scan-h40084 hex=fffe, string=.., s=-257, s>=-2, S=65279, S>=65534
setstate elgris 2024-03-28 15:59:30 scan-h40087 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:34 scan-h40091 hex=ffff, string=.., s=-1, s>=-1, S=65535, S>=65535
setstate elgris 2024-03-28 15:59:35 scan-h40092 hex=0228, string=.(, s=10242, s>=552, S=10242, S>=552
setstate elgris 2024-03-28 15:59:36 scan-h40093 hex=003a, string=.:, s=14848, s>=58, S=14848, S>=58
setstate elgris 2024-03-28 15:59:37 scan-h40094 hex=00c3, string=.., s=-15616, s>=195, S=49920, S>=195
setstate elgris 2024-03-28 15:59:38 scan-h40095 hex=010f, string=.., s=3841, s>=271, S=3841, S>=271
setstate elgris 2024-03-28 15:59:39 scan-h40096 hex=ffff, string=.., s=-1, s>=-1, S=65535, S>=65535
setstate elgris 2024-03-28 15:59:40 scan-h40097 hex=ffd3, string=.., s=-11265, s>=-45, S=54271, S>=65491
setstate elgris 2024-03-28 15:59:41 scan-h40098 hex=fff8, string=.., s=-1793, s>=-8, S=63743, S>=65528
setstate elgris 2024-03-28 15:59:42 scan-h40099 hex=fff1, string=.., s=-3585, s>=-15, S=61951, S>=65521
setstate elgris 2024-03-28 15:59:43 scan-h40100 hex=ffeb, string=.., s=-5121, s>=-21, S=60415, S>=65515
setstate elgris 2024-03-28 15:59:44 scan-h40101 hex=ffff, string=.., s=-1, s>=-1, S=65535, S>=65535
setstate elgris 2024-03-28 15:59:45 scan-h40102 hex=0001, string=.., s=256, s>=1, S=256, S>=1
setstate elgris 2024-03-28 15:59:46 scan-h40103 hex=031c, string=.., s=7171, s>=796, S=7171, S>=796
setstate elgris 2024-03-28 15:59:47 scan-h40104 hex=03e0, string=.., s=-8189, s>=992, S=57347, S>=992
setstate elgris 2024-03-28 15:59:48 scan-h40105 hex=fc23, string=.#, s=9212, s>=-989, S=9212, S>=64547
setstate elgris 2024-03-28 15:59:49 scan-h40106 hex=fffd, string=.., s=-513, s>=-3, S=65023, S>=65533
setstate elgris 2024-03-28 15:59:50 scan-h40107 hex=0002, string=.., s=512, s>=2, S=512, S>=2
setstate elgris 2024-03-28 15:59:51 scan-h40108 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:52 scan-h40109 hex=0091, string=.., s=-28416, s>=145, S=37120, S>=145
setstate elgris 2024-03-28 15:59:53 scan-h40110 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:54 scan-h40111 hex=0126, string=.&, s=9729, s>=294, S=9729, S>=294
setstate elgris 2024-03-28 15:59:55 scan-h40112 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:56 scan-h40113 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:57 scan-h40114 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:59:58 scan-h40115 hex=0034, string=.4, s=13312, s>=52, S=13312, S>=52
setstate elgris 2024-03-28 15:59:59 scan-h40116 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:00 scan-h40117 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:02 scan-h40118 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:03 scan-h40119 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:04 scan-h40120 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:05 scan-h40121 hex=01e9, string=.., s=-5887, s>=489, S=59649, S>=489
setstate elgris 2024-03-28 16:00:06 scan-h40122 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:07 scan-h40123 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:08 scan-h40124 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:09 scan-h40125 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:10 scan-h40126 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:11 scan-h40127 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:12 scan-h40128 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:13 scan-h40129 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:14 scan-h40130 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:15 scan-h40131 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:16 scan-h40132 hex=0214, string=.., s=5122, s>=532, S=5122, S>=532
setstate elgris 2024-03-28 16:00:17 scan-h40133 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:18 scan-h40134 hex=0214, string=.., s=5122, s>=532, S=5122, S>=532
setstate elgris 2024-03-28 16:00:19 scan-h40135 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:20 scan-h40136 hex=00ad, string=.., s=-21248, s>=173, S=44288, S>=173
setstate elgris 2024-03-28 16:00:21 scan-h40137 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:22 scan-h40138 hex=0100, string=.., s=1, s>=256, S=1, S>=256
setstate elgris 2024-03-28 16:00:23 scan-h40139 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:24 scan-h40140 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:25 scan-h40141 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:26 scan-h40142 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:27 scan-h40143 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:28 scan-h40144 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:29 scan-h40145 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:30 scan-h40146 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:31 scan-h40147 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:32 scan-h40148 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:33 scan-h40149 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 16:00:34 scan-h40150 hex=0000, string=.., s=0, s>=0, S=0, S>=0
setstate elgris 2024-03-28 15:56:44 state opened


Gruß
300P
FHEM 6.3 - Raspberry Pi 3 / Pi 4 - VControl300 mit VITOVALOR 300P - SMAEM - SMAInverter - DbLog/DbRep - MariaDB/QNAP - div. HTTPMOD - div. Modbus ser+TCP - SolarForecast - Tibber + Ladung mit SMA-SBS25

DocCyber

Zitat von: 300P am 28 März 2024, 16:08:21==>Modbus TCP sollte also mit ELGRIS funktionieren!
Ja, das ist richtig, habe ich auch festgestellt.

Aber ich habe Schwierigkeiten bei der korrekten Darstellung negativer Leistungswerte. (obj-h40087)

attr elgris obj-h40087-poll 1
attr elgris obj-h40087-reading power
attr elgris obj-h40087-revRegs 1  # auch schon mit revRegs 0 probiert
attr elgris obj-h40087-unpack n

Behandle die Menschen so, als wären sie, was sie sein sollten. Dadurch hilfst du ihnen zu werden, was sie sein können. (Goethe)


RPi-3 mit HM-CFG-LAN und jede Menge HM Komponenten.

300P

#1262
Versuche es mal mit:

attr elgris obj-h40087-unpack s

oder

attr elgris obj-h40087-unpack s>

anstatt mit:

attr elgris obj-h40087-unpack n

und dabei ohne bzw. lösche dies:

attr elgris obj-h40087-revRegs



Weitere Infos auch hier:
Hinweise Pearl zu unpack / pack



PS:
Bei mir wird so ein "-" Wert angezeigt



FHEM 6.3 - Raspberry Pi 3 / Pi 4 - VControl300 mit VITOVALOR 300P - SMAEM - SMAInverter - DbLog/DbRep - MariaDB/QNAP - div. HTTPMOD - div. Modbus ser+TCP - SolarForecast - Tibber + Ladung mit SMA-SBS25

DocCyber

Zitat von: 300P am 28 März 2024, 21:03:16attr elgris obj-h40087-unpack s>
Guter Hinweis, danke.

Es funktioniert jetzt bei mir so:
attr elgris obj-h40087-expr -$val
attr elgris obj-h40087-poll 1
attr elgris obj-h40087-reading power
attr elgris obj-h40087-unpack s>
Behandle die Menschen so, als wären sie, was sie sein sollten. Dadurch hilfst du ihnen zu werden, was sie sein können. (Goethe)


RPi-3 mit HM-CFG-LAN und jede Menge HM Komponenten.

RPort

Ich habe mit ModbusAttr TCP eine Wärmepumpe iDM AERO ALM mit Navigator 2.0 Steuerung angebunden. Das funktioniert soweit gut.
Aber..
im Log stehen immer wieder Fehlermeldungen der folgenden Art:

IDM_AERO_ALM: ReadAnswer got no data, read buffer empty,
request: id 1, write fc 16 h82, len 2, value 1bda3e9c, tid 218, master device IDM_AERO_ALM, reading Hausverbrauch (set Hausverbrauch), queued 0.01 secs ago, sent 0.01 secs ago

In diesem Fall wird also die Adresse h82 von FHEM an die Wärmepumpe übermittelt. Der Fehler tritt aber auch bei anderen Adressen auf.
-> Was ist die Ursache? Wo/ wie kann ich das Problem untersuchen? Welche Parameter der ModbusAttr sind relevant?
(ModbusAttr ist Master, Intervall = 60, Version = Modbus 4.5.6 - 7.11.2023, Combine für h und i ist aktuell 2)

RPort

Ergänzung:

Ich habe bei dem Modbus-Device (IDM_AERO_ALM) das Attribut silentReconnect = 1 gesetzt.
Wenn ich das nicht tue, wird das Log mit folgenden Meldungen vollgeschrieben:

2024.04.02 12:01:49 3: xxxxxxxxxxxxxx:502 reappeared (IDM_AERO_ALM)
2024.04.02 12:02:07 3: xxxxxxxxxxxxxx:502 disconnected, waiting to reappear (IDM_AERO_ALM)
2024.04.02 12:02:07 3: xxxxxxxxxxxxxx:502 reappeared (IDM_AERO_ALM)
2024.04.02 12:02:21 3: xxxxxxxxxxxxxx:502 disconnected, waiting to reappear (IDM_AERO_ALM)
2024.04.02 12:02:21 3: xxxxxxxxxxxxxx:502 reappeared (IDM_AERO_ALM)
2024.04.02 12:02:53 3: xxxxxxxxxxxxxx:502 disconnected, waiting to reappear (IDM_AERO_ALM)

StefanStrobel

Hallo RPort,

Deine Wärmepumpe mag es scheinbar nicht wenn ein Modbus-Master die TCP-Verbindung offen hält. Für solche Fälle gibt es das closeAfterResponse-Attribut.

Gruß
    Stefan