Home > heartbeat_daemon

heartbeat_daemon

Heartbeat_daemon is a project mainly written in JAVASCRIPT and RUBY, it's free.

heartbeat daemon for piratenfreifunk

== 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://:/nodes/status/update?=&=&...&=

== 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

Previous:gst_rummage