[gelöst] Ökofen Pelletheizung einbinden über HTTPMOD

Begonnen von JueFi, 08 November 2014, 11:43:21

Vorheriges Thema - Nächstes Thema

JueFi

Hallo Stefan,
danke für deine Mühe.
Hier auch 2 Semikolon ?
attr PHeiz sid1IDRegex pksession=([0-9]+);;

Keine Fehlermeldung beim Speichern der Config.

Das Log
2014.11.28 07:57:06 1: Including fhem.cfg
2014.11.28 07:57:06 3: telnetPort: port 7072 opened
2014.11.28 07:57:06 3: WEB: port 8083 opened
2014.11.28 07:57:06 3: WEBphone: port 8084 opened
2014.11.28 07:57:06 3: WEBtablet: port 8085 opened
2014.11.28 07:57:06 2: eventTypes: loaded 710 events from ./log/eventTypes.txt
2014.11.28 07:57:06 1: Including ./log/fhem.save
2014.11.28 07:57:08 4: PHeiz: GetUpdate called, hash = HASH(0x2d10170), name = PHeiz
2014.11.28 07:57:08 5: PHeiz: AddToQueue initial send queue length : 0
2014.11.28 07:57:08 5: PHeiz: AddToQueue type Update to URL ?action=get&attr=1, data ["CAPPL:LOCAL.L_fernwartung_datum_zeit_sek","CAPPL:LOCAL.hk[0].vorhanden","CAPPL:LOCAL.hk[1].vorhanden","CAPPL:LOCAL.hk[2].vorhanden","CAPPL:LOCAL.hk[3].vorhanden","CAPPL:LOCAL.hk[4].vorhanden","CAPPL:LOCAL.hk[5].vorhanden","CAPPL:LOCAL.ww[0].vorhanden","CAPPL:LOCAL.ww[1].vorhanden","CAPPL:LOCAL.ww[2].vorhanden","CAPPL:LOCAL.zirkp[0].vorhanden","CAPPL:LOCAL.zirkp[1].vorhanden","CAPPL:LOCAL.zirkp[2].vorhanden","CAPPL:LOCAL.sk[0].vorhanden","CAPPL:LOCAL.sk[2].vorhanden","CAPPL:LOCAL.sk[4].vorhanden","CAPPL:LOCAL.pu[0].vorhanden","CAPPL:LOCAL.pu[1].vorhanden","CAPPL:LOCAL.pu[2].vorhanden","CAPPL:LOCAL.heizkreisregler_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[1]","CAPPL:LOCAL.pellematic_vorhanden[2]","CAPPL:LOCAL.pellematic_vorhanden[3]","CAPPL:LOCAL.zubrp[0].vorhanden","CAPPL:LOCAL.zubrp[1].vorhanden","CAPPL:LOCAL.zubrp[2].vorhanden","CAPPL:LOCAL.fernwartung_einheit","CAPPL:LOCAL.L_aussentemperatur_ist","CAPPL:FA[0].L_kesselstatus","CAPPL:FA[1].L_kesselstatus","CAPPL:FA[2].L_kesselstatus","CAPPL:FA[3].L_kesselstatus","CAPPL:FA[0].L_kesseltemperatur","CAPPL:FA[0].L_kesseltemperatur_soll_anzeige","CAPPL:FA[1].L_kesseltemperatur","CAPPL:FA[1].L_kesseltemperatur_soll_anzeige","CAPPL:FA[2].L_kesseltemperatur","CAPPL:FA[2].L_kesseltemperatur_soll_anzeige","CAPPL:FA[3].L_kesseltemperatur","CAPPL:FA[3].L_kesseltemperatur_soll_anzeige","CAPPL:LOCAL.bestke_vorhanden","CAPPL:LOCAL.L_bestke_temp_ist","CAPPL:LOCAL.L_bestke_umschaltventil","CAPPL:LOCAL.L_pu[0].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].pumpe","CAPPL:LOCAL.L_pu[1].pumpe","CAPPL:LOCAL.L_pu[2].pumpe","CAPPL:LOCAL.L_zaehler_fehler"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid
2014.11.28 07:57:08 5: PHeiz: handle send queue, len = 1
2014.11.28 07:57:08 4: PHeiz: HandleSendQueue sends Request type Update to URL ?action=get&attr=1, data ["CAPPL:LOCAL.L_fernwartung_datum_zeit_sek","CAPPL:LOCAL.hk[0].vorhanden","CAPPL:LOCAL.hk[1].vorhanden","CAPPL:LOCAL.hk[2].vorhanden","CAPPL:LOCAL.hk[3].vorhanden","CAPPL:LOCAL.hk[4].vorhanden","CAPPL:LOCAL.hk[5].vorhanden","CAPPL:LOCAL.ww[0].vorhanden","CAPPL:LOCAL.ww[1].vorhanden","CAPPL:LOCAL.ww[2].vorhanden","CAPPL:LOCAL.zirkp[0].vorhanden","CAPPL:LOCAL.zirkp[1].vorhanden","CAPPL:LOCAL.zirkp[2].vorhanden","CAPPL:LOCAL.sk[0].vorhanden","CAPPL:LOCAL.sk[2].vorhanden","CAPPL:LOCAL.sk[4].vorhanden","CAPPL:LOCAL.pu[0].vorhanden","CAPPL:LOCAL.pu[1].vorhanden","CAPPL:LOCAL.pu[2].vorhanden","CAPPL:LOCAL.heizkreisregler_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[1]","CAPPL:LOCAL.pellematic_vorhanden[2]","CAPPL:LOCAL.pellematic_vorhanden[3]","CAPPL:LOCAL.zubrp[0].vorhanden","CAPPL:LOCAL.zubrp[1].vorhanden","CAPPL:LOCAL.zubrp[2].vorhanden","CAPPL:LOCAL.fernwartung_einheit","CAPPL:LOCAL.L_aussentemperatur_ist","CAPPL:FA[0].L_kesselstatus","CAPPL:FA[1].L_kesselstatus","CAPPL:FA[2].L_kesselstatus","CAPPL:FA[3].L_kesselstatus","CAPPL:FA[0].L_kesseltemperatur","CAPPL:FA[0].L_kesseltemperatur_soll_anzeige","CAPPL:FA[1].L_kesseltemperatur","CAPPL:FA[1].L_kesseltemperatur_soll_anzeige","CAPPL:FA[2].L_kesseltemperatur","CAPPL:FA[2].L_kesseltemperatur_soll_anzeige","CAPPL:FA[3].L_kesseltemperatur","CAPPL:FA[3].L_kesseltemperatur_soll_anzeige","CAPPL:LOCAL.bestke_vorhanden","CAPPL:LOCAL.L_bestke_temp_ist","CAPPL:LOCAL.L_bestke_umschaltventil","CAPPL:LOCAL.L_pu[0].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].pumpe","CAPPL:LOCAL.L_pu[1].pumpe","CAPPL:LOCAL.L_pu[2].pumpe","CAPPL:LOCAL.L_zaehler_fehler"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid, timeout 2
2014.11.28 07:57:08 3: PHeiz: Read Callback: Request type was Update, buffer:
, Error ?action=get&attr=1: malformed or unsupported URL
2014.11.28 07:57:12 5: PHeiz: set called with ?
2014.11.28 07:57:18 5: PHeiz: set called with ?
2014.11.28 07:58:08 4: PHeiz: GetUpdate called, hash = HASH(0x2d10170), name = PHeiz
2014.11.28 07:58:08 5: PHeiz: AddToQueue initial send queue length : 0
2014.11.28 07:58:08 5: PHeiz: AddToQueue type Update to URL ?action=get&attr=1, data ["CAPPL:LOCAL.L_fernwartung_datum_zeit_sek","CAPPL:LOCAL.hk[0].vorhanden","CAPPL:LOCAL.hk[1].vorhanden","CAPPL:LOCAL.hk[2].vorhanden","CAPPL:LOCAL.hk[3].vorhanden","CAPPL:LOCAL.hk[4].vorhanden","CAPPL:LOCAL.hk[5].vorhanden","CAPPL:LOCAL.ww[0].vorhanden","CAPPL:LOCAL.ww[1].vorhanden","CAPPL:LOCAL.ww[2].vorhanden","CAPPL:LOCAL.zirkp[0].vorhanden","CAPPL:LOCAL.zirkp[1].vorhanden","CAPPL:LOCAL.zirkp[2].vorhanden","CAPPL:LOCAL.sk[0].vorhanden","CAPPL:LOCAL.sk[2].vorhanden","CAPPL:LOCAL.sk[4].vorhanden","CAPPL:LOCAL.pu[0].vorhanden","CAPPL:LOCAL.pu[1].vorhanden","CAPPL:LOCAL.pu[2].vorhanden","CAPPL:LOCAL.heizkreisregler_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[1]","CAPPL:LOCAL.pellematic_vorhanden[2]","CAPPL:LOCAL.pellematic_vorhanden[3]","CAPPL:LOCAL.zubrp[0].vorhanden","CAPPL:LOCAL.zubrp[1].vorhanden","CAPPL:LOCAL.zubrp[2].vorhanden","CAPPL:LOCAL.fernwartung_einheit","CAPPL:LOCAL.L_aussentemperatur_ist","CAPPL:FA[0].L_kesselstatus","CAPPL:FA[1].L_kesselstatus","CAPPL:FA[2].L_kesselstatus","CAPPL:FA[3].L_kesselstatus","CAPPL:FA[0].L_kesseltemperatur","CAPPL:FA[0].L_kesseltemperatur_soll_anzeige","CAPPL:FA[1].L_kesseltemperatur","CAPPL:FA[1].L_kesseltemperatur_soll_anzeige","CAPPL:FA[2].L_kesseltemperatur","CAPPL:FA[2].L_kesseltemperatur_soll_anzeige","CAPPL:FA[3].L_kesseltemperatur","CAPPL:FA[3].L_kesseltemperatur_soll_anzeige","CAPPL:LOCAL.bestke_vorhanden","CAPPL:LOCAL.L_bestke_temp_ist","CAPPL:LOCAL.L_bestke_umschaltventil","CAPPL:LOCAL.L_pu[0].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].pumpe","CAPPL:LOCAL.L_pu[1].pumpe","CAPPL:LOCAL.L_pu[2].pumpe","CAPPL:LOCAL.L_zaehler_fehler"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid
2014.11.28 07:58:08 5: PHeiz: handle send queue, len = 1
2014.11.28 07:58:08 4: PHeiz: HandleSendQueue sends Request type Update to URL ?action=get&attr=1, data ["CAPPL:LOCAL.L_fernwartung_datum_zeit_sek","CAPPL:LOCAL.hk[0].vorhanden","CAPPL:LOCAL.hk[1].vorhanden","CAPPL:LOCAL.hk[2].vorhanden","CAPPL:LOCAL.hk[3].vorhanden","CAPPL:LOCAL.hk[4].vorhanden","CAPPL:LOCAL.hk[5].vorhanden","CAPPL:LOCAL.ww[0].vorhanden","CAPPL:LOCAL.ww[1].vorhanden","CAPPL:LOCAL.ww[2].vorhanden","CAPPL:LOCAL.zirkp[0].vorhanden","CAPPL:LOCAL.zirkp[1].vorhanden","CAPPL:LOCAL.zirkp[2].vorhanden","CAPPL:LOCAL.sk[0].vorhanden","CAPPL:LOCAL.sk[2].vorhanden","CAPPL:LOCAL.sk[4].vorhanden","CAPPL:LOCAL.pu[0].vorhanden","CAPPL:LOCAL.pu[1].vorhanden","CAPPL:LOCAL.pu[2].vorhanden","CAPPL:LOCAL.heizkreisregler_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[1]","CAPPL:LOCAL.pellematic_vorhanden[2]","CAPPL:LOCAL.pellematic_vorhanden[3]","CAPPL:LOCAL.zubrp[0].vorhanden","CAPPL:LOCAL.zubrp[1].vorhanden","CAPPL:LOCAL.zubrp[2].vorhanden","CAPPL:LOCAL.fernwartung_einheit","CAPPL:LOCAL.L_aussentemperatur_ist","CAPPL:FA[0].L_kesselstatus","CAPPL:FA[1].L_kesselstatus","CAPPL:FA[2].L_kesselstatus","CAPPL:FA[3].L_kesselstatus","CAPPL:FA[0].L_kesseltemperatur","CAPPL:FA[0].L_kesseltemperatur_soll_anzeige","CAPPL:FA[1].L_kesseltemperatur","CAPPL:FA[1].L_kesseltemperatur_soll_anzeige","CAPPL:FA[2].L_kesseltemperatur","CAPPL:FA[2].L_kesseltemperatur_soll_anzeige","CAPPL:FA[3].L_kesseltemperatur","CAPPL:FA[3].L_kesseltemperatur_soll_anzeige","CAPPL:LOCAL.bestke_vorhanden","CAPPL:LOCAL.L_bestke_temp_ist","CAPPL:LOCAL.L_bestke_umschaltventil","CAPPL:LOCAL.L_pu[0].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].pumpe","CAPPL:LOCAL.L_pu[1].pumpe","CAPPL:LOCAL.L_pu[2].pumpe","CAPPL:LOCAL.L_zaehler_fehler"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid, timeout 2
2014.11.28 07:58:08 3: PHeiz: Read Callback: Request type was Update, buffer:
, Error ?action=get&attr=1: malformed or unsupported URL
2014.11.28 07:59:08 4: PHeiz: GetUpdate called, hash = HASH(0x2d10170), name = PHeiz
2014.11.28 07:59:08 5: PHeiz: AddToQueue initial send queue length : 0
2014.11.28 07:59:08 5: PHeiz: AddToQueue type Update to URL ?action=get&attr=1, data ["CAPPL:LOCAL.L_fernwartung_datum_zeit_sek","CAPPL:LOCAL.hk[0].vorhanden","CAPPL:LOCAL.hk[1].vorhanden","CAPPL:LOCAL.hk[2].vorhanden","CAPPL:LOCAL.hk[3].vorhanden","CAPPL:LOCAL.hk[4].vorhanden","CAPPL:LOCAL.hk[5].vorhanden","CAPPL:LOCAL.ww[0].vorhanden","CAPPL:LOCAL.ww[1].vorhanden","CAPPL:LOCAL.ww[2].vorhanden","CAPPL:LOCAL.zirkp[0].vorhanden","CAPPL:LOCAL.zirkp[1].vorhanden","CAPPL:LOCAL.zirkp[2].vorhanden","CAPPL:LOCAL.sk[0].vorhanden","CAPPL:LOCAL.sk[2].vorhanden","CAPPL:LOCAL.sk[4].vorhanden","CAPPL:LOCAL.pu[0].vorhanden","CAPPL:LOCAL.pu[1].vorhanden","CAPPL:LOCAL.pu[2].vorhanden","CAPPL:LOCAL.heizkreisregler_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[1]","CAPPL:LOCAL.pellematic_vorhanden[2]","CAPPL:LOCAL.pellematic_vorhanden[3]","CAPPL:LOCAL.zubrp[0].vorhanden","CAPPL:LOCAL.zubrp[1].vorhanden","CAPPL:LOCAL.zubrp[2].vorhanden","CAPPL:LOCAL.fernwartung_einheit","CAPPL:LOCAL.L_aussentemperatur_ist","CAPPL:FA[0].L_kesselstatus","CAPPL:FA[1].L_kesselstatus","CAPPL:FA[2].L_kesselstatus","CAPPL:FA[3].L_kesselstatus","CAPPL:FA[0].L_kesseltemperatur","CAPPL:FA[0].L_kesseltemperatur_soll_anzeige","CAPPL:FA[1].L_kesseltemperatur","CAPPL:FA[1].L_kesseltemperatur_soll_anzeige","CAPPL:FA[2].L_kesseltemperatur","CAPPL:FA[2].L_kesseltemperatur_soll_anzeige","CAPPL:FA[3].L_kesseltemperatur","CAPPL:FA[3].L_kesseltemperatur_soll_anzeige","CAPPL:LOCAL.bestke_vorhanden","CAPPL:LOCAL.L_bestke_temp_ist","CAPPL:LOCAL.L_bestke_umschaltventil","CAPPL:LOCAL.L_pu[0].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].pumpe","CAPPL:LOCAL.L_pu[1].pumpe","CAPPL:LOCAL.L_pu[2].pumpe","CAPPL:LOCAL.L_zaehler_fehler"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid
2014.11.28 07:59:08 5: PHeiz: handle send queue, len = 1
2014.11.28 07:59:08 4: PHeiz: HandleSendQueue sends Request type Update to URL ?action=get&attr=1, data ["CAPPL:LOCAL.L_fernwartung_datum_zeit_sek","CAPPL:LOCAL.hk[0].vorhanden","CAPPL:LOCAL.hk[1].vorhanden","CAPPL:LOCAL.hk[2].vorhanden","CAPPL:LOCAL.hk[3].vorhanden","CAPPL:LOCAL.hk[4].vorhanden","CAPPL:LOCAL.hk[5].vorhanden","CAPPL:LOCAL.ww[0].vorhanden","CAPPL:LOCAL.ww[1].vorhanden","CAPPL:LOCAL.ww[2].vorhanden","CAPPL:LOCAL.zirkp[0].vorhanden","CAPPL:LOCAL.zirkp[1].vorhanden","CAPPL:LOCAL.zirkp[2].vorhanden","CAPPL:LOCAL.sk[0].vorhanden","CAPPL:LOCAL.sk[2].vorhanden","CAPPL:LOCAL.sk[4].vorhanden","CAPPL:LOCAL.pu[0].vorhanden","CAPPL:LOCAL.pu[1].vorhanden","CAPPL:LOCAL.pu[2].vorhanden","CAPPL:LOCAL.heizkreisregler_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[1]","CAPPL:LOCAL.pellematic_vorhanden[2]","CAPPL:LOCAL.pellematic_vorhanden[3]","CAPPL:LOCAL.zubrp[0].vorhanden","CAPPL:LOCAL.zubrp[1].vorhanden","CAPPL:LOCAL.zubrp[2].vorhanden","CAPPL:LOCAL.fernwartung_einheit","CAPPL:LOCAL.L_aussentemperatur_ist","CAPPL:FA[0].L_kesselstatus","CAPPL:FA[1].L_kesselstatus","CAPPL:FA[2].L_kesselstatus","CAPPL:FA[3].L_kesselstatus","CAPPL:FA[0].L_kesseltemperatur","CAPPL:FA[0].L_kesseltemperatur_soll_anzeige","CAPPL:FA[1].L_kesseltemperatur","CAPPL:FA[1].L_kesseltemperatur_soll_anzeige","CAPPL:FA[2].L_kesseltemperatur","CAPPL:FA[2].L_kesseltemperatur_soll_anzeige","CAPPL:FA[3].L_kesseltemperatur","CAPPL:FA[3].L_kesseltemperatur_soll_anzeige","CAPPL:LOCAL.bestke_vorhanden","CAPPL:LOCAL.L_bestke_temp_ist","CAPPL:LOCAL.L_bestke_umschaltventil","CAPPL:LOCAL.L_pu[0].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].pumpe","CAPPL:LOCAL.L_pu[1].pumpe","CAPPL:LOCAL.L_pu[2].pumpe","CAPPL:LOCAL.L_zaehler_fehler"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid, timeout 2
2014.11.28 07:59:08 3: PHeiz: Read Callback: Request type was Update, buffer:
, Error ?action=get&attr=1: malformed or unsupported URL
2014.11.28 08:00:08 4: PHeiz: GetUpdate called, hash = HASH(0x2d10170), name = PHeiz
2014.11.28 08:00:08 5: PHeiz: AddToQueue initial send queue length : 0
2014.11.28 08:00:08 5: PHeiz: AddToQueue type Update to URL ?action=get&attr=1, data ["CAPPL:LOCAL.L_fernwartung_datum_zeit_sek","CAPPL:LOCAL.hk[0].vorhanden","CAPPL:LOCAL.hk[1].vorhanden","CAPPL:LOCAL.hk[2].vorhanden","CAPPL:LOCAL.hk[3].vorhanden","CAPPL:LOCAL.hk[4].vorhanden","CAPPL:LOCAL.hk[5].vorhanden","CAPPL:LOCAL.ww[0].vorhanden","CAPPL:LOCAL.ww[1].vorhanden","CAPPL:LOCAL.ww[2].vorhanden","CAPPL:LOCAL.zirkp[0].vorhanden","CAPPL:LOCAL.zirkp[1].vorhanden","CAPPL:LOCAL.zirkp[2].vorhanden","CAPPL:LOCAL.sk[0].vorhanden","CAPPL:LOCAL.sk[2].vorhanden","CAPPL:LOCAL.sk[4].vorhanden","CAPPL:LOCAL.pu[0].vorhanden","CAPPL:LOCAL.pu[1].vorhanden","CAPPL:LOCAL.pu[2].vorhanden","CAPPL:LOCAL.heizkreisregler_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[1]","CAPPL:LOCAL.pellematic_vorhanden[2]","CAPPL:LOCAL.pellematic_vorhanden[3]","CAPPL:LOCAL.zubrp[0].vorhanden","CAPPL:LOCAL.zubrp[1].vorhanden","CAPPL:LOCAL.zubrp[2].vorhanden","CAPPL:LOCAL.fernwartung_einheit","CAPPL:LOCAL.L_aussentemperatur_ist","CAPPL:FA[0].L_kesselstatus","CAPPL:FA[1].L_kesselstatus","CAPPL:FA[2].L_kesselstatus","CAPPL:FA[3].L_kesselstatus","CAPPL:FA[0].L_kesseltemperatur","CAPPL:FA[0].L_kesseltemperatur_soll_anzeige","CAPPL:FA[1].L_kesseltemperatur","CAPPL:FA[1].L_kesseltemperatur_soll_anzeige","CAPPL:FA[2].L_kesseltemperatur","CAPPL:FA[2].L_kesseltemperatur_soll_anzeige","CAPPL:FA[3].L_kesseltemperatur","CAPPL:FA[3].L_kesseltemperatur_soll_anzeige","CAPPL:LOCAL.bestke_vorhanden","CAPPL:LOCAL.L_bestke_temp_ist","CAPPL:LOCAL.L_bestke_umschaltventil","CAPPL:LOCAL.L_pu[0].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].pumpe","CAPPL:LOCAL.L_pu[1].pumpe","CAPPL:LOCAL.L_pu[2].pumpe","CAPPL:LOCAL.L_zaehler_fehler"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid
2014.11.28 08:00:08 5: PHeiz: handle send queue, len = 1
2014.11.28 08:00:08 4: PHeiz: HandleSendQueue sends Request type Update to URL ?action=get&attr=1, data ["CAPPL:LOCAL.L_fernwartung_datum_zeit_sek","CAPPL:LOCAL.hk[0].vorhanden","CAPPL:LOCAL.hk[1].vorhanden","CAPPL:LOCAL.hk[2].vorhanden","CAPPL:LOCAL.hk[3].vorhanden","CAPPL:LOCAL.hk[4].vorhanden","CAPPL:LOCAL.hk[5].vorhanden","CAPPL:LOCAL.ww[0].vorhanden","CAPPL:LOCAL.ww[1].vorhanden","CAPPL:LOCAL.ww[2].vorhanden","CAPPL:LOCAL.zirkp[0].vorhanden","CAPPL:LOCAL.zirkp[1].vorhanden","CAPPL:LOCAL.zirkp[2].vorhanden","CAPPL:LOCAL.sk[0].vorhanden","CAPPL:LOCAL.sk[2].vorhanden","CAPPL:LOCAL.sk[4].vorhanden","CAPPL:LOCAL.pu[0].vorhanden","CAPPL:LOCAL.pu[1].vorhanden","CAPPL:LOCAL.pu[2].vorhanden","CAPPL:LOCAL.heizkreisregler_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[1]","CAPPL:LOCAL.pellematic_vorhanden[2]","CAPPL:LOCAL.pellematic_vorhanden[3]","CAPPL:LOCAL.zubrp[0].vorhanden","CAPPL:LOCAL.zubrp[1].vorhanden","CAPPL:LOCAL.zubrp[2].vorhanden","CAPPL:LOCAL.fernwartung_einheit","CAPPL:LOCAL.L_aussentemperatur_ist","CAPPL:FA[0].L_kesselstatus","CAPPL:FA[1].L_kesselstatus","CAPPL:FA[2].L_kesselstatus","CAPPL:FA[3].L_kesselstatus","CAPPL:FA[0].L_kesseltemperatur","CAPPL:FA[0].L_kesseltemperatur_soll_anzeige","CAPPL:FA[1].L_kesseltemperatur","CAPPL:FA[1].L_kesseltemperatur_soll_anzeige","CAPPL:FA[2].L_kesseltemperatur","CAPPL:FA[2].L_kesseltemperatur_soll_anzeige","CAPPL:FA[3].L_kesseltemperatur","CAPPL:FA[3].L_kesseltemperatur_soll_anzeige","CAPPL:LOCAL.bestke_vorhanden","CAPPL:LOCAL.L_bestke_temp_ist","CAPPL:LOCAL.L_bestke_umschaltventil","CAPPL:LOCAL.L_pu[0].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].pumpe","CAPPL:LOCAL.L_pu[1].pumpe","CAPPL:LOCAL.L_pu[2].pumpe","CAPPL:LOCAL.L_zaehler_fehler"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid, timeout 2
2014.11.28 08:00:08 3: PHeiz: Read Callback: Request type was Update, buffer:
, Error ?action=get&attr=1: malformed or unsupported URL
2014.11.28 08:00:52 1: Including fhem.cfg
2014.11.28 08:00:52 3: telnetPort: port 7072 opened
2014.11.28 08:00:52 3: WEB: port 8083 opened
2014.11.28 08:00:52 3: WEBphone: port 8084 opened
2014.11.28 08:00:52 3: WEBtablet: port 8085 opened
2014.11.28 08:00:52 2: eventTypes: loaded 710 events from ./log/eventTypes.txt
2014.11.28 08:00:53 1: Including ./log/fhem.save
2014.11.28 08:00:55 4: PHeiz: GetUpdate called, hash = HASH(0x320ef08), name = PHeiz
2014.11.28 08:00:55 5: PHeiz: AddToQueue initial send queue length : 0
2014.11.28 08:00:55 5: PHeiz: AddToQueue type Update to URL ?action=get&attr=1, data ["CAPPL:LOCAL.L_fernwartung_datum_zeit_sek","CAPPL:LOCAL.hk[0].vorhanden","CAPPL:LOCAL.hk[1].vorhanden","CAPPL:LOCAL.hk[2].vorhanden","CAPPL:LOCAL.hk[3].vorhanden","CAPPL:LOCAL.hk[4].vorhanden","CAPPL:LOCAL.hk[5].vorhanden","CAPPL:LOCAL.ww[0].vorhanden","CAPPL:LOCAL.ww[1].vorhanden","CAPPL:LOCAL.ww[2].vorhanden","CAPPL:LOCAL.zirkp[0].vorhanden","CAPPL:LOCAL.zirkp[1].vorhanden","CAPPL:LOCAL.zirkp[2].vorhanden","CAPPL:LOCAL.sk[0].vorhanden","CAPPL:LOCAL.sk[2].vorhanden","CAPPL:LOCAL.sk[4].vorhanden","CAPPL:LOCAL.pu[0].vorhanden","CAPPL:LOCAL.pu[1].vorhanden","CAPPL:LOCAL.pu[2].vorhanden","CAPPL:LOCAL.heizkreisregler_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[1]","CAPPL:LOCAL.pellematic_vorhanden[2]","CAPPL:LOCAL.pellematic_vorhanden[3]","CAPPL:LOCAL.zubrp[0].vorhanden","CAPPL:LOCAL.zubrp[1].vorhanden","CAPPL:LOCAL.zubrp[2].vorhanden","CAPPL:LOCAL.fernwartung_einheit","CAPPL:LOCAL.L_aussentemperatur_ist","CAPPL:FA[0].L_kesselstatus","CAPPL:FA[1].L_kesselstatus","CAPPL:FA[2].L_kesselstatus","CAPPL:FA[3].L_kesselstatus","CAPPL:FA[0].L_kesseltemperatur","CAPPL:FA[0].L_kesseltemperatur_soll_anzeige","CAPPL:FA[1].L_kesseltemperatur","CAPPL:FA[1].L_kesseltemperatur_soll_anzeige","CAPPL:FA[2].L_kesseltemperatur","CAPPL:FA[2].L_kesseltemperatur_soll_anzeige","CAPPL:FA[3].L_kesseltemperatur","CAPPL:FA[3].L_kesseltemperatur_soll_anzeige","CAPPL:LOCAL.bestke_vorhanden","CAPPL:LOCAL.L_bestke_temp_ist","CAPPL:LOCAL.L_bestke_umschaltventil","CAPPL:LOCAL.L_pu[0].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].pumpe","CAPPL:LOCAL.L_pu[1].pumpe","CAPPL:LOCAL.L_pu[2].pumpe","CAPPL:LOCAL.L_zaehler_fehler"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid
2014.11.28 08:00:55 5: PHeiz: handle send queue, len = 1
2014.11.28 08:00:55 4: PHeiz: HandleSendQueue sends Request type Update to URL ?action=get&attr=1, data ["CAPPL:LOCAL.L_fernwartung_datum_zeit_sek","CAPPL:LOCAL.hk[0].vorhanden","CAPPL:LOCAL.hk[1].vorhanden","CAPPL:LOCAL.hk[2].vorhanden","CAPPL:LOCAL.hk[3].vorhanden","CAPPL:LOCAL.hk[4].vorhanden","CAPPL:LOCAL.hk[5].vorhanden","CAPPL:LOCAL.ww[0].vorhanden","CAPPL:LOCAL.ww[1].vorhanden","CAPPL:LOCAL.ww[2].vorhanden","CAPPL:LOCAL.zirkp[0].vorhanden","CAPPL:LOCAL.zirkp[1].vorhanden","CAPPL:LOCAL.zirkp[2].vorhanden","CAPPL:LOCAL.sk[0].vorhanden","CAPPL:LOCAL.sk[2].vorhanden","CAPPL:LOCAL.sk[4].vorhanden","CAPPL:LOCAL.pu[0].vorhanden","CAPPL:LOCAL.pu[1].vorhanden","CAPPL:LOCAL.pu[2].vorhanden","CAPPL:LOCAL.heizkreisregler_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[1]","CAPPL:LOCAL.pellematic_vorhanden[2]","CAPPL:LOCAL.pellematic_vorhanden[3]","CAPPL:LOCAL.zubrp[0].vorhanden","CAPPL:LOCAL.zubrp[1].vorhanden","CAPPL:LOCAL.zubrp[2].vorhanden","CAPPL:LOCAL.fernwartung_einheit","CAPPL:LOCAL.L_aussentemperatur_ist","CAPPL:FA[0].L_kesselstatus","CAPPL:FA[1].L_kesselstatus","CAPPL:FA[2].L_kesselstatus","CAPPL:FA[3].L_kesselstatus","CAPPL:FA[0].L_kesseltemperatur","CAPPL:FA[0].L_kesseltemperatur_soll_anzeige","CAPPL:FA[1].L_kesseltemperatur","CAPPL:FA[1].L_kesseltemperatur_soll_anzeige","CAPPL:FA[2].L_kesseltemperatur","CAPPL:FA[2].L_kesseltemperatur_soll_anzeige","CAPPL:FA[3].L_kesseltemperatur","CAPPL:FA[3].L_kesseltemperatur_soll_anzeige","CAPPL:LOCAL.bestke_vorhanden","CAPPL:LOCAL.L_bestke_temp_ist","CAPPL:LOCAL.L_bestke_umschaltventil","CAPPL:LOCAL.L_pu[0].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].pumpe","CAPPL:LOCAL.L_pu[1].pumpe","CAPPL:LOCAL.L_pu[2].pumpe","CAPPL:LOCAL.L_zaehler_fehler"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid, timeout 2
2014.11.28 08:00:55 3: PHeiz: Read Callback: Request type was Update, buffer:
, Error ?action=get&attr=1: malformed or unsupported URL
2014.11.28 08:01:55 4: PHeiz: GetUpdate called, hash = HASH(0x320ef08), name = PHeiz
2014.11.28 08:01:55 5: PHeiz: AddToQueue initial send queue length : 0
2014.11.28 08:01:55 5: PHeiz: AddToQueue type Update to URL ?action=get&attr=1, data ["CAPPL:LOCAL.L_fernwartung_datum_zeit_sek","CAPPL:LOCAL.hk[0].vorhanden","CAPPL:LOCAL.hk[1].vorhanden","CAPPL:LOCAL.hk[2].vorhanden","CAPPL:LOCAL.hk[3].vorhanden","CAPPL:LOCAL.hk[4].vorhanden","CAPPL:LOCAL.hk[5].vorhanden","CAPPL:LOCAL.ww[0].vorhanden","CAPPL:LOCAL.ww[1].vorhanden","CAPPL:LOCAL.ww[2].vorhanden","CAPPL:LOCAL.zirkp[0].vorhanden","CAPPL:LOCAL.zirkp[1].vorhanden","CAPPL:LOCAL.zirkp[2].vorhanden","CAPPL:LOCAL.sk[0].vorhanden","CAPPL:LOCAL.sk[2].vorhanden","CAPPL:LOCAL.sk[4].vorhanden","CAPPL:LOCAL.pu[0].vorhanden","CAPPL:LOCAL.pu[1].vorhanden","CAPPL:LOCAL.pu[2].vorhanden","CAPPL:LOCAL.heizkreisregler_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[1]","CAPPL:LOCAL.pellematic_vorhanden[2]","CAPPL:LOCAL.pellematic_vorhanden[3]","CAPPL:LOCAL.zubrp[0].vorhanden","CAPPL:LOCAL.zubrp[1].vorhanden","CAPPL:LOCAL.zubrp[2].vorhanden","CAPPL:LOCAL.fernwartung_einheit","CAPPL:LOCAL.L_aussentemperatur_ist","CAPPL:FA[0].L_kesselstatus","CAPPL:FA[1].L_kesselstatus","CAPPL:FA[2].L_kesselstatus","CAPPL:FA[3].L_kesselstatus","CAPPL:FA[0].L_kesseltemperatur","CAPPL:FA[0].L_kesseltemperatur_soll_anzeige","CAPPL:FA[1].L_kesseltemperatur","CAPPL:FA[1].L_kesseltemperatur_soll_anzeige","CAPPL:FA[2].L_kesseltemperatur","CAPPL:FA[2].L_kesseltemperatur_soll_anzeige","CAPPL:FA[3].L_kesseltemperatur","CAPPL:FA[3].L_kesseltemperatur_soll_anzeige","CAPPL:LOCAL.bestke_vorhanden","CAPPL:LOCAL.L_bestke_temp_ist","CAPPL:LOCAL.L_bestke_umschaltventil","CAPPL:LOCAL.L_pu[0].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].pumpe","CAPPL:LOCAL.L_pu[1].pumpe","CAPPL:LOCAL.L_pu[2].pumpe","CAPPL:LOCAL.L_zaehler_fehler"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid
2014.11.28 08:01:55 5: PHeiz: handle send queue, len = 1
2014.11.28 08:01:55 4: PHeiz: HandleSendQueue sends Request type Update to URL ?action=get&attr=1, data ["CAPPL:LOCAL.L_fernwartung_datum_zeit_sek","CAPPL:LOCAL.hk[0].vorhanden","CAPPL:LOCAL.hk[1].vorhanden","CAPPL:LOCAL.hk[2].vorhanden","CAPPL:LOCAL.hk[3].vorhanden","CAPPL:LOCAL.hk[4].vorhanden","CAPPL:LOCAL.hk[5].vorhanden","CAPPL:LOCAL.ww[0].vorhanden","CAPPL:LOCAL.ww[1].vorhanden","CAPPL:LOCAL.ww[2].vorhanden","CAPPL:LOCAL.zirkp[0].vorhanden","CAPPL:LOCAL.zirkp[1].vorhanden","CAPPL:LOCAL.zirkp[2].vorhanden","CAPPL:LOCAL.sk[0].vorhanden","CAPPL:LOCAL.sk[2].vorhanden","CAPPL:LOCAL.sk[4].vorhanden","CAPPL:LOCAL.pu[0].vorhanden","CAPPL:LOCAL.pu[1].vorhanden","CAPPL:LOCAL.pu[2].vorhanden","CAPPL:LOCAL.heizkreisregler_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[1]","CAPPL:LOCAL.pellematic_vorhanden[2]","CAPPL:LOCAL.pellematic_vorhanden[3]","CAPPL:LOCAL.zubrp[0].vorhanden","CAPPL:LOCAL.zubrp[1].vorhanden","CAPPL:LOCAL.zubrp[2].vorhanden","CAPPL:LOCAL.fernwartung_einheit","CAPPL:LOCAL.L_aussentemperatur_ist","CAPPL:FA[0].L_kesselstatus","CAPPL:FA[1].L_kesselstatus","CAPPL:FA[2].L_kesselstatus","CAPPL:FA[3].L_kesselstatus","CAPPL:FA[0].L_kesseltemperatur","CAPPL:FA[0].L_kesseltemperatur_soll_anzeige","CAPPL:FA[1].L_kesseltemperatur","CAPPL:FA[1].L_kesseltemperatur_soll_anzeige","CAPPL:FA[2].L_kesseltemperatur","CAPPL:FA[2].L_kesseltemperatur_soll_anzeige","CAPPL:FA[3].L_kesseltemperatur","CAPPL:FA[3].L_kesseltemperatur_soll_anzeige","CAPPL:LOCAL.bestke_vorhanden","CAPPL:LOCAL.L_bestke_temp_ist","CAPPL:LOCAL.L_bestke_umschaltventil","CAPPL:LOCAL.L_pu[0].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].pumpe","CAPPL:LOCAL.L_pu[1].pumpe","CAPPL:LOCAL.L_pu[2].pumpe","CAPPL:LOCAL.L_zaehler_fehler"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid, timeout 2
2014.11.28 08:01:55 3: PHeiz: Read Callback: Request type was Update, buffer:
, Error ?action=get&attr=1: malformed or unsupported URL


Der Code
# -------------------  Heizung
define PHeiz HTTPMOD ?action=get&attr=1 60
attr PHeiz set1Name Betriebsart
attr PHeiz set1Data {"CAPPL:FA[0].betriebsart_fa":"$val"}
attr PHeiz set1Map 0:Aus,1:An

attr PHeiz setURL http://192.168.68.250/?action=set
attr PHeiz setHeader1 Content-Type: application/x-www-form-urlencoded;; charset=UTF-8
attr PHeiz setHeader2 application/json, text/javascript, */*;; q=0.01
attr PHeiz setHeader3 Accept-Language: de
attr PHeiz setHeader4 Cookie: language=de;; pksession=$sid

attr PHeiz sidURL http://192.168.68.250/index.cgi
attr PHeiz sid1Header1 Content-Type: application/x-www-form-urlencoded;; charset=UTF-8
attr PHeiz sid1Header2 application/json, text/javascript, */*;; q=0.01
attr PHeiz sid1Header3 Accept-Language: de
attr PHeiz sid1Header4 Cookie: language=de
attr PHeiz sid1Data username=Oeko&password=Schalter&language=de&submit=Anmelden

attr PHeiz sid1IDRegex pksession=([0-9]+);;

attr PHeiz setReAuthRegex .*

attr PHeiz reAuthRegex .*

attr PHeiz requestHeader1 Content-Type: application/x-www-form-urlencoded;; charset=UTF-8
attr PHeiz requestHeader2 application/json, text/javascript, */*;; q=0.01
attr PHeiz requestHeader3 Accept-Language: de
attr PHeiz requestHeader4 Cookie: language=de;; pksession=$sid
attr PHeiz requestData ["CAPPL:LOCAL.L_fernwartung_datum_zeit_sek","CAPPL:LOCAL.hk[0].vorhanden","CAPPL:LOCAL.hk[1].vorhanden","CAPPL:LOCAL.hk[2].vorhanden","CAPPL:LOCAL.hk[3].vorhanden","CAPPL:LOCAL.hk[4].vorhanden","CAPPL:LOCAL.hk[5].vorhanden","CAPPL:LOCAL.ww[0].vorhanden","CAPPL:LOCAL.ww[1].vorhanden","CAPPL:LOCAL.ww[2].vorhanden","CAPPL:LOCAL.zirkp[0].vorhanden","CAPPL:LOCAL.zirkp[1].vorhanden","CAPPL:LOCAL.zirkp[2].vorhanden","CAPPL:LOCAL.sk[0].vorhanden","CAPPL:LOCAL.sk[2].vorhanden","CAPPL:LOCAL.sk[4].vorhanden","CAPPL:LOCAL.pu[0].vorhanden","CAPPL:LOCAL.pu[1].vorhanden","CAPPL:LOCAL.pu[2].vorhanden","CAPPL:LOCAL.heizkreisregler_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[0]","CAPPL:LOCAL.pellematic_vorhanden[1]","CAPPL:LOCAL.pellematic_vorhanden[2]","CAPPL:LOCAL.pellematic_vorhanden[3]","CAPPL:LOCAL.zubrp[0].vorhanden","CAPPL:LOCAL.zubrp[1].vorhanden","CAPPL:LOCAL.zubrp[2].vorhanden","CAPPL:LOCAL.fernwartung_einheit","CAPPL:LOCAL.L_aussentemperatur_ist","CAPPL:FA[0].L_kesselstatus","CAPPL:FA[1].L_kesselstatus","CAPPL:FA[2].L_kesselstatus","CAPPL:FA[3].L_kesselstatus","CAPPL:FA[0].L_kesseltemperatur","CAPPL:FA[0].L_kesseltemperatur_soll_anzeige","CAPPL:FA[1].L_kesseltemperatur","CAPPL:FA[1].L_kesseltemperatur_soll_anzeige","CAPPL:FA[2].L_kesseltemperatur","CAPPL:FA[2].L_kesseltemperatur_soll_anzeige","CAPPL:FA[3].L_kesseltemperatur","CAPPL:FA[3].L_kesseltemperatur_soll_anzeige","CAPPL:LOCAL.bestke_vorhanden","CAPPL:LOCAL.L_bestke_temp_ist","CAPPL:LOCAL.L_bestke_umschaltventil","CAPPL:LOCAL.L_pu[0].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].einschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].einschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[0].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[1].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_ist","CAPPL:LOCAL.L_pu[2].ausschaltfuehler_soll","CAPPL:LOCAL.L_pu[0].pumpe","CAPPL:LOCAL.L_pu[1].pumpe","CAPPL:LOCAL.L_pu[2].pumpe","CAPPL:LOCAL.L_zaehler_fehler"]

attr PHeiz reading01Name Aussentemp
attr PHeiz reading01Regex CAPPL:LOCAL.L_aussentemperatur_ist","value":"([0-9]+)"

attr PHeiz reading01Expr $val / 10

attr PHeiz verbose 5

StefanStrobel

Hallo Jürgen,

Im define war de URL noch unvollständig. Das war ein Fehler in meinem langen Posting. Da fehlte das http://192.168.68.250/ vor dem ?. Sonst ist es ja auch keine gültige URL. Der Request wurde deshalb auch nicht gesendet.
Ich habs auch in meinem Posting korrigiert um weitere Missverständnisse zu vermeiden.

Das mit den doppelten Semikolons liegt daran, dass Fhem beim Lesen der Konfiguration ein Semikolon als Trennzeichen zwischen Befehlen verwendet. Wenn also ein Semikolon im Attribut vorkommen soll, dann muss man es verdoppeln und Fhem macht dann daraus ein einfaches...
Das kannst Du recht schön im Quellcode von Fhem sehen (fhem.pl in der Routine AnalyzeCommandChain, ca. Zeile 850)

Du könntest aber auch so schon mal versuchen, den Betriebsmodus zu setzen. Das hat nichts mit der URL im define zu tun. Für den Set haben wir ja eine eigene URL angegeben...

Gruss
   Stefan

JueFi

Hallo Stefan,

das mit der URL hatte ich auch schon vermutet und geändert.
Ein Stück weiter geht es jetzt, aber der Login klappt noch nicht.
Ich habe die requestData  mal verkürzt.

Code
# -------------------  Heizung
define PHeiz HTTPMOD http://192.168.68.250/?action=get&attr=1 60
attr PHeiz set1Name Betriebsart
attr PHeiz set1Data {"CAPPL:FA[0].betriebsart_fa":"$val"}
attr PHeiz set1Map 0:Aus,1:An

attr PHeiz setURL http://192.168.68.250/?action=set
attr PHeiz setHeader1 Content-Type: application/x-www-form-urlencoded;; charset=UTF-8
attr PHeiz setHeader2 application/json, text/javascript, */*;; q=0.01
attr PHeiz setHeader3 Accept-Language: de
attr PHeiz setHeader4 Cookie: language=de;; pksession=$sid

attr PHeiz sidURL http://192.168.68.250/index.cgi
attr PHeiz sid1Header1 Content-Type: application/x-www-form-urlencoded;; charset=UTF-8
attr PHeiz sid1Header2 application/json, text/javascript, */*;; q=0.01
attr PHeiz sid1Header3 Accept-Language: de
attr PHeiz sid1Header4 Cookie: language=de
attr PHeiz sid1Data username=Oeko&password=Schalter&language=de&submit=Anmelden

attr PHeiz sid1IDRegex pksession=([0-9]+);;

attr PHeiz setReAuthRegex .*

attr PHeiz reAuthRegex .*

attr PHeiz requestHeader1 Content-Type: application/x-www-form-urlencoded;; charset=UTF-8
attr PHeiz requestHeader2 application/json, text/javascript, */*;; q=0.01
attr PHeiz requestHeader3 Accept-Language: de
attr PHeiz requestHeader4 Cookie: language=de;; pksession=$sid
attr PHeiz requestData ["CAPPL:LOCAL.L_aussentemperatur_ist"]

attr PHeiz reading01Name Aussentemp
attr PHeiz reading01Regex CAPPL:LOCAL.L_aussentemperatur_ist","value":"([0-9]+)"

attr PHeiz reading01Expr $val / 10

attr PHeiz verbose 5


Meldungen
2014.11.28 20:08:50 1: Including fhem.cfg
2014.11.28 20:08:50 3: telnetPort: port 7072 opened
2014.11.28 20:08:50 3: WEB: port 8083 opened
2014.11.28 20:08:50 3: WEBphone: port 8084 opened
2014.11.28 20:08:50 3: WEBtablet: port 8085 opened
2014.11.28 20:08:51 2: eventTypes: loaded 710 events from ./log/eventTypes.txt
2014.11.28 20:08:51 1: Including ./log/fhem.save
2014.11.28 20:08:53 4: PHeiz: GetUpdate called, hash = HASH(0x2f8a7b8), name = PHeiz
2014.11.28 20:08:53 5: PHeiz: AddToQueue initial send queue length : 0
2014.11.28 20:08:53 5: PHeiz: AddToQueue type Update to URL http://192.168.68.250/?action=get&attr=1, data ["CAPPL:LOCAL.L_aussentemperatur_ist"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid
2014.11.28 20:08:53 5: PHeiz: handle send queue, len = 1
2014.11.28 20:08:53 4: PHeiz: HandleSendQueue sends Request type Update to URL http://192.168.68.250/?action=get&attr=1, data ["CAPPL:LOCAL.L_aussentemperatur_ist"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid, timeout 2
2014.11.28 20:08:53 5: PHeiz: Read Callback: Request type was Update, buffer: Error 403: Forbidden
You do not have sufficient privileges to access the page that you requested.


2014.11.28 20:08:53 5: PHeiz: checking response with ReAuthRegex .*
2014.11.28 20:08:53 4: PHeiz: New Authentication required
2014.11.28 20:08:53 4: PHeiz: sid with Steps 1
2014.11.28 20:08:53 5: PHeiz: AddToQueue initial send queue length : 0
2014.11.28 20:08:53 5: PHeiz: AddToQueue type Auth1 to URL http://192.168.68.250/index.cgi, data username=Oeko&password=Schalter&language=de&submit=Anmelden, header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de
2014.11.28 20:08:53 5: PHeiz: handle send queue, len = 1
2014.11.28 20:08:53 5: PHeiz: HandleSendQueue minSendDelay not over, rescheduling
2014.11.28 20:08:53 4: PHeiz: Retrying GetUpdate with new retryCount 1 ...
2014.11.28 20:08:53 5: PHeiz: AddToQueue initial send queue length : 1
2014.11.28 20:08:53 5: PHeiz: AddToQueue type Update to URL http://192.168.68.250/?action=get&attr=1, data ["CAPPL:LOCAL.L_aussentemperatur_ist"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid
2014.11.28 20:08:53 5: PHeiz: handle send queue, len = 2
2014.11.28 20:08:53 5: PHeiz: HandleSendQueue minSendDelay not over, rescheduling
2014.11.28 20:08:54 5: PHeiz: handle send queue, len = 2
2014.11.28 20:08:54 4: PHeiz: HandleSendQueue sends Request type Auth1 to URL http://192.168.68.250/index.cgi, data username=Oeko&password=Schalter&language=de&submit=Anmelden, header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de, timeout 2
2014.11.28 20:08:55 5: PHeiz: handle send queue, len = 1
2014.11.28 20:08:55 5: PHeiz: still waiting for reply to last request, delay sending from queue
2014.11.28 20:08:56 3: PHeiz: Read Callback: Request type was Auth1, buffer:
, Error http://192.168.68.250:80/: Too many redirects
2014.11.28 20:08:56 5: PHeiz: handle send queue, len = 1
2014.11.28 20:08:56 4: PHeiz: HandleSendQueue sends Request type Update to URL http://192.168.68.250/?action=get&attr=1, data ["CAPPL:LOCAL.L_aussentemperatur_ist"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid, timeout 2
2014.11.28 20:08:57 5: PHeiz: Read Callback: Request type was Update, buffer: Error 403: Forbidden
You do not have sufficient privileges to access the page that you requested.


2014.11.28 20:08:57 5: PHeiz: checking response with ReAuthRegex .*
2014.11.28 20:08:57 4: PHeiz: New Authentication required
2014.11.28 20:08:57 5: PHeiz: start extracting Readings from Response to GetUpdate
2014.11.28 20:08:57 5: PHeiz: Trying to extract Reading Aussentemp with regex /CAPPL:LOCAL.L_aussentemperatur_ist","value":"([0-9]+)"/...
2014.11.28 20:08:57 3: PHeiz: Response didn't match Reading(s) Aussentemp
2014.11.28 20:08:57 4: PHeiz: response was Error 403: Forbidden
You do not have sufficient privileges to access the page that you requested.

2014.11.28 20:09:54 4: PHeiz: GetUpdate called, hash = HASH(0x2f8a7b8), name = PHeiz
2014.11.28 20:09:54 5: PHeiz: AddToQueue initial send queue length : 0
2014.11.28 20:09:54 5: PHeiz: AddToQueue type Update to URL http://192.168.68.250/?action=get&attr=1, data ["CAPPL:LOCAL.L_aussentemperatur_ist"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid
2014.11.28 20:09:54 5: PHeiz: handle send queue, len = 1
2014.11.28 20:09:54 4: PHeiz: HandleSendQueue sends Request type Update to URL http://192.168.68.250/?action=get&attr=1, data ["CAPPL:LOCAL.L_aussentemperatur_ist"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid, timeout 2
2014.11.28 20:09:54 5: PHeiz: Read Callback: Request type was Update, buffer: Error 403: Forbidden
You do not have sufficient privileges to access the page that you requested.


2014.11.28 20:09:54 5: PHeiz: checking response with ReAuthRegex .*
2014.11.28 20:09:54 4: PHeiz: New Authentication required
2014.11.28 20:09:54 4: PHeiz: sid with Steps 1
2014.11.28 20:09:54 5: PHeiz: AddToQueue initial send queue length : 0
2014.11.28 20:09:54 5: PHeiz: AddToQueue type Auth1 to URL http://192.168.68.250/index.cgi, data username=Oeko&password=Schalter&language=de&submit=Anmelden, header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de
2014.11.28 20:09:54 5: PHeiz: handle send queue, len = 1
2014.11.28 20:09:54 5: PHeiz: HandleSendQueue minSendDelay not over, rescheduling
2014.11.28 20:09:54 4: PHeiz: Retrying GetUpdate with new retryCount 1 ...
2014.11.28 20:09:54 5: PHeiz: AddToQueue initial send queue length : 1
2014.11.28 20:09:54 5: PHeiz: AddToQueue type Update to URL http://192.168.68.250/?action=get&attr=1, data ["CAPPL:LOCAL.L_aussentemperatur_ist"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid
2014.11.28 20:09:54 5: PHeiz: handle send queue, len = 2
2014.11.28 20:09:54 5: PHeiz: HandleSendQueue minSendDelay not over, rescheduling
2014.11.28 20:09:55 5: PHeiz: handle send queue, len = 2
2014.11.28 20:09:55 4: PHeiz: HandleSendQueue sends Request type Auth1 to URL http://192.168.68.250/index.cgi, data username=Oeko&password=Schalter&language=de&submit=Anmelden, header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de, timeout 2
2014.11.28 20:09:56 5: PHeiz: handle send queue, len = 1
2014.11.28 20:09:56 5: PHeiz: still waiting for reply to last request, delay sending from queue
2014.11.28 20:09:56 3: PHeiz: Read Callback: Request type was Auth1, buffer:
, Error http://192.168.68.250:80/: Too many redirects
2014.11.28 20:09:57 5: PHeiz: handle send queue, len = 1
2014.11.28 20:09:57 4: PHeiz: HandleSendQueue sends Request type Update to URL http://192.168.68.250/?action=get&attr=1, data ["CAPPL:LOCAL.L_aussentemperatur_ist"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid, timeout 2
2014.11.28 20:09:57 5: PHeiz: Read Callback: Request type was Update, buffer: Error 403: Forbidden
You do not have sufficient privileges to access the page that you requested.


2014.11.28 20:09:57 5: PHeiz: checking response with ReAuthRegex .*
2014.11.28 20:09:57 4: PHeiz: New Authentication required
2014.11.28 20:09:57 5: PHeiz: start extracting Readings from Response to GetUpdate
2014.11.28 20:09:57 5: PHeiz: Trying to extract Reading Aussentemp with regex /CAPPL:LOCAL.L_aussentemperatur_ist","value":"([0-9]+)"/...
2014.11.28 20:09:57 3: PHeiz: Response didn't match Reading(s) Aussentemp
2014.11.28 20:09:57 4: PHeiz: response was Error 403: Forbidden
You do not have sufficient privileges to access the page that you requested.


Gruß

Jürgen

StefanStrobel

Hallo Jürgen,

Der HTTP-Request, der de Anmeldedaten schickt wird von Deiner Heizung mit Redirects beantwortet. Die HttpUtils, die von HTTPMOD verwendet werden, brechen nach dem 5. Redirect ab. Leider sehen wir bisher im Log nur das Ergebnis, aber nicht die einzelnen Redirects.
Mach doch mal einen

attr global verbose 4


Dann loggen zwar auch alle anderen Module, aber ohne Code-Änderungen bekommen wir sonst leider keine Logs von den HttpUtils.
Dann bin ich gespannt, was wir im Log über die Redirects sehen.

In Deinem Post mit den Burp-Daten sehe ich leider nicht so wirklich wie die Antworten auf die Login-Daten zusammen hängen. kann es sein, dass da die Antworten auf einige Requests fehlen?

Gruss
   Stefan

JueFi

#19
Hallo Stefan,

ich habe versucht, nach bestem Wissen die Burp-Daten zu posten


2014.11.29 10:41:16 1: Including fhem.cfg
2014.11.29 10:41:16 3: telnetPort: port 7072 opened
2014.11.29 10:41:16 3: WEB: port 8083 opened
2014.11.29 10:41:16 3: WEBphone: port 8084 opened
2014.11.29 10:41:16 3: WEBtablet: port 8085 opened
2014.11.29 10:41:16 2: eventTypes: loaded 1007 events from ./log/eventTypes.txt
2014.11.29 10:41:16 3: Opening CUL1 device /dev/ttyACM0
2014.11.29 10:41:16 3: Setting CUL1 baudrate to 9600
2014.11.29 10:41:16 3: CUL1 device opened
2014.11.29 10:41:16 3: CUL1: Possible commands: BbCFiAZEGMKUYRTVWXefmltux
2014.11.29 10:41:16 3: Opening CUL2 device /dev/ttyACM1
2014.11.29 10:41:16 3: Setting CUL2 baudrate to 9600
2014.11.29 10:41:16 3: CUL2 device opened
2014.11.29 10:41:17 3: CUL2: Possible commands: BbCFiAZEGMKUYRTVWXefmltux
2014.11.29 10:41:17 1: Including ./log/fhem.save
2014.11.29 10:41:18 4: HTTP FHEMWEB:192.168.68.208:60206 GET /fhem/pgm2/style.css
2014.11.29 10:41:18 4: Connection accepted from FHEMWEB:192.168.68.208:60209
2014.11.29 10:41:18 4: HTTP FHEMWEB:192.168.68.208:60209 GET /fhem/pgm2/svg.js
2014.11.29 10:41:18 4: Connection accepted from FHEMWEB:192.168.68.208:60210
2014.11.29 10:41:18 4: HTTP FHEMWEB:192.168.68.208:60206 GET /fhem/pgm2/fhemweb_readingsHistory.js
2014.11.29 10:41:18 4: HTTP FHEMWEB:192.168.68.208:60209 GET /fhem/pgm2/fhemweb_slider.js
2014.11.29 10:41:18 4: Connection accepted from FHEMWEB:192.168.68.208:60211
2014.11.29 10:41:18 4: HTTP FHEMWEB:192.168.68.208:60206 GET /fhem/pgm2/fhemweb_svg.js
2014.11.29 10:41:18 4: HTTP FHEMWEB:192.168.68.208:60210 GET /fhem/pgm2/fhemweb.js
2014.11.29 10:41:18 4: HTTP FHEMWEB:192.168.68.208:60209 GET /fhem/pgm2/fhemweb_textField.js
2014.11.29 10:41:18 4: Connection accepted from FHEMWEB:192.168.68.208:60212
2014.11.29 10:41:18 4: HTTP FHEMWEB:192.168.68.208:60206 GET /fhem/pgm2/fhemweb_time.js
2014.11.29 10:41:18 4: HTTP FHEMWEB:192.168.68.208:60211 GET /fhem/pgm2/fhemweb_colorpicker.js
2014.11.29 10:41:18 4: Connection accepted from FHEMWEB:192.168.68.208:60213
2014.11.29 10:41:18 4: HTTP FHEMWEB:192.168.68.208:60212 GET /fhem/pgm2/fhemweb_multiple.js
2014.11.29 10:41:18 4: HTTP FHEMWEB:192.168.68.208:60210 GET /fhem/pgm2/defaultCommon.css
2014.11.29 10:41:18 4: HTTP FHEMWEB:192.168.68.208:60213 GET /fhem/pgm2/fhemweb_noArg.js
2014.11.29 10:41:18 4: HTTP FHEMWEB:192.168.68.208:60210 GET /fhem/pgm2/dashboard_style.css
2014.11.29 10:41:18 4: HTTP FHEMWEB:192.168.68.208:60210 GET /fhem?XHR=1&inform=type=status;filter=×tamp=1417254080022
2014.11.29 10:41:19 4: PHeiz: GetUpdate called, hash = HASH(0x186e908), name = PHeiz
2014.11.29 10:41:19 4: PHeiz: HandleSendQueue sends Request type Update to URL http://192.168.68.250/?action=get&attr=1, data ["CAPPL:LOCAL.L_aussentemperatur_ist"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid, timeout 2
2014.11.29 10:41:19 4: HttpUtils url=http://192.168.68.250/?action=get&attr=1
2014.11.29 10:41:19 4: http://192.168.68.250/?action=get&attr=1: HTTP response code 403
2014.11.29 10:41:19 4: HttpUtils http://192.168.68.250/?action=get&attr=1: Got data, length: 98
2014.11.29 10:41:19 4: PHeiz: New Authentication required
2014.11.29 10:41:19 4: PHeiz: sid with Steps 1
2014.11.29 10:41:19 4: PHeiz: Retrying GetUpdate with new retryCount 1 ...
2014.11.29 10:41:20 4: PHeiz: HandleSendQueue sends Request type Auth1 to URL http://192.168.68.250/index.cgi, data username=Oeko&password=Schalter&language=de&submit=Anmelden, header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de, timeout 2
2014.11.29 10:41:20 4: HttpUtils url=http://192.168.68.250/index.cgi
2014.11.29 10:41:21 4: http://192.168.68.250/index.cgi: HTTP response code 303
2014.11.29 10:41:21 4: HttpUtils http://192.168.68.250/index.cgi: Redirect to http://192.168.68.250:80/
2014.11.29 10:41:21 4: HttpUtils url=http://192.168.68.250:80/
2014.11.29 10:41:21 4: http://192.168.68.250:80/: HTTP response code 303
2014.11.29 10:41:21 4: HttpUtils http://192.168.68.250:80/: Redirect to http://192.168.68.250:80/
2014.11.29 10:41:21 4: HttpUtils url=http://192.168.68.250:80/
2014.11.29 10:41:21 4: http://192.168.68.250:80/: HTTP response code 303
2014.11.29 10:41:21 4: HttpUtils http://192.168.68.250:80/: Redirect to http://192.168.68.250:80/
2014.11.29 10:41:21 4: HttpUtils url=http://192.168.68.250:80/
2014.11.29 10:41:21 4: http://192.168.68.250:80/: HTTP response code 303
2014.11.29 10:41:21 4: HttpUtils http://192.168.68.250:80/: Redirect to http://192.168.68.250:80/
2014.11.29 10:41:21 4: HttpUtils url=http://192.168.68.250:80/
2014.11.29 10:41:22 4: http://192.168.68.250:80/: HTTP response code 303
2014.11.29 10:41:22 4: HttpUtils http://192.168.68.250:80/: Redirect to http://192.168.68.250:80/
2014.11.29 10:41:22 4: HttpUtils url=http://192.168.68.250:80/
2014.11.29 10:41:22 4: http://192.168.68.250:80/: HTTP response code 303
2014.11.29 10:41:22 3: PHeiz: Read Callback: Request type was Auth1, buffer:
, Error http://192.168.68.250:80/: Too many redirects
2014.11.29 10:41:22 4: PHeiz: HandleSendQueue sends Request type Update to URL http://192.168.68.250/?action=get&attr=1, data ["CAPPL:LOCAL.L_aussentemperatur_ist"], header Content-Type: application/x-www-form-urlencoded; charset=UTF-8
application/json, text/javascript, */*; q=0.01
Accept-Language: de
Cookie: language=de; pksession=$sid, timeout 2
2014.11.29 10:41:22 4: HttpUtils url=http://192.168.68.250/?action=get&attr=1
2014.11.29 10:41:22 4: http://192.168.68.250/?action=get&attr=1: HTTP response code 403
2014.11.29 10:41:22 4: HttpUtils http://192.168.68.250/?action=get&attr=1: Got data, length: 98
2014.11.29 10:41:22 4: PHeiz: New Authentication required
2014.11.29 10:41:23 3: PHeiz: Response didn't match Reading(s) Aussentemp
2014.11.29 10:41:23 4: PHeiz: response was Error 403: Forbidden
You do not have sufficient privileges to access the page that you requested.

2014.11.29 10:41:24 4: HTTP FHEMWEB:192.168.68.208:60213 GET /fhem/FileLog_logWrapper?dev=Logfile&type=text&file=
2014.11.29 10:41:24 4: /fhem/FileLog_logWrapper?dev=Logfile&type=text&file= / RL:898 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2014.11.29 10:41:24 4: HTTP FHEMWEB:192.168.68.208:60211 GET /fhem/pgm2/fhemweb.js
2014.11.29 10:41:24 4: HTTP FHEMWEB:192.168.68.208:60213 GET /fhem/pgm2/style.css
2014.11.29 10:41:24 4: HTTP FHEMWEB:192.168.68.208:60212 GET /fhem/pgm2/svg.js
2014.11.29 10:41:24 4: HTTP FHEMWEB:192.168.68.208:60209 GET /fhem/pgm2/fhemweb_multiple.js
2014.11.29 10:41:24 4: HTTP FHEMWEB:192.168.68.208:60206 GET /fhem/pgm2/fhemweb_colorpicker.js
2014.11.29 10:41:24 4: HTTP FHEMWEB:192.168.68.208:60211 GET /fhem/pgm2/fhemweb_noArg.js
2014.11.29 10:41:24 4: HTTP FHEMWEB:192.168.68.208:60213 GET /fhem/pgm2/fhemweb_readingsHistory.js
2014.11.29 10:41:24 4: HTTP FHEMWEB:192.168.68.208:60209 GET /fhem/pgm2/fhemweb_svg.js
2014.11.29 10:41:24 4: Connection accepted from FHEMWEB:192.168.68.208:60215
2014.11.29 10:41:24 4: HTTP FHEMWEB:192.168.68.208:60206 GET /fhem/pgm2/fhemweb_textField.js
2014.11.29 10:41:24 4: HTTP FHEMWEB:192.168.68.208:60211 GET /fhem/pgm2/defaultCommon.css
2014.11.29 10:41:24 4: HTTP FHEMWEB:192.168.68.208:60212 GET /fhem/pgm2/fhemweb_slider.js
2014.11.29 10:41:24 4: Connection closed for FHEMWEB:192.168.68.208:60210
2014.11.29 10:41:24 4: HTTP FHEMWEB:192.168.68.208:60215 GET /fhem/pgm2/fhemweb_time.js
2014.11.29 10:41:24 4: HTTP FHEMWEB:192.168.68.208:60211 GET /fhem/pgm2/dashboard_style.css
2014.11.29 10:41:24 4: HTTP FHEMWEB:192.168.68.208:60211 GET /fhem/FileLog_logWrapper?XHR=1&inform=type=status;filter=×tamp=1417254085787
2014.11.29 10:41:27 4: HTTP FHEMWEB:192.168.68.208:60215 GET /fhem/FileLog_logWrapper?dev=Logfile&type=text&file=fhem-2014-11.log
2014.11.29 10:41:27 4: HTTP FHEMWEB:192.168.68.208:60215 GET /fhem/pgm2/style.css
2014.11.29 10:41:27 4: HTTP FHEMWEB:192.168.68.208:60212 GET /fhem/pgm2/svg.js
2014.11.29 10:41:27 4: HTTP FHEMWEB:192.168.68.208:60209 GET /fhem/pgm2/fhemweb_colorpicker.js
2014.11.29 10:41:27 4: HTTP FHEMWEB:192.168.68.208:60215 GET /fhem/pgm2/fhemweb_noArg.js
2014.11.29 10:41:27 4: HTTP FHEMWEB:192.168.68.208:60206 GET /fhem/pgm2/fhemweb.js
2014.11.29 10:41:27 4: HTTP FHEMWEB:192.168.68.208:60213 GET /fhem/pgm2/fhemweb_multiple.js
2014.11.29 10:41:27 4: HTTP FHEMWEB:192.168.68.208:60209 GET /fhem/pgm2/fhemweb_slider.js
2014.11.29 10:41:27 4: HTTP FHEMWEB:192.168.68.208:60215 GET /fhem/pgm2/fhemweb_svg.js
2014.11.29 10:41:27 4: Connection accepted from FHEMWEB:192.168.68.208:60217
2014.11.29 10:41:27 4: HTTP FHEMWEB:192.168.68.208:60206 GET /fhem/pgm2/fhemweb_time.js
2014.11.29 10:41:27 4: Connection closed for FHEMWEB:192.168.68.208:60211
2014.11.29 10:41:27 4: HTTP FHEMWEB:192.168.68.208:60212 GET /fhem/pgm2/fhemweb_readingsHistory.js
2014.11.29 10:41:27 4: HTTP FHEMWEB:192.168.68.208:60217 GET /fhem/pgm2/fhemweb_textField.js
2014.11.29 10:41:27 4: HTTP FHEMWEB:192.168.68.208:60213 GET /fhem/pgm2/defaultCommon.css
2014.11.29 10:41:27 4: HTTP FHEMWEB:192.168.68.208:60213 GET /fhem/pgm2/dashboard_style.css
2014.11.29 10:41:27 4: HTTP FHEMWEB:192.168.68.208:60213 GET /fhem/FileLog_logWrapper?XHR=1&inform=type=status;filter=×tamp=1417254088745
2014.11.29 10:41:29 4: BlockingCall created child (3177), uses telnetForBlockingFn to connect back
2014.11.29 10:41:42 4: HTTP FHEMWEB:192.168.68.208:60217 GET /fhem/FileLog_logWrapper?dev=Logfile&type=text&file=fhem-2014-11.log
2014.11.29 10:41:42 4: HTTP FHEMWEB:192.168.68.208:60217 GET /fhem/pgm2/style.css
2014.11.29 10:41:42 4: HTTP FHEMWEB:192.168.68.208:60209 GET /fhem/pgm2/fhemweb_multiple.js
2014.11.29 10:41:42 4: HTTP FHEMWEB:192.168.68.208:60215 GET /fhem/pgm2/fhemweb_colorpicker.js
2014.11.29 10:41:42 4: HTTP FHEMWEB:192.168.68.208:60206 GET /fhem/pgm2/fhemweb.js
2014.11.29 10:41:42 4: HTTP FHEMWEB:192.168.68.208:60217 GET /fhem/pgm2/fhemweb_noArg.js
2014.11.29 10:41:42 4: HTTP FHEMWEB:192.168.68.208:60212 GET /fhem/pgm2/svg.js
2014.11.29 10:41:42 4: HTTP FHEMWEB:192.168.68.208:60209 GET /fhem/pgm2/fhemweb_readingsHistory.js
2014.11.29 10:41:42 4: HTTP FHEMWEB:192.168.68.208:60215 GET /fhem/pgm2/fhemweb_svg.js
2014.11.29 10:41:42 4: Connection accepted from FHEMWEB:192.168.68.208:60220
2014.11.29 10:41:42 4: HTTP FHEMWEB:192.168.68.208:60206 GET /fhem/pgm2/fhemweb_textField.js
2014.11.29 10:41:42 4: HTTP FHEMWEB:192.168.68.208:60217 GET /fhem/pgm2/fhemweb_time.js
2014.11.29 10:41:42 4: Connection closed for FHEMWEB:192.168.68.208:60213
2014.11.29 10:41:42 4: HTTP FHEMWEB:192.168.68.208:60212 GET /fhem/pgm2/defaultCommon.css
2014.11.29 10:41:42 4: HTTP FHEMWEB:192.168.68.208:60220 GET /fhem/pgm2/fhemweb_slider.js
2014.11.29 10:41:42 4: HTTP FHEMWEB:192.168.68.208:60212 GET /fhem/pgm2/dashboard_style.css
2014.11.29 10:41:42 4: HTTP FHEMWEB:192.168.68.208:60212 GET /fhem/FileLog_logWrapper?XHR=1&inform=type=status;filter=×tamp=1417254104019
2014.11.29 10:41:46 4: Connection accepted from telnet:127.0.0.1:41673


Du hast eine PM, hoffe das hilft.
Viele Grüße

Jürgen

StefanStrobel

Hallo Jürgen,

das Problem ist jetzt klar:
Deine Heizung sendet das Session Cookie in einer Antwort auf die Login-Daten mit einer gleichzeitigen Umleitung (Code 303). Der Code 303 wird jedoch nicht von HTTPMOD verarbeitet sondern direkt von den Fhem HttpUtils. HttpUtils verarbeiten jedoch das Cookie nicht und so kommt es zu einer Umleitungs-Schleife.
Spannend :-)

Ich werde da wohl einen Patch für die HttpUtils schreiben müssen. Ich melde mich wieder.

Gruss
   Stefan

JueFi

Hallo Stefan,
Sorry für die vielen Probleme - hoffentlich finden sich noch andere, die von der Lösung profitieren können.

Ich werde wenns läuft Werbung im Haustechnik Forum machen.

Ganz herzlichen Dank für deine Mühe.

Jürgen


kepech

Hallo,
ich lese seit einigen Stunden im Forum.
Habe etwa die gleiche Heizungskonfiguration im Einsatz und hatte die gleichen Wünsche.
Eine Lösung würde schon zwei Anwendern helfen.

Die Daten auf dem USB-Stick sind pro Tag als CSV File mit 1440 Zeilen und über 50 Spalten abgelegt.
Nicht alle Spalten sind aussagekräftig.
Alle Daten müssten zur Weiterverarbeitung automatisch vom Smart auf Server kopiert werden.
Mein Fernziel zur Analyse ist ein Frontend mit Wahl des Tages und der zu darstellenden Spalten.

Als Laie werde ich noch einige Zeit brauchen um mich einzulesen, bevor ich aktiv werden kann.

Danke und Gruss
Peter

JueFi

#23
Hallo Peter,

willkommen im Forum.
Wenn ich dich richtig verstehe, möchtest du die CSV Dateien vom an der Heizung hängenden USB-Stick auslesen ?
Das würde wahrscheinlich klappen, da die Heizung - zumindest bei mir - auf ein SSH antwortet.
Aber bisher ist es mir nicht gelungen, einen gültigen User und Passwort zu finden.

Der Ansatz hier ist anders. Ich habe ein WebInterface mit dem ich auf die Heizung zugreifen kann.
Ich bin mir nicht sicher, ob das immer verfügbar ist, oder ob man das zukaufen musste.
Ich habe als Bediendisplay ein "Pelletronic Touch", ich meine, damit kommt dann auch das Web-Interface mit.
Sorry, das ich dir das nicht mit mehr Verbindlichkeit sagen kann.
Du könntest auch mal mit Ökofen Kontakt aufnehmen und Fragen.

Aber jetzt nochmal zu unserer Lösung - naja bis jetzt ist es erst ein Lösungsversuch  ;)
Meine Heizung hängt also an einem Ethernet-Anschluss und ich kann ein WebInterface aufrufen (Siehe Bild).
Stefan - the Brain ;) - baut gerade an einer Lösung, sodass wir das Webinterface steuern können und somit z.B. jede Minute die Werte auslesen können, die dort angezeigt werden. Das sind im Prinzip alle Werte, die verfügbar sind.
Per FHEM können wir die dann als Grafiken darstellen oder auch Reaktionen ableiten und Werte in der Heizung ändern.
Meinen Ansatz hattest du ja vielleicht gelesen. Ich habe eine Solarthermie Anlage angeschlossen und will bei Sonne "warten" und den Brenner ausschalten.

Viele Grüße

Jürgen

JueFi

#24
Hallo Peter,

etwas OffTopic.

Ich habe eine EXCEL-Vorlage, die mir solche Grafiken erzeugt.
Ist aber wie du ja auch schon geschrieben hast Handarbeit.
Also den Stick aus dem Keller holen, die Dateien (pro Tag eine) auf den Rechner kopieren, per Skript die Werte rausholen, die EXCEL auswerten soll, pro Tag eine EXCEL-Tabelle füllen (das könnte man mit entsprechendem Makro Know-How sicher automatisieren), raus kommt dann die Grafik.

Wahrscheinlich könnte man die Werte auch in FHEM ablegen und dort die Grafiken erstellen lassen.

PS: Hier sieht man auch sehr schön, was ich meine. Der Brenner hätte um 12:00 nicht mehr anspringen brauchen, da die Solarthermie bereits angefangen hat zu arbeiten.
Und je kälter dann der Pufferspeicher ist, um so einfacher kann die Wärme der Solarthermie-Anlage genutzt werden.

Viele Grüße

Jürgen

StefanStrobel

Hallo Jürgen / Peter,

ich habe unter "Sonstiges" eine neue Version von HTTPMOD gepostet, die ein paar Probleme löst. Damit Eure Pellet-Heizung unterstützt wird, fehlt dann noch ein kleiner Patch für die HttpUtils, den ich im Develpment-Forum vorgeschlagen habe. Der muss erst noch akzeptiert / integriert werden. Dann ist das mit der Heizung eigentlich gelöst.

Weitere Werte oder auch Set-Parameter könnt Ihre dann entsprechend dem Beispiel sicher selbst erweitern. Ebenso wie Plots etc.

Die Konfiguration würde dann prinzipiell so aussehen:


#
# Test: Pellet
#

define PHeiz HTTPMOD http://DeineHeizungsIP/?action=get&attr=1 60

# regelmaessiges Abfragen von Werten
attr PHeiz reading01Name Aussentemp
attr PHeiz reading01Regex CAPPL:LOCAL.L_aussentemperatur_ist","value":"([0-9]+)"
attr PHeiz reading01Expr $val / 10

attr PHeiz requestHeader1 Accept-Language: de
attr PHeiz requestHeader2 Cookie: language=de;; pksession=$sid
attr PHeiz requestData ["CAPPL:LOCAL.L_aussentemperatur_ist"]
attr PHeiz reAuthRegex Error 403: Forbidden

#attr PHeiz verbose 5
attr PHeiz timeout 10

# für das Setzen eines Wertes (Betriebsart)
attr PHeiz set1Name Betriebsart
attr PHeiz set1Data {"CAPPL:FA[0].betriebsart_fa":"$val"}
attr PHeiz set1Map 0:Aus,1:An
attr PHeiz setURL http://DeineHeizungsIP/?action=set
attr PHeiz setHeader1 Accept-Language: de
attr PHeiz setHeader2 Cookie: language=de;; pksession=$sid
attr PHeiz setReAuthRegex Error 403: Forbidden

# für die Anmeldung
attr PHeiz sidURL http://DeineHeizungsIP/index.cgi
attr PHeiz sid1Data username=Oeko&password=DeinGeheimesPasswort&language=de&submit=Anmelden
attr PHeiz sid1Header1 Accept-Language: de
attr PHeiz sid1IDRegex pksession=([0-9]+);;
attr PHeiz sid1IgnoreRedirects 1


wie schnell das jetzt alles umgesetzt wird kann ich Dir nicht sagen. Das kommt darauf an wie Rudi Zeit hat sich meinen Patch anzusehen und ob er noch etwas daran ändern möchte.

Gruss
   Stefan

JueFi

 :D :D :D
Nachdem ich nun gefunden habe, wie ich an die HttpUtils rankomme, sieht das richtig gut aus.
Die Außentemperatur kommt zurück.
Das Setzen der Betriebsart klappt.

Jetzt kommt meine Arbeit  ;)

Gaaaanz herzlichen Dank und viele Grüße.

Jürgen

JueFi

So geht gut voran - für meine Verhältnisse  ;)
Mal eine Frage:
Ich möchte bestimmte Werte nur einmal am Tag loggen
- Brennerstunden - der Wert wird in der Heizung immer weiter aufsummiert
- Solartagesertrag - der Wert wird pro Tag gebildet

1. Ich vermute, man legt dann am Besten eine neue LOG-Datei an, in die das ganze Jahr geschrieben wird (also sowas wie PHeiz2-%Y.log)
2. Wie mache ich das mit HTTPMOD ?
Zusätzlich define PHeiz2 .... und alle Zeilen müssen verdoppelt werden mit PHeiz2 ?
Kann dass zu Kollisionen führen, falls das parallel läuft oder geht das eleganter ?
3. Habe ich für die Brennerstunden eine Möglichkeit die Differenz zum Vortag zu bilden und nur die Differenz zu speichern ?

Gruß

Jürgen

StefanStrobel

Hallo Jürgen,

schau Dir mal die Module average oder auch statistics an.
Bei der Differenz zum Vortrag müsste ich selbst erst mal recherchieren, aber Max / Min / Avg etc. sind da drin.

Gruss
   Stefan

kepech

Hallo Jürgen,

vielen Dank für deine Antworten. Unser Garten musste noch wintertauglich gemacht werden und dafür wurden meine Computerstunden gestrichen, daher meine Sendepause.
Auch bei mir hängt die Smart am Ethernet.

Ich hatte mich mit OOCalc Scripting beschäftigt um die viele Handarbeit zu reduzieren (wie kann man zum Beispiel nur Kommata statt Punkte in Werten verwenden).
Das Resultat ist noch nicht befriedigend, da das Script für jeden Tag laufen muss.

Die Datenmenge pro Tag, ein CSV File mit 1439 Zeilen und 56 Spalten, ruft für mich danach, in einer Datenbank abgelegt zu werden.
Bei mir läuft die Smart seit 2012, da ist einiges an Daten zusammen gekommen.
Mit einer Datenbank müssten Auswertungen flexibler erstellt werden können.
Auf meinem Synology NAS läuft MariaDB. Ich versuche darin diese Datenbank zu erstellen. Als Anfänger mit dieser Grössenordnung (56 Spalten) zu starten ist nicht auf Anhieb erfolgreich.
Wenn die Datenbank mal steht, könnte man die vorhandenen Daten einfüllen und die zukünftigen über deine FHEM Lösung speichern.

Ich traue der Steuerung noch nicht ganz und hatte bei Auswertungen auch schon Fehler gefunden und gemeldet.

Ich werde weiter interessiert mitlesen und mich bei Fragen oder Erfolgserlebnissen melden.

Peter