Commit Graph

435 Commits

Author SHA1 Message Date
Bart Van Der Meerssche 977f25cc48 [fluksod] make fluksod settings configurable through uci file 2011-04-18 10:28:51 +02:00
Bart Van Der Meerssche 7b81c079f6 [fluksod] add a crontab entry that checks up on the daemon every 15min 2011-04-17 22:08:56 +02:00
Bart Van Der Meerssche 81e3010347 [api] use the /device/xyz endpoint for processing the heartbeat 2011-04-16 21:52:19 +00:00
Bart Van Der Meerssche 30e0aabab1 [heartbeat] used the wrong variable for calculating the digest 2011-04-16 23:49:27 +02:00
Bart Van Der Meerssche f94e74ddc7 [heartbeat] update the heartbeat to use JSON/HTTPS 2011-04-16 20:54:25 +02:00
Bart Van Der Meerssche 2d42dce5f6 [luci] include a switch to disable peer certificate validation in httpclient 2011-04-16 20:08:29 +02:00
Bart Van Der Meerssche 2faf05b58f [luci] bugfix to make luci.json.encode() work like expected 2011-04-16 12:49:03 +02:00
Bart Van Der Meerssche 216c10202b [fluksod] send non-200 HTTP calls with err level to syslog 2011-04-08 21:01:26 +02:00
Bart Van Der Meerssche 919e29db85 [api] improve returned error message 2011-04-08 18:49:41 +00:00
Bart Van Der Meerssche e30d3103af [fluksod] improve POST call error logging 2011-04-08 15:46:12 +02:00
Bart Van Der Meerssche a71a0ede5a [api] make sure the night average calculation results in a float 2011-04-08 13:45:01 +00:00
Bart Van Der Meerssche b5c2759981 [api] take care of uid=0 condition 2011-04-08 13:43:35 +00:00
Bart Van Der Meerssche 624c292684 [drupal] add drush commands for populating the db with fluksometers in bulk via a csv file 2011-04-07 21:29:51 +00:00
Bart Van Der Meerssche 5d1e0d6b61 [drupal] Pulling logger.drush.inc from the msg fork, thanks Ely! 2011-04-07 21:28:38 +00:00
Bart Van Der Meerssche 9eac97fe96 [tools] bash script for generating server config file 2011-04-07 15:34:23 +02:00
Bart Van Der Meerssche 7a5abf1110 [fluksod] remove obsolete comments 2011-04-07 11:13:13 +02:00
Bart Van Der Meerssche e41aa35ccc [fluksod] determine threshold based on current unix time 2011-04-06 15:36:11 +02:00
Bart Van Der Meerssche 5defc5b906 [fluksod] send POST response codes to syslog 2011-04-05 10:31:34 +02:00
Bart Van Der Meerssche 5bffb794d7 [fluksod] send accepted incoming pulses to syslog 2011-04-05 09:25:46 +02:00
Bart Van Der Meerssche cd5ff2ed60 [avr] fix bug in power-loss detection debug logic 2011-04-05 09:18:32 +02:00
Bart Van Der Meerssche f6f6fd3d6e [fluksod + fsync] acquire a write lock on the delta and ctrl fifos when in use 2011-04-04 12:35:34 +02:00
Bart Van Der Meerssche 350a373b72 [fluksod] rename type option to class in the flukso uci file 2011-04-01 15:54:55 +02:00
Bart Van Der Meerssche 0e84af3d04 [fluksod] get http client version from system.@system[0].version 2011-03-30 20:18:56 +02:00
Bart Van Der Meerssche 6422a96ea1 Merge branch 'develop' of github.com:icarus75/flukso into develop 2011-03-30 16:20:22 +02:00
Bart Van Der Meerssche 54ab3a3740 [fluksod] POST measurements to the new RESTful API 2011-03-30 16:20:03 +02:00
Bart Van Der Meerssche 65b5ac3f41 [api] include case where no device key is present in the db 2011-03-30 09:29:01 +00:00
Bart Van Der Meerssche d14866cb97 [fluksod] substitute meter for sensor in data module 2011-03-29 21:05:26 +02:00
Bart Van Der Meerssche b0fd4c2753 [fluksod] allow individual sensor measurements to be flushed 2011-03-29 20:55:16 +02:00
Bart Van Der Meerssche 90bf363645 [api] introduce a loglevel threshold setting 2011-03-29 10:50:25 +00:00
Bart Van Der Meerssche d43a4cd9d5 [api] improve logging for night rrd updates 2011-03-29 08:18:49 +00:00
Bart Van Der Meerssche 4e9440acae [api] add wrappers for erlrrd:update and erlrrd:fetch 2011-03-29 08:08:09 +00:00
Bart Van Der Meerssche 304dbbb803 [api] add support for logging to the Drupal watchdog table 2011-03-29 07:45:59 +00:00
Bart Van Der Meerssche 1cba075938 [api] port night rrd updates to webmachine api 2011-03-28 20:21:38 +00:00
Bart Van Der Meerssche d767c50287 [api] move base and night paths to defines 2011-03-27 19:48:17 +00:00
Bart Van Der Meerssche c9f3eb8431 [api] correct the comment on JSON -> Mochijson2 conversion 2011-03-27 19:18:13 +00:00
Bart Van Der Meerssche 7e37088e7d [api] remove X-Device form the POST header 2011-03-27 11:22:34 +00:00
Bart Van Der Meerssche b157a5dc72 [api] use sensor id to determine the corresponding hash key 2011-03-27 11:19:58 +00:00
Bart Van Der Meerssche bd6762399b [api] Persistent http[s] connections allow a pure RESTful POSTing of sensor measurement data. Thx Mathias! 2011-03-26 22:47:42 +00:00
Bart Van Der Meerssche 8f0a37d869 [luci] add support for persistent http[s] connections to httpclient 2011-03-26 22:23:22 +01:00
Bart Van Der Meerssche 64b67598d7 [api] check against a sha-1 digest hex length of 40 chars 2011-03-26 11:06:06 +00:00
Bart Van Der Meerssche 285833b1f8 [openwrt] remove the rdate hotplug script from the build 2011-03-24 22:24:47 +01:00
Bart Van Der Meerssche 1fbccc9f08 [openwrt] remove the spidev chmod from rc.local 2011-03-24 22:00:05 +01:00
Bart Van Der Meerssche 8e0f9f150f Merge branch 'develop' of github.com:icarus75/flukso into develop 2011-03-24 21:57:34 +01:00
Bart Van Der Meerssche cf45925c44 [openwrt] move sensor config loading at firstboot to flukso init script 2011-03-24 21:56:56 +01:00
Bart Van Der Meerssche 5ec3d9c92e [api] define time constants 2011-03-24 09:28:13 +00:00
Bart Van Der Meerssche f8ba3937bb [api] add a device and digest check to /sensor 2011-03-24 07:31:30 +00:00
Bart Van Der Meerssche 80073a5de5 [api] define a generic 32hex checking function 2011-03-24 07:13:27 +00:00
Bart Van Der Meerssche d64d41be3a [api] move helper functions to a common flukso.hrl 2011-03-23 17:40:28 +00:00
Bart Van Der Meerssche 243d512229 [api] add copyright header to webmachine files 2011-03-23 09:16:02 +00:00
Bart Van Der Meerssche 90ffd3ffcc [api] add the /sensor endpoint to the dispatching rules 2011-03-22 20:39:57 +00:00