Announcement

Collapse
No announcement yet.

Plugin worked well for hours then stopped and hasn't worked since

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Plugin worked well for hours then stopped and hasn't worked since


    I'm having some trouble with Modbusseer 1.0.0.2 on HS 4.2. I installed the plugin, added the sensors and everything worked for about 4 hours then stopped receiving data from the registers in the sensor. I used Modbus Poll and can see the data in the registers but nothing comes through Modbusseer. Tried uninstalling and reinstalling with no difference

    These are the settings for the sensor.

    Modbus Gateway hostname or IP address: 192.168.1.150
    TCP port: 502
    Poll interval: 0:00:10
    Disable Big-Endian Values: No
    Zero-based Addressing: No
    Read/Write Retries: 2
    Read/Write Timeout (ms)): 2000
    Delay between each address poll (ms): 5000
    Write Multiple Registers

    Gateway: Co2-T-H
    Register Type: Holding Register (RW)
    Slave ID: 1
    Register Addresses 205 / 207 / 211
    Return Type: Int16
    Signed Value: No
    Multiplier: 0.1
    Read Only Device: Yes
    Device Enabled: Yes

    Log entries
    3/05/2022 15:14:33
    modbusSeer
    Error
    Catched while updating! E: EasyModbus.Exceptions.ConnectionException: connection timed out at EasyModbus.ModbusClient.Connect() at HSPI_modbusSeer.devices.pluginDevices.updateDevices()

    3/05/2022 15:14:02
    modbusSeer
    Debug
    Catched at readHoldingRegister: System.InvalidOperationException: Nullable object must have a value. at System.ThrowHelper.ThrowInvalidOperationException(ExceptionR esource resource) at HSPI_modbusSeer.serial.modbus.readHoldingRegister(ModbusClie nt client, addDevicesPageResponse slave)

    3/05/2022 15:12:31
    modbusSeer
    Error
    Catched while updating! E: EasyModbus.Exceptions.ConnectionException: connection timed out at EasyModbus.ModbusClient.Connect() at HSPI_modbusSeer.devices.pluginDevices.updateDevices()
    Plugin Restart Messages

    3/05/2022 15:32:01
    modbusSeer
    Error
    Catched while updating! E: EasyModbus.Exceptions.ConnectionException: connection timed out at EasyModbus.ModbusClient.Connect() at HSPI_modbusSeer.devices.pluginDevices.updateDevices()

    3/05/2022 15:32:00
    HomeSeer
    Starting Plug-In
    Plugin modbusSeer started successfully in 282 milliseconds

    3/05/2022 15:32:00
    HomeSeer
    Starting Plug-In
    Initializing plugin modbusSeer ...

    3/05/2022 15:32:00
    HomeSeer
    Info
    Plugin modbusSeer with instance modbusSeer has connected. IP:127.0.0.1:34096

    3/05/2022 15:32:00
    HomeSeer
    Plug-In
    Finished initializing plug-in modbusSeer


    #2
    Originally posted by mikeycoll View Post
    I'm having some trouble with Modbusseer 1.0.0.2 on HS 4.2. I installed the plugin, added the sensors and everything worked for about 4 hours then stopped receiving data from the registers in the sensor. I used Modbus Poll and can see the data in the registers but nothing comes through Modbusseer. Tried uninstalling and reinstalling with no difference

    These are the settings for the sensor.

    Modbus Gateway hostname or IP address: 192.168.1.150
    TCP port: 502
    Poll interval: 0:00:10
    Disable Big-Endian Values: No
    Zero-based Addressing: No
    Read/Write Retries: 2
    Read/Write Timeout (ms)): 2000
    Delay between each address poll (ms): 5000
    Write Multiple Registers

    Gateway: Co2-T-H
    Register Type: Holding Register (RW)
    Slave ID: 1
    Register Addresses 205 / 207 / 211
    Return Type: Int16
    Signed Value: No
    Multiplier: 0.1
    Read Only Device: Yes
    Device Enabled: Yes

    Log entries
    3/05/2022 15:14:33
    modbusSeer
    Error
    Catched while updating! E: EasyModbus.Exceptions.ConnectionException: connection timed out at EasyModbus.ModbusClient.Connect() at HSPI_modbusSeer.devices.pluginDevices.updateDevices()

    3/05/2022 15:14:02
    modbusSeer
    Debug
    Catched at readHoldingRegister: System.InvalidOperationException: Nullable object must have a value. at System.ThrowHelper.ThrowInvalidOperationException(ExceptionR esource resource) at HSPI_modbusSeer.serial.modbus.readHoldingRegister(ModbusClie nt client, addDevicesPageResponse slave)

    3/05/2022 15:12:31
    modbusSeer
    Error
    Catched while updating! E: EasyModbus.Exceptions.ConnectionException: connection timed out at EasyModbus.ModbusClient.Connect() at HSPI_modbusSeer.devices.pluginDevices.updateDevices()
    Plugin Restart Messages

    3/05/2022 15:32:01
    modbusSeer
    Error
    Catched while updating! E: EasyModbus.Exceptions.ConnectionException: connection timed out at EasyModbus.ModbusClient.Connect() at HSPI_modbusSeer.devices.pluginDevices.updateDevices()

    3/05/2022 15:32:00
    HomeSeer
    Starting Plug-In
    Plugin modbusSeer started successfully in 282 milliseconds

    3/05/2022 15:32:00
    HomeSeer
    Starting Plug-In
    Initializing plugin modbusSeer ...

    3/05/2022 15:32:00
    HomeSeer
    Info
    Plugin modbusSeer with instance modbusSeer has connected. IP:127.0.0.1:34096

    3/05/2022 15:32:00
    HomeSeer
    Plug-In
    Finished initializing plug-in modbusSeer
    Hi,

    Seems like it is not able to connect to the adapter for some reason. I have this sometimes on my adapter as well. Then i restart the adapter and it works. Let me know if this resolves the issue for you as well.

    Comment


      #3
      Have you made any progress on getting your install to work again. I am still down.

      Comment


        #4
        I'm going to try again with a better sensor, I'll let you know.

        Comment

        Working...
        X