add error message if wifi is not available
bugfix for issue#11. check the wifi/server state before starting coupling