FHEM: Difference between revisions
(Update Interlanguage link) |
Lahwaacz.bot (talk | contribs) (update http to https) |
||
Line 35: | Line 35: | ||
</nowiki>}} | </nowiki>}} | ||
Please visit the [ | Please visit the [https://fhem.de/commandref.html FHEM reference documentation] for further information. | ||
== Startup == | == Startup == | ||
Just [[start/enable]] {{ic|fhem.service}}. | Just [[start/enable]] {{ic|fhem.service}}. |
Latest revision as of 06:52, 17 April 2021
FHEM (TM) is a GPL'd perl server for house automation. It is used to automate some common tasks in the household like switching lamps / shutters / heating / etc. and to log events like temperature / humidity / power consumption.
Installation
Install the fhemAUR package.
Configuration
Since version 5.7, the FHEM package uses a different directory layout for its files:
/usr/share/fhem
Perl modules and static content/var/lib/fhem
logs and state files, changing content/etc/fhem.cfg
main configuration file
If you have a legacy configuration, please adjust your paths by putting these lines into /etc/fhem.cfg
If you like to edit the configuration from the web frontend, make sure the user fhem
has write access to /etc/fhem.cfg
.
/etc/fhem.cfg
attr global logfile /var/lib/fhem/fhem-%Y-%m.log attr global modpath /usr/share/fhem attr global statefile /var/lib/fhem/fhem.save [...] define Logfile FileLog /var/lib/fhem/fhem-%Y-%m.log fakelog define autocreate autocreate attr autocreate filelog /var/lib/fhem/%NAME-%Y.log define eventTypes eventTypes /var/lib/fhem/eventTypes.txt
Please visit the FHEM reference documentation for further information.
Startup
Just start/enable fhem.service
.