tkeffer / weert-js Goto Github PK
View Code? Open in Web Editor NEWRealtime logging and web updates using Node, Express, InfluxDB, and React
License: GNU Lesser General Public License v3.0
Realtime logging and web updates using Node, Express, InfluxDB, and React
License: GNU Lesser General Public License v3.0
Similar to how WindCompass
does it
Hi Tom,
Just wanted to make a note that commits made from Sept 29 2022 onwards and inclusive are failing to compile either due to module dependencies or code issues. "ff5555a25b1495b0db4f53f576c11f219f15931b" is sha for the last commit that works. If you can't reproduce this, I will redo all the stuff I did before getting to this point and add it here, let me know. Thanks.
Need a timer that at the end of a time spans ('day', 'week', etc.) emits an event, advancing the chart.
Allows loading historical data
Because the contents of wxrecords
are generated from a continuous query, their timestamps mark the beginning of the time interval. So, any queries to it must be shifted accordingly.
Will make it easier to proxy the server
Recharts seems to be dead.
Two lead candidates:
react-timeseries-charts
react-vis (from Uber)
Partial packets create a lot of null values, which prevents the plots from getting plotted.
They also mean the most recent "current" packet will show a lot of N/A values.
Perhaps create a new reducer method, which on every NEW_PACKET
action, scans the internal data structures, constructing a full packet, then emitting it as a new action, call it NEW_FULL_PACKET
. React components would then subscribe to this (instead of NEW_PACKET
).
Need a new field in wxrecords
that records the max wind speed in the record. Call it windgust_speed
.
Should also record the gust direction in field windgust_direction
.
Not enough accuracy for week, month, and year tooltip labels.
Useful for plotting temperature and dewpoint together
In particular, it does not for the WindCompass
I got everything installed and built fine, but when WeeWX tries to send a packet, I get these log messages from WeeWX:
Jul 26 10:41:06 weewx weewx[14766]: restx: WeeRT: Unexpected exception of type <type 'exceptions.AttributeError'>
Jul 26 10:41:06 weewx weewx[14766]: *** Traceback (most recent call last):
Jul 26 10:41:06 weewx weewx[14766]: *** File "/usr/share/weewx/weewx/restx.py", line 350, in run_loop
Jul 26 10:41:06 weewx weewx[14766]: *** self.process_record(_record, dbmanager)
Jul 26 10:41:06 weewx weewx[14766]: *** File "/usr/share/weewx/weewx/restx.py", line 393, in process_record
Jul 26 10:41:06 weewx weewx[14766]: *** _full_record = self.get_record(record, dbmanager)
Jul 26 10:41:06 weewx weewx[14766]: *** File "/usr/share/weewx/weewx/restx.py", line 263, in get_record
Jul 26 10:41:06 weewx weewx[14766]: *** _result = dbmanager.getSql(
Jul 26 10:41:06 weewx weewx[14766]: *** AttributeError: 'NoneType' object has no attribute 'getSql'
Jul 26 10:41:06 weewx weewx[14766]: restx: WeeRT: Thread exiting. Reason: 'NoneType' object has no attribute 'getSql'
Jul 26 10:41:16 weewx weewx[14766]: interceptor: MainThread: empty queue
Jul 26 10:41:36 weewx weewx[14766]: message repeated 2 times: [ interceptor: MainThread: empty queue]
With domain [32.7653846153847, 42.21986754966882]
, recharts is picking tick values of
[
32.00000000000001,
36.000000000000014,
40.000000000000014,
44.000000000000014,
48.00000000000002,
]
These then create very long tick labels, which get clipped on the left side. Either
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.