Python script to interface with the e-pool wireless pool monitor base station and upload data to the e-pool monitor rails app.
I run this script on a Raspberry Pi Model B Board running Raspian OS and the WiPi Dongle
Clone the script to your Raspberry Pi, then edit the port number to match your e-pool reciever (line 122) and server address to match your server (line 112). Then run the script:
python epool.py
It will show output from the sensor as it is recieved. Note that the local node sends data every few seconds but it might take a few minutes to get data from the pool sensor. Only the pool sensor data is uploaded.
To run in the background, I use screen
Start screen with
screen
Then start the script
python epool.py
Press control + a, then d to detach the screen.
screen -r will resume the session.