The first step of this project is researching the weather station to try and figure out how it works. I will post some of my research here.
Decoding the serial protocol
To begin decoding the communication methods between the weather station and host computer, I bought an extra serial cable so that I could hook up a linux box between the weather station and host computer. I then wrote up some code that would pass anything received from one serial port to the other, as output what was being passed. There was also an additional function that would allow me to insert fake data, so that I could change just one byte and check the outcome. This code is available in the code section.
![Decoding the serial protocol [figure]](images/decoding_serial.png)
My results of this initial research are available here (warning: HIGHLY outdated).
XML-RPC
Links
- Linux Serial Programming HOWTO - essential primer for programming serial ports in Linux
- AWS - makers of the weather station, rather Linux-unfriendly
- Virtual Network Computing - what I use to be able to access the Windows box remotely