Emonwrt3 Install on OpenWrt: Difference between revisions

From lechacal
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:


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


=Prerequisites=
=Prerequisites=
Line 24: Line 24:
  reboot & exit
  reboot & exit


Then the web interface should now show the Emonwrt3 tab.
The web interface now shows the Emonwrt3 tab.


If the Arduino has a different configuration than the web interface then go to '''Emonwrt3''' | '''Channels''' and submit the page has it is shown.
If the Arduino has a different configuration than the web interface then go to '''Emonwrt3''' | '''Channels''' and submit the page has it is shown.

Latest revision as of 16:18, 30 April 2019

This is a guide for installing Emonwrt3 software on a fresh OpenWrt Chaos Calmer 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

The web interface now shows the Emonwrt3 tab.

If the Arduino has a different configuration than the web interface then go to Emonwrt3 | Channels and submit the page has it is shown.