Page 1 of 2
Ambient Weather WS-1000-WiFi
Posted: Thu 16 Jan 2014 3:26 am
by WolfpenGardens
Hello,
Are there any plans to allow Ambient Weather's new WS-1000-WiFi to communicate with Cumulus software?
Re: Ambient Weather WS-1000-WiFi
Posted: Thu 16 Jan 2014 7:43 am
by steve
The WS-1000-WiFi can't communicate with a PC at all, so it would not be possible for Cumulus to communicate with it.
Re: Ambient Weather WS-1000-WiFi
Posted: Thu 16 Jan 2014 1:47 pm
by WolfpenGardens
I have not received the station yet, but use Cumulus with my WS-2080 Ambient Weather station. That said, they will be on the same router that is not encrypted. They always say where there is a will there is a way. If not 'live' I can possibly utilize its SD card slot to transfer historical data to make corrections to missing or inaccurate data from the WS-2080. Cumulus is an important tool I use in my Organic Farming operations, yet I am a small operation and cannot afford a Davis Instrument system. It (WS-1000-WiFi) can report to web services such as 'Weather underground' and from reading the online manual the web 'host' can be user set and multiple sites are supported simultaneously. This forum has many talented programmers so I thought I would put this "out there" to find possible solutions. Thanks!
Re: Ambient Weather WS-1000-WiFi
Posted: Thu 16 Jan 2014 2:07 pm
by steve
If it has the ability to upload to an ftp server of your choice, you could perhaps run a server locally, and write some code to convert the uploaded data into 'easyweather.dat' format, and feed it into Cumulus that way. That would definitely come under "where there's a will there's a way"!
Re: Ambient Weather WS-1000-WiFi
Posted: Sun 23 Feb 2014 6:18 pm
by fr3d
steve wrote:If it has the ability to upload to an ftp server of your choice, you could perhaps run a server locally, and write some code to convert the uploaded data into 'easyweather.dat' format, and feed it into Cumulus that way. That would definitely come under "where there's a will there's a way"!
Hello!
My first post here, been lurking for some time.
I have an ow-server-enet2 with three outdoors ds18b20 sensors which i only use the coldest of + Rh, pressure, indoor temperature (ds18b20) + a wh1080. All data is collected over the internet / local network.
Yesterday i tried to write a bash script that would create the easyweatherplus.dat file for culumus; mostly for it's exelent web page generation capabilities.
I found that the information about the file format is a little bit confusing.
Field 2-5 in the wiki is supposed to be time/date related, but field 2 & 3 and 4 & 5 are in fact space separeted, not comma separeted as the wiki says, so the time/date fields are 2 and 3.
I got most of it working now by trial and error except rain1h and rain this year + lux on field place 29.
I've named the file easyweatherplus.dat and ticked the "extra sensors" box.
Here is my code.
Code: Select all
echo 1, $date $time, $date $time, 5, 0, $itemp, $rh, $umin, $dewpoint, $wind_chill, $wind_today_gust, $relmb, $wind_average, 0, $wind_now, 0, $wind_degrees, $wind_dir, 0, 0, 0, 0, $rain_1h, 0, 0, 0, $rain_year, 0, $lux, 0, > easyweatherplus.dat
$lux is an integer
Help is appreciated.
/ Fredrik
Re: Ambient Weather WS-1000-WiFi
Posted: Sun 23 Feb 2014 6:33 pm
by steve
fr3d wrote:I found that the information about the file format is a little bit confusing.
Field 2-5 in the wiki is supposed to be time/date related, but field 1 & 2 and 3 & 4 are in fact space separeted, not comma separeted as the wiki says, so the time/date fields are 2 and 3.
The system routine which Cumulus uses to split the line into separate fields regards a space as a separator as well as a comma, so as far as Cumulus is concerned each date/time is actually two separate fields.
Help is appreciated.
What is it exactly that you want help with?
Just to clarify - this thread is about the Ambient WS-1000-Wifi station, do you actually have one of those? If not (and I think not), this really needs to be in a separate thread to avoid confusion, so I'll move the posts.
Re: Ambient Weather WS-1000-WiFi
Posted: Sun 23 Feb 2014 6:59 pm
by fr3d
Sorry!
Your reply of a manually created easyweather.dat file was the closest thread i could find without creating my own thread.
/ Fredrik
Re: Ambient Weather WS-1000-WiFi
Posted: Sun 23 Feb 2014 7:08 pm
by fr3d
There is a big problem with mixing separators on a single line.
lux=$(echo "easyweatherplus.dat" | cut -d ',' -f 29)
doesn't work, because field 2-5 is actually 2 & 3; so lux is at field 27.
How is a programmer going to know this? I'm not blaming you, i'm just saying.
/ Fredrik
Re: Ambient Weather WS-1000-WiFi
Posted: Sun 23 Feb 2014 7:21 pm
by steve
I've amended the wiki entry.
Re: Ambient Weather WS-1000-WiFi
Posted: Sun 23 Feb 2014 7:27 pm
by fr3d
Oh, i forgot.
If comma is used between field 2(date) and field 3(time) and field 4(date) and field 5(time) it messes up the entire order of fields. I tried that. Then you get 1008 m/s wind speed etc. I have never seen an easy weather generated easyweather.dat file so i can't know for sure, but this kind of inconsistency is very strange indeed.
/ Fredrik
Re: Ambient Weather WS-1000-WiFi
Posted: Sun 23 Feb 2014 7:34 pm
by steve
A number of people are creating their own easyweather.dat files and I don't recall anyone having any problems before. There's actually an example of an easyweatherplus.dat entry in the wiki.
It's very hard to help when all you've done so far is complain. An example of the file you've created would be helpful, I may be able to see what you're doing wrong.
Re: Ambient Weather WS-1000-WiFi
Posted: Sun 23 Feb 2014 7:40 pm
by fr3d
steve wrote:A number of people are creating their own easyweather.dat files and I don't recall anyone having any problems before. There's actually an example of an easyweatherplus.dat entry in the wiki.
It's very hard to help when all you've done so far is complain. An example of the file you've created would be helpful, I may be able to see what you're doing wrong.
I'm just trying to help. I know people are having trouble with this. The easyweatherplus.dat file format has 39 entries but only 30 on the wiki.
/ Fredrik
Re: Ambient Weather WS-1000-WiFi
Posted: Sun 23 Feb 2014 7:44 pm
by steve
Cumulus only uses the first 30. I don't even know what the others are!
Re: Ambient Weather WS-1000-WiFi
Posted: Sun 23 Feb 2014 7:44 pm
by fr3d
1, 2014-02-23 20:41:02, 2014-02-23 20:41:02, 5, 10, 17.8, 84, 5.3, 3.1, 3.0, 6.1, 1012.4, 2.0, 55, 2.7, 44, 225, SW, 0, 0, 0, 0, 0, 0, 0, 0, 60.9, 0, 0, 0
Here it is.
Re: Ambient Weather WS-1000-WiFi
Posted: Sun 23 Feb 2014 7:54 pm
by steve
That works fine for me:
2014-02-23 19_53_26-Cumulus.png