packages for openwrt to work with BM1707 device (yet another 1-wire sensor)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Once upon a time...

There was a DALLAS 1-wire sensor. Many devices used to deal with it. So BM1707 (MP707) also did. This is a small USB device that has one sensor on board and ability to connect much more by wire. Also it has ability to control external relay by temperature changes.

More information on device available at and

So what is it all about

This repo contains files to use with OpenWRT SDK. Current version uses libstdc++ and libusb.

Step by step guide

  1. Run a linux machine.
    Let's say it would be Ubuntu on virtualbox. Make sure you have enough disk space on virtual machine to store SDK.

  2. Download proper SDK from (release, hardware). If you're not sure what release/hw to use check supported devices list at Follwing example will download SDK for attitude_adjustment realease 12.09 ar71xx platform. wget

  3. Decompress SDK. tar xjvf OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-

  4. Download bmtemp package contents wget

  5. Decompress archive unzip ./

  6. Copy package contents into proper folder. cp ./openwrt-bm1707-master/package/* ./OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-

  7. Go into SDK folder. cd /OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-

  8. Compile package make

  9. If everything went well find these files: bmtemp_2_ar71xx.ipk Packages Packages.gz at ls ./OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-

  10. File .ipk is ready to be installed with opkg install ... command.

Important Notice

There can be hardware limitations for USB on some routers so it won't work without external USB hub. E.g. for TL-MR3020:

Thanks to...