I know this, but as i said in my first post, i can,t use the built in speedtest, because i want tzo measure a local connection. Not against a server from the internet.
(I know the speedtest cli and the network-binding speedtest-variant)
I have a local ftp server and now i can download a file with wget - there i get a value - this works already.
But now i have another problem… I´m from germany and the value is given me in this format #,## and not in the english variant #.##
In germany numbers are split with komma , and not with a point .
So when i want to update my number item to save the value in my rrd4j-database, i get the following error:
Cannot convert '5,54' to a state type which item 'SpeedtestWGETResultDown' accepts: [DecimalType, QuantityType, UnDefType].
Any idea how to solve this? I want to save this inside openhab as a number item in this format 5.54 and not in the given 5,54.
No there isn’t. But in your OP you said the FTP server was local, so I made the assumption that you would be using anonymous access. You could setup anonymous access just to a specific folder and file for your speed test.