Cheapest way to build a wifi-relay with mesh network powered by mains?

Hi I wonder if it is possible to build a alternative to the expensive zigbee home automation devices by using arduino.

How could I for an example build a power switch with mesh functionallity with this parts?:

Led driver Input Voltage: AC 85-265V, Output Voltage: 9-18V 3$ http://www.ebay.com/itm/2pcs-4-5x1-W-Watt-High-Power-LED-Light-lamp-Driver-Power-Supply-85-265V-300ma-/130904639607?pt=LH_DefaultDomain_0&hash=item1e7a864877

Relay 3$ 1pc Optocoupler Relay Module 5v 1-channel H/l Level Triger E for sale online | eBay

Arduino Nano 3.7$ http://www.ebay.com/itm/Pro-Mini-atmega328-Replace-ATmega128-5V-16M-For-Arduino-Compatible-Nano-Module-/131000843270?pt=LH_DefaultDomain_0&hash=item1e80423c06

Wireless Tranciever 2.7$ http://www.ebay.com/itm/Arduino-NRF24L01-2-4GHz-Wireless-Transceiver-Module-SI24R1-microcontroller-AB-/171145819552?pt=LH_DefaultDomain_0&hash=item27d915f5a0

You can use the nRF24L01+ transceivers to make a mesh network, but you need to be aware that the range of each link is substantially shorter than the range of a zigbee so I'm not sure I'd describe it as an alternative to the zigbee.

If you're looking for a good range/price compromise then the Ciseco rfu range looks as if it might be useful, but I haven't tried them for myself.