W1RETAP(1)
π w1retap β bestie edition π
okay so you found w1retap in the man pages and you're like "what is this". bestie. it's literally the data logger for 1-Wire weather sensors and i'm about to make it make sense. this is from section 1 of the manual, so it's a user command, and we're gonna go through the whole thing together, no skipping, no skimming. π
β¨ NAME β¨
w1retap β a data logger for 1-Wire weather sensors. that's it, that's the whole vibe. π¦οΈ
β¨ SYNOPSIS β¨
w1retap [OPTIONS]
that's the whole thing. options in, weather data out. π
β¨ DESCRIPTION β¨
so the w1retap package reads weather sensors sitting on a 1-Wire bus, and then it data-logs whatever it retrieved into the databases or files you configured. like, it's the little guy that goes out, checks the weather, and writes it down. π
it supports a whole bunch of different 1-Wire host bus adapters, plus 1-Wire sensors designed by Dallas Semiconductor Corp (which is now Maxim Integrated, they rebranded, iconic of them) β and also compatible sensors, including ones from AAG ElectrΓ³nica and other hobby sensors. so like, whatever weird little sensor you've got, there's a solid chance it's welcome here. π«Ά
β¨ OPTIONS β¨
here's the full menu, no cuts, all of it:
-h,--helpβ shows the help options. when in doubt, ask for help, that's the whole point. π-w,--waitβ at startup, it waits until the next interval before doing anything. patient king energy. β³-1,--once-onlyβ read once and exit. one and done, no lingering. π-R,--release-interfaceβ releases the 1-Wire interface between reads. giving other processes a turn, so generous. π-d,--daemoniseβ daemonises (backgrounds) the application. it goes and lives in the background, main character who doesn't need attention. π-T,--no-tmp-logβ disables the/var/lib/w1retap/.w1retap.datlogging. no temp log, no problem. π«-l,--tmp-log-name=FILEβ names the logging file (default is/var/lib/w1retap/.w1retap.dat). name your log, it deserves an identity. β¨-i,--interface=DEVICEβ sets the interface device. and here's the tea:DEVICEcan be either a serialDS2480adaptor or a USBDS2490-1adaptor. for serial, use the serial device node (eg/dev/ttyS0or/dev/ttyUSB0); for USB, useDS2490-1to make it go through libusb. so like, pick your fighter. π-t,--cycle-time=SECSβ time in seconds between device readings. how often it peeks at the sensors. β±οΈ-N,--dont-readβ doesn't read sensors. and before you panic, the manpage says it's for debugging. so it's a feature, not a bug. π-v,--verboseβ verbose messages. it will tell you everything, and honestly? we love a chatty icon. π£οΈ-o,--vane-offset=VALβ value forNfor the weather vane, and the range is0-15. weather vane calibration, very niche, very slay. π§-V,--versionβ displays the version number, and then exits. quick little flex and then it's gone. π-s,--simulateβ simulates readings. it's for testing, and heads up: the manpage says it's not yet implemented, so don't come for it. π-u,--use-utcβ stores dates as UTC, instead of localtime. timezone girlies, this one's for you. π-r,--report-log=FILEβ the report log file. πΈ
β¨ EXAMPLE β¨
$ w1retap -l -i /dev/ttyUSBS0 -v
yes, that's the example exactly as written. copy it character for character if you're following along. π₯
β¨ SIGNALS β¨
the w1retap daemon accepts three signals, and they each do a different thing:
SIGUSR1β causes it to read all the sensors immediately. right now. no waiting. β‘SIGUSR2β causes it to print the current configuration. show me your settings bestie. πSIGHUPβ causes it to re-read the configuration. glow up time. π¦
β¨ EXIT STATUS β¨
0β returns0on success or failure.
okay so yes, that's genuinely what the manpage says. 0 on success or failure. that's the whole exit status section. no notes, that's just how it is. π
β¨ SEE ALSO β¨
go read these too, they're the friends of this page:
β¨ RESOURCES β¨
/usr/share/doc/w1retap-doc/w1retap.odthttp://www.zen35309.zen.co.uk/wx/tech.html
β¨ AUTHOR β¨
this manual page was written by Thomas Stewart <thomas@stewarts.org.uk> for the Debian GNU/Linux system (but may be used by others). permission is granted to modify and distribute this manpage under the terms of GNU General Public Licence version 2 or (at your opinion) any later version. π
and that's the whole page, bestie, start to finish. this version is dated 11/05/2025 and it's from the W1RETAP(1) manual β so if you ever forget what you just read, that's where to find it again. go log some weather. πβ¨
π¦ where this page comes from
- ubuntu resolute: w1retap 1.5.5-2.1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: w1retap 1.5.5-2.1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms