susan,

just to be clear, your driver works with the wifi console, not the bridge, 
right?

be sure to package your driver as a weewx extension.  that will make it 
much easier for people to install.  see the customization guide for details 
about how to package an extension, and see the fileparse extension as an 
example.

you might want to distribute it using github.  take a look at the drivers 
listed on the weewx wiki for examples:

https://github.com/weewx/weewx/wiki

be sure to take a look at the wiki page about the observer hardware:

https://github.com/weewx/weewx/wiki/observer

there have been quite a few different approaches and implementations for 
the ws1001 (and variants) hardware.  the first weewx implementations were 
done about 2 years ago, but they were scraping and capture/redirect 
approaches.  there are also at least 2 direct implementations mentioned on 
wxforum (one implemented in perl, another in C but not yet published).  
weather-display is supposedly getting direct support for the hp1000 any day 
now, but it is not clear whether it uses the scraping approach or the 
direct query approach.

it does not matter whether you use METRICWX, METRIC, or US.  just be sure 
that the units are consistent for whichever unit system you choose.  also 
beware of the hardware - can users break your driver by changing the units 
on the hardware?  usually the answer is no, but you should test for this.

be sure you pick an appropriate driver name.  i think you should call it 
HP1000, since WS1001 is an Ambient name, and Observer and ObserverIP are 
brand names of Ambient Weather and are loosely applied to console or bridge.

you should also provide a 'model' attribute, so that users can specify 
whether they have a ws1001 or hp1000-wifi or xc0422 or OBSERVER-IP-WIFI or 
something else.

i'm pretty sure the driver for hp1000 can work right out-of-the-box.  that 
means it is a good candidate to be included in the weewx distribution once 
you get sufficient testing on it.

please let us know when you get it working so i can delete my observer 
repository.  i've had some great help from dr_bob from wxforum, but it has 
languished since i do not have the hardware to test it directly.

m

Reply via email to