diff --git a/fhem/docs/commandref.html b/fhem/docs/commandref.html index fe7840332..08bbac54a 100644 --- a/fhem/docs/commandref.html +++ b/fhem/docs/commandref.html @@ -19,29 +19,29 @@ fhem commands @@ -50,62 +50,62 @@
Helper modules @@ -309,6 +309,12 @@ A line ending with \ will be concatenated with the next one, so long lines Filter/group devices. Recognized by web-pgm2 and web-pgm3. Devices in the room hidden will not appear in the web output. + +
  • alias
    + Second name (alias), whished for by Martin. Cannot be used + directly in fhem, as "set on" wont be recognized, only + "set alias= on"
  • +
  • showtime
    Used in the webfrontend pgm2 to show the time of last activity @@ -447,15 +453,13 @@ A line ending with \ will be concatenated with the next one, so long lines

    Output a short space seperated status for <devspec>. It is useful for monitoring the device in e.g. Cacti.
    - Examples: - + ack:0 actuator:2 day-temp:21.5 desired-temp:22.5 [...] + Note: to use this command copy the file contrib/getstate/99_getstate.pm into your FHEM directory.
    @@ -758,11 +762,12 @@ A line ending with \ will be concatenated with the next one, so long lines Example:
      fhem> xmllist
       <FHZINFO>
    -          <internal_LIST>
    -                  <internal name="global" state="internal" sets="" attrs="room configfile logfile modpath pidfilename port statefile userattr verbose version">
    -                          <INT key="DEF" value="<no definition>"/>
    -                          <INT key="NR" value="0"/>
    -                          <INT key="STATE" value="internal"/>
    +    <internal_LIST>
    +      <internal name="global" state="internal"
    +                sets="" attrs="room configfile logfile ...">
    +        <INT key="DEF" value="<no definition>"/>
    +        <INT key="NR" value="0"/>
    +        <INT key="STATE" value="internal"/>
           [...]
     
       
    @@ -3876,7 +3881,14 @@ Terminating Attributes
  • plotsize
  • plotmode
  • @@ -3950,6 +3962,19 @@ Terminating i.e the default http address is http://localhost:8083/fhem
    +
    +
  • fwmodpath
    + Path to the style, png, gplot and html files. Defaults to modpath/FHEM . Used to configure different fhem + servers, e.g. one with small gnuplots for android phones and one with + SVG for the desktop browser.

  • + + +
  • fwcompress
    + Compress the output with the gzip method if the browser supports it. + Defaults to 1. Set it to 0 if you have a slow CPU with a fast + connection.

  • +
  • refresh
    If set, a http-equiv="refresh" entry will be genererated with the given @@ -3990,14 +4015,6 @@ Terminating the weblink.

  • - -
  • fixedrange
    - Can be applied to weblink devices (FHEMWEB).
    - Contains two time specs in the form YYYY-MM-DD separated by a space. - In plotmode gnuplot-scroll or SVG the given time-range will be used, - and no scrolling for this weblinks will be possible. Needed e.g. for - looking at last-years data without scrolling. -

  • @@ -4029,41 +4046,39 @@ Terminating
    - Examples: -
    -    # absolute ones:
    -    define a1 at 17:00:00 set lamp on                            # fhem command
    -    define a2 at 17:00:00 { Log 1, "Teatime" }                   # Perl command
    -    define a3 at 17:00:00 "/bin/echo "Teatime" > /dev/console"   # shell command
    -    define a4 at *17:00:00 set lamp on                           # every day
    +    Examples:
    +# absolute ones:
    +define a1 at 17:00:00 set lamp on                          # fhem command
    +define a2 at 17:00:00 { Log 1, "Teatime" }                 # Perl command
    +define a3 at 17:00:00 "/bin/echo "Teatime" > /dev/console" # shell command
    +define a4 at *17:00:00 set lamp on                         # every day
     
    -    # relative ones
    -    define a5 at +00:00:10 set lamp on                  # switch the lamp on in 10 seconds
    -    define a6 at +00:00:02 set lamp on-for-timer 1      # Blink once in 2 seconds
    -    define a7 at +*{3}00:00:02 set lamp on-for-timer 1  # Blink 3 times
    +# relative ones
    +define a5 at +00:00:10 set lamp on                 # lamp on in 10 sec
    +define a6 at +00:00:02 set lamp on-for-timer 1     # Blink once in 2 sec
    +define a7 at +*{3}00:00:02 set lamp on-for-timer 1 # Blink 3 times
     
    -    # Blink 3 times if the piri sends a command
    -    define n1 notify piri:on.* define a8 at +*{3}00:00:02 set lamp on-for-timer 1
    +# Blink 3 times if the piri sends a command
    +define n1 notify piri:on.* define a8 at +*{3}00:00:02 set lamp on-for-timer 1
     
    -    # Switch the lamp on from sunset to 11 PM
    -    define a9 at +*{sunset_rel()} set lamp on
    -    define a10 at *23:00:00 set lamp off
    +# Switch the lamp on from sunset to 11 PM
    +define a9 at +*{sunset_rel()} set lamp on
    +define a10 at *23:00:00 set lamp off
     
    -    # More elegant version, works for sunset > 23:00 too
    -    define a11 at +*{sunset_rel()} set lamp on-till 23:00
    +# More elegant version, works for sunset > 23:00 too
    +define a11 at +*{sunset_rel()} set lamp on-till 23:00
     
    -    # Only do this on weekend
    -    define a12 at +*{sunset_rel()} { fhem("set lamp on-till 23:00") if($we) }
    +# Only do this on weekend
    +define a12 at +*{sunset_rel()} { fhem("set lamp on-till 23:00") if($we) }
     
    -    # Switch lamp1 and lamp2 on from 7:00 till 10 minutes after sunrise
    -    define a13 at *07:00 set lamp1,lamp2 on-till {sunrise(+600)}
    +# Switch lamp1 and lamp2 on from 7:00 till 10 minutes after sunrise
    +define a13 at *07:00 set lamp1,lamp2 on-till {sunrise(+600)}
     
    -    # Switch the lamp off 2 minutes after sunrise each day
    -    define a14 at +{sunrise(+120)} set lamp on
    -
    -    # Switch lamp1 on at sunset, not before 18:00 and not after 21:00
    -    define a15 at *{sunset(0,"18:00","21:00")} set lamp1 on
    +# Switch the lamp off 2 minutes after sunrise each day
    +define a14 at +{sunrise(+120)} set lamp on
     
    +# Switch lamp1 on at sunset, not before 18:00 and not after 21:00
    +define a15 at *{sunset(0,"18:00","21:00")} set lamp1 on
         
    Notes: