Here in Germany an XBee is about 30€. For 35€ you get a RB Pi 2 so I find it a bit expensive.
Cheaper: ESP8266 for 3€ each (WiFi included and GPIO's).
Basic Language to get the GPIO-Pin values via http-request:
http://www.esp8266basic.com/
Will post a tutorial in January