Network bindings issue or wrong documentation?

Hi,
I’ve this .things:

Thing network:pingdevice:ping_vid[ hostname="192.168.123.1", retry="3", timeout="1000", refreshInterval="4000", use_system_ping="false", dhcplisten="false" ]

but the refresh value is ignored.

Also the log show this:

2018-03-15 14:54:25.180 [WARN ] [.smarthome.config.core.Configuration] - Could not set field value for field 'retry': Can not set java.math.BigDecimal field org.openhab.binding.network.internal.NetworkHandlerConfiguration.retry to java.lang.String
2018-03-15 14:54:25.195 [WARN ] [.smarthome.config.core.Configuration] - Could not set field value for field 'refreshInterval': Can not set java.math.BigDecimal field org.openhab.binding.network.internal.NetworkHandlerConfiguration.refreshInterval to java.lang.String
2018-03-15 14:54:25.202 [WARN ] [.smarthome.config.core.Configuration] - Could not set field value for field 'timeout': Can not set java.math.BigDecimal field org.openhab.binding.network.internal.NetworkHandlerConfiguration.timeout to java.lang.String

The doc https://docs.openhab.org/addons/bindings/network/readme.html#thing-configuration show:

network:pingdevice:one_device [ hostname="192.168.0.64" ]
network:pingdevice:second_device [ hostname="192.168.0.65", retry=1, timeout=5000, refreshInterval=60000 ]
network:servicedevice:important_server [ hostname="192.168.0.62", port=1234 ]

Where is the problem?

Regards

Solved!

[ hostname="192.168.5.3", retry=3, timeout=1000, refreshInterval=4000,  ....

without the "

:wink:

1 Like