Hello,
I'm trying to hookup a Modbus slave, that is Modbus TCP 2.0 compatible.
It isn't possible to set the modbus adress on the device, and according to the manufacturer it isn't needed.
Here is a example code for "home assistant" from the manufacturer;
How do I handle this type of configuration with LM2/HomeLynk? I can't leave the modbus adress blank when creating a device.
I'm running version: Version: 20170620
EDIT: As for now I have set the adress to "0" and worte a simple JSON for 1 register.
But the LM isn't returning values for me.
The devices are on the same LAN, I can ping the slave from the LM.
EDIT 2: I also have a ModBus RTU device over RS485.. Just checking, is it possible to run both RTU and TCP in the same time?
I'm trying to hookup a Modbus slave, that is Modbus TCP 2.0 compatible.
It isn't possible to set the modbus adress on the device, and according to the manufacturer it isn't needed.
Here is a example code for "home assistant" from the manufacturer;
Quote:modbus:
name: H60
type: tcp
host: 194.4.4.151
port: 502
How do I handle this type of configuration with LM2/HomeLynk? I can't leave the modbus adress blank when creating a device.
I'm running version: Version: 20170620
EDIT: As for now I have set the adress to "0" and worte a simple JSON for 1 register.
But the LM isn't returning values for me.
The devices are on the same LAN, I can ping the slave from the LM.
Quote:"manufacturer": "Mani Cheraghi",
"description": "IVT greenline HT+ C9 - REGO637E",
"timeout": 5,
"mapping": [
{ "name": "Radiator return GT1", "bus_datatype": "float16", "type": "inputregister", "address": 1, "value_multiplier": 0.1, "units": "C" }
]
}
EDIT 2: I also have a ModBus RTU device over RS485.. Just checking, is it possible to run both RTU and TCP in the same time?