fhem.cfg 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. attr global userattr DbLogExclude DbLogInclude cmdIcon devStateIcon devStateStyle genericDeviceType:security,ignore,switch,outlet,light,blind,thermometer,thermostat,contact,garage,window,lock homebridgeMapping:textField-long icon siriName sortby webCmd webCmdLabel:textField-long widgetOverride
  2. attr global autoload_undefined_devices 1
  3. attr global autosave 0
  4. attr global group System
  5. attr global icon rc_WEB
  6. attr global logfile ./log/fhem-%Y-%m.log
  7. attr global modpath .
  8. attr global motd SecurityCheck:\
  9. WEB is not password protected\
  10. telnetPort is not password protected\
  11. \
  12. Protect this FHEM installation by configuring the allowed device allowed_WEB\
  13. Running with root privileges is discouraged.\
  14. You can disable this message with attr global motd none
  15. attr global nofork 1
  16. attr global perlSyntaxCheck 1
  17. attr global room System
  18. attr global sendStatistics onUpdate
  19. attr global statefile ./log/fhem.save
  20. attr global updateInBackground 0
  21. attr global verbose 2
  22. define telnetPort telnet 7072 global
  23. attr telnetPort group System
  24. attr telnetPort icon it_telephone
  25. attr telnetPort room System
  26. define WEB FHEMWEB 8083 global
  27. attr WEB JavaScripts codemirror/fhem_codemirror.js hausautomatisierung-com/custom.js
  28. attr WEB alias WEB (8083)
  29. attr WEB codemirrorParam { "lineWrapping": true, "height": "auto" }
  30. attr WEB confirmDelete 0
  31. attr WEB confirmJSError 0
  32. attr WEB editConfig 1
  33. attr WEB group Web-Access
  34. attr WEB hiddenroom Everything
  35. attr WEB icon it_i-net
  36. attr WEB longpoll websocket
  37. attr WEB menuEntries DOIFtools,/fhem?detail=DOIFtools,haus-automatisierung.com,https://haus-automatisierung.com/
  38. attr WEB plotWeekStartDay 1
  39. attr WEB room System
  40. attr WEB roomIcons Homekit:audio_audio Log:edit_paste Logfile:edit_paste System:it_network Save.config:message_attention Everything:it_i-net Unsorted:unknown Commandref:system_fhem Remote.doc:message_mail Edit.files:edit_copy Select.style:edit_open Event.monitor:edit_settings DOIFtools:helper_doiftools haus-automatisierung.com:it_internet
  41. attr WEB stylesheetPrefix hausautomatisierung_com
  42. attr WEB title { if ($FW_room) { "FHEM: $FW_room" } elsif ($FW_detail) { "FHEM: $FW_detail" } else { "FHEM" } }
  43. # Fake FileLog entry, to access the fhem log from FHEMWEB
  44. define Logfile FileLog ./log/fhem-%Y-%m.log fakelog
  45. attr Logfile group Logging
  46. attr Logfile icon edit_paste
  47. attr Logfile room System
  48. define autocreate autocreate
  49. attr autocreate filelog ./log/%NAME-%Y.log
  50. attr autocreate group System
  51. attr autocreate icon edit_settings
  52. attr autocreate room System
  53. define eventTypes eventTypes ./log/eventTypes.txt
  54. attr eventTypes group System
  55. attr eventTypes icon control_home
  56. attr eventTypes room System
  57. # Disable this to avoid looking for new USB devices on startup
  58. define initialUsbCheck notify global:INITIALIZED usb create
  59. attr initialUsbCheck group System
  60. attr initialUsbCheck icon rc_USB
  61. attr initialUsbCheck room System
  62. define Mosquitto MQTT mqtt:1883
  63. attr Mosquitto room Interfaces
  64. define TabletUiEval HTTPSRV ftuidev/ ./www/tablet_dev TabletUI-Development
  65. attr TabletUiEval alias Tablet Eval
  66. attr TabletUiEval group Web-Access
  67. attr TabletUiEval icon smartphone
  68. attr TabletUiEval room System
  69. define TabletUiLatest HTTPSRV ftui/ ./www/tablet TabletUI-Newest
  70. attr TabletUiLatest alias Tablet Newest
  71. attr TabletUiLatest group Web-Access
  72. attr TabletUiLatest icon smartphone
  73. attr TabletUiLatest room System
  74. define TabletUi HTTPSRV ftuiiu/ ./www/tablet_inuse TabletUI
  75. attr TabletUi alias Tablet UI
  76. attr TabletUi group Web-Access
  77. attr TabletUi icon smartphone
  78. attr TabletUi room System
  79. define at_DbLoggingReduce at *03:00:00 set DBLogging reduceLogNbl 90 average
  80. attr at_DbLoggingReduce alias Database-Log Reduce
  81. attr at_DbLoggingReduce group Logging
  82. attr at_DbLoggingReduce icon system_fhem_update
  83. attr at_DbLoggingReduce room Log,System
  84. define Siri siri
  85. attr Siri room Interfaces
  86. define DBLogging_Reopen at +*00:15:00 set DBLogging reopen
  87. attr DBLogging_Reopen alias Database-Log Reopen
  88. attr DBLogging_Reopen group Logging
  89. attr DBLogging_Reopen icon time_timer
  90. attr DBLogging_Reopen room Log,System
  91. define allowed_WEB allowed
  92. attr allowed_WEB alias WEB (Permissions)
  93. attr allowed_WEB group Web-Access
  94. attr allowed_WEB icon scene_keyboard
  95. attr allowed_WEB room System
  96. attr allowed_WEB validFor WEB
  97. define DOIFtools DOIFtools associated DOIF:
  98. attr DOIFtools DOIFtoolsMenuEntry 1
  99. attr DOIFtools group System
  100. attr DOIFtools icon helper_doiftools
  101. attr DOIFtools room System
  102. define DBLogging DbLog /opt/fhem/db.conf .*:.*
  103. attr DBLogging DbLogSelectionMode Exclude/Include
  104. attr DBLogging DbLogType Current/History
  105. attr DBLogging room Log
  106. #DB Auskunft
  107. define HaNW DBPlan 300
  108. attr HaNW DbLogExclude .*
  109. attr HaNW dbplan_destination Neustadt-Böbig
  110. attr HaNW dbplan_station Haßloch(Pfalz)
  111. attr HaNW room Verkehr
  112. #
  113. define HaMA DBPlan 300
  114. attr HaMA DbLogExclude .*
  115. attr HaMA dbplan_destination Mannheim Hbf
  116. attr HaMA dbplan_station Haßloch(Pfalz)
  117. attr HaMA room Verkehr
  118. #Traffic Module
  119. define trafficViaHockenheim TRAFFIC AIzaSyCoAbPI0IfuBl8P6EJhKM316nyyW93T4Dg 600
  120. attr trafficViaHockenheim userattr DbLogExclude GoogleMapsCenter GoogleMapsStroke GoogleMapsTrafficLayer GoogleMapsZoom end_address outputReadings start_address verbose waypoints
  121. attr trafficViaHockenheim DbLogExclude .*
  122. attr trafficViaHockenheim GoogleMapsCenter 49.317545, 8.437319
  123. attr trafficViaHockenheim GoogleMapsStroke #0080FF,6,50
  124. attr trafficViaHockenheim GoogleMapsTrafficLayer 1
  125. attr trafficViaHockenheim GoogleMapsZoom 11
  126. attr trafficViaHockenheim end_address Heidelberger Str., 69226 Nußloch
  127. attr trafficViaHockenheim outputReadings text
  128. attr trafficViaHockenheim room Verkehr
  129. attr trafficViaHockenheim start_address Nelkenweg, 67454 Haßloch
  130. attr trafficViaHockenheim verbose 1
  131. attr trafficViaHockenheim waypoints 49.305870, 8.425785
  132. #
  133. define trafficViaTalhaus TRAFFIC AIzaSyCoAbPI0IfuBl8P6EJhKM316nyyW93T4Dg 600
  134. attr trafficViaTalhaus userattr DbLogExclude GoogleMapsCenter GoogleMapsStroke GoogleMapsTrafficLayer GoogleMapsZoom end_address includeReturn outputReadings start_address verbose waypoints
  135. attr trafficViaTalhaus DbLogExclude .*
  136. attr trafficViaTalhaus GoogleMapsCenter 49.317545, 8.437319
  137. attr trafficViaTalhaus GoogleMapsStroke #0080FF,6,40,#0080FF,6,40
  138. attr trafficViaTalhaus GoogleMapsTrafficLayer 1
  139. attr trafficViaTalhaus GoogleMapsZoom 11
  140. attr trafficViaTalhaus end_address Heidelberger Str., 69226 Nußloch
  141. attr trafficViaTalhaus includeReturn 1
  142. attr trafficViaTalhaus outputReadings text
  143. attr trafficViaTalhaus room Verkehr
  144. attr trafficViaTalhaus start_address Nelkenweg, 67454 Haßloch
  145. attr trafficViaTalhaus verbose 1
  146. attr trafficViaTalhaus waypoints 49.305870, 8.425785 | 49.3419634, 8.5320445
  147. #
  148. define trafficViaA61A6 TRAFFIC AIzaSyCoAbPI0IfuBl8P6EJhKM316nyyW93T4Dg 600
  149. attr trafficViaA61A6 userattr DbLogExclude GoogleMapsCenter GoogleMapsStroke GoogleMapsTrafficLayer GoogleMapsZoom end_address outputReadings start_address verbose waypoints
  150. attr trafficViaA61A6 DbLogExclude .*
  151. attr trafficViaA61A6 GoogleMapsCenter 49.317545, 8.437319
  152. attr trafficViaA61A6 GoogleMapsStroke #0080FF,6,50
  153. attr trafficViaA61A6 GoogleMapsTrafficLayer 1
  154. attr trafficViaA61A6 GoogleMapsZoom 11
  155. attr trafficViaA61A6 end_address Heidelberger Str., 69226 Nußloch
  156. attr trafficViaA61A6 outputReadings text
  157. attr trafficViaA61A6 room Verkehr
  158. attr trafficViaA61A6 start_address Nelkenweg, 67454 Haßloch
  159. attr trafficViaA61A6 verbose 1
  160. attr trafficViaA61A6 waypoints 49.3892154, 8.3393097
  161. #
  162. define trafficViaA61Talhaus TRAFFIC AIzaSyCoAbPI0IfuBl8P6EJhKM316nyyW93T4Dg 600
  163. attr trafficViaA61Talhaus userattr DbLogExclude GoogleMapsCenter GoogleMapsStroke GoogleMapsTrafficLayer GoogleMapsZoom end_address outputReadings start_address verbose waypoints
  164. attr trafficViaA61Talhaus DbLogExclude .*
  165. attr trafficViaA61Talhaus GoogleMapsCenter 49.317545, 8.437319
  166. attr trafficViaA61Talhaus GoogleMapsStroke #0080FF,6,50
  167. attr trafficViaA61Talhaus GoogleMapsTrafficLayer 1
  168. attr trafficViaA61Talhaus GoogleMapsZoom 11
  169. attr trafficViaA61Talhaus end_address Heidelberger Str., 69226 Nußloch
  170. attr trafficViaA61Talhaus outputReadings text
  171. attr trafficViaA61Talhaus room Verkehr
  172. attr trafficViaA61Talhaus start_address Nelkenweg, 67454 Haßloch
  173. attr trafficViaA61Talhaus verbose 1
  174. attr trafficViaA61Talhaus waypoints 49.3892154, 8.3393097 | 49.3419634, 8.5320445
  175. define n_DbLogExclude notify global:DEFINED.* attr $EVTPART1 DbLogExclude .*
  176. attr n_DbLogExclude DbLogExclude .*
  177. attr n_DbLogExclude room Notify,Log