W1SENSORS(1)

πŸ’– W1SENSORS(1) πŸ’–

okay bestie, gather round, because this is the w1sensors manual page (section 1, Unix girlies know) and honestly? she's a little legend. no cap.


✨ NAME ✨

w1sensors β€” Convert w1find output to w1retap configuration (text or SQL)


πŸŽ€ SYNOPSIS πŸŽ€

w1sensors [OPTIONS] [FILE]

πŸ¦‹ DESCRIPTION πŸ¦‹

so w1sensors is the girl whose whole job is glow-up-ing the output of w1find into configuration for w1retap. she's a converter. a translator. a bridge between two worlds. iconic behaviour fr fr.

she can read from stdin, or from a FILE if you hand her one. and she can write out to STDOUT, or to a file if you use the -o option.

by default? she outputs SQL statements that insert the sensor configuration straight into a w1retap database. very database-coded of her. but if you'd rather have file based configuration instead, just hit her with the -f option and she'll switch it up. she's flexible like that πŸ’…


πŸ’… OPTIONS πŸ’…

  • -?, --help β€” Show help options. she'll tell you what she can do 🫢
  • -f, --file-based-config β€” Output file type w1reftap configuration rather than SQL. not the default vibe, but a valid one!
  • -o, --output β€” Output to file. because sometimes STDOUT just isn't the moment, y'know?

🌸 EXAMPLE 🌸

  • $ sudo -u w1retap w1find /dev/ttyUSBS0 | w1sensors | psql w1retap
  • $ w1find DS2490-1 | w1sensors -f | tee -a /etc/w1retap-sensors.dat

⭐ EXIT STATUS ⭐

  • 0 β€” Returns 0. she did it, she slayed, she left. no drama, no tears πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

w1find(1), w1retap(1)


πŸ“ RESOURCES πŸ“


πŸ‘‘ 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.

lowkey that's a whole legal blessing, bestie. respect the licence, it's giving generosity πŸ’œ

and that's the whole page, babes 🧚 this one's from 11/05/2025 and it lives in the w1sensors(1) section of the manual β€” go forth and convert those sensors, you absolute main character πŸŒˆπŸ’–βœ¨

πŸ“¦ where this page comes from