fhem.cfg 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  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 includeReturn 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 includeReturn 1
  128. attr trafficViaHockenheim outputReadings text
  129. attr trafficViaHockenheim room Verkehr
  130. attr trafficViaHockenheim start_address Nelkenweg, 67454 Haßloch
  131. attr trafficViaHockenheim verbose 1
  132. attr trafficViaHockenheim waypoints 49.305870, 8.425785
  133. #
  134. define trafficViaTalhaus TRAFFIC AIzaSyCoAbPI0IfuBl8P6EJhKM316nyyW93T4Dg 600
  135. attr trafficViaTalhaus userattr DbLogExclude GoogleMapsCenter GoogleMapsStroke GoogleMapsTrafficLayer GoogleMapsZoom end_address includeReturn outputReadings start_address verbose waypoints
  136. attr trafficViaTalhaus DbLogExclude .*
  137. attr trafficViaTalhaus GoogleMapsCenter 49.317545, 8.437319
  138. attr trafficViaTalhaus GoogleMapsStroke #0080FF,6,40,#0080FF,6,40
  139. attr trafficViaTalhaus GoogleMapsTrafficLayer 1
  140. attr trafficViaTalhaus GoogleMapsZoom 11
  141. attr trafficViaTalhaus end_address Heidelberger Str., 69226 Nußloch
  142. attr trafficViaTalhaus includeReturn 1
  143. attr trafficViaTalhaus outputReadings text
  144. attr trafficViaTalhaus room Verkehr
  145. attr trafficViaTalhaus start_address Nelkenweg, 67454 Haßloch
  146. attr trafficViaTalhaus verbose 1
  147. attr trafficViaTalhaus waypoints 49.305870, 8.425785 | 49.3419634, 8.5320445
  148. #
  149. define trafficViaA61A6 TRAFFIC AIzaSyCoAbPI0IfuBl8P6EJhKM316nyyW93T4Dg 600
  150. attr trafficViaA61A6 userattr DbLogExclude GoogleMapsCenter GoogleMapsStroke GoogleMapsTrafficLayer GoogleMapsZoom end_address includeReturn outputReadings start_address verbose waypoints
  151. attr trafficViaA61A6 DbLogExclude .*
  152. attr trafficViaA61A6 GoogleMapsCenter 49.317545, 8.437319
  153. attr trafficViaA61A6 GoogleMapsStroke #0080FF,6,50
  154. attr trafficViaA61A6 GoogleMapsTrafficLayer 1
  155. attr trafficViaA61A6 GoogleMapsZoom 11
  156. attr trafficViaA61A6 end_address Heidelberger Str., 69226 Nußloch
  157. attr trafficViaA61A6 includeReturn 1
  158. attr trafficViaA61A6 outputReadings text
  159. attr trafficViaA61A6 room Verkehr
  160. attr trafficViaA61A6 start_address Nelkenweg, 67454 Haßloch
  161. attr trafficViaA61A6 verbose 1
  162. attr trafficViaA61A6 waypoints 49.3892154, 8.3393097
  163. #
  164. define trafficViaA61Talhaus TRAFFIC AIzaSyCoAbPI0IfuBl8P6EJhKM316nyyW93T4Dg 600
  165. attr trafficViaA61Talhaus userattr DbLogExclude GoogleMapsCenter GoogleMapsStroke GoogleMapsTrafficLayer GoogleMapsZoom end_address includeReturn outputReadings start_address verbose waypoints
  166. attr trafficViaA61Talhaus DbLogExclude .*
  167. attr trafficViaA61Talhaus GoogleMapsCenter 49.317545, 8.437319
  168. attr trafficViaA61Talhaus GoogleMapsStroke #0080FF,6,50
  169. attr trafficViaA61Talhaus GoogleMapsTrafficLayer 1
  170. attr trafficViaA61Talhaus GoogleMapsZoom 11
  171. attr trafficViaA61Talhaus end_address Heidelberger Str., 69226 Nußloch
  172. attr trafficViaA61Talhaus includeReturn 1
  173. attr trafficViaA61Talhaus outputReadings text
  174. attr trafficViaA61Talhaus room Verkehr
  175. attr trafficViaA61Talhaus start_address Nelkenweg, 67454 Haßloch
  176. attr trafficViaA61Talhaus verbose 1
  177. attr trafficViaA61Talhaus waypoints 49.3892154, 8.3393097 | 49.3419634, 8.5320445
  178. define n_DbLogExclude notify global:DEFINED.* attr $EVTPART1 DbLogExclude .*
  179. attr n_DbLogExclude DbLogExclude .*
  180. attr n_DbLogExclude room Notify,Log
  181. #Google Geburtstags Kalender einbinden
  182. define BirthdayCalendar Calendar ical url https://calendar.google.com/calendar/ical/j68hdkq24psm96dckf22tvmmtg%40group.calendar.google.com/private-5fb2e08e8f24f38c8aad843434fed88a/basic.ics
  183. attr BirthdayCalendar DbLogExclude .*
  184. attr BirthdayCalendar hideOlderThan 1
  185. attr BirthdayCalendar room Kalender
  186. attr BirthdayCalendar verbose 5
  187. #attr BirthdayCalendar SSLVerify 0
  188. #
  189. #Calview für den Geburtstagskalender
  190. #
  191. define BirthdayView CALVIEW BirthdayCalendar next
  192. attr BirthdayView DbLogExclude .*
  193. attr BirthdayView isbirthday 1
  194. attr BirthdayView maxreadings 10
  195. attr BirthdayView modes modeAlarm,modeStart,modeStarted,modeUpcoming
  196. attr BirthdayView room Kalender
  197. attr BirthdayView yobfield _summary
  198. define HolgerCal Calendar ical url https://calendar.google.com/calendar/ical/h.metzner%40gmx.de/private-011d5858b2dc126ee4322666f02c566c/basic.ics
  199. attr HolgerCal DbLogExclude .*
  200. attr HolgerCal hideOlderThan 1
  201. attr HolgerCal room Kalender
  202. define PitCal Calendar ical url https://calendar.google.com/calendar/ical/p.metzner2010%40gmail.com/private-16333283a0ee685b805f8413116436ae/basic.ics
  203. attr PitCal DbLogExclude .*
  204. attr PitCal hideOlderThan 1
  205. attr PitCal room Kalender
  206. define JuleCal Calendar ical url https://calendar.google.com/calendar/ical/jule.metzner.2011%40googlemail.com/private-1baed5bd6a50d6bf61cdc7bf925bb9eb/basic.ics
  207. attr JuleCal DbLogExclude .*
  208. attr JuleCal hideOlderThan 1
  209. attr JuleCal room Kalender
  210. define NeleCal Calendar ical url https://calendar.google.com/calendar/ical/n.metzner2012%40googlemail.com/private-c0f0a5712c56533b3c3c7b06d013d2d4/basic.ics
  211. attr NeleCal DbLogExclude .*
  212. attr NeleCal hideOlderThan 1
  213. attr NeleCal room Kalender
  214. define FamilyCal Calendar ical url https://calendar.google.com/calendar/ical/unhv7hnf2ujh85sl3m5e7rrj3g%40group.calendar.google.com/private-90140a5128b6b5b482d119b43ad79a39/basic.ics
  215. attr FamilyCal DbLogExclude .*
  216. attr FamilyCal hideOlderThan 1
  217. attr FamilyCal room Kalender
  218. define OurCalendars CALVIEW FamilyCal,PitCal,JuleCal,NeleCal,HolgerCal next 900
  219. attr OurCalendars DbLogExclude .*
  220. attr OurCalendars fulldaytext Ganztags
  221. attr OurCalendars modes next
  222. attr OurCalendars room Kalender
  223. attr OurCalendars sourcecolor FamilyCal:green,PitCal:darkblue,JuleCal:red,NeleCal:purple,HolgerCal:lightgreen
  224. attr OurCalendars timeshort 1