Bart Van Der Meerssche
12c70c0120
drupal: disable caching for the fluksonians block
2010-07-21 12:56:44 +00:00
Bart Van Der Meerssche
dfa266e3d3
drupal: create a water chart based on default data in case the user does not have a water sensor
2010-07-20 23:27:15 +00:00
Bart Van Der Meerssche
afed061a2b
drupal: allow unit switching between l/min, l/day and m3/year
2010-07-16 15:22:41 +00:00
Bart Van Der Meerssche
daa6e79310
drupal: add gui support for water measurements
2010-07-14 08:24:08 +00:00
Bart Van Der Meerssche
a5632ecb76
avr: initial commit of v2 avr firmware test code
2010-07-07 17:32:02 +02:00
Bart Van Der Meerssche
fcf5ed7d0e
remove the uc directory
2010-07-07 16:45:15 +02:00
Bart Van Der Meerssche
3a28838b29
change repository layout
2010-07-07 16:37:03 +02:00
Bart Van Der Meerssche
7d906488c5
uc: With love from Fraunhofer ITWM. Increase level-shifter pull-ups to 100k, change from /COLD to COLD and put a 1k resistor in series to prevent ringing.
2010-07-07 12:57:44 +02:00
Bart Van Der Meerssche
50e5593d44
uc: add Eagle cam/dru/lbr files and move all sensor boards to prj dir
2010-07-04 15:34:33 +02:00
Bart Van Der Meerssche
af823c304f
uc: connect level-shifter pull-ups to the 5V rail
2010-07-04 13:18:42 +02:00
Bart Van Der Meerssche
1ed61879b6
uc: add a GND via close to the RS-485 chip
2010-07-01 20:37:20 +02:00
Bart Van Der Meerssche
6991c3cbe0
uc: checking in v2.0 of the sensor board schematic and layout
2010-07-01 17:14:59 +02:00
Bart Van Der Meerssche
411d8eb6c0
web: pass resolution parameter to rrd graph
2010-05-22 16:52:02 +02:00
Bart Van Der Meerssche
a14c1775b1
api: allow a start time (&start=...), end time (&end=...) and
...
resolution(&resolution=...) to be specified
Either an interval or start parameter is required, while the end
parameter is optional when start is specified. Start and end should both
be specified in unix time format. Resolution is in seconds and should be
one of [60 | 900 | 86400 | 604800] meaning [minute | 15min | day | week]
resolution respectively.
The [time, power] pairs returned by the api will be aligned to multiples
of the specified resolution, or maximum resolution available for the
requested time interval.
2010-05-22 13:21:31 +02:00
Bart Van Der Meerssche
1c72a072ff
openwrt: disable debugging and enable the json/rest pwr api by default
2010-05-22 11:24:24 +02:00
Bart Van Der Meerssche
af4edb53e6
openwrt: use a string buffer for json_encode
2010-05-22 11:01:15 +02:00
Bart Van Der Meerssche
fdd5363cf7
api: allow a start/end unix time to be specified instead of an interval
2010-05-21 16:25:01 +02:00
Bart Van Der Meerssche
c69f4d65c8
api: include checking of version information in header or query string
2010-04-28 00:08:41 +02:00
Bart Van Der Meerssche
54c151c4a5
api: rename check_factor into check_unit
2010-04-27 23:47:01 +02:00
Bart Van Der Meerssche
a1d81946f3
api: rename input validation functions
2010-04-27 23:23:27 +02:00
Bart Van Der Meerssche
606efd7c79
api: allow the token to be submitted either in the request header or as part of the query string
2010-04-27 23:14:30 +02:00
Bart Van Der Meerssche
ea9f713f90
api: night values were not taken from the proper database since we were checking against path_info instead of get_qs_value
2010-04-27 14:22:25 +02:00
Bart Van Der Meerssche
e081a2e95c
api: implement a jsonp callback parameter
2010-04-24 01:20:47 +02:00
Bart Van Der Meerssche
e953fb0245
give each sensor its own timestamp_prev to prevent starvation of second sensor in case of pwr messages
2010-04-22 16:35:46 +02:00
Bart Van Der Meerssche
0f2ad0b693
remove udp code from the daemon
2010-04-22 16:08:39 +02:00
Bart Van Der Meerssche
2b1e3248b2
move timestamp function to the top of the data module so that it can be made private
2010-04-21 00:32:02 +02:00
Bart Van Der Meerssche
ed4e01ce8d
fixes bugs in data module for the daemons pwr chain
2010-04-21 00:07:47 +02:00
Bart Van Der Meerssche
6667727b13
publish pwr messages in JSON/REST style
2010-04-20 15:38:53 +02:00
Bart Van Der Meerssche
5f516e2fed
when multiple pulses per second are received for a single sensor, rrdtool will reject the new series of measurements: minimum one second step. introduce a fix in the Flukso daemon
2010-04-19 23:53:07 +02:00
Bart Van Der Meerssche
25c49be892
Reversed the chaining order in the flukso daemon
2010-04-19 23:34:07 +02:00
Bart Van Der Meerssche
466db9793c
openwrt: Disable ECN by default in sysctl.conf. See: https://dev.openwrt.org/ticket/3001
2010-04-19 19:25:05 +02:00
Bart Van Der Meerssche
9ab93e34d8
gen: populate README file
2010-04-16 01:24:36 +02:00
Bart Van Der Meerssche
d7f9f7e2fe
gen: add a README file to the git repository
2010-04-16 01:21:38 +02:00
Bart Van Der Meerssche
9f054b1205
uc: add support for US split-phase supplies
2010-04-09 21:20:22 +00:00
Bart Van Der Meerssche
cbd4283d18
uc: use a formula to calculate METERCONST: METERCONST=0.479*Vrms*Imax (nWh) for 1-phase and METERCONST=0.477*Vrms*Imax (nWh)
2010-04-09 17:23:41 +00:00
Bart Van Der Meerssche
933654eb9c
uc: Makefile clean-up, silence make output commands, include fuse programming, use system avrdude
2010-04-09 10:30:42 +00:00
Bart Van Der Meerssche
48860d6508
uc: fix two typos in the comments
2010-04-08 18:54:34 +00:00
Bart Van Der Meerssche
54283e09b8
uc: add support for 100A, 250A and 500A CTs
2010-03-25 19:22:22 +00:00
Bart Van Der Meerssche
24d8104aac
uc: increase sampling rate to 625Hz on ADC0 and ADC1. Use CTC for finetuning frequency.
2010-03-25 14:16:04 +00:00
Bart Van Der Meerssche
03eee97e37
web: display the api token in the sensor table
2010-03-15 20:20:41 +00:00
Bart Van Der Meerssche
155f2bfef9
api: introduces token-based authentication
2010-03-14 20:31:10 +00:00
Bart Van Der Meerssche
a53fa50f80
api: use pattern matching in to_json arguments
2010-03-14 14:12:35 +00:00
Bart Van Der Meerssche
4a5e939acc
api: use record instead of tuple to pass around State
2010-03-14 13:47:28 +00:00
Bart Van Der Meerssche
cf79030ec1
api: use updated mysql driver on github (git://github.com/dizzyd/erlang-mysql-driver.git). New features include prepared statements, transactions, binary queries, type-converted query results, more efficient logging and a new connection pooling mechanism.
2010-03-14 12:01:32 +00:00
Bart Van Der Meerssche
3de06ee609
api: initial import of mysql driver in webmachine
2010-03-13 13:00:51 +00:00
Bart Van Der Meerssche
f34f06cb22
web: remove alias code and repurpose {logger_aliases} as {logger_tokens}
2010-03-13 04:07:22 +00:00
Bart Van Der Meerssche
685fba7a81
web: users automatically obtain logger permissions when registering their first Fluksometer
2010-03-12 17:18:32 +00:00
Bart Van Der Meerssche
44ca2c9b88
web: fix destination bug in Fluksonians block
2010-03-12 12:39:36 +00:00
Bart Van Der Meerssche
c90934c3ab
web: reduce number of columns in the Fluksonians block to 4 for better presentation on Macs
2010-03-10 20:30:13 +00:00
Bart Van Der Meerssche
c3ffa6f15f
web: bugfix for users with TZ=GMT. Thanks lpalma!
2010-03-10 16:18:00 +00:00