Lech Perczak
4381732cb2
Delete leftover code.
2016-12-30 21:30:49 +01:00
Lech Perczak
8d97377db5
Delete leftover code.
2016-12-30 21:30:20 +01:00
Lech Perczak
f0103e58d3
Clean implementation of ESP8266+PIR motion sensor.
...
Added implementation of first hardware sensor.
ESP8266 connected with HC-SR501 PIR motion sensor that sends reports directly to premises server.
Implemented in clean, object oriented C++, but still based on Arduino.
2016-12-30 21:26:20 +01:00
Leo-PL
710a1a198a
Add "curl + cron" example.
...
Added example how to report sensor data using "curl", together with example on reporting connected Wi-Fi station count using cron on OpenWRT.
2016-12-21 22:04:48 +01:00
Stanislaw Klekot
a4b54eccba
Contrib curlish Lua script improved: better HTTP compliance.
2014-09-13 22:01:39 +02:00
Luca Bernardi
b3f98f097a
Fix for curlish script
2014-09-11 00:23:04 +02:00
jesusthekiller
16358fa007
Added curl0ish script for OpenWRT
2014-09-02 10:56:05 +02:00
Stanislaw Klekot
ad0d39133a
Fixed "since" field for updating simple sensors.
2014-07-10 21:23:01 +02:00
Stanislaw Klekot
33e9b2a501
Added more terse 404 error.
2014-07-01 22:41:12 +02:00
Stanislaw Klekot
e919e8f04c
Added small self-discovery feature to API.
2014-07-01 22:40:44 +02:00
Stanislaw Klekot
c51d4c8f0e
The submitting example made more comprehensible and reusable.
2014-06-29 14:13:35 +02:00
Stanislaw Klekot
edc3597a43
Added an example on how to submit sensor data from Python.
2014-06-29 13:51:32 +02:00
Stanislaw Klekot
76c53e9b9e
Fixed bug about entering and leaving premises.
2014-06-19 23:14:04 +02:00
Stanislaw Klekot
2cc6aa4d2e
Removed forgotten field from API description.
2014-06-19 21:05:14 +02:00
Stanislaw Klekot
a7bfbf346f
Added support for GET requests.
2014-06-19 20:49:32 +02:00
Stanislaw Klekot
857d518e4d
Simplified writing REST handlers.
2014-06-19 20:14:37 +02:00
Stanislaw Klekot
69ca12c4e4
Allowed slash to occur in person's nick.
2014-06-19 19:50:13 +02:00
Stanislaw Klekot
25ddfd0fca
Changed nomenclature about sensors.
...
It felt awkward, but now it has better names.
2014-06-19 19:39:45 +02:00
Stanislaw Klekot
4663716ed0
Removed unused field from ListSensor.
2014-06-19 19:33:48 +02:00
Stanislaw Klekot
93ecb447b3
Changed name/subname delimiter in sensors.
2014-06-19 19:32:50 +02:00
Stanislaw Klekot
ef2d9fbf1c
List of (simple) sensors displayed on web page.
2014-06-19 19:10:50 +02:00
Stanislaw Klekot
b0efd3c263
Added listing sensors' states.
2014-06-19 19:08:54 +02:00
Stanislaw Klekot
81e4205dd1
A mistake: split() takes not the resulting fields number.
2014-06-19 18:55:54 +02:00
Stanislaw Klekot
364a67967e
wlokalu.api.presence made The Way[tm] to use database.
2014-06-19 18:26:25 +02:00
Stanislaw Klekot
131d5a75d7
Added logging erroneous requests.
2014-06-19 18:15:19 +02:00
Stanislaw Klekot
c70228e7b6
Allowed POST for /api/v1/person/<nick>.
2014-06-19 18:06:05 +02:00
Stanislaw Klekot
0d3525f948
Dropped field "name" from API description.
2014-06-19 18:02:20 +02:00
Stanislaw Klekot
ecdb9f8208
Added support for sensors sending array of data.
2014-06-19 17:59:43 +02:00
Stanislaw Klekot
89c5f06daf
Implemented API for posting and deleting sensors.
...
Not the list sensors yet.
2014-06-19 17:31:06 +02:00
Stanislaw Klekot
494e6a6215
Added skeleton API.
2014-06-18 21:26:21 +02:00
Stanislaw Klekot
2d9f3cbfd1
"Hello world" no longer needed.
2014-06-18 20:07:31 +02:00
Stanislaw Klekot
dc07a44316
Silenced logs on "nothing changed" enters/leaves.
2014-06-18 20:05:53 +02:00
Stanislaw Klekot
eace064d3e
Fixed annoyance with reloading page after submitting presence.
2014-06-12 19:15:24 +02:00
Stanislaw Klekot
b60383040a
Added logging enter/leave events.
2014-06-08 00:10:06 +02:00
Stanislaw Klekot
fca4585335
Fixed dying when a person was already in premises.
2014-06-08 00:06:38 +02:00
Stanislaw Klekot
101f5d28b5
Added license and README files.
2014-06-07 21:10:20 +02:00
Stanislaw Klekot
b1587710ae
Added timestamping entries.
2014-06-07 21:05:39 +02:00
Stanislaw Klekot
d45892892b
Reorganized a little layout.
2014-06-07 20:56:46 +02:00
Stanislaw Klekot
396a76e7ac
Added "nobody is here" message.
2014-06-07 20:49:06 +02:00
Stanislaw Klekot
c7c21c9074
Added "make him left" button.
2014-06-07 20:46:40 +02:00
Stanislaw Klekot
1c5e2e5a01
Disabled CSRF protection on entering/leaving HS.
2014-06-07 20:43:52 +02:00
Stanislaw Klekot
20da597d5a
Added storing and listing users that are present in HS.
2014-06-07 20:41:01 +02:00
Stanislaw Klekot
881bb97bdc
Added preserving nick.
2014-06-07 20:01:27 +02:00
Stanislaw Klekot
5cb7252878
Added simple form for submitting presence.
2014-06-07 19:44:14 +02:00
Stanislaw Klekot
e6872e300c
Adde Poole's CSS style.
2014-06-07 19:07:30 +02:00
Stanislaw Klekot
a14b75a3ac
Added skeleton for Django webapplication.
2014-06-07 18:41:10 +02:00
Stanislaw Klekot
71a083d6e2
Init.
2014-06-07 14:40:33 +02:00