Emonwrt3 Install on OpenWrt

From lechacal
Jump to navigation Jump to search


This is a guide for installing Emonwrt3 software on a fresh OpenWrt installation.

Prerequisites

  • OpenWrt is freshly installed with Chaos Calmer version.
  • User has both access to the web interface and ssh/telnet.
  • The unit is connected to the internet to access lechacal.com.

Installation via command line

Connect to the unit using telnet or ssh. We recommend to use Putty for this purpose.

Then copy paste these commands below in the terminal.

head -n -1 /etc/inittab > /tmp/x; mv /tmp/x /etc/inittab
printf "#::askconsole:/bin/ash --login\n" >> /etc/inittab
head -n -1 /etc/opkg.conf > /tmp/x; mv /tmp/x /etc/opkg.conf
printf "src/gz chaos_calmer_lechacal http://lechacal.com/repo/emonwrt3\n#option check_signature 1\n" >>/etc/opkg.conf
opkg update
opkg install emonwrt3 emonwrt3-luci

Then if you do not see any error reboot the unit like so

reboot & exit

Then the web interface should now show the Emonwrt3 tab.

If the ARduino has a different configuration then go to Emonwrt3 | Channels and submit the page has it is shown.