gjr80 / weewx-realtime_json Goto Github PK
View Code? Open in Web Editor NEWA weeWX service to generate and distribute loop packet based, user defined JSON data.
License: GNU General Public License v3.0
A weeWX service to generate and distribute loop packet based, user defined JSON data.
License: GNU General Public License v3.0
Can't seem to install. The installer makes reference to a file which isn't around. Also I had to add a comma before the 'DecimalPlaces' part of the config.
Noticed this in the log on first startup of the day (less than 1 complete days data, no data for current day):
Jun 19 07:40:28 jessie16 weewx[460]: engine: Initializing weewx version 3.7.1
Jun 19 07:40:28 jessie16 weewx[460]: engine: Using Python 2.7.9 (default, Jun 29 2016, 13:08:31) #012[GCC 4.9.2]
Jun 19 07:40:29 jessie16 weewx[460]: engine: Platform Linux-3.16.0-4-amd64-x86_64-with-debian-8.8
Jun 19 07:40:29 jessie16 weewx[460]: engine: Locale is 'en_AU.UTF-8'
Jun 19 07:40:29 jessie16 weewx[460]: engine: pid file is /var/run/weewx.pid
Jun 19 07:40:29 jessie16 weewx[493]: engine: Using configuration file /home/weewx/weewx.conf
Jun 19 07:40:29 jessie16 weewx[493]: engine: Loading station type Simulator (weewx.drivers.simulator)
Jun 19 07:40:29 jessie16 weewx[431]: Starting weewx weather system: weewx.
Jun 19 07:40:29 jessie16 weewx[493]: engine: StdConvert target unit is 0x1
Jun 19 07:40:29 jessie16 weewx[493]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
Jun 19 07:40:29 jessie16 weewx[493]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Jun 19 07:40:29 jessie16 weewx[493]: engine: Archive will use data binding wx_binding
Jun 19 07:40:29 jessie16 weewx[493]: engine: Record generation will be attempted in 'hardware'
Jun 19 07:40:29 jessie16 weewx[493]: engine: Using archive interval of 300 seconds (specified in weewx configuration)
Jun 19 07:40:29 jessie16 weewx[493]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Jun 19 07:40:29 jessie16 weewx[493]: manager: Starting backfill of daily summaries
Jun 19 07:40:29 jessie16 weewx[493]: restx: StationRegistry: Registration not requested.
Jun 19 07:40:29 jessie16 weewx[493]: restx: Wunderground: Posting not enabled.
Jun 19 07:40:29 jessie16 weewx[493]: restx: PWSweather: Posting not enabled.
Jun 19 07:40:29 jessie16 weewx[493]: restx: CWOP: Posting not enabled.
Jun 19 07:40:29 jessie16 weewx[493]: restx: WOW: Posting not enabled.
Jun 19 07:40:29 jessie16 weewx[493]: restx: AWEKAS: Posting not enabled.
Jun 19 07:40:30 jessie16 weewx[493]: engine: RealtimeData post interval is None
Jun 19 07:40:30 jessie16 weewx[493]: engine: Starting up weewx version 3.7.1
Jun 19 07:40:30 jessie16 weewx[493]: engine: Clock error is -1.06 seconds (positive is fast)
Jun 19 07:40:30 jessie16 weewx[493]: engine: Starting main packet loop.
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: **** Traceback (most recent call last):
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: **** File "/home/weewx/bin/user/rtd.py", line 727, in process_packet
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: **** data = self.calculate(cached_packet)
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: **** File "/home/weewx/bin/user/rtd.py", line 1130, in calculate
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: **** wind['windSpeed']['today']['avg'] = self.format(self.buffer['wind'].day_vec_avg, self.wind_dp)
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: **** File "/home/weewx/bin/user/rtd.py", line 1366, in day_vec_avg
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: **** return math.sqrt((self.day_xsum**2 + self.day_ysum**2) / self.sumtime**2)
Jun 19 07:40:31 jessie16 weewx[493]: rtdthread: **** ZeroDivisionError: float division by zero
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.