Commit Graph

227 Commits

Author SHA1 Message Date
Bart Van Der Meerssche 4a7ae875ec openwrt: index tables by x, not by the contents of the variable x 2010-09-09 22:04:32 +02:00
Bart Van Der Meerssche ce102cfb54 openwrt: add support for pls xxx:yyy:zzz messages in the buffer coroutine 2010-09-09 19:36:49 +02:00
Bart Van Der Meerssche 61910f82ad openwrt: make variables local in daemon dispatch loop 2010-09-09 15:29:27 +02:00
Bart Van Der Meerssche 8f4e7a17a2 openwrt: support pls xxx:yyy:zzz type messages with zzz = 32-bit millisec counter on the AVR 2010-09-09 15:28:53 +02:00
Bart Van Der Meerssche fdc2e35e0f avr: Improve the accuracy of pwr measurements and prevent an underflow condition in a boundary case by rounding down the multiplication constant. Thanks Mario! 2010-09-08 17:53:57 +02:00
Bart Van Der Meerssche 431fefa5f2 avr: add a ms timestamp to a pls message for pulse inputs 2010-09-04 19:44:54 +02:00
Bart Van Der Meerssche 8d1ccbc8fc openwrt: better error checking and zombie process handling in rrdtool server 2010-09-03 11:50:58 +02:00
Bart Van Der Meerssche 41fa14cf61 openwrt: add an rrd.server module for connecting to rrdtool in pipe mode from Lua 2010-09-02 14:35:24 +02:00
Bart Van Der Meerssche 7856a4bb5e openwrt: attach a wifi/eth toggle and return to network defaults to the reset button 2010-08-30 21:08:38 +02:00
Bart Van Der Meerssche 06318eea07 fix hotplug button timer bug in 2.6.30.10 2010-08-30 10:24:09 +02:00
Bart Van Der Meerssche 48f946e6aa openwrt: allow unix domain sockets in nixio sendto and recvfrom 2010-08-11 20:50:22 +02:00
Bart Van Der Meerssche 505ce638f5 openwrt: add chipselect line to bitbanged SPI interface 2010-08-08 16:05:55 +02:00
Bart Van Der Meerssche c8271f5fd0 openwrt: include LuCI nixio_tls_ctx_set_verify_locations method 2010-08-08 14:01:07 +02:00
Bart Van Der Meerssche 61851ad6b3 openwrt: include ntpclient package 2010-08-08 12:42:42 +02:00
Bart Van Der Meerssche e508f18806 avr: include SPI_FORWARD_TO_CTRL_PORT source/destination routing tag 2010-08-07 23:29:15 +02:00
Bart Van Der Meerssche ffcc35e107 openwrt: add .config file + luci and remote-update packages 2010-08-07 16:00:06 +02:00
Bart Van Der Meerssche 545e0b092c openwrt: enable ar2315_gpio_leds platform registration 2010-08-07 15:57:44 +02:00
Bart Van Der Meerssche a3451a9571 openwrt: use correct indentation in config_gram.y 2010-08-07 15:55:00 +02:00
Bart Van Der Meerssche 86672194d0 openwrt: remove tiny and deprecated AVRs from avrdude 2010-08-06 21:37:35 +02:00
Bart Van Der Meerssche e54a4160ba openwrt: remove non-gpio programmers in avrdude 2010-08-06 20:55:35 +02:00
Bart Van Der Meerssche 03e869a028 openwrt: first commit of gpio_dev based bitbanged avrdude 2010-08-06 16:22:31 +02:00
Bart Van Der Meerssche 14a2a655b8 openwrt: patch to register an SPI over bitbanged GPIO device driver for AR231x boards 2010-07-26 13:45:36 +02:00
flukso 7450983794 drupal: set day chart as default, part II 2010-07-22 08:42:36 +00:00
Bart Van Der Meerssche 18e3850145 drupal: set day chart as default 2010-07-22 08:36:07 +00:00
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