jinjirosan / babycarriagemonitor Goto Github PK
View Code? Open in Web Editor NEWSensors on the baby carriage
License: GNU General Public License v3.0
Sensors on the baby carriage
License: GNU General Public License v3.0
use "import vegasconfig.py" and secrets file containing the api keys.
In main file use vegasconfig.apikey etc
increase interval on gps coords reporting when stationary
UnicodeEncodeError: 'ascii' codec can't encode character u'\xeb' in position 16: ordinal not in range(128)
probably from GeoPy locations
Multiple times GeoPy errors (e.g. no address/location) resulted in total stop of dataflow. So fix exception handling to only affect the GeoPy data.
Error data
Aug 27 14:17:53 stokkezero python[1119]: location=geolocator.reverse(coordinates,timeout=10) ## reverse geocode coordinates
Aug 27 14:17:53 stokkezero python[1119]: File "/usr/local/lib/python2.7/dist-packages/geopy/geocoders/osm.py", line 248, in reverse
Aug 27 14:17:53 stokkezero python[1119]: self._call_geocoder(url, timeout=timeout), exactly_one
Aug 27 14:17:53 stokkezero python[1119]: File "/usr/local/lib/python2.7/dist-packages/geopy/geocoders/base.py", line 171, in ...eocoder
Aug 27 14:17:53 stokkezero python[1119]: raise GeocoderServiceError(message)
Aug 27 14:17:53 stokkezero python[1119]: geopy.exc.GeocoderServiceError: <urlopen error [Errno 97] Address family not support...otocol>
using delta of previous and next values. (e.g. one measurement is 200% above its neighbours)
def sensors
Need to know if it is running correctly.
Probably best if someone more experienced looks this over :-D
enable dweet.io functionality in code. Create generic reusable format for all sensors/notifications
remove the visual terminal output on production release (when everything works ofc)
resolve fails, initialstate ship errors occur.
When te geolocator receives no coords from gpsd, it crashes the whole thing.
e.g. dark-bright and/or lumen
ensure realtime notification and "last high" logging incl timestamp and gps location in alert message
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.