From 69d188a2dcda9e825c24c7e1a70bfc9024ebba7d Mon Sep 17 00:00:00 2001
From: ulimaass <>
Date: Fri, 16 Mar 2012 23:38:25 +0000
Subject: [PATCH] commandref-entry for floorplan
git-svn-id: https://svn.fhem.de/fhem/trunk@1355 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
.../95_FLOORPLAN/commandref - floorplan.html | 130 ++++++++++++++++++
1 file changed, 130 insertions(+)
create mode 100644 fhem/contrib/95_FLOORPLAN/commandref - floorplan.html
diff --git a/fhem/contrib/95_FLOORPLAN/commandref - floorplan.html b/fhem/contrib/95_FLOORPLAN/commandref - floorplan.html
new file mode 100644
index 000000000..269affe76
--- /dev/null
+++ b/fhem/contrib/95_FLOORPLAN/commandref - floorplan.html
@@ -0,0 +1,130 @@
+
+
+
+
FLOORPLAN
+
+ Implements an additional enry to your fhem menu, leading to a userinterface without fhem-menu, rooms or devicelists.
+ Devices can be displayed at a defined coordinate on the screen, usually with a clickable icon allowing to switch
+ the device on or off by clicking on it. A picture can be used background - use e.g. a floorplan of your house, or any picture.
+ Use floorplanstyle.css to adapt the representation.
+ FLOORPLAN is not part of the fhem standard delivery. Download it from
+ this SVN folder,
+ where you also find pdf-files (english and german) with a step-by-step guide for setup.
+
+
+
+ Define
+
+ define <name> FLOORPLAN
+
+
+ Hint: Store fp_<name>.png in your modpath folder (FHEM) to use it as background picture.
+ Example:
+
+
+ define Groundfloor FLOORPLAN
+ fp_Groundfloor.png
+
+
+
+
+
+
+ Set
+
+
+
+
+ Get
+
+
+
+
+ Attributes
+
+ - userattr fp_<name> <top>,<left>[,<style>[,<description>]]
+ A userattr fp_<name> will be created automatically if it does not exist yet.
+
+ - top = screen-position, pixels from top of screen
+
- left = screen-position, pixels from left of screen
+
- style =
+
+ - 0 icon/state only
+
- 1 devicename and icon/state
+
- 2 devicename, icon/state and commands
+
- 3 device-reading and optional description
+
- 4 S300TH-specific, displays temperature above humidity
+
+ - description will be displayed instead of the original devicename
+
+ Examples:
+
+ attr lamp1 fp_Groundfloor 100,100 #display lamp1 with icon only at screenposition 100,100
+ attr lamp2 fp_Groundfloor 100,140,1,Art-Deco #display lamp2 with description 'Art-Deco-Light' at 100,140
+ attr lamp3 fp_FirstFloor 130,100,1 #if you define other floorplans, you can display the same device at different positions
+ attr myFHT fp_Groundfloor 300,20,10,Temperature #display given Text + FHT-temperature
+
+
+ Hint: no blanks between parameters
+
+ - fp_arrange
+ Activates the "arrange mode" which shows an additional menu on the screen,
+ allowing to place devices easily on the screen.
+ Example:
+
+ attr Groundfloor fp_arrange 1
+
+
+ - fp_stylesheetPrefix
+ Allows the usage of a separate stylesheet like stylesheetPrefix.
+ The prefix is prepended the standard stylesheet floorplanstyle.css .
+ Example:
+
+ attr Groundfloor fp_stylesheetPrefix dark # use darkfloorplanstyle.css
+
+
+
+ - fp_default
+ The floorplan startscreen is skipped if this attribute is assigned to one of the floorplans in your installation.
+
+ Example:
+
+ attr Groundfloor fp_default 1
+
+
+ - fp_noMenu
+ Suppresses the menu which usually shows the links to all your floorplans.
+
+ Example:
+
+ attr Groundfloor fp_noMenu 1
+
+
+ - commandfield
+ Adds a fhem-commandfield to the floorplan screen.
+
+ Example:
+
+ attr Groundfloor commandfield 1
+
+
+ - Inherited from FHEMWEB
+ The following attributes are inherited from the underlying FHEMWEB instance:
+
+
+
+
+
+