Comments (2)
It is likely that this occurs during periods when the data collector cannot reach the BMON Internet site and the readings are queued up locally. When the readings do get posted in bulk, the calculated readings only go back a certain amount of time. So, if Internet outage was longer than this, the calculated readings will not fill in the gap.
I determined this by looking at the Burt158_firing_rate data and the Bur158_boiler_gas data. See the IPython notebook C:\Users\Alan\Dropbox\AHFC\BMS-3\data_analysis\calc_field_problems.ipynb
. I noticed that during periods when the calculated field was missing, the firing_rate field was not evenly spaced in time, indicating that a reboot was occurring periodically. The reboot was occurring because it couldn't reach the Internet. This was clearly verified by looking at the cron_15m log file: http://www.analysisnorth.com/marie/files/Burt158_2014-11-12-0646_pi_cron.log
One solution to this is to have the calculated field process go back further in time so that is likely to fill a large gap of missed readings. Fix that in this file:
https://github.com/alanmitchell/bmon/blob/master/bmsapp/scripts/calc_readings.py
by changing the 3rd parameter to the calcreadings.CalculateReadings() call.
from bmon.
This also indicates that Burt158, at a minimum, is experiencing long periods without Internet connectivity. The cron_15m log files shows the Pi trying to restart the cellular network and then rebooting the computer about once per hour, to no avail for a number of days. Should try to figure out whether this signal strength or some other issue. And, reboots do not seem to solve the issue.
from bmon.
Related Issues (20)
- Automatically Backup up the Django Database every 1-3 days.
- If a Sensor Reading arrives with the same Primary Key as an existing reading, Update the existing reading.
- Provide Mirror of the Repo on GitHub.com when Main Repo moves to AHFC
- Add On/Off Dashboard LED Widget
- Restructure BMON Training/Project Reports Page
- Add Documentation of Particle Sensor Reading Posts to Wiki.
- Add Tools Directory and a Script for Adding Campbell Scientific data to BMON.
- Lengthen Sensor ID field to Accommodate Sensaphone Fields. HOT 1
- Miscellaneous Future Features
- Add Heatmap Graph with Day-of-Week and Hour Axes
- On the Time Series Graph, allow display of Prior Days, Weeks, or Years
- Custom Report Feature
- The table holding the Last Raw Reading has a Sensor ID field of too short a length HOT 1
- Add Documentation about Rerunning Requriements.txt when Upgrading
- The Plot.ly library is actually open source, MIT-licensed HOT 1
- For the multi-reading posting protocol, allow for a None timestamp, meaning use the current time. HOT 1
- Have Min and Max Values for Sensors to reject Bad Readings.
- Custom Report Titles (nice to have)
- sunny_portal.py errors
- Calculated Fields - Not calculating values and creating new sensor and nothing in error log HOT 1
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 bmon.