Today I wrote an image on a 16 GB card.
I downloaded āhttp://storage.ruuvi.com/ruuviberry_latest.zipā,
unpacked it as balenaEtcher couldnāt unpack it.
After I followed the instructions at image startup, as well as running sudo apt update
and sudo apt upgrade, it has been running on my P4 model B since at. 11.30.
After unpacking, the image is called āruuviberry_2019_08_27_minimal.imgā.
This version of ruuviberry has issues with the Raspberry Pi 4.
Issue #1: The latest OS does not recognize the wifi antenna of the Pi 4.
Issue #2: Bluetooth is not properly configured on the Pi 4.
Issue #3: Grafana, InfluxDB, etc. doesnāt properly work on the Pi 4 resulting in no data readout.
Updated, a minor problem is that the hotspot will be āRuuviCollector 1.1ā instead of āRuuviCollector abcdā due to some changes in Rasbian which isnāt accounted for in RaspiWiFi.
Iām actually talking about the wireless antenna. This version of Raspbian has issues with the wireless. Some components may be missing or improperly configured IMHO
Happy to share that I successfully deployed on a Pi4 using Ubuntu Mate 20.04 and the instructions in Otsoās blog post, even though Ubuntu Mate is far more than is needed and a tad slow on a Pi4 with 4 GB.
I also got most everything to run under Ubuntu Mate 18.04 on a 3B+. Ubuntu Mate 20.04 seemed to brick it on the first re-start (when itās trying to expand the filesystem I guess), hence the switch to 18.04. But there must be something wrong with the bluetooth antenna on my 3B+ because I could get no data, even with hcidump --raw. Further confusing is that when I used the minimal ālatestā ruuviberry image I was able to get data via hcidump --raw, but that data was accessible neither through influx locally (issuing the command resulted in no response but also no return to command line) nor via the hotspot and Grafana (Grafana reported being connected to the InfluxDB server and listed the mac addresses of my tags, but no data showed in the graphs).
Any insights into the oddities of my attempts with the 3B+ would be welcome.
PS I ordered a Pi4 8 GB and will run Ubuntu Mate 20.04 there as well and just see how many bluetooth sensors I can log data from, either by extending ruuviCollector or by using ttuās python implementation, before the Pi4 slows to a crawl.
Update: I tried to run Ubuntu 20.04 Mate on the Pi4 8GB, but there is an issue with the boot, at least for the out of the box 8GB Pi4. Others have apparently also discovered this and there may be a fix by updating the EEPROM firmware, but I havenāt tried it yet. I would love to hear about anyone elseās experience here?
Anyway I got things up and running using Raspberry Pi OS (32-bit) with desktop, entirely headless from the start. The only additional install was Maven, then I ran mvn clean package in the RuuviCollector repo folder, and then I ran ruuvicollector from the resultant target directory. Also note I used the latest install for Influx (1.8.2) but the 6.3.3 install for Grafana. I am getting data and am generally able to run everything, howeverā¦
There is pretty severe latency, even for keyclicks at the prompt via ssh. I havenāt yet stopped the influxd and grafana services to see if it is related to them, but I do know the latency remains when ruuvicollector is not running. So itās not ruuvicollector itself.
Ruuvi Gateway fills the need for data collection, so weāre not planning to maintain the RuuviBerry image in the future. Itās pretty straightforward to set up manually.