Changes

From Amahi Wiki
Jump to: navigation, search
168 bytes removed ,  03:42, 23 June 2020
*Note: Root privileges are required to execute the CLI command. Navigate to /usr/share/aes to use the CLI correctly.
{{Code|Code= ./aes.rb --shownetworkhosts}}
Lists the hosts found in the network, ie, all devices connected to the network. Gives the user the choice to add hosts to the monitored host list.
{{Code|Code= ./aes.rb --showmonitoredhosts}}
Show a list of all hosts which are monitored by AES (i.e. the monitored host list), and also allows to delete hosts from the list. If these hosts are up and running (and respond to ping), the server does not suspend.
{{Code|Code= ./aes.rb --addhost macadress}}
Manually add a host to the monitored host list. Observe the MAC address format, which has to be XX:XX:XX:XX:XX:XX. Example is <br> <code>./aes.rb --addhost 12:34:56:78:90:ab</code>
{{Code|Code= ./aes.rb --calendar [off, internal, ical, debug]}}
<code>./aes.rb --calendar</code> shows the current setting.
<code>./aes.rb --calendar off</code> turns the calendar off,
<code>./aes.rb --calendar ical</code> activates the Amahi calendar integration. To show diag information use <code>./aes.rb --calendar debug</code>
{{Code|Code= ./aes.rb --showcalendar}}
Lists the current entries of the internal calendar. Calendar entries define times when the server does not suspend. Also, the server will be woken up at the beginning of a calendar entry.
{{Code|Code= ./aes.rb --addcalendar startdate starttime stopdate stoptime}}
Use this command to add an entry to the internal calendar. Format of startdate/stopdate: YYYY-MM-DD Format of starttime/stoptime: hhm:mm. Eg.
<br><code>./aes.rb --addcalendar 2010-12-20 15:00 2010-12-20 16:00</code> <br>
will keep the server awake on Dec 20th, 2010 from 15 to 16 hrs (3 to 4 pm). The server will also wake up at 15 hrs if it is suspended.
{{Code|Code= ./aes.rb --shutdowntype}}
Show and modifiy the type of shutdown. NOTE: Not all shutdown types may be supported on your system, or may work correctly. Therefore, test that your machine is suspending and coming up correctly before deciding for a setting. Poweroff is safest type.
{{Code|Code= ./aes.rb --sbs [on, off, debug]}}
<code>./aes.rb --sbs</code> shows the current setting. <code>./aes.rb --sbs on</code> and <code>./aes.rb --sbs off</code> switch monitoring of Squeezeboxserver on or off, respectively. The command <code>./aes.rb --sbs debug</code> displays diagnostic information
{{Code|Code= ./aes.rb --interval}}
aes checks regularly if the system can be suspended or shut down. This parameter specifies the time in seconds between two such checks. Normally should be left untouched.
{{Code|Code= ./aes.rb --showenergybalance}}
View the energy savings in kWh due to the use of Amahi Energy Saver.
{{Code|Code= ./aes.rb --setpowerconsumption pc_on pc_standby}}
Set the average power consumption when working ("pc_on") and powered off ("pc_standby"). Values given in Watts. pc_on must be greater than pc_standby.
{{Code|Code= ./aes.rb --help}}
Displays command line help
[[Category:Apps]]
12,424

edits