Comments (5)
What hardware & OS are you using? And when this happens, can you see a hcitool and a hcidump process running in addition to the collector process?
from ruuvicollector.
Iām running Raspbian 9.11 on Raspberry Pi 3. The situation is not easy to catch as it happens only once a week or so. But I'll add a process logger to investigate the situation.
from ruuvicollector.
Finally catched this one. Here's output from my ruuvi restart script:
[Wed Jan 1 01:55:18 2020] Bluetooth: hci0: hardware error 0x19
ps -fu ruuvi:
UID PID PPID C STIME TTY TIME CMD
ruuvi 29200 1 0 2019 ? 03:10:46 /usr/bin/java -jar ruuvi-collector-0.2.jar
ruuvi 29218 29200 0 2019 ? 00:00:00 hcitool lescan --duplicates --passive
ruuvi 29220 29200 0 2019 ? 00:35:17 hcidump --raw
HW error, restarting ruuvi.service at Wed Jan 1 01:56:01 EET 2020
from ruuvicollector.
Hmm, so it seems neither hcitool nor hcidump crashes/exits when this happens, which makes it hard to reliably detect this error from within the collector as I don't want to add dependencies to dmesg as normal users can't access it on a properly secured system.. either way that'd be a workaround for a problem somewhere else; the real solution would be figuring out why the bluetooth gets those hardware errors. One possible cause for that is a bad power supply that doesn't supply stable enough voltage, as there's almost no voltage regulation on the RPi itself
from ruuvicollector.
Hmm, ok. I could switch to official RP power source and see if this still happens.
from ruuvicollector.
Related Issues (20)
- Feature: INVALID values should be stored as null HOT 2
- Feature request/idea: Offset values to collected measurements HOT 1
- How to enable changes in ruuvi-names.properties correctly? HOT 1
- raw packet storing HOT 4
- BUG: No data received anymore from Ruuvitags after apt-get update/upgrade HOT 1
- Calibration of Temp and Humidity in Ruuvi Collector? HOT 4
- BUG:named-filter does not recognise ruuvi-names.properties HOT 1
- Feature request/idea: TagSocket support HOT 1
- BUG: java.net.UnknownHostException: <domain> HOT 7
- Feature request/idea: Insert to two influxUrl's HOT 3
- Feature request/idea: put receiver MAC or other unique identifier as tag
- Feature request/idea: temperatureOffset.MAC=nn HOT 5
- Feature request/idea: InfluxDB2 support HOT 3
- I am beginner programmer, but wanting to contribute HOT 3
- Exit uncleanly when database connection is lost HOT 6
- BLE scanning service HOT 1
- Humidity Conversion Formula -broken link -fix provided
- Feature request/idea: replace deprecated hcitool/hcidump
- BUG: Capabilties are not enough after raspberry pi os 12/2022 updates HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruuvicollector.