Any work receiving a Davis ISS with a SDR?

417 views
Skip to first unread message

Ruben Navarro Huedo

unread,
Mar 18, 2017, 8:50:48 AM3/18/17
to weewx-user
Hello:

I think this question has been written sometimes, but i don't find answer.
Is there any active work about receiving a Davis ISS with a SDR?
Or other option to receive it without a Davis console or meteostick?

A lot of thank's

Thomas Keffer

unread,
Mar 18, 2017, 11:08:53 AM3/18/17
to weewx-user
Take a look at the Wiki page, Using weewx with a DavisSi1000 radio, and see if it answers your question. If not, come back.

-tk

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruben Navarro Huedo

unread,
Mar 18, 2017, 4:21:01 PM3/18/17
to weewx-user
A lot of thanks
Now looking for a si1000 receiver in amazon europe.
What os your choice about it?

Devonian

unread,
Mar 18, 2017, 6:40:06 PM3/18/17
to weewx-user
I see you are also posting here...
Probably the best thread on the internet about it, if you don't get help on there, you maybe won't get it anywhere else?

Modules from China warehouse maybe?
915MHz

433MHz

Nigel 

Ruben Navarro Huedo

unread,
Mar 19, 2017, 5:26:31 PM3/19/17
to weewx-user
Working on it now.
My si1000 radio is on the way.
I see driver and utility has not been updated some time ago.
I will try apply patches published at github

Alec Bennett

unread,
Mar 20, 2017, 4:12:15 PM3/20/17
to weewx-user
Please post your progress, I'm also interested in doing this.

