Java Runtime Environment: which java platform is used and what version Zulu Embedded 8.25.0.76; openjdk version “1.8.0_152”
openHAB version: openHAB 2.3.0-1
Issue of the topic:
Hello,
Please let me know if it is a minimum requirement regarding the internet speed (bandwidth) or hardware in order to have a flawless experience with the openhab Android application. For the moment I think my internet connection (via wireless connection) is poor (Downlink 0.61 MBit/s/ Uplink 3.44 MBit/s) but I want a confirmation. Also, I’m not sure if the HW impacts performance.
I’m using RPI Zero to:
- read 3 DS18B20 temperatures sensors (via 1Wire protocol)
- store the temp. in influxDB
- use Grafana in order to have a graphic representation of the temperatures
evolution
- process temperature values via rules
- control Central Heating System via Relay (use GPIO Binding)
I don’t think that there is an “official” min requirement posted anywhere…
The Android app is using http to connect to the OH2 server so it’s very light weight.
I think that you shouldn’t have problems with your internet bandwidth.
well… with only 512MB of RAM on the rPi Zero and with OH2 + Grafana + InfluxDB (plus other stuff), your system is definitely struggling. Most likely, it is swapping on the MicroSD Card (something very bad). What do the commands swapon -s & free show?
Thank you for your answer. Please have a look below for the display of swapon command:
[10:47:10] openhabian@openHABianPi:~$ swapon -s & free
[1] 5043
Filename Type Size Used Priority
/var/swap file 102396 64800 -2
total used free shared buff/cache available
Mem: 492588 266488 136924 5116 89176 172636
Swap: 102396 64800 37596
Please let me know if the values are fine and if I have any optimization options (kill some process, remove some services …)
Thank you in advance,
Marian
make it easier please: How to use code fences
edit your post above and place the content within fences (```)
You are swaping alot
I don’t think that you can do much with the rPi0… it has only 512MB of RAM
Get a new rPi (3b+ is very good)… but even then… if you want to run OH2+InfluxDB+Grafana+other stuff: I would recommend something even bigger like a NUC.