Ok fine
Have you simplified the interfacer section in emonhub.conf ? You dont need anymore nReg, rType,rName in the interfacer section…
[[ModbusTCP]]
Type = EmonModbusTcpInterfacer
[[[init_settings]]]
modbus_IP = 10.0.0.9 # ip address of client to retrieve data from
modbus_port = 502 # Portclient listens on
[[[runtimesettings]]]
# List of starting registers for items listed above
register = 40070,40071,40072,40092,40094,40096,40098,40100,40102,40108
# nodeid used to match with node definition in nodes section below. Can be set to any integer value not previously used.
nodeId = 30
# Channel to publish data to should leave as ToEmonCMS
pubchannels = ToEmonCMS,
# time in seconds between checks, This is in addition to emonhub_interfacer.run() sleep time of .01
# use this value to set the frequency of data retrieval from modbus client
interval = 10
by the way, you have to give the registers values +1 when yu declare them in the interfacer section of emonhub.conf, but maybe it is not needed with the Fronius (This I dont know)
what do yu have in the emonhub log ?
please note that if you want to access to different slave id, you have to declare this in the interfacer section…if your device id is 1, it is OK yu dont have to do anything but if your device id is different, you have to specifiy it…for example :
nUnit = 1,1,1,1,1,1,1,1,1,2
in this version if yu want to access to id 2 with ten registers your have to do
nUnit = 2,2,2,2,2,2,2,2,2,2
Alex