I don't have one of these, so what follows is only building on what
you've reported.
As you say, the weewx-owfs driver appears to be focused on voltage
sensing/conversion.
As I recall the AAG windvane (at least the one I had and can't find)
used reed switches so its logic started from simple switching and that
worked with the OWW software. The very early AAG windvane was a direct
copy of the original Dallas windvane so perhaps there is code in OWW
for it?
Viewing the src/weather.c from OWW it mentions a DS2407 in association
with 8 DS2401's and while that references Dallas's original Win32
software there is another reference. Later in the file it suggests OWW
does a search for a DS2407 Vane switch and is happy if it finds one...
line number 3281 of weather.c
ReadWindDirection ( /*uchar SwitchID[8] */ int vane)
{
int dira = -1, dirb = -1, i, found = 0;
uchar DirSN[MAX_DEVS_SEARCH][8];
int p ;
p = devices_portnum(vane) ;
memset ((void *) DirSN, 0, MAX_DEVS_SEARCH * 8 * sizeof (uchar));
/* Access the Vane Switch - Vane IDs are behind this */
if (!devices_access (vane))
{
werr (WERR_AUTOCLOSE, _("Could not access Vane Switch"));
return -1;
}
/* connect channel B of DS2407 */
/* There shouldn't be any trouble here, but may as well
* use the robust function */
if (!set_switch_robust (vane, SWITCH_AOFF_BON, SWITCH_TRIES))
{
werr (WERR_DEBUG0, "Connect channel B of DS2407 failed");
return -1;
}
/* delay to allow presence pulse to proceed */
msDelay (10);
/* record all of DS2401's found */
In short, it appears to have some relevant code. (Assuming I'm reading
it correctly)
Also, looking back in the weewx-user archive I note that you detected
2 DS2406s using OWFS.py The DS2407 is the next gen version of that
semi.
Have you tried running this using OWW?
https://sourceforge.net/projects/oww/
If that works, well ... ?
As a final note, I just found the following that was linked from a
2015 weewx-user post
https://groups.google.com/forum/#!topic/weewx-user/Nn0P0xzxTaY
and that points to a very informative document
https://web.archive.org/web/20061018205111/http://archives.sensorsmag.com/articles/0698/wir0698/
> --
> 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+...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/weewx-user/f7f62c61-c80f-46a3-b06e-47fa18978dc1%40googlegroups.com.
>
--
Cheers
Glenn
rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie