tag:blogger.com,1999:blog-2843542351611056012.post3675087190153299040..comments2023-12-26T19:00:12.980+01:00Comments on Alex's blog: How to collect wireless sensors readings using rtl_433 and display them using OpenWrtUnknownnoreply@blogger.comBlogger4125tag:blogger.com,1999:blog-2843542351611056012.post-18245287979368236652018-11-11T23:31:28.786+01:002018-11-11T23:31:28.786+01:00I got it working, however I had to adjust the scri...I got it working, however I had to adjust the script to read sensor id instead of channel. Luckily the id does not change on these Acurite 592TXR units when the batteries are swapped out. Thanks for the great instructions!Jasonhttps://www.blogger.com/profile/12147834619094742260noreply@blogger.comtag:blogger.com,1999:blog-2843542351611056012.post-89817134877961938102018-11-11T12:48:14.110+01:002018-11-11T12:48:14.110+01:00you'd need to register the /mnt/sd/bin/collect...you'd need to register the /mnt/sd/bin/collectsensor.sh C on the LUCI configuration page and also you'd need to adjust the exec.lua script accordinglyalexhttps://www.blogger.com/profile/15068148570398507828noreply@blogger.comtag:blogger.com,1999:blog-2843542351611056012.post-4594388249566709962018-11-11T08:52:18.581+01:002018-11-11T08:52:18.581+01:00I cheated on the sed issue and hard coded my broad...I cheated on the sed issue and hard coded my broadcast address. Fortunately there was nothing wrong with the awk command, it's just stripped of characters when viewed in process status.<br /><br />I feel I'm within a couple inches of the finish line, but not getting a LuCI page to be generated. I'm guessing that's because of the channel being a letter and/or because it's wrapped in quotes and not being handled correctly by the collectsensor.sh script.<br /><br />Sample output from the "rtl_433 -F json -R 40" command:<br />{"time" : "2018-11-11 07:21:45", "model" : "Acurite tower sensor", "id" : 5320, "channel" : "C", "temperature_C" : 20.600, "humidity" : 50, "battery" : 0, "status" : 68}Jasonhttps://www.blogger.com/profile/12147834619094742260noreply@blogger.comtag:blogger.com,1999:blog-2843542351611056012.post-82785081839537787532018-11-11T02:56:22.261+01:002018-11-11T02:56:22.261+01:00Hi, I'm having trouble with your sensorbroadca...Hi, I'm having trouble with your sensorbroadcast script. Primarily with the sed and awk commands not working properly. Any chance you could add the files to your rtl-433-openwrt repo on GitHub? Thanks.Jasonhttps://www.blogger.com/profile/12147834619094742260noreply@blogger.com