Error Handling for non raspberry pi devices

Better error handling  for non raspberry pi devices