{"id":454,"date":"2020-03-31T18:54:18","date_gmt":"2020-03-31T23:54:18","guid":{"rendered":"http:\/\/jtkdev.com\/wp\/?p=454"},"modified":"2025-12-27T22:27:22","modified_gmt":"2025-12-28T03:27:22","slug":"adding-lacrosse-weather-to-garage-pi","status":"publish","type":"post","link":"https:\/\/jtkdev.com\/wp\/2020\/03\/31\/adding-lacrosse-weather-to-garage-pi\/","title":{"rendered":"Adding Lacrosse Weather to Garage Pi"},"content":{"rendered":"\n<p>The sdr stick we are using is the NooElec R820T. <\/p>\n\n\n\n<p>Following the instructions from <a href=\"https:\/\/morioh.com\/p\/fd9b47cbc020\">https:\/\/morioh.com\/p\/fd9b47cbc020<\/a> (on newer distros rtl_433 may already exist):<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# install dependencies\nsudo apt-get install libtool libusb-1.0.0-dev librtlsdr-dev rtl-sdr cmake\n\n# clone rtl_433 Git Repository\ngit clone https:\/\/github.com\/merbanan\/rtl_433.git\n\n# change to directory\ncd rtl_433\/\n# make build folder\nmkdir build\ncd build\/\n# compile\ncmake ..\/\n# make\nmake\n# install\nsudo make install\n# test if rtl_433 was properly installed\nrtl_433 -h\n<\/pre><\/div>\n\n\n<p>After this we copied the udev rules from <code><a href=\"https:\/\/github.com\/osmocom\/rtl-sdr\/raw\/master\/rtl-sdr.rules\">https:\/\/github.com\/osmocom\/rtl-sdr\/raw\/master\/rtl-sdr.rules<\/a><\/code> to <code>\/etc\/udev\/rules.d\/rel-sdr.rules<\/code>. This resolves the permission issue access the dongle when not root. Copy of rules files saved <a href=\"http:\/\/jtkdev.com\/wp\/wp-content\/uploads\/2025\/12\/rtl-sdr.rules_.txt\">here<\/a>.<\/p>\n\n\n\n<p>Commands to reload and trigger the new udev rules without rebooting:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo udevadm control --reload-rules\nsudo udevadm trigger\n<\/pre><\/div>\n\n\n<p>A test of <code>rtl_433<\/code> then see the LaCrosse Technologies <a href=\"https:\/\/www.lacrossetechnology.com\/tx145wsdth\">TX145WSDTH<\/a> remote temp\/humidity\/wind speed\/wind direction sensorthat came with the S81120 base station.<\/p>\n\n\n\n<p><code>rtl_433 -F mqtt:&lt;host&gt;:1883<\/code> is enough to get things going to the mqtt broker on the destination machine.<\/p>\n\n\n\n<p>Sample Output as seen on the destination PC using <code>mosquitto_sub -v -t '#'<\/code> :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rtl_433\/jtk-garage\/events {\"time\":\"2020-03-31 16:31:10\",\"model\":\"LaCrosse-TX141W                                                                                                                                                             \",\"id\":303173,\"channel\":0,\"battery_ok\":1,\"temperature_C\":5.1,\"humidity\":75,\"test                                                                                                                                                             \":0,\"mic\":\"CRC\"}\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/time 2020-03-31 16:31:10\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/id 303173\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/channel 0\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/battery_ok 1\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/temperature_C 5.1\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/humidity 75\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/test 0\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/mic CRC\nrtl_433\/jtk-garage\/events {\"time\":\"2020-03-31 16:31:10\",\"model\":\"LaCrosse-TX141W\",\"id\":303173,\"channel\":0,\"battery_ok\":1,\"wind_avg_km_h\":3.5,\"wind_dir_deg\":351,\"test\":0,\"mic\":\"CRC\"}\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/time 2020-03-31 16:31:10\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/id 303173\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/channel 0\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/battery_ok 1\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/wind_avg_km_h 3.5\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/wind_dir_deg 351\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/test 0\nrtl_433\/jtk-garage\/devices\/LaCrosse-TX141W\/0\/303173\/mic CRC\n<\/code><\/pre>\n\n\n\n<p>Now we can edit the openhab files to make use of this info&#8230;<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The sdr stick we are using is the NooElec R820T. Following the instructions from https:\/\/morioh.com\/p\/fd9b47cbc020 (on newer distros rtl_433 may already exist): After this we copied the udev rules from https:\/\/github.com\/osmocom\/rtl-sdr\/raw\/master\/rtl-sdr.rules to \/etc\/udev\/rules.d\/rel-sdr.rules. This resolves the permission issue access the dongle when not root. Copy of rules files saved here. Commands to reload and trigger [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,8,9],"tags":[],"class_list":["post-454","post","type-post","status-publish","format-standard","hentry","category-general","category-home-automation","category-rtl-sdr"],"_links":{"self":[{"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/posts\/454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/comments?post=454"}],"version-history":[{"count":13,"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/posts\/454\/revisions"}],"predecessor-version":[{"id":841,"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/posts\/454\/revisions\/841"}],"wp:attachment":[{"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/media?parent=454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/categories?post=454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jtkdev.com\/wp\/wp-json\/wp\/v2\/tags?post=454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}