-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What does the accel: Description: 'Accel. Light 5m' mean? #1
Comments
Regarding (possibly) acceleration, here is how often which byte value occurs in one of my logs:
When I shook the device for a couple of minutes, the value changed from Hm, I’ll try hanging it upside down or laying it flat on a table. |
@marcelm Interesting. Thanks! Some feedback based on this: I have my device mounted to the ceiling in my basement (similar to a smoke detector). The first two bytes have been 00 since I've started reading. Therefore my best guess on the last two bytes is that the brightness is not enough such that it has gone above 100... I will point a light at it to test this and change the orientation to see if the first bytes change. Thanks indeed for posting this - it's been quite valuable! |
Here's a sampling where I took the device from the ceiling and placed it on the floor; lights were turned off in the basement @ 01:28. Oddly, this reads every 20 minutes, so I would have expected the reading to switch immediately then stabilize, but there seems to be a transition over 2-3 readings (00,91,F1,F0). Could it be the accelerometer is the first 4 bits and the light is the last 12 bits?
|
I think you are right that bits 5-8 somehow have a different meaning, but I think it must be related to acceleration: I just moved the device a little bit (rotated it 90°) and then the Accel. Light value changed from 7000 to 7100. Since bit 8 changed (and the light is still off), I’d say that bits 5-8 belong to acceleration. With this in mind, I looked at some measurements I made yesterday again. My best guess (but see below) is that bits 5-8 encode something like the number of times the device was moved over the last hour. This would explain why that part of the value stays constant for an hour and then resets to zero.
Ok, while I wrote this, I noticed that the 7100 went back to 7000 already after something like 20 minutes, so it’s not that simple. Oh, by the way, my device is positioned vertically (it hangs on the wall). |
I noticed that the radon level indicator ring would come on whenever I moved the device, so I tried to see whether that has any influence and indeed, without even touching the device, I can get the values to increase by just “waving”:
The value did not change strictly every time the indicator ring came on, but in most cases. The way this is increasing is a bit weird, possibly each nibble is a separate counter. Also, when it reached FF, the value wouldn’t change anymore even though the indicator ring still lit up. So, possibly not acceleration after all, but then the question of course is why there is the “Accel.” in the name. And why the first byte is more or less stuck at 70 on my device. I’ll probably have to take a break from playing with this, but will update the README as soon as I have time again. |
Any ideas what this field might indicate?
Pulling this down as a decimal and plotting over time seems like it could be a percentage...
Based on the time-of day increase it almost looks like it could be light level?
The text was updated successfully, but these errors were encountered: