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
attr global autoload_undefined_devices 1
attr global autosave 0
attr global exclude_from_update www/hausautomatisierung-com/images/haus_automatisierung.png
attr global group System
attr global icon rc_WEB
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global motd SecurityCheck:\
telnetPort is not password protected\
WEB is not password protected\
\
Protect this FHEM installation by configuring the allowed device allowed_WEB\
Running with root privileges is discouraged.\
You can disable this message with attr global motd none
attr global nofork 1
attr global perlSyntaxCheck 1
attr global room System
attr global sendStatistics onUpdate
attr global statefile ./log/fhem.save
attr global updateInBackground 0
attr global verbose 2
define telnetPort telnet 7072 global
attr telnetPort group System
attr telnetPort icon it_telephone
attr telnetPort room System
define WEB FHEMWEB 8083 global
attr WEB JavaScripts codemirror/fhem_codemirror.js hausautomatisierung-com/custom.js
attr WEB alias WEB (8083)
attr WEB codemirrorParam { "lineWrapping": true, "height": "auto" }
attr WEB confirmDelete 0
attr WEB confirmJSError 0
attr WEB editConfig 1
attr WEB group Web-Access
attr WEB hiddenroom Everything
attr WEB icon it_i-net
attr WEB longpoll websocket
attr WEB menuEntries DOIFtools,/fhem?detail=DOIFtools,haus-automatisierung.com,https://haus-automatisierung.com/
attr WEB plotWeekStartDay 1
attr WEB room System
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
attr WEB stylesheetPrefix hausautomatisierung_com
attr WEB title { if ($FW_room) { "FHEM: $FW_room" } elsif ($FW_detail) { "FHEM: $FW_detail" } else { "FHEM" } }
# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog
attr Logfile group Logging
attr Logfile icon edit_paste
attr Logfile room System
define autocreate autocreate
attr autocreate filelog ./log/%NAME-%Y.log
attr autocreate group System
attr autocreate icon edit_settings
attr autocreate room System
define eventTypes eventTypes ./log/eventTypes.txt
attr eventTypes group System
attr eventTypes icon control_home
attr eventTypes room System
# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create
attr initialUsbCheck group System
attr initialUsbCheck icon rc_USB
attr initialUsbCheck room System
define Mosquitto MQTT mqtt:1883
attr Mosquitto DbLogExclude .*
attr Mosquitto room Interfaces
define TabletUiEval HTTPSRV ftuidev/ ./www/tablet_dev TabletUI-Development
attr TabletUiEval alias Tablet Eval
attr TabletUiEval group Web-Access
attr TabletUiEval icon smartphone
attr TabletUiEval room System
define TabletUiLatest HTTPSRV ftui/ ./www/tablet TabletUI-Newest
attr TabletUiLatest alias Tablet Newest
attr TabletUiLatest group Web-Access
attr TabletUiLatest icon smartphone
attr TabletUiLatest room System
define TabletUi HTTPSRV ftuiiu/ ./www/tablet_inuse TabletUI
attr TabletUi alias Tablet UI
attr TabletUi group Web-Access
attr TabletUi icon smartphone
attr TabletUi room System
define at_DbLoggingReduce at *03:00:00 set DBLogging reduceLogNbl 90 average
attr at_DbLoggingReduce alias Database-Log Reduce
attr at_DbLoggingReduce group Logging
attr at_DbLoggingReduce icon system_fhem_update
attr at_DbLoggingReduce room Log,System
define Siri siri
attr Siri room Interfaces
define DBLogging_Reopen at +*00:15:00 set DBLogging reopen
attr DBLogging_Reopen DbLogExclude .*
attr DBLogging_Reopen alias Database-Log Reopen
attr DBLogging_Reopen group Logging
attr DBLogging_Reopen icon time_timer
attr DBLogging_Reopen room Log,System
define allowed_WEB allowed
attr allowed_WEB alias WEB (Permissions)
attr allowed_WEB group Web-Access
attr allowed_WEB icon scene_keyboard
attr allowed_WEB room System
attr allowed_WEB validFor WEB
define DOIFtools DOIFtools associated DOIF: UpdateNew diAkkuladenWandTabletKU di_muellHinweis
attr DOIFtools DOIFtoolsMenuEntry 1
attr DOIFtools group System
attr DOIFtools icon helper_doiftools
attr DOIFtools room System
define DBLogging DbLog /opt/fhem/db.conf .*:.*
attr DBLogging DbLogSelectionMode Exclude/Include
attr DBLogging DbLogType Current/History
attr DBLogging room Log
#DB Auskunft
define HaNW DBPlan 300
attr HaNW DbLogExclude .*
attr HaNW dbplan_destination Neustadt-Böbig
attr HaNW dbplan_station Haßloch(Pfalz)
attr HaNW room Verkehr
#
define HaMA DBPlan 300
attr HaMA DbLogExclude .*
attr HaMA dbplan_destination Mannheim Hbf
attr HaMA dbplan_station Haßloch(Pfalz)
attr HaMA room Verkehr
#Traffic Module
define trafficViaHockenheim TRAFFIC AIzaSyD7nni3ARfIY94ex2hSznqRZdFtCKXfFvA 21600
attr trafficViaHockenheim userattr DbLogExclude GoogleMapsCenter GoogleMapsStroke GoogleMapsTrafficLayer GoogleMapsZoom end_address includeReturn outputReadings start_address verbose waypoints
attr trafficViaHockenheim DbLogExclude .*
attr trafficViaHockenheim GoogleMapsCenter 49.317545, 8.437319
attr trafficViaHockenheim GoogleMapsStroke #0080FF,6,50
attr trafficViaHockenheim GoogleMapsTrafficLayer 1
attr trafficViaHockenheim GoogleMapsZoom 11
attr trafficViaHockenheim end_address Heidelberger Str., 69226 Nußloch
attr trafficViaHockenheim includeReturn 1
attr trafficViaHockenheim outputReadings text
attr trafficViaHockenheim room Verkehr
attr trafficViaHockenheim start_address Nelkenweg, 67454 Haßloch
attr trafficViaHockenheim verbose 1
attr trafficViaHockenheim waypoints 49.305870, 8.425785
#
define trafficViaTalhaus TRAFFIC AIzaSyD7nni3ARfIY94ex2hSznqRZdFtCKXfFvA 21600
attr trafficViaTalhaus userattr DbLogExclude GoogleMapsCenter GoogleMapsStroke GoogleMapsTrafficLayer GoogleMapsZoom end_address includeReturn outputReadings start_address verbose waypoints
attr trafficViaTalhaus DbLogExclude .*
attr trafficViaTalhaus GoogleMapsCenter 49.317545, 8.437319
attr trafficViaTalhaus GoogleMapsStroke #0080FF,6,40,#0080FF,6,40
attr trafficViaTalhaus GoogleMapsTrafficLayer 1
attr trafficViaTalhaus GoogleMapsZoom 11
attr trafficViaTalhaus end_address Heidelberger Str., 69226 Nußloch
attr trafficViaTalhaus includeReturn 1
attr trafficViaTalhaus outputReadings text
attr trafficViaTalhaus room Verkehr
attr trafficViaTalhaus start_address Nelkenweg, 67454 Haßloch
attr trafficViaTalhaus verbose 1
attr trafficViaTalhaus waypoints 49.305870, 8.425785 | 49.3419634, 8.5320445
#
define trafficViaA61A6 TRAFFIC AIzaSyD7nni3ARfIY94ex2hSznqRZdFtCKXfFvA 21600
attr trafficViaA61A6 userattr DbLogExclude GoogleMapsCenter GoogleMapsStroke GoogleMapsTrafficLayer GoogleMapsZoom end_address includeReturn outputReadings start_address verbose waypoints
attr trafficViaA61A6 DbLogExclude .*
attr trafficViaA61A6 GoogleMapsCenter 49.317545, 8.437319
attr trafficViaA61A6 GoogleMapsStroke #0080FF,6,50
attr trafficViaA61A6 GoogleMapsTrafficLayer 1
attr trafficViaA61A6 GoogleMapsZoom 11
attr trafficViaA61A6 end_address Heidelberger Str., 69226 Nußloch
attr trafficViaA61A6 includeReturn 1
attr trafficViaA61A6 outputReadings text
attr trafficViaA61A6 room Verkehr
attr trafficViaA61A6 start_address Nelkenweg, 67454 Haßloch
attr trafficViaA61A6 verbose 1
attr trafficViaA61A6 waypoints 49.3892154, 8.3393097
#
define trafficViaA61Talhaus TRAFFIC AIzaSyD7nni3ARfIY94ex2hSznqRZdFtCKXfFvA 21600
attr trafficViaA61Talhaus userattr DbLogExclude GoogleMapsCenter GoogleMapsStroke GoogleMapsTrafficLayer GoogleMapsZoom end_address includeReturn outputReadings start_address verbose waypoints
attr trafficViaA61Talhaus DbLogExclude .*
attr trafficViaA61Talhaus GoogleMapsCenter 49.317545, 8.437319
attr trafficViaA61Talhaus GoogleMapsStroke #0080FF,6,50
attr trafficViaA61Talhaus GoogleMapsTrafficLayer 1
attr trafficViaA61Talhaus GoogleMapsZoom 11
attr trafficViaA61Talhaus end_address Heidelberger Str., 69226 Nußloch
attr trafficViaA61Talhaus includeReturn 1
attr trafficViaA61Talhaus outputReadings text
attr trafficViaA61Talhaus room Verkehr
attr trafficViaA61Talhaus start_address Nelkenweg, 67454 Haßloch
attr trafficViaA61Talhaus verbose 1
attr trafficViaA61Talhaus waypoints 49.3892154, 8.3393097 | 49.3419634, 8.5320445
define n_DbLogExclude notify global:DEFINED.* attr $EVTPART1 DbLogExclude .*
attr n_DbLogExclude DbLogExclude .*
attr n_DbLogExclude room Notify,Log
#Google Geburtstags Kalender einbinden
define BirthdayCalendar Calendar ical url https://calendar.google.com/calendar/ical/j68hdkq24psm96dckf22tvmmtg%40group.calendar.google.com/private-5fb2e08e8f24f38c8aad843434fed88a/basic.ics 21600
attr BirthdayCalendar DbLogExclude .*
attr BirthdayCalendar hideOlderThan 1
attr BirthdayCalendar room Kalender
attr BirthdayCalendar verbose 0
#attr BirthdayCalendar SSLVerify 0
#
#Calview für den Geburtstagskalender
#
define BirthdayView CALVIEW BirthdayCalendar next
attr BirthdayView DbLogExclude .*
attr BirthdayView isbirthday 1
attr BirthdayView maxreadings 10
attr BirthdayView modes modeAlarm,modeStart,modeStarted,modeUpcoming
attr BirthdayView room Kalender
attr BirthdayView yobfield _summary
define HolgerCal Calendar ical url https://calendar.google.com/calendar/ical/h.metzner%40gmx.de/private-011d5858b2dc126ee4322666f02c566c/basic.ics
attr HolgerCal DbLogExclude .*
attr HolgerCal hideOlderThan 1
attr HolgerCal room Kalender
define PitCal Calendar ical url https://calendar.google.com/calendar/ical/p.metzner2010%40gmail.com/private-16333283a0ee685b805f8413116436ae/basic.ics
attr PitCal DbLogExclude .*
attr PitCal hideOlderThan 1
attr PitCal room Kalender
define JuleCal Calendar ical url https://calendar.google.com/calendar/ical/jule.metzner.2011%40googlemail.com/private-1baed5bd6a50d6bf61cdc7bf925bb9eb/basic.ics
attr JuleCal DbLogExclude .*
attr JuleCal hideOlderThan 1
attr JuleCal room Kalender
define NeleCal Calendar ical url https://calendar.google.com/calendar/ical/n.metzner2012%40googlemail.com/private-c0f0a5712c56533b3c3c7b06d013d2d4/basic.ics
attr NeleCal DbLogExclude .*
attr NeleCal hideOlderThan 1
attr NeleCal room Kalender
define FamilyCal Calendar ical url https://calendar.google.com/calendar/ical/unhv7hnf2ujh85sl3m5e7rrj3g%40group.calendar.google.com/private-90140a5128b6b5b482d119b43ad79a39/basic.ics
attr FamilyCal DbLogExclude .*
attr FamilyCal hideOlderThan 1
attr FamilyCal room Kalender
define OurCalendars CALVIEW FamilyCal,PitCal,JuleCal,NeleCal,HolgerCal next 900
attr OurCalendars DbLogExclude .*
attr OurCalendars fulldaytext Ganztags
attr OurCalendars modes next
attr OurCalendars room Kalender
attr OurCalendars sourcecolor FamilyCal:green,PitCal:darkblue,JuleCal:red,NeleCal:purple,HolgerCal:lightgreen
attr OurCalendars timeshort 1
define ku.Tablet FULLY 192.168.1.51 admin 300
attr ku.Tablet DbLogExclude .*
attr ku.Tablet DbLogInclude battery_level,power
attr ku.Tablet alias Wandtablet
attr ku.Tablet group Tablet
attr ku.Tablet pollInterval 300
attr ku.Tablet room Küche,Interfaces
define AbfallCal Calendar ical file ./Muell-Hassloch-2019.ics
attr AbfallCal DbLogExclude .*
attr AbfallCal room Kalender
define myABFALL ABFALL AbfallCal 3600
attr myABFALL DbLogExclude .*
attr myABFALL calendarname_praefix 0
attr myABFALL date_style date
attr myABFALL delimiter_reading |
attr myABFALL delimiter_text_reading und
attr myABFALL room Kalender
attr myABFALL stateFormat next_text in next_days Tag(en)
attr myABFALL weekday_mapping Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag
define UpdateCounter CustomReadings
attr UpdateCounter DbLogExclude .*
attr UpdateCounter event-on-update-reading FHEM,FTUI,ALL
attr UpdateCounter group Update
attr UpdateCounter icon system_fhem_reboot
attr UpdateCounter interval 3600
attr UpdateCounter readingDefinitions FHEM:qx(wget -U Mozilla -qO - https://fhem.de/fhemupdate/controls_fhem.txt| diff - /opt/fhem/FHEM/controls_fhem.txt |grep ">"|grep "UPD"|wc -l),FTUI:qx(wget -qO - https://raw.githubusercontent.com/knowthelist/fhem-tablet-ui/master/controls_fhemtabletui.txt| diff - /opt/fhem/FHEM/controls_fhemtabletui.txt |grep ">" |grep "UPD"|wc -l),DBPLAN:qx(wget -qO - https://raw.githubusercontent.com/jowiemann/DBPlan-for-Fhem/master/controls_dbplan.txt| diff - /opt/fhem/FHEM/controls_dbplan.txt |grep ">" |grep "UPD"|wc -l),ALL:{ReadingsNum($name, "FHEM", 0) + ReadingsNum($name, "FTUI", 0) + ReadingsNum($name, "DBPLAN", 0)}
attr UpdateCounter room System
attr UpdateCounter stateFormat ALL
define UpdateDummy dummy
attr UpdateDummy group Update
attr UpdateDummy room System
define UpdateFinished notify global:UPDATE.* set UpdateDummy done
attr UpdateFinished group Update
attr UpdateFinished room System
define UpdateNew DOIF ([UpdateCounter] ne "0")(set UpdateDummy update)\
DOELSEIF ([UpdateCounter] eq "0")(set UpdateDummy idle)
attr UpdateNew do always
attr UpdateNew group Update
attr UpdateNew room System
define UpdateStart notify UpdateDummy:start set UpdateDummy run;; {fhem ("update")}
attr UpdateStart group Update
attr UpdateStart room System
define SystemRebootDummy dummy
attr SystemRebootDummy group Update
attr SystemRebootDummy room System
define Systemreboot notify SystemRebootDummy:on {system ("sudo reboot")}
attr Systemreboot group Update
attr Systemreboot room System
define TradfriGW TradfriGateway 172.19.0.4:1505
attr TradfriGW DbLogExclude .*
attr TradfriGW room Interfaces,Tradfri
define tr_WhiteTemp01 TradfriDevice 65537
attr tr_WhiteTemp01 DbLogExclude .*
attr tr_WhiteTemp01 room Tradfri,Studio
define tr_ColorTempNele TradfriDevice 65539
attr tr_ColorTempNele DbLogExclude .*
attr tr_ColorTempNele room Nele,Tradfri
define ku.Tabletpower MQTT_DEVICE
attr ku.Tabletpower userattr subscribeReading_state
attr ku.Tabletpower DbLogExclude .*
attr ku.Tabletpower IODev Mosquitto
attr ku.Tabletpower alias Tablet Netzteil
attr ku.Tabletpower event-on-change-reading state
attr ku.Tabletpower eventMap ON:on OFF:off
attr ku.Tabletpower group Tablet
attr ku.Tabletpower publishSet on off toggle /SmartHome/ku/S20_01/cmnd/power
attr ku.Tabletpower room Küche
attr ku.Tabletpower subscribeReading_state /SmartHome/ku/S20_01/stat/POWER
attr ku.Tabletpower webCmd on:off:toggle
define diAkkuladenWandTabletKU DOIF ([ku.Tablet:battery_level] < 25 and [ku.Tablet:power]eq'unplugged') (set ku.Tabletpower on) DOELSEIF ([ku.Tablet:battery_level] > 90 and [ku.Tablet:power]eq'plugged') (set ku.Tabletpower off) DOELSE
attr diAkkuladenWandTabletKU DbLogExclude .*
attr diAkkuladenWandTabletKU do always
attr diAkkuladenWandTabletKU group Tablet
attr diAkkuladenWandTabletKU room Automation,Küche
attr diAkkuladenWandTabletKU wait 600:600
define plotPowerTabletKu SVG DBLogging:ku.Tablet:CURRENT
attr plotPowerTabletKu DbLogExclude .*
attr plotPowerTabletKu group Tablet
attr plotPowerTabletKu label "Battery Min: $data{min1}, Max: $data{max1}, Aktuell: $data{currval1} - Power: $data{currval2}"
attr plotPowerTabletKu room Küche
define atTradfriGWupdate at +*00:05:00 get TradfriGW deviceList
attr atTradfriGWupdate DbLogExclude .*
attr atTradfriGWupdate room Automation,Tradfri
define st.HeatedWaterPump MQTT_DEVICE
attr st.HeatedWaterPump DbLogExclude .*
attr st.HeatedWaterPump DbLogInclude ENERGY_Power,ENERGY_Today,ENERGY_Yesterday
attr st.HeatedWaterPump IODev Mosquitto
attr st.HeatedWaterPump alias Warmwasserzirkulation
attr st.HeatedWaterPump eventMap ON:on OFF:off
attr st.HeatedWaterPump publishSet on off toggle /SmartHome/st/S20_03/cmnd/power
attr st.HeatedWaterPump room Studio
attr st.HeatedWaterPump stateFormat {sprintf("Leistung: %.1fW Tagesverbrauch: %.1fWh Status: %s", ReadingsVal($name,"ENERGY_Power",0), 1000*ReadingsVal($name,"ENERGY_Today",0), ReadingsVal($name,"state","OFF"))}
attr st.HeatedWaterPump subscribeReading_sensor /SmartHome/st/S20_03/tele/SENSOR
attr st.HeatedWaterPump subscribeReading_state /SmartHome/st/S20_03/stat/POWER
attr st.HeatedWaterPump webCmd on:off:toggle
define ej3 expandJSON st.HeatedWaterPump:sensor:.* .*
attr ej3 DbLogExclude .*
attr ej3 room Studio
define myFritz FRITZBOX
attr myFritz DbLogExclude .*
attr myFritz allowTR064Command 1
attr myFritz room Interfaces
define PitHandy PRESENCE function {checkAllFritzMACpresent("D0:77:14:3C:AC:40")} 60 300
attr PitHandy DbLogExclude .*
attr PitHandy DbLogInclude state
attr PitHandy room Bewohner
define HolgerHandy PRESENCE function {checkAllFritzMACpresent("9C:F3:87:3A:F7:FF")} 60 300
attr HolgerHandy DbLogExclude .*
attr HolgerHandy DbLogInclude state
attr HolgerHandy room Bewohner
define JuleHandy PRESENCE function {checkAllFritzMACpresent("F0:D7:AA:2B:42:CE")} 60 300
attr JuleHandy DbLogExclude .*
attr JuleHandy DbLogInclude state
attr JuleHandy room Bewohner
define NeleHandy PRESENCE function {checkAllFritzMACpresent("80:58:F8:16:CA:EC")} 60 300
attr NeleHandy DbLogExclude .*
attr NeleHandy DbLogInclude state
attr NeleHandy room Bewohner
define plotResident SVG DBLogging:HolgerHandy:CURRENT
attr plotResident DbLogExclude .*
attr plotResident label "Holger: $data{currval1}, Pit: $data{currval2}, Jule: $data{currval3}, Nele: $data{currval4}"
attr plotResident room Bewohner
define plotHeatedWaterPump SVG DBLogging:st.HeatedWaterPump:CURRENT
attr plotHeatedWaterPump DbLogExclude .*
attr plotHeatedWaterPump room Studio
attr plotHeatedWaterPump title "Leistung aktuell: $data{currval1}W - Verbrauch: $data{currval2}kWh - Vortag: $data{currval3}kWh"
define TC_tr_ColorTempNele WeekdayTimer tr_ColorTempNele Mo-Fr|07:15|off
attr TC_tr_ColorTempNele DbLogExclude .*
attr TC_tr_ColorTempNele commandTemplate set $NAME $EVENT
attr TC_tr_ColorTempNele room Automation,Nele
define espBridge ESPEasy bridge 8383
attr espBridge DbLogExclude .*
attr espBridge authentication 0
attr espBridge combineDevices 0
attr espBridge group ESPEasy Bridge
attr espBridge room ESPEasy
define GasPulse ESPEasy 192.168.1.122 80 espBridge PulseCountKeller_Gaszaehler
attr GasPulse DbLogExclude .*
attr GasPulse IODev espBridge
attr GasPulse Interval 300
attr GasPulse group ESPEasy Device
attr GasPulse presenceCheck 1
attr GasPulse readingSwitchText 1
attr GasPulse room Zähler,ESPEasy
attr GasPulse setState 3
attr GasPulse userReadings Absolut monotonic {ReadingsVal("GasPulse","Total",0)}
define ESPEasy_PulseCountKeller_Stromzaehler ESPEasy 192.168.1.122 80 espBridge PulseCountKeller_Stromzaehler
attr ESPEasy_PulseCountKeller_Stromzaehler DbLogExclude .*
attr ESPEasy_PulseCountKeller_Stromzaehler IODev espBridge
attr ESPEasy_PulseCountKeller_Stromzaehler Interval 300
attr ESPEasy_PulseCountKeller_Stromzaehler group ESPEasy Device
attr ESPEasy_PulseCountKeller_Stromzaehler presenceCheck 1
attr ESPEasy_PulseCountKeller_Stromzaehler readingSwitchText 1
attr ESPEasy_PulseCountKeller_Stromzaehler room ESPEasy,Zähler
attr ESPEasy_PulseCountKeller_Stromzaehler setState 3
attr ESPEasy_PulseCountKeller_Stromzaehler userReadings Absolut monotonic {ReadingsVal("ESPEasy_PulseCountKeller_Stromzaehler","Total",0)}
define Gaszaehler GasCalculator GasPulse:Absolut.*
attr Gaszaehler BasicPricePerAnnum 99.96
attr Gaszaehler Currency €
attr Gaszaehler DbLogExclude .*
attr Gaszaehler GasCounterOffset 12383.0
attr Gaszaehler GasCubicPerCounts 0.1
attr Gaszaehler GasNominalHeatingValue 11.303
attr Gaszaehler GasPricePerKWh 0.05
attr Gaszaehler GaszValue 0.9593
attr Gaszaehler MonthOfAnnualReading 2
attr Gaszaehler MonthlyPayment 57
attr Gaszaehler ReadingDestination CalculatorDevice
attr Gaszaehler SiPrefixPower W
attr Gaszaehler Volume m³
attr Gaszaehler room ESPEasy,Zähler
define Stromzaehler ElectricityCalculator ESPEasy_PulseCountKeller_Stromzaehler:Absolut.*
attr Stromzaehler BasicPricePerAnnum 99.96
attr Stromzaehler Currency €
attr Stromzaehler DbLogExclude .*
attr Stromzaehler ElectricityCounterOffset 58272.553
attr Stromzaehler ElectricityKwhPerCounts 0.013333333333
attr Stromzaehler ElectricityPricePerKWh 0.2443
attr Stromzaehler MonthOfAnnualReading 1
attr Stromzaehler MonthlyPayment 111.0
attr Stromzaehler ReadingDestination CalculatorDevice
attr Stromzaehler SiPrefixPower W
attr Stromzaehler room ESPEasy,Zähler
define HousekeepingBot TelegramBot
attr HousekeepingBot DbLogExclude .*
attr HousekeepingBot allowUnknownContacts 0
attr HousekeepingBot defaultPeer Holger
attr HousekeepingBot event-on-change-reading state
attr HousekeepingBot event-on-update-reading msgText
attr HousekeepingBot pollingTimeout 120
attr HousekeepingBot room Automation,System
define di_muellHinweis DOIF ([18:45] and [myABFALL:next_days] == 1) (set HousekeepingBot message 'Morgen werden [myABFALL:next_text] -Müll abgeholt')
attr di_muellHinweis DbLogExclude .*
attr di_muellHinweis devStateIcon 1
attr di_muellHinweis room Automation
define Spritpreise HTTPMOD https://creativecommons.tankerkoenig.de/json/prices.php?ids=e935427e-bd37-4daf-979c-b4fe2d112981,b01f066b-9b21-45c6-a687-00f5fb1a7463,51d4b632-a095-1aa0-e100-80009459e03a,b48682b4-d344-4bb9-8890-a8504912119d&apikey=9961c626-26de-7c29-a9b8-6e7bd9131779 900
attr Spritpreise DbLogExclude .*
attr Spritpreise enableControlSet 1
attr Spritpreise extractAllJSON 1
attr Spritpreise room Verkehr
attr Spritpreise stateFormat Real: prices_51d4b632-a095-1aa0-e100-80009459e03a_diesel / Avia: prices_b01f066b-9b21-45c6-a687-00f5fb1a7463_diesel / Esso: prices_e935427e-bd37-4daf-979c-b4fe2d112981_diesel / Shell Ig: prices_b48682b4-d344-4bb9-8890-a8504912119d_diesel
define Sonos SONOS 192.168.1.146:4711 30
attr Sonos DbLogExclude .*
attr Sonos room Sonos
define Sonos_Kueche SONOSPLAYER RINCON_B8E9378F694401400_MR
attr Sonos_Kueche DbLogExclude .*
attr Sonos_Kueche alias Küche
attr Sonos_Kueche generateInfoSummarize1
attr Sonos_Kueche generateInfoSummarize2
attr Sonos_Kueche generateInfoSummarize3 ~ Balance:
attr Sonos_Kueche generateVolumeSlider 1
attr Sonos_Kueche getAlarms 1
attr Sonos_Kueche getTitleInfoFromMaster 1
attr Sonos_Kueche group Kueche
attr Sonos_Kueche icon icoSONOSPLAYER_icon-S1.png
attr Sonos_Kueche minVolume 0
attr Sonos_Kueche model Sonos_S1
attr Sonos_Kueche room Sonos
attr Sonos_Kueche simulateCurrentTrackPosition 1
attr Sonos_Kueche sortby 1
attr Sonos_Kueche stateFormat presence ~ currentTrackPositionSimulatedPercent% (currentTrackPositionSimulated / currentTrackDuration)
attr Sonos_Kueche userReadings Favourites:LastActionResult.*?GetFavouritesWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, Radios:LastActionResult.*?GetRadiosWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, Playlists:LastActionResult.*?GetPlaylistsWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, Queue:LastActionResult.*?GetQueueWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, currentTrackPosition:LastActionResult.*?GetCurrentTrackPosition.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }
attr Sonos_Kueche webCmd Volume
define Sonos_KuecheRG_Favourites readingsGroup Sonos_Kueche:<{SONOS_getListRG($DEVICE,"Favourites",1)}@Favourites>
attr Sonos_KuecheRG_Favourites DbLogExclude .*
define Sonos_KuecheRG_Radios readingsGroup Sonos_Kueche:<{SONOS_getListRG($DEVICE,"Radios",1)}@Radios>
attr Sonos_KuecheRG_Radios DbLogExclude .*
define Sonos_KuecheRG_Playlists readingsGroup Sonos_Kueche:<{SONOS_getListRG($DEVICE,"Playlists")}@Playlists>
attr Sonos_KuecheRG_Playlists DbLogExclude .*
define Sonos_KuecheRG_Queue readingsGroup Sonos_Kueche:<{SONOS_getListRG($DEVICE,"Queue")}@Queue>
attr Sonos_KuecheRG_Queue DbLogExclude .*
define Sonos_Schlafzimmer SONOSPLAYER RINCON_7828CA1425E601400_MR
attr Sonos_Schlafzimmer DbLogExclude .*
attr Sonos_Schlafzimmer alias Schlafzimmer
attr Sonos_Schlafzimmer generateInfoSummarize1
attr Sonos_Schlafzimmer generateInfoSummarize2
attr Sonos_Schlafzimmer generateInfoSummarize3 ~ Balance:
attr Sonos_Schlafzimmer generateVolumeSlider 1
attr Sonos_Schlafzimmer getAlarms 1
attr Sonos_Schlafzimmer getTitleInfoFromMaster 1
attr Sonos_Schlafzimmer group Schlafzimmer
attr Sonos_Schlafzimmer icon icoSONOSPLAYER_icon-S13.png
attr Sonos_Schlafzimmer minVolume 0
attr Sonos_Schlafzimmer model Sonos_S13
attr Sonos_Schlafzimmer room Sonos
attr Sonos_Schlafzimmer simulateCurrentTrackPosition 1
attr Sonos_Schlafzimmer sortby 1
attr Sonos_Schlafzimmer stateFormat presence ~ currentTrackPositionSimulatedPercent% (currentTrackPositionSimulated / currentTrackDuration)
attr Sonos_Schlafzimmer userReadings Favourites:LastActionResult.*?GetFavouritesWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, Radios:LastActionResult.*?GetRadiosWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, Playlists:LastActionResult.*?GetPlaylistsWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, Queue:LastActionResult.*?GetQueueWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, currentTrackPosition:LastActionResult.*?GetCurrentTrackPosition.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }
attr Sonos_Schlafzimmer webCmd Volume
define Sonos_SchlafzimmerRG_Favourites readingsGroup Sonos_Schlafzimmer:<{SONOS_getListRG($DEVICE,"Favourites",1)}@Favourites>
attr Sonos_SchlafzimmerRG_Favourites DbLogExclude .*
define Sonos_SchlafzimmerRG_Radios readingsGroup Sonos_Schlafzimmer:<{SONOS_getListRG($DEVICE,"Radios",1)}@Radios>
attr Sonos_SchlafzimmerRG_Radios DbLogExclude .*
define Sonos_SchlafzimmerRG_Playlists readingsGroup Sonos_Schlafzimmer:<{SONOS_getListRG($DEVICE,"Playlists")}@Playlists>
attr Sonos_SchlafzimmerRG_Playlists DbLogExclude .*
define Sonos_SchlafzimmerRG_Queue readingsGroup Sonos_Schlafzimmer:<{SONOS_getListRG($DEVICE,"Queue")}@Queue>
attr Sonos_SchlafzimmerRG_Queue DbLogExclude .*
define Sonos_Wohnzimmer SONOSPLAYER RINCON_000E58B7AF6B01400_MR
attr Sonos_Wohnzimmer DbLogExclude .*
attr Sonos_Wohnzimmer alias Wohnzimmer
attr Sonos_Wohnzimmer generateInfoSummarize1
attr Sonos_Wohnzimmer generateInfoSummarize2
attr Sonos_Wohnzimmer generateInfoSummarize3 ~ Balance:
attr Sonos_Wohnzimmer generateVolumeSlider 1
attr Sonos_Wohnzimmer getAlarms 1
attr Sonos_Wohnzimmer getTitleInfoFromMaster 1
attr Sonos_Wohnzimmer group Wohnzimmer
attr Sonos_Wohnzimmer icon icoSONOSPLAYER_icon-S9.png
attr Sonos_Wohnzimmer minVolume 0
attr Sonos_Wohnzimmer model Sonos_S9
attr Sonos_Wohnzimmer room Sonos
attr Sonos_Wohnzimmer simulateCurrentTrackPosition 1
attr Sonos_Wohnzimmer sortby 1
attr Sonos_Wohnzimmer stateFormat presence ~ currentTrackPositionSimulatedPercent% (currentTrackPositionSimulated / currentTrackDuration)
attr Sonos_Wohnzimmer userReadings Favourites:LastActionResult.*?GetFavouritesWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, Radios:LastActionResult.*?GetRadiosWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, Playlists:LastActionResult.*?GetPlaylistsWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, Queue:LastActionResult.*?GetQueueWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, currentTrackPosition:LastActionResult.*?GetCurrentTrackPosition.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }
attr Sonos_Wohnzimmer webCmd Volume
define Sonos_WohnzimmerRG_Favourites readingsGroup Sonos_Wohnzimmer:<{SONOS_getListRG($DEVICE,"Favourites",1)}@Favourites>
attr Sonos_WohnzimmerRG_Favourites DbLogExclude .*
define Sonos_WohnzimmerRG_Radios readingsGroup Sonos_Wohnzimmer:<{SONOS_getListRG($DEVICE,"Radios",1)}@Radios>
attr Sonos_WohnzimmerRG_Radios DbLogExclude .*
define Sonos_WohnzimmerRG_Playlists readingsGroup Sonos_Wohnzimmer:<{SONOS_getListRG($DEVICE,"Playlists")}@Playlists>
attr Sonos_WohnzimmerRG_Playlists DbLogExclude .*
define Sonos_WohnzimmerRG_Queue readingsGroup Sonos_Wohnzimmer:<{SONOS_getListRG($DEVICE,"Queue")}@Queue>
attr Sonos_WohnzimmerRG_Queue DbLogExclude .*
define Sonos_Bad SONOSPLAYER RINCON_7828CA98144C01400_MR
attr Sonos_Bad DbLogExclude .*
attr Sonos_Bad alias Bad
attr Sonos_Bad generateInfoSummarize1
attr Sonos_Bad generateInfoSummarize2
attr Sonos_Bad generateInfoSummarize3 ~ Balance:
attr Sonos_Bad generateVolumeSlider 1
attr Sonos_Bad getAlarms 1
attr Sonos_Bad getTitleInfoFromMaster 1
attr Sonos_Bad group Bad
attr Sonos_Bad icon icoSONOSPLAYER_icon-S12.png
attr Sonos_Bad minVolume 0
attr Sonos_Bad model Sonos_S12
attr Sonos_Bad room Sonos
attr Sonos_Bad simulateCurrentTrackPosition 1
attr Sonos_Bad sortby 1
attr Sonos_Bad stateFormat presence ~ currentTrackPositionSimulatedPercent% (currentTrackPositionSimulated / currentTrackDuration)
attr Sonos_Bad userReadings Favourites:LastActionResult.*?GetFavouritesWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, Radios:LastActionResult.*?GetRadiosWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, Playlists:LastActionResult.*?GetPlaylistsWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, Queue:LastActionResult.*?GetQueueWithCovers.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }, currentTrackPosition:LastActionResult.*?GetCurrentTrackPosition.* { if (ReadingsVal($name, "LastActionResult", "") =~ m/.*?: (.*)/) { return $1;; } }
attr Sonos_Bad webCmd Volume
define Sonos_BadRG_Favourites readingsGroup Sonos_Bad:<{SONOS_getListRG($DEVICE,"Favourites",1)}@Favourites>
attr Sonos_BadRG_Favourites DbLogExclude .*
define Sonos_BadRG_Radios readingsGroup Sonos_Bad:<{SONOS_getListRG($DEVICE,"Radios",1)}@Radios>
attr Sonos_BadRG_Radios DbLogExclude .*
define Sonos_BadRG_Playlists readingsGroup Sonos_Bad:<{SONOS_getListRG($DEVICE,"Playlists")}@Playlists>
attr Sonos_BadRG_Playlists DbLogExclude .*
define Sonos_BadRG_Queue readingsGroup Sonos_Bad:<{SONOS_getListRG($DEVICE,"Queue")}@Queue>
attr Sonos_BadRG_Queue DbLogExclude .*