Commit Graph

81 Commits

Author SHA1 Message Date
Bart Van Der Meerssche 9e396e66ad [fsync] create a dependency towards enable_lan_branch 2011-04-28 13:53:23 +02:00
Bart Van Der Meerssche d08901f34e [heartbeat] only send a heartbeat when enable_wan_branch is set 2011-04-27 21:20:42 +02:00
Bart Van Der Meerssche 997dbc4071 [fsync] include phase information when updating sensor info to the server 2011-04-26 10:25:14 +02:00
Bart Van Der Meerssche fae64cf1c0 [fsync] POST to /sensor/xyz iso /device/xyz 2011-04-25 18:50:51 +02:00
Bart Van Der Meerssche 77193070e4 [fsync] POST the config of each sensor to the /sensor/xyz endpoint 2011-04-25 14:34:13 +02:00
Bart Van Der Meerssche 609cea6f22 [fsync] refactor the code and improve documentation 2011-04-25 00:16:16 +02:00
Bart Van Der Meerssche 7a40fe3c8d [fluksod] disable all sensors by default 2011-04-24 21:02:35 +02:00
Bart Van Der Meerssche e53d1d384f [fsync] make sure fsync works with null voltage/current/constant entries in the uci 2011-04-23 00:00:32 +02:00
Bart Van Der Meerssche 65d3b09bb4 [fluksod] add a type option to each sensor section in the uci file 2011-04-22 23:59:33 +02:00
Bart Van Der Meerssche 88dba6e8da [luci] add a sensor configuration page 2011-04-20 23:22:56 +02:00
Bart Van Der Meerssche e80c9d17c8 [fsync] write fsync exit code to syslog 2011-04-20 23:20:20 +02:00
Bart Van Der Meerssche 6a8c902d0c [fluksod] bump alpha version to 4 2011-04-19 09:16:14 +02:00
Bart Van Der Meerssche 66ee322216 [heartbeat] use heartbeat return timestamp to sync time in case ntpclient does not get the job done 2011-04-18 21:55:24 +02:00
Bart Van Der Meerssche b799e4629c [luad] move the #restarts check to the end of the loop, so that it does not get triggered when booting in the first 60secs of epoch time 2011-04-18 21:34:52 +02:00
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 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 216c10202b [fluksod] send non-200 HTTP calls with err level to syslog 2011-04-08 21:01:26 +02:00
Bart Van Der Meerssche e30d3103af [fluksod] improve POST call error logging 2011-04-08 15:46:12 +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 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 54ab3a3740 [fluksod] POST measurements to the new RESTful API 2011-03-30 16:20:03 +02: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 cf45925c44 [openwrt] move sensor config loading at firstboot to flukso init script 2011-03-24 21:56:56 +01:00
Bart Van Der Meerssche 415bcdda48 [flukso] configure flukso device and sensor ids at firstboot 2011-03-10 20:29:17 +01:00
Bart Van Der Meerssche 70ce6fd748 [openwrt] bump package versions of avahi, expat, gdbm, intltool, libdaemon and ntpclient 2011-03-10 10:07:03 +01:00
Bart Van Der Meerssche 34196cc1f1 [fsync] generate a flukso.service file for avahi 2011-03-06 01:05:15 +01:00
Bart Van Der Meerssche 7b5b64abf8 [fsync] check whether sensor exists and has been enabled when symlinking 2011-03-06 00:25:14 +01:00
Bart Van Der Meerssche 5681ec612f [fsync] update sensor symlinks to cgi-script 2011-03-05 20:02:15 +01:00
Bart Van Der Meerssche 62b4c7aadf [openwrt] practicing ASCII art 2011-02-26 00:09:24 +01:00
Bart Van Der Meerssche e3de39f026 [fluksod] allow counter to wrap around in WAN branch 2011-02-17 00:11:21 +01:00
Bart Van Der Meerssche efda61d08a [fsync] fix typo 2011-02-12 20:38:23 +01:00
Bart Van Der Meerssche 0878114479 [spid] double Rx/Tx delay to 20ms to accomodate for gd commands 2011-02-12 20:03:29 +01:00
Bart Van Der Meerssche 7e99548842 [luad] add an Erlang-style supervisior to the daemon 2011-02-12 19:34:10 +01:00
Bart Van Der Meerssche 36746544ee [fdude] wraps avrdude in an spidev resource lock 2011-02-12 15:27:01 +01:00
Bart Van Der Meerssche 7fba026ddb [spid + fsync] add support for commit command 2011-02-12 12:36:53 +01:00
Bart Van Der Meerssche 849c671175 [spid] set SPI_TX_RX_DELAY_NS to 10ms, down from 100ms 2011-02-12 11:47:31 +01:00
Bart Van Der Meerssche cbc7949d95 [openwrt] add init.d script to flukso package 2011-02-03 12:28:36 +01:00
Bart Van Der Meerssche 9e8b7680b6 [restful] port local JSON/REST interface to v2 2011-02-03 12:27:24 +01:00
Bart Van Der Meerssche b69a4d5bdd [fluksod] fix bug in pulse logic 2011-02-03 12:25:52 +01:00
Bart Van Der Meerssche 893cb4f446 [fluksod] port remaining coroutines to v2 2011-01-30 22:57:37 +01:00
Bart Van Der Meerssche 17b8137e3d [fluksod] add wan and lan buffer coroutines 2011-01-30 17:21:31 +01:00
Bart Van Der Meerssche 99aee26dba [fluksod] first commit for the born-again fluksod 2011-01-30 11:52:35 +01:00