Commit Graph

485 Commits

Author SHA1 Message Date
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
Bart Van Der Meerssche dad3156997 web: add login tab to primary menu for anonymous users 2010-03-10 14:17:55 +00:00
Bart Van Der Meerssche 12eefe80a7 web: redirect when using the user_login form 2010-03-10 14:16:44 +00:00
Bart Van Der Meerssche 517efafed3 web: provision an entry in the logger_users table when a first device is added 2010-03-09 12:55:25 +00:00
Bart Van Der Meerssche e6743f610c web: allow users to associate a Fluksometer with their account 2010-03-08 22:06:23 +00:00
Bart Van Der Meerssche 3d8636611e web: introduce a devices tab in the account section 2010-03-08 13:50:30 +00:00
Bart Van Der Meerssche 9f97afe4a2 web: minor style.css adaptation related to rev 99. 100th commit, time for celebration! 2010-03-06 23:21:03 +00:00
Bart Van Der Meerssche f91fd01bac web: theme the fluksonians block into a table and locate it under the chart 2010-03-06 23:16:27 +00:00
Bart Van Der Meerssche 862466ad2c web: make a global Fluksonians block allowing BLOCK_CACHE_GLOBAL 2010-03-06 10:43:03 +00:00
Bart Van Der Meerssche b35a723820 web: introduce a block with recent blog posts 2010-03-06 10:25:13 +00:00
Bart Van Der Meerssche a2e6948a7e web: list sensors associated with a user in the account section 2010-03-05 15:40:22 +00:00
Bart Van Der Meerssche 11fb4c4e64 openwrt: discard pwr messages when disabled 2010-03-01 14:03:06 +00:00
Bart Van Der Meerssche 078652c277 openwrt: add basic support for broadcasting pwr messages 2010-03-01 13:15:52 +00:00
Bart Van Der Meerssche 7b8c322628 uc: second implementation of power messaging 2010-02-28 20:11:37 +00:00
Bart Van Der Meerssche 4e21bf5452 uc: initial support for pwr messages 2010-02-26 21:39:46 +00:00
Bart Van Der Meerssche 6d907016dd initial import of webmachine-based api 2010-02-25 17:45:11 +00:00
Bart Van Der Meerssche 6a9d4d3f62 web: fix chart generation for anonymous and private users 2010-02-19 10:29:03 +00:00
Bart Van Der Meerssche 48fae8ebe4 web: increase space between chart and legend 2010-02-18 21:59:20 +00:00
Bart Van Der Meerssche 89dd35a82b web: introduce multiple electricity sensors per user 2010-02-18 21:53:31 +00:00