https://github.com/heppu/com.aware.plugin.lux_meter
Lux meter plugin for aware
https://github.com/heppu/com.aware.plugin.lux_meter
Last synced: about 1 year ago
JSON representation
Lux meter plugin for aware
- Host: GitHub
- URL: https://github.com/heppu/com.aware.plugin.lux_meter
- Owner: heppu
- Created: 2014-09-02T22:34:54.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-01-27T01:01:20.000Z (over 11 years ago)
- Last Synced: 2025-02-23T10:43:02.583Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 61.8 MB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Lux Meter
=========
Lux meter is plugin for [AWARE](http://www.awareframework.com/) whitch can be also found in Github [aware-client](https://github.com/denzilferreira/aware-client).
With this plugin you can measure amount of light with real time graph. You can also do long time light data recording with great battery efficiency.
Settings:
---------
- **status_plugin_lux_meter:** Activate / Deactivate plugin
- **frequency_plugin_lux_meter:** How frequently to check light conditions
- **samples_plugin_lux_meter:** How many samples to take once in frequency
- **threshold_plugin_lux_meter:** Average level that is beneficial
- **mode_plugin_lux_meter:** Real time or normal mode
Broadcasts
----------
- **ACTION_AWARE_PLUGIN_LUX_METER:** Broadcasted after every new average calculation
- **avg_lux:** average lux value after previous broadcast
- **over_threshold:** is the average over threshold
Providers
----------
**URI:** content://com.aware.plugin.lux_meter.provider.lux_meter/plugin_lux_meter
| Table field | Field type | Description |
| ---------------- |:----------:| -----------------------------:|
| _id | INTEGER | primary key autoincrement |
| timestamp | REAL | unix timestamp |
| device_id | TEXT | AWARE device id |
| double_frequency | REAL | time between avg calculations |
| over_threshold | INTEGER | 0=under 1=over |
| lux_avg | INTEGER | average lux value |
| light_threshold | INTEGER | threshold that was used |