Commit Graph

225 Commits

Author SHA1 Message Date
Bart Van Der Meerssche fc90003688 [fluksod + avr] include freshly compiled avr binaries into the flukso package 2011-05-02 23:03:50 +02:00
Bart Van Der Meerssche 0b18afa8cc [tools] add redboot.pl script to repo 2011-05-02 16:47:06 +02:00
Bart Van Der Meerssche 62fbd15ce1 [luci] provide an english .po file for the LuCI sensor page 2011-05-02 16:37:56 +02:00
Bart Van Der Meerssche 0228537ed5 [fluksod] profiling shows that we can restore the wan buffer params to their original values 2011-05-01 20:25:33 +02:00
Bart Van Der Meerssche 6eb69c9a9b [fluksod] optimize the json serialization 2011-05-01 20:23:14 +02:00
Bart Van Der Meerssche ab393a2c21 [fluksod] use the new table.create to eliminate the rehashes in json_encode 2011-05-01 17:15:47 +02:00
Bart Van Der Meerssche 18897a307b [lua] add table.create patch to Lua core 2011-05-01 16:37:40 +02:00
Bart Van Der Meerssche ac11a4fa21 [fluksod] pass unix time to the polish method 2011-05-01 09:48:07 +02:00
Bart Van Der Meerssche 6b8e701d26 [fluksod] join the fill and truncate operations in a single method 2011-04-30 19:48:44 +02:00
Bart Van Der Meerssche 412cbc03e3 [fluksod] we only have to publish once per second 2011-04-30 19:23:51 +02:00
Bart Van Der Meerssche e013ab81bb [fluksod] change filter parameters 2011-04-29 10:49:28 +02:00
Bart Van Der Meerssche c87a241de9 [fluksod] disable both wan and lan branches by default 2011-04-29 10:39:18 +02:00
Bart Van Der Meerssche 5bd4c40157 [avr] encapsulate stopping/starting the flukso daemon in rprogram 2011-04-29 10:23:45 +02:00
Bart Van Der Meerssche 32699fd646 [luci] stop/start flukso daemon after form commit as well 2011-04-28 23:25:42 +02:00
Bart Van Der Meerssche ff797ecd91 [luci] add flags for enabling/disabling the WAN and LAN sections 2011-04-28 14:11:12 +02:00
Bart Van Der Meerssche 442780f86a [fluksod + heartbeat] simplify WAN_ENABLED and LAN_ENABLED logic 2011-04-28 13:54:29 +02:00
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 0808d5db69 [httpclient] turn globe led on after each successful REST call (200 and 204 status) 2011-04-27 21:08:01 +02:00
Bart Van Der Meerssche f0fa58daac [luci] we do have to stop/start the avahi-daemon when saving the flukso page 2011-04-26 10:54:10 +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 52959b11be [luci] do not stop/start avahi-deamon when calling luci-reload with flukso as arg 2011-04-25 22:12:28 +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 16ebc0e55e [luci] stop the avahi-daemon in luci-reload to free up precious memory 2011-04-24 13:34:15 +02:00
Bart Van Der Meerssche c2ab0342cf [luci] filter out duplicates in configlist 2011-04-24 10:49:13 +02:00
Bart Van Der Meerssche ea69aa3ee5 [luci] backport: prevent concurrent luci reload instances 2011-04-24 10:48:14 +02:00
Bart Van Der Meerssche 3c5dacaf56 [luci] expand the sensor page with type and function fields + validation 2011-04-23 00:03:18 +02:00
Bart Van Der Meerssche f55b344ec4 [luci] hack the cbi to allow custom error messages to be displayed on a form page 2011-04-23 00:01:42 +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 5d2fcbace3 [luci] selecting a three-phase setup should disable sensor #2 and #3 2011-04-21 22:50:51 +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 ecf0912ff5 [luci] add syslog and sensor dash icons to the web interface 2011-04-20 12:47:06 +02:00
Bart Van Der Meerssche 1665567b1f [luci] delete restful.lua from the luci package 2011-04-20 10:06:58 +02:00
Bart Van Der Meerssche c52e03b5fe [openwrt] add crond loglevel patch to the pack 2011-04-20 09:03:30 +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 53294f1aea [nixio] add settimeofday method to nixio 2011-04-18 21:35:39 +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 91408ddac0 [openwrt] backport crond loglevel fix to busybox v1.15.3-2 2011-04-18 15:43:57 +02:00
Bart Van Der Meerssche 94825afe2d [openwrt] run make oldconfig to update the .config to openwrt r26713 2011-04-18 15:41:58 +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 2d42dce5f6 [luci] include a switch to disable peer certificate validation in httpclient 2011-04-16 20:08:29 +02:00