Hooks to change andFHEM behaviour from within the fhem.cfg file.

Each user attribute has to be added separately to the allowed user attributes in FHEM (i.e. attr global userattr onOffDevice)

Name User Attribute Example Minimum Version
OnOffButtons
Display on / off buttons instead of toggle buttons
onOffDevice
the value has to be boolean (true or false)
attr mat_halogen onOffDevice true
attr mat_halogen onOffDevice false
1.7.0
OnButton
Display only an on button
onDevice
the value has to be boolean (true or false)
attr mat_halogen onDevice true
1.9.4
OffButton
Display only an off button
offDevice
the value has to be boolean (true or false)
attr mat_halogen offDevice true 1.9.4
WebCmd
Display all webcmd buttons within the device overview list.
webcmdDevice
the value has to be boolean (true or false)
attr mat_halogen webcmdDevice true 2.5.7
ToggleButton
Display a toggle button 
toggleDevice
the value has to be boolean (true or false)
attr mat_halogen toggleDevice true 1.9.5
InvertState
Display a toggle button
invertState
the value has to be boolean (true or false)
attr mat_halogen invertState true 1.9.9
OnStateName
Field to regard as "on". This is also used for reading the eventMap state name
OnStateName
the state name to regard as on
attr mat_halogen onStateName toggle 2.0.5
OffStateName
Field to regard as "on". This is also used for reading the eventMap state name
OffStateName
the state name to regard as off
attr mat_halogen offStateName toggle 2.0.5
WidgetName
Specify a name displayed within widgets. Space within app widgets is usually quite thin, so you may want to specify a shortname instead of having the app cut your default name to the available screen size.
widget_name
the name to display within widgets
attr mat_halogen widget_name short 2.5.9
AlwaysHidden
Completely hide a device from andFHEM.
always_hidden
the value has to be boolean (true or false)

attr mat_halogen always_hidden true 2.6.2
Sum graph division factor
Configures a division factor for the sum graph (so that you can define the proportion between current and sum values)
sum_graph_division_factor attr 00STROM sum_graph_division_factor 0.5
Some decimal value (no comma, only dots, allowed!)
3.0.7
FHEMWEB column
Configure column ordering from your FHEMWEB device attributes
column attr FHEMWEB column room:switch,dimmer
Use ".*" as room definition to match all rooms and "favorites" to match only favorites
4.7.7
FHEMWEB sortRooms
Configure room ordering from your FHEMWEB device attributes
sortRooms attr FHEMWEB sortRooms roomA roomB
FHEMWEB hiddenroom
Configure hidden rooms from your FHEMWEB device attributes
hiddenroom attr FHEMWEB hiddenroom autocreate,myHiddenRoom
FHEMWEB hiddengroup
Configure hidden groups from your FHEMWEB device attributes
hiddengroup attr FHEMWEB hiddenroom switch,dimmer
AndFHEM alias
Like FHEM's alias attribute, but only evaluated in andFHEM. Takes priority over the alias attribute.
andFHEM_alias attr myDevice andFHEM_alias myName 4.7.8
widgetOverride :noArg
Useful to disable all widgets (like dim / on and off) in andFHEM. This attribute can also be used in FHEMWEB to disable widgets.
widgetOverride attr myDevice widgetOverride :noArg 4.7.8