where zasobnik_temp and dinig_room_ambient works ok, but for SpeedResultDown there is no info in log about storing values in rrdj4 database nad therefore there is no graph in chart.
I am persisting the introduced items to influxdb and am drawing grafana graphs from them. These are then displayed under statistics. I decided to not make that part of this tutorial as it is not really related. For more details check (speedtest can be seen in the middle of the first posting):
It has all worked … and now suddenly no more … what am I supposed to do? Please Help.
pi@raspberrypi:~ $ speedtest-cli --simple
Traceback (most recent call last):
File “/usr/local/bin/speedtest-cli”, line 9, in
load_entry_point(‘speedtest-cli==1.0.0’, ‘console_scripts’, ‘speedtest-cli’)()
File “build/bdist.linux-armv7l/egg/speedtest.py”, line 1400, in main
File “build/bdist.linux-armv7l/egg/speedtest.py”, line 1376, in shell
File “build/bdist.linux-armv7l/egg/speedtest.py”, line 1086, in upload
File “build/bdist.linux-armv7l/egg/speedtest.py”, line 497, in _create_data
MemoryError
This worked great on my OH 1.9 installation. Thanks a lot.
I’ve switched to OH2 and now I’m struggeling a bit in using this without “compatibility mode”, i.e. implementing this in native OH2 terms. Mainly the integration of thing (exec binding) and rule. Could you provide an example (or even an updated version of the files )?
OK, have figured out by myself I think No “Thing” and “channel” required as the rule itself updates the items directly. At least it gets reasonable results which are close to the ones started from command line.
I just set this up at home. Things seem to working as I’m getting what looks like accurate speed tests, but seeing a strange error in my log when I run it of:
And can anyone tell me what “Statistics” on the sitemap should be doing or showing?. I just show the three dots, … Should that be going to graph or other?
The warnings you are seeing are yield by io.openhabcloud.internal.CloudClient, which is probably related to your myopenhab setup.
The three dots under statistics are just a placeholder for whatever statistics you want to generate out of your measurements over time (see persistence). My recommendation would be Grafana graphs, see InfluxDB+Grafana persistence and graphing
Great scripts, just a quick comment for future improvements: Lots of people use a switch item called Presence_anyone or similiar that indicates if someone is home or not, Its been discussed here to run it hourly or twice per day, So one idea is that we run it hourly(cron rule) but only if nobody is home(Presence_anybody.state ==FALSE)
rule "Speedtest"
when
(Time cron "0 0 * * * ?" and Presence_anybody.state ==FALSE) or
Item SpeedtestRerun received command ON
then
Can you edit you orginal post to include this as an option with the link provided on how to do so in your tutorial.(Its superb btw, took less then 5 minutes to install, if you take away the fact that i had to install 7z to unzip rar)