Sending to local and remote emoncms each serial RX data
Update RFM2Pi status in DB
Added function to set RFM2Pi parameters (freq, group, ID)
Catch server unreachable exceptions
Rotating logging with different importance levels
Non-blocking serial RX / improved urllib error catching
Add serverdatabuffer class, manage sending interval
Catch SIGINT to shutdown gracefully
Define class RFM2PiGateway

This commit rewrites the python RFM2Pi gateway script
- Define RFM2PiGateway class
- Check settings regularly in DB
- Write gateway PID into a file to allow SIGINT from GUI
- Error catching and logging improved
- Script name changed to rfm2pigateway.py
Read DB connection config from ../../settings.ini
Serial RX frame error handling
Make remote server optional
Send time every minute to synchronize emonGLCD
Merge pull request #8 from Jerome-github/raspberrypi_run_python_script

RMF2Pi gateway