Page 1 of 1

La Crosse station by wire

Posted: Tuesday 05 January 2016 0:34
by maurool
Hi all,

I have a La Crosse ws2300 weather station, but it's connected to the sensors by wire. I can wire the ws2300 rs232 port to the domoticz server (running on windows), but then how to collect weather data? I see in the latest domoticz version there is an hardware for Davis via serial port (USB), but there is no option for La Crosse.

I know it's possible to receive the 433MHz signal from sensors, but it's not my case. Sensors are far away on top of my house roof and the ws2300 display is in house.

If there is no possibility to decode the rs232 La Crosse protocol, maybe this could be a nice suggestion for the future.

Thanks! Mauro

Re: La Crosse station by wire

Posted: Sunday 10 January 2016 17:01
by Benbi
Hi Mauro,

I am in the exact same situation. I would like to get the data from the WS2300 using a direct connection to the Pi (serial to usb) and not 433MHz signal. For now on, I use open2300 to write data in a mySQL database but Domoticz don't seem to be able to read information from the mySQL database. Have you made any progress ?

Thanks !

Re: La Crosse station by wire

Posted: Tuesday 12 January 2016 14:12
by maurool
Hi, I've proposed in the suggestions section to implement the ws2300 protocol using open2300 libraries, this shouldn't be too mych difficult. This have been implemented for Davis stations. You can go to the suggestions section of the forum and thumbs one up for this feature request :)

I was thinking to simply use weather-display software (I already use it for other weather stations) and open an html page from the dashboard to see realtime meteo, but in this way I cannot use temperature and other variables to trigger actions directly in domoticz. Anyway, weather display can save informations in a mysql database so you could go back to your original idea. Also you can save meteo information in a text file to parse and send to domoticz via Json/API.
Also the original ws2300 application may be used for something similar: http://www.heavyweather.info/new_englis ... tml#review
Lot of possibilities, but of course the most efficient way would be to aquire the data directly in Domoticz via serial/usb port.

Mauro

Re: La Crosse station by wire

Posted: Saturday 23 January 2016 7:40
by Benbi
Hi, thanks for your reply.
For sure using Domoticz to directly read the date via erial/usb would be the best option. In the meantime, I am currently looking at using lua script in domoticz to read those data in my mysql database. Unfortunately, lua packages installed with Domoticz are incomplete and the mysql connectivity is missing. I will keep searching and let you know if I make any progress.

Ben