In the past I experimented with doing this with a Moteino (https://lowpowerlab.com/guide/moteino/), and found an Arduino script that could in theory be used with a Moteino to get the data from a Davis ISS, but I couldn't get it working. I didn't try very hard though.

Ruben Navarro Huedo

unread,
Mar 20, 2017, 4:23:34 PM3/20/17
to weewx...@googlegroups.com
Be sure I will do it.

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/CnfOOu_OE48/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.

Ruben Navarro Huedo

unread,
Mar 21, 2017, 10:54:03 AM3/21/17
to weewx-user
Today i have received the 915mhz receiver.

I downloaded Davissi1000 utility from https://github.com/tridge/DavisSi1000
And added all last patches.

I have could install the new Davis Firmware:

root@MeteoElche:~/DavisSi1000/Firmware/tools # ./uploader.py --port /dev/ttyUSB0 --resetparams --baudrate 57600 "radio~hm_trp.ihx"
uploading to port /dev/ttyUSB0
Connecting to /dev/ttyUSB0
Trying autosync

+++OK

ATI

ATI
SiK 1.9 on HM-TRP

AT&UPDATE
Got sync
board 4e  freq 91
erase...
program...
verify...
done.
root@MeteoElche:~/DavisSi1000/Firmware/tools #

Before i had to install: sudo apt-get install python-pexpect

Now i must go to my friend's home and test with his Davis (next few days).
I all is OK i will buy a Davis ISS.

I will continue writting results here.

Mark Crossley

unread,
Mar 22, 2017, 6:26:15 AM3/22/17
to weewx-user
First post! I'm currently a Cumulus MX user, but thought I'd take a look at weeWX...

I've built a Moteino based solution, the base library I used is "VP Tools" for the RFM69 radio modules. This can receive from the Davis transmitters OK.

But I have modified it as I wanted to implement a a radio "relay"...

Backing up a bit, the VP2 has a serious (in my mind) restriction, in that it can only receive data from a single ISS plus other 'specialised' transmitters. My ISS is in the back garden with the T/H and wind down low where you want them. I have a separate anemometer transmitter for the wind sensors up above my roof line.  Now I also have home-made solar and UV sensors, BUT the VP2 console will only allow you to connect these to the ISS - low down in the garden with lots of shade! Really I want them up above the roof line to maximise their exposure.

So, I have create a Arduino based "relay" and plugged my solar/UV sensors into the anemometer transmitter. The relay receives the transmissions from station #1 (anemometer + solar + UV), and station #2 (ISS with T/H + rain) and rebroadcasts the combined data as station #3. The VP2 console is re-tuned to only look for station #3 which it now sees as an ISS with all the sensors attached. Davis limitation solved! :)

 By default the relay spits out the data it is sending and receiving on the serial port along with diagnostic info, though I have a mode where only the data is sent.

So after that long rambling, the point is that receiving the data using a low power Arduino + RFM69 module works just fine if you put in a little bit effort.

Cheers
Mark
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.

Devonian

unread,
Mar 22, 2017, 9:15:00 AM3/22/17
to weewx-user
Hi Mark,

Standby for some calls for help on European settings as most info on t'inteweb is regarding 915MHz as opposed to the EU 868Mhz.
Do you have any links to useful info around configuring/setting up moteino (maybe save you repeatedly answering the same questions).

My situation and VP2 sensors is not unlike your own, and I may opt for something similar if it's not too much pain ;-)

Regds,

Nigel.


Ruben Navarro Huedo

unread,
Mar 22, 2017, 9:42:06 AM3/22/17
to weewx-user
Really really interesting !

Do you have a list of frequencies used with European ISS?

I am trying to use the si1000 receiver but problem is compiled firmware has US frecuencies.

Also trying compile new firmware i have compilation errors :-(

Mark Crossley

unread,
Mar 22, 2017, 9:54:11 AM3/22/17
to weewx-user

I'm, ahem! <mumble> using 915 MHz </mumble>, but working the RFM register settings in the code backwards the EU 868 hop frequencies are:

868066711
868297119
868527466
868181885
868412292

A lot less to channels to worry about than the US version.

Mark

Ruben Navarro Huedo

unread,
Mar 22, 2017, 10:18:19 AM3/22/17
to weewx-user

A lot of thank’s Mark.

 

Now i must work trying to solve the compilation problem.

I have some Unix knowing, but not programming

 

I don’t know exactly where is the problem trying to compile firmware.

 

CC radio/radio.c
radio/radio.c:604: error 98: conflict with previous definition of 'scale_uint32' for attribute 'type'
from type 'unsigned-long-int function ( unsigned-long-int fixed, unsigned-long-int fixed) fixed'
  to type 'unsigned-long-int function ( unsigned-long-int pdata, unsigned-long-int pdata) fixed'
radio/radio.c:654: error 98: conflict with previous definition of 'set_frequency_registers' for attribute 'type'
from type 'void function ( unsigned-long-int fixed) fixed'
  to type 'void function ( unsigned-long-int pdata) fixed'
include/rules.mk:100: recipe for target 'obj/rfd900a/radio~rfd900a/radio.rel' failed
make[1]: *** [obj/rfd900a/radio~rfd900a/radio.rel] Error 1
make[1]: Leaving directory '/root/DavisSi1000/Firmware'
Makefile:96: recipe for target 'build~radio~rfd900a' failed
make: *** [build~radio~rfd900a] Error 2

Alec Bennett

unread,
Mar 22, 2017, 12:21:37 PM3/22/17
to weewx...@googlegroups.com
Nice!

I have a Moteino too. Could you post your script? Or email it over? If email, might want to go directly since I'm not sure how the google group handles attachments.


Alec Bennett

unread,
Mar 22, 2017, 12:38:05 PM3/22/17
to weewx...@googlegroups.com
The reason I'm trying to receive the signals directly is that there's a big puffer fish in the front store of the business that I'm installing this weather station in. I've *always* wanted to put a light in that puffer fish, and I thought it would be great if the light reacted to the wind. So the plan is that the higher the gusts, the more bright or more red the LED inside the puffer fish would get. 

I could do it currently using a Pi or similar receiving the data over the LAN, but it would be more interesting I think to just receive the data directly from the ISS.

Attached is a pic of the fish.


IMG_2211.JPG

Mark Crossley

unread,
Mar 22, 2017, 12:47:07 PM3/22/17
to weewx...@googlegroups.com
I have the code on GitHub, the latest version hasn't been uploaded yet - I have made a few changes around timing for my current version...

I have found the VP2 console quite sensitive to timing, if the transmissions vary by more than about 5 ms it can miss them and lose sync. My latest version uses two clock driven interrupts, one for receiving and one for transmitting. The transmitting has to have priority over receiving if you want good reception stats on the console. Currently my console runs about 99.7-99.8% reception with zero resyncs. The missed packets are nearly all CRC errors - which as I am sharing(!) some of the frequencies with 3G mobile phones isn't bad. The longest packet reception "streaks" are now normally running in the thousands.

Strangely I have an old "test" console running ancient VP2 firmware, that is *much* more tolerant of timing, so it looks like Davis reduced the reception window on later versions - possibly to extend battery life?

So when I have the code tidied up I push the latest version up to GitHub. for you.

On 22 March 2017 at 16:21, Alec Bennett <wryb...@gmail.com> wrote:
Nice!

I have a Moteino too. Could you post your script? Or email it over? If email, might want to go directly since I'm not sure how the google group handles attachments.


--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/CnfOOu_OE48/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.

Alec Bennett

unread,
Mar 22, 2017, 12:49:52 PM3/22/17
to weewx...@googlegroups.com
Would it be possible to send the link to the current code? I have some time to work on it today.

Mark Crossley

unread,
Mar 22, 2017, 12:50:06 PM3/22/17
to weewx...@googlegroups.com
Nice fish!
Ha ha! I like the idea of it lighting up, perhaps it should spin round at a rate proportional to the wind speed, and light up in a colour reflecting the outside temperature :)

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/CnfOOu_OE48/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.

Alec Bennett

unread,
Mar 22, 2017, 12:52:51 PM3/22/17
to weewx...@googlegroups.com
Ha that's a good idea. Could maybe spin from a servo to point into the wind direction.


Mark Crossley

unread,
Mar 22, 2017, 12:59:14 PM3/22/17
to weewx-user
The old cut is here...


The VP Tools base class works fine as a Receiver, or a Transmitter, but I've had to tweak the base class a bit to make it do both at the same time reliably.


On Wednesday, 22 March 2017 16:49:52 UTC, Alec Bennett wrote:
Would it be possible to send the link to the current code? I have some time to work on it today.


On Wed, Mar 22, 2017 at 9:47 AM, Mark Crossley <ma...@wilmslowastro.com> wrote:
I have the code on GitHub, the latest version hasn't been uploaded yet - I have made a few changes around timing for my current version...

I have found the VP2 console quite sensitive to timing, if the transmissions vary by more than about 5 ms it can miss them and lose sync. My latest version uses two clock driven interrupts, one for receiving and one for transmitting. The transmitting has to have priority over receiving if you want good reception stats on the console. Currently my console runs about 99.7-99.8% reception with zero resyncs. The missed packets are nearly all CRC errors - which as I am sharing(!) some of the frequencies with 3G mobile phones isn't bad. The longest packet reception "streaks" are now normally running in the thousands.

Strangely I have an old "test" console running ancient VP2 firmware, that is *much* more tolerant of timing, so it looks like Davis reduced the reception window on later versions - possibly to extend battery life?

So when I have the code tidied up I push the latest version up to GitHub. for you.
On 22 March 2017 at 16:21, Alec Bennett <wryb...@gmail.com> wrote:
Nice!

I have a Moteino too. Could you post your script? Or email it over? If email, might want to go directly since I'm not sure how the google group handles attachments.


--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/CnfOOu_OE48/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/CnfOOu_OE48/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages