-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
49 lines (33 loc) · 867 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
== heartbeat daemon
receive heartbeats from nodes running pirate freifunk
heartbeat daemon is able to receive the following data in three different management modes:
= mode: update
node_id:string
rev:string
= mode: information
see update, additionally
name:string
lat:decimal
lon:decimal
crew:string
lv:string
partei:string //optional, default 'Piratenpartei Deutschland'
land:string //optional, default 'Deutschland'
= mode: highscore
see information, additionally
neighboors:integer
clients:integer
== the path
http://<server>:<port>/nodes/status/update?<var1>=<value1>&<var2>=<value2>&...&<varn>=<valuen>
== scores
100 scores for new node
10 scores for 24h heartbeat
1/2 scores per connected neighboor (24h)
1/3 scores per connected client (24h)
== map
== setup
#drop previous database
rake db:drop
#migrate database
rake db:migrate
script/server