Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| fhem [2017/04/23 21:56] – angelegt gerald | fhem [2024/02/29 13:36] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== fhem ====== | ====== fhem ====== | ||
| + | |||
| + | {{ :: | ||
| + | |||
| + | [[fhem/ | ||
| [[https:// | [[https:// | ||
| Zeile 6: | Zeile 10: | ||
| PDF: [[https:// | PDF: [[https:// | ||
| + | |||
| + | [[http:// | ||
| + | |||
| + | [[https:// | ||
| + | ===== Sound ===== | ||
| + | Sound spielen von der FHEM-Commandline: | ||
| + | < | ||
| + | {\system (`mplayer / | ||
| + | </ | ||
| + | |||
| + | ===== Logdatei anlegen ===== | ||
| + | |||
| + | < | ||
| + | define FileLog_[name] FileLog ./ | ||
| + | attr FileLog_[name] logtype text | ||
| + | </ | ||
| + | |||
| + | Dass Gerät kann man auch nachher genau bestimmen. Oben: | ||
| + | set FileLog[blablabla] addREgexpPart [Dropdown] .* | ||
| + | |||
| + | ===== E-Mail versenden ===== | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | |||
| + | notify, wenn Klingel: | ||
| + | |||
| + | Klingel_Haustuer: | ||
| + | |||
| + | |||
| + | ===== WhatsApp ===== | ||
| + | |||
| + | **Yowsup** | ||
| + | |||
| + | [[http:// | ||
| + | |||
| + | Krieg ich nicht zum Laufen (wohl, weil WhatsApp das Protokoll ständig ändert und wg. Verschlüsselung etc.) | ||
| + | |||
| + | |||
| + | ===== CFG ===== | ||
| + | |||
| / | / | ||
| Zeile 13: | Zeile 58: | ||
| attr global logfile ./ | attr global logfile ./ | ||
| attr global modpath . | attr global modpath . | ||
| - | attr global motd none | + | attr global motd SecurityCheck: |
| + | \ | ||
| + | WEB, | ||
| + | telnetPort has no associated allowed device with password/ | ||
| + | \ | ||
| + | Restart FHEM for a new check if the problem is fixed,\ | ||
| + | or set the global attribute motd to none to supress this message.\ | ||
| attr global statefile ./ | attr global statefile ./ | ||
| attr global updateInBackground 1 | attr global updateInBackground 1 | ||
| Zeile 48: | Zeile 100: | ||
| define lightify LIGHTIFY 192.168.122.86 | define lightify LIGHTIFY 192.168.122.86 | ||
| attr lightify pollDevices 1 | attr lightify pollDevices 1 | ||
| - | attr lightify room Keller | + | attr lightify room SZ_Gerald |
| define LIGHTIFY555B0B0000261884 HUEDevice 555B0B0000261884 | define LIGHTIFY555B0B0000261884 HUEDevice 555B0B0000261884 | ||
| attr LIGHTIFY555B0B0000261884 IODev lightify | attr LIGHTIFY555B0B0000261884 IODev lightify | ||
| Zeile 161: | Zeile 213: | ||
| attr hueBridge1_HUEGroup0 room HUEDevice | attr hueBridge1_HUEGroup0 room HUEDevice | ||
| define Wetter netatmo ACCOUNT crypt: | define Wetter netatmo ACCOUNT crypt: | ||
| - | attr Wetter room Aussen | + | attr Wetter room Aussen,netatmo |
| define netatmo_D70_ee_50_20_ed_86 netatmo 70: | define netatmo_D70_ee_50_20_ed_86 netatmo 70: | ||
| attr netatmo_D70_ee_50_20_ed_86 IODev Wetter | attr netatmo_D70_ee_50_20_ed_86 IODev Wetter | ||
| Zeile 167: | Zeile 219: | ||
| attr netatmo_D70_ee_50_20_ed_86 devStateIcon .*:no-icon | attr netatmo_D70_ee_50_20_ed_86 devStateIcon .*:no-icon | ||
| attr netatmo_D70_ee_50_20_ed_86 icon temp_inside | attr netatmo_D70_ee_50_20_ed_86 icon temp_inside | ||
| - | attr netatmo_D70_ee_50_20_ed_86 room netatmo | + | attr netatmo_D70_ee_50_20_ed_86 room Aussen, |
| attr netatmo_D70_ee_50_20_ed_86 stateFormat T: temperature H: humidity | attr netatmo_D70_ee_50_20_ed_86 stateFormat T: temperature H: humidity | ||
| define netatmo_M02_00_00_20_b4_d4 netatmo MODULE 70: | define netatmo_M02_00_00_20_b4_d4 netatmo MODULE 70: | ||
| Zeile 182: | Zeile 234: | ||
| attr netatmo_M05_00_00_03_08_66 icon weather_rain_gauge | attr netatmo_M05_00_00_03_08_66 icon weather_rain_gauge | ||
| attr netatmo_M05_00_00_03_08_66 room Aussen, | attr netatmo_M05_00_00_03_08_66 room Aussen, | ||
| + | define HUEDevice8 HUEDevice 8 IODev=hueBridge1 | ||
| + | attr HUEDevice8 IODev hueBridge1 | ||
| + | attr HUEDevice8 alias Regallicht | ||
| + | attr HUEDevice8 color-icons 2 | ||
| + | attr HUEDevice8 devStateIcon {(HUEDevice_devStateIcon($name)," | ||
| + | attr HUEDevice8 icon hue_filled_lightstrip | ||
| + | attr HUEDevice8 model LST001 | ||
| + | attr HUEDevice8 room HUEDevice | ||
| + | attr HUEDevice8 subType colordimmer | ||
| + | attr HUEDevice8 webCmd hue:rgb:rgb ff0000:rgb 98FF23:rgb 0000ff: | ||
| + | define HUEDevice7 HUEDevice 7 IODev=hueBridge1 | ||
| + | attr HUEDevice7 IODev hueBridge1 | ||
| + | attr HUEDevice7 alias Küchenlicht | ||
| + | attr HUEDevice7 color-icons 2 | ||
| + | attr HUEDevice7 devStateIcon {(HUEDevice_devStateIcon($name)," | ||
| + | attr HUEDevice7 icon hue_filled_white_and_color_e27_b22 | ||
| + | attr HUEDevice7 model LWB010 | ||
| + | attr HUEDevice7 room HUEDevice | ||
| + | attr HUEDevice7 subType dimmer | ||
| + | attr HUEDevice7 webCmd pct: | ||
| + | define HUEGroup4 HUEDevice group 4 IODev=hueBridge1 | ||
| + | attr HUEGroup4 IODev hueBridge1 | ||
| + | attr HUEGroup4 alias Küche | ||
| + | attr HUEGroup4 color-icons 2 | ||
| + | attr HUEGroup4 delayedUpdate 1 | ||
| + | attr HUEGroup4 devStateIcon {(HUEDevice_devStateIcon($name)," | ||
| + | attr HUEGroup4 group HUEGroup | ||
| + | attr HUEGroup4 icon hue_room_kitchen | ||
| + | attr HUEGroup4 room HUEDevice | ||
| + | define CUL1 CUL / | ||
| + | attr CUL1 icon cul_cul | ||
| + | attr CUL1 rfmode MAX | ||
| + | define kschalter IT F000F0000F FF F0 | ||
| + | attr kschalter IODev CUL1 | ||
| + | attr kschalter model itswitch | ||
| + | attr kschalter room Keller | ||
| + | define keffekte IT F00000000F FF F0 | ||
| + | attr keffekte IODev CUL1 | ||
| + | attr keffekte model itswitch | ||
| + | attr keffekte room Keller | ||
| + | |||
| + | define rollo IT 000000000F FF F0 | ||
| + | attr rollo IODev CUL1 | ||
| + | attr rollo devStateIcon hoch: | ||
| + | attr rollo eventMap on:runter off:hoch | ||
| + | attr rollo model itswitch | ||
| + | attr rollo room SZ_Gerald | ||
| + | define licht IT 0000F0000F FF F0 | ||
| + | attr licht IODev CUL1 | ||
| + | attr licht model itswitch | ||
| + | attr licht room SZ_Gerald | ||
| + | |||
| + | define FritzBox_main FRITZBOX 192.168.122.1 | ||
| + | attr FritzBox_main allowTR064Command 1 | ||
| + | attr FritzBox_main icon it_router | ||
| + | define FritzBox_intern FRITZBOX 192.168.122.2 | ||
| + | attr FritzBox_intern allowTR064Command 1 | ||
| + | attr FritzBox_intern icon it_router | ||
| + | define TV_55 LGTV_WebOS 192.168.122.52 | ||
| + | attr TV_55 devStateIcon on: | ||
| + | attr TV_55 room Keller | ||
| + | define fast_runter dummy | ||
| + | attr fast_runter room SZ_Gerald | ||
| + | attr fast_runter webCmd on:off | ||
| + | define rollo_fast_runter notify CUL1: | ||
| </ | </ | ||
| + | ====== fhem-Befehl in der Bash aufrufen ====== | ||
| + | |||
| + | [[http:// | ||
| + | |||
| + | |||
| + | Nach dem Umstieg auf Raspberry Pi habe ich festgestellt, | ||
| + | |||
| + | < | ||
| + | ... | ||
| + | define tPort telnet 7072 global | ||
| + | attr tPort globalpassword < | ||
| + | ... | ||
| + | </ | ||
| + | |||
| + | |||
| + | ====== DoorPi & FHEM ====== | ||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | |||
| + | Ziel des Projektes DoorPi ist die Steuerung einer Türsprechanlage mittels einem Einplatiniencomputer wie dem Raspberry Pi und dem Kommunikationsprotokoll VoIP. | ||
| + | |||
| + | DoorPi ist ein Event-Action basierendes System. Es gibt Komponenten, | ||
| + | |||
| + | ====== Telegram ====== | ||
| + | |||
| + | DefaultPeer muss ohne führendes @ angegeben werden | ||
| + | |||
| + | Mit der API kann keine Verbindung mit dem T-Server aufgenommen werden, weil die SSL-Version veraltet ist0 | ||