Autor Thema: Neue Version von HTTPMOD mit neuen Features zum Testen  (Gelesen 202154 mal)

Offline StefanStrobel

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1685
Antw:Neue Version von HTTPMOD mit neuen Features zum Testen
« Antwort #1080 am: 06 Juli 2021, 19:16:50 »
Hallo Tobias,

das ist ein Bug. Ich habe gerade eine neue Version eingecheckt.
Ab morgen sollte die per update verteilt werden.

Gruss / Thanx
   Stefan
Gefällt mir Gefällt mir x 1 Liste anzeigen

Offline volschin

  • Hero Member
  • *****
  • Beiträge: 1618
Antw:Neue Version von HTTPMOD mit neuen Features zum Testen
« Antwort #1081 am: 08 August 2021, 12:19:25 »
Hallo zusammen,
ich bin gerade dabei mit Debian Bullseye zu testen.

Dabei sind mir folgende Fehler beim Durchführen der Unittests aufgefallen:
/opt/fhem/t/FHEM/98_HTTPMOD/36_JSONExpr.t ......... ok

#   Failed test 'Outdated Reading 1 with mode text'
#   at /opt/fhem/t/FHEM/98_HTTPMOD/40_maxAge.t line 17.
#          got: '0'
#     expected: '1'

#   Failed test 'Outdated Reading 2 with mode expression'
#   at /opt/fhem/t/FHEM/98_HTTPMOD/40_maxAge.t line 18.
#          got: '0'
#     expected: '1'

#   Failed test 'Outdated Reading 3 with mode reading'
#   at /opt/fhem/t/FHEM/98_HTTPMOD/40_maxAge.t line 19.
#          got: '0'
#     expected: '1'

#   Failed test 'Outdated Reading 4 with mode internal'
#   at /opt/fhem/t/FHEM/98_HTTPMOD/40_maxAge.t line 20.
#          got: '0'
#     expected: '1'
# Looks like you failed 4 tests of 7.
/opt/fhem/t/FHEM/98_HTTPMOD/40_maxAge.t ...........
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/7 subtests

Vielleicht hilft es ja das noch rechtzeitig bis zum geplanten Release am 14.08.2021 zu beheben.

Viele Grüße
Veit
Intel NUC+Ubuntu 20.04+Docker+FHEM6
HomeMatic: HM-MOD-RPI-PCB+HM-USB-CFG2+hmland+diverse, HUE: Hue-Bridge, RaspBee+deCONZ+diverse
Amzn Dash-Buttons, Siro Rollos
4xRPi, 4xCO20, OWL+USB, HarmonyHub, FRITZ!Box 7590, Echo Dots+Show5, Logi Circle 2, HomeBridge
TIG Stack (Telegraf, InfluxDB, Grafana)

Offline StefanStrobel

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1685
Antw:Neue Version von HTTPMOD mit neuen Features zum Testen
« Antwort #1082 am: 10 August 2021, 11:55:19 »
Hallo Veit,

Könntest Du den Test mal einzeln laufen lassen und das Ergebnis posten?
cd /opt/fhem/; perl fhem.pl -t /opt/fhem/t/FHEM/98_HTTPMOD/40_maxAge.t

Vielen Dank
    Stefan

Offline volschin

  • Hero Member
  • *****
  • Beiträge: 1618
Antw:Neue Version von HTTPMOD mit neuen Features zum Testen
« Antwort #1083 am: 13 August 2021, 09:30:49 »
Ist leider gar nicht so einfach, da die Test-Dateien beim Preinstall gelöscht werden.
Intel NUC+Ubuntu 20.04+Docker+FHEM6
HomeMatic: HM-MOD-RPI-PCB+HM-USB-CFG2+hmland+diverse, HUE: Hue-Bridge, RaspBee+deCONZ+diverse
Amzn Dash-Buttons, Siro Rollos
4xRPi, 4xCO20, OWL+USB, HarmonyHub, FRITZ!Box 7590, Echo Dots+Show5, Logi Circle 2, HomeBridge
TIG Stack (Telegraf, InfluxDB, Grafana)

Offline volschin

  • Hero Member
  • *****
  • Beiträge: 1618
Antw:Neue Version von HTTPMOD mit neuen Features zum Testen
« Antwort #1084 am: 14 August 2021, 12:32:55 »
Ich habe gerade einen neuen Bullseye-Build laufen lassen und da gibt es keinen Fehler mehr bei den Unit-Tests von HTTPMOD. Also entweder Du hast jetzt noch dran geschraubt oder die finalen Packages bei Debian haben das Problem behoben.
Intel NUC+Ubuntu 20.04+Docker+FHEM6
HomeMatic: HM-MOD-RPI-PCB+HM-USB-CFG2+hmland+diverse, HUE: Hue-Bridge, RaspBee+deCONZ+diverse
Amzn Dash-Buttons, Siro Rollos
4xRPi, 4xCO20, OWL+USB, HarmonyHub, FRITZ!Box 7590, Echo Dots+Show5, Logi Circle 2, HomeBridge
TIG Stack (Telegraf, InfluxDB, Grafana)

Offline StefanStrobel

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1685
Antw:Neue Version von HTTPMOD mit neuen Features zum Testen
« Antwort #1085 am: 15 August 2021, 12:00:37 »
Die letzte Änderung war im Juli.
Ich vermute eher, dass es ein Timing-Problem ist und erhöhe mal die Verzögerung vor der Auswertung im Test ...

Gruss / Thanx
   Stefan

Offline StefanStrobel

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1685
Antw:Neue Version von HTTPMOD mit neuen Features zum Testen
« Antwort #1086 am: 28 August 2021, 10:01:45 »
Anbei noch mal eine neue Version zum Testen.
ich habe einiges am Attributs-Handling geändert, so dass Attribute, bei denen das noch nicht funktioniert hat wie reading01IMap, reading02TextArg etc. auch generisch für alle Readings als readingTextArg etc. geschrieben werden können.
Wenn es keine Probleme gibt, würde ich das demnächst einchecken.

Gruss
   Stefan

Online Helmi55

  • Hero Member
  • *****
  • Beiträge: 1425
    • Helmi's Fotoseite
Antw:Neue Version von HTTPMOD mit neuen Features zum Testen
« Antwort #1087 am: 09 September 2021, 10:53:42 »
Hallo liebe HTTPMOD Profis
ich hoffe ich werde für den Doppelpost nicht gesteinigt aber im ursprünglichen RIKA Ofen Thread liest anscheinend niemand mehr mit.......

Ich habe eine Verbindung zu meinem Ofen denn ich bekomme Werte wie Temperatur oder Pellet in FHEM übertragen.
Somit stimmt das Login. ABER ich kann nichts an den Ofen senden
Hier ein List vom Ofen
Internals:
   BUSY       0
   DEF        https://www.rika-firenet.com/api/client/xyz/status 60
   FUUID      5c45c884-f33f-ee2d-41a0-8cb8d7c99143a44c
   Interval   60
   LastAuthTry 2021-08-31 15:12:02
   MainURL    https://www.rika-firenet.com/api/client/xyz/status
   ModuleVersion 4.1.10 - 6.7.2021
   NAME       Ofen
   NOTIFYDEV  global
   NR         199
   NTFY_ORDER 50-Ofen
   STATE      T: 23.8 ST: 20 BT:118
   TYPE       HTTPMOD
   value     
   CompiledRegexes:
   HTTPCookieHash:
     connect.sid;:
       Name       connect.sid
       Options    Path=/; HttpOnly
       Path       
       Value      s%3AZVg4P9QhmyPp8YKE0cp9hM62qt53xiui.M%2FCX3IpnzkhwwS3eHoYvQY0M1BHUXvNAn910QXhBq%2Bo
   HttpUtils:
     NAME       
     addr       https://www.rika-firenet.com:443
     auth       0
     code       200
     compress   1
     conn       
     data       
     displayurl https://www.rika-firenet.com/api/client/xyz/status
     header     Cookie: connect.sid=s%3AZVg4P9QhmyPp8YKE0cp9hM62qt53xiui.M%2FCX3IpnzkhwwS3eHoYvQY0M1BHUXvNAn910QXhBq%2Bo
     host       www.rika-firenet.com
     httpheader HTTP/1.1 200 OK
Server: Cowboy
Connection: close
X-Powered-By: Express
Content-Type: application/json; charset=utf-8
Etag: W/"df8-OA9LIdNJ2jK8cuNUzjQwVy5ewTk"
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 31 Aug 2021 13:58:58 GMT
Via: 1.1 vegur
     httpversion 1.0
     hu_blocking 0
     hu_filecount 1
     hu_port    443
     hu_portSfx
     ignoreredirects 1
     loglevel   4
     path       /api/client/xyz/status
     protocol   https
     redirects  0
     timeout    120
     url        https://www.rika-firenet.com/api/client/xyz/status
     sslargs:
   QUEUE:
   READINGS:
     2021-08-31 15:58:58   Absenkung       12
     2021-08-31 15:58:58   Betriebsart     K
     2021-08-31 15:58:58   BrennTemp       118
     2021-08-31 15:58:58   Frostschutz     4
     2021-08-31 15:58:58   Ofen            1
     2021-08-31 15:58:58   Pellets         10373
     2021-08-31 15:58:58   RaumTemp        23.8
     2021-08-31 15:58:58   SollTemp        20
     2021-08-31 15:58:58   controlsJSON    {"revision":1630418337,"onOff":true,"operatingMode":2,"heatingPower":70,"targetTemperature":"20","bakeTemperature":"340","ecoMode":false,"heatingTimeMon1":"07002200","heatingTimeMon2":"00000000","heatingTimeTue1":"06302200","heatingTimeTue2":"00000000","heatingTimeWed1":"06002200","heatingTimeWed2":"00000000","heatingTimeThu1":"06002200","heatingTimeThu2":"00000000","heatingTimeFri1":"07002200","heatingTimeFri2":"00000000","heatingTimeSat1":"06302200","heatingTimeSat2":"00000000","heatingTimeSun1":"06002200","heatingTimeSun2":"00000000","heatingTimesActiveForComfort":true,"setBackTemperature":"12","convectionFan1Active":false,"convectionFan1Level":0,"convectionFan1Area":0,"convectionFan2Active":false,"convectionFan2Level":0,"convectionFan2Area":0,"frostProtectionActive":false,"frostProtectionTemperature":"4","temperatureOffset":"0","RoomPowerRequest":4,"debug0":0,"debug1":0,"debug2":0,"debug3":0,"debug4":0}
     2021-08-31 15:58:58   controls_RoomPowerRequest 4
     2021-08-31 15:58:58   controls_bakeTemperature 340
     2021-08-31 15:58:58   controls_convectionFan1Active 0
     2021-08-31 15:58:58   controls_convectionFan1Area 0
     2021-08-31 15:58:58   controls_convectionFan1Level 0
     2021-08-31 15:58:58   controls_convectionFan2Active 0
     2021-08-31 15:58:58   controls_convectionFan2Area 0
     2021-08-31 15:58:58   controls_convectionFan2Level 0
     2021-08-31 15:58:58   controls_debug0 0
     2021-08-31 15:58:58   controls_debug1 0
     2021-08-31 15:58:58   controls_debug2 0
     2021-08-31 15:58:58   controls_debug3 0
     2021-08-31 15:58:58   controls_debug4 0
     2021-08-31 15:58:58   controls_ecoMode 0
     2021-08-31 15:58:58   controls_frostProtectionActive 0
     2021-08-31 15:58:58   controls_frostProtectionTemperature 4
     2021-08-31 15:58:58   controls_heatingPower 70
     2021-08-31 15:58:58   controls_heatingTimeFri1 07002200
     2021-08-31 15:58:58   controls_heatingTimeFri2 00000000
     2021-08-31 15:58:58   controls_heatingTimeMon1 07002200
     2021-08-31 15:58:58   controls_heatingTimeMon2 00000000
     2021-08-31 15:58:58   controls_heatingTimeSat1 06302200
     2021-08-31 15:58:58   controls_heatingTimeSat2 00000000
     2021-08-31 15:58:58   controls_heatingTimeSun1 06002200
     2021-08-31 15:58:58   controls_heatingTimeSun2 00000000
     2021-08-31 15:58:58   controls_heatingTimeThu1 06002200
     2021-08-31 15:58:58   controls_heatingTimeThu2 00000000
     2021-08-31 15:58:58   controls_heatingTimeTue1 06302200
     2021-08-31 15:58:58   controls_heatingTimeTue2 00000000
     2021-08-31 15:58:58   controls_heatingTimeWed1 06002200
     2021-08-31 15:58:58   controls_heatingTimeWed2 00000000
     2021-08-31 15:58:58   controls_heatingTimesActiveForComfort 1
     2021-08-31 15:58:58   controls_onOff  1
     2021-08-31 15:58:58   controls_operatingMode 2
     2021-08-31 15:58:58   controls_revision 1630418337
     2021-08-31 15:58:58   controls_setBackTemperature 12
     2021-08-31 15:58:58   controls_targetTemperature 20
     2021-08-31 15:58:58   controls_temperatureOffset 0
     2021-08-31 15:58:58   lastConfirmedRevision 1630417550
     2021-08-31 15:58:58   lastSeenMinutes 0
     2021-08-31 15:58:58   name            vorzimmer
     2021-08-31 15:58:58   oem             RIKA
     2021-08-31 15:58:58   sensors_inputBakeTemperature 1024
     2021-08-31 15:58:58   sensors_inputBoardTemperature 3.3
     2021-08-31 15:58:58   sensors_inputBurnBackFlapSwitch 1
     2021-08-31 15:58:58   sensors_inputCover 1
     2021-08-31 15:58:58   sensors_inputCurrentStage 56
     2021-08-31 15:58:58   sensors_inputCurrentStagePID 56
     2021-08-31 15:58:58   sensors_inputDoor 1
     2021-08-31 15:58:58   sensors_inputExternalRequest 1
     2021-08-31 15:58:58   sensors_inputFlameTemperature 118
     2021-08-31 15:58:58   sensors_inputFlueGasFlapSwitch 1
     2021-08-31 15:58:58   sensors_inputGridContact 1
     2021-08-31 15:58:58   sensors_inputPressureSensor 0
     2021-08-31 15:58:58   sensors_inputPressureSwitch 0
     2021-08-31 15:58:58   sensors_inputRoomTemperature 23.8
     2021-08-31 15:58:58   sensors_inputTargetStagePID 54
     2021-08-31 15:58:58   sensors_inputUpperTemperatureLimiter 1
     2021-08-31 15:58:58   sensors_outputAirFlaps 0
     2021-08-31 15:58:58   sensors_outputAirFlapsTargetPosition 0
     2021-08-31 15:58:58   sensors_outputBurnBackFlapMagnet 0
     2021-08-31 15:58:58   sensors_outputDischargeCurrent 0
     2021-08-31 15:58:58   sensors_outputDischargeMotor 0
     2021-08-31 15:58:58   sensors_outputGridMotor 0
     2021-08-31 15:58:58   sensors_outputIDFan 0
     2021-08-31 15:58:58   sensors_outputIDFanTarget 0
     2021-08-31 15:58:58   sensors_outputIgnition 0
     2021-08-31 15:58:58   sensors_outputInsertionCurrent 0
     2021-08-31 15:58:58   sensors_outputInsertionMotor 0
     2021-08-31 15:58:58   sensors_parameterCleanIntervalBig 360
     2021-08-31 15:58:58   sensors_parameterDebug0 0
     2021-08-31 15:58:58   sensors_parameterDebug1 0
     2021-08-31 15:58:58   sensors_parameterDebug2 0
     2021-08-31 15:58:58   sensors_parameterDebug3 0
     2021-08-31 15:58:58   sensors_parameterDebug4 0
     2021-08-31 15:58:58   sensors_parameterEcoModePossible 0
     2021-08-31 15:58:58   sensors_parameterErrorCount0 1
     2021-08-31 15:58:58   sensors_parameterErrorCount1 0
     2021-08-31 15:58:58   sensors_parameterErrorCount10 0
     2021-08-31 15:58:58   sensors_parameterErrorCount11 0
     2021-08-31 15:58:58   sensors_parameterErrorCount12 0
     2021-08-31 15:58:58   sensors_parameterErrorCount13 0
     2021-08-31 15:58:58   sensors_parameterErrorCount14 0
     2021-08-31 15:58:58   sensors_parameterErrorCount15 0
     2021-08-31 15:58:58   sensors_parameterErrorCount16 0
     2021-08-31 15:58:58   sensors_parameterErrorCount17 0
     2021-08-31 15:58:58   sensors_parameterErrorCount18 0
     2021-08-31 15:58:58   sensors_parameterErrorCount19 0
     2021-08-31 15:58:58   sensors_parameterErrorCount2 0
     2021-08-31 15:58:58   sensors_parameterErrorCount3 0
     2021-08-31 15:58:58   sensors_parameterErrorCount4 1
     2021-08-31 15:58:58   sensors_parameterErrorCount5 0
     2021-08-31 15:58:58   sensors_parameterErrorCount6 0
     2021-08-31 15:58:58   sensors_parameterErrorCount7 0
     2021-08-31 15:58:58   sensors_parameterErrorCount8 0
     2021-08-31 15:58:58   sensors_parameterErrorCount9 0
     2021-08-31 15:58:58   sensors_parameterFabricationNumber 1
     2021-08-31 15:58:58   sensors_parameterFeedRateService 247
     2021-08-31 15:58:58   sensors_parameterFeedRateTotal 10373
     2021-08-31 15:58:58   sensors_parameterFlameSensorOffset 38
     2021-08-31 15:58:58   sensors_parameterIDFanTuning 0
     2021-08-31 15:58:58   sensors_parameterIgnitionCount 2986
     2021-08-31 15:58:58   sensors_parameterKgTillCleaning 700
     2021-08-31 15:58:58   sensors_parameterLanguageNumber 1
     2021-08-31 15:58:58   sensors_parameterOnOffCycleCount 55
     2021-08-31 15:58:58   sensors_parameterPressureSensorOffset 0
     2021-08-31 15:58:58   sensors_parameterRuntimeLogs 0
     2021-08-31 15:58:58   sensors_parameterRuntimePellets 6747
     2021-08-31 15:58:58   sensors_parameterServiceCountdownKg 453
     2021-08-31 15:58:58   sensors_parameterServiceCountdownTime 0
     2021-08-31 15:58:58   sensors_parameterSpiralMotorsTuning 0
     2021-08-31 15:58:58   sensors_parameterStoveTypeNumber 13
     2021-08-31 15:58:58   sensors_parameterVersionMainBoard 227
     2021-08-31 15:58:58   sensors_parameterVersionMainBoardBootLoader 160
     2021-08-31 15:58:58   sensors_parameterVersionMainBoardSub 44501
     2021-08-31 15:58:58   sensors_parameterVersionTFT 227
     2021-08-31 15:58:58   sensors_parameterVersionTFTBootLoader 150
     2021-08-31 15:58:58   sensors_parameterVersionTFTSub 42901
     2021-08-31 15:58:58   sensors_parameterVersionWiFi 111
     2021-08-31 15:58:58   sensors_parameterVersionWiFiBootLoader 101
     2021-08-31 15:58:58   sensors_parameterVersionWiFiSub 12501
     2021-08-31 15:58:58   sensors_statusError 0
     2021-08-31 15:58:58   sensors_statusFrostStarted 0
     2021-08-31 15:58:58   sensors_statusHeatingTimesNotProgrammed 0
     2021-08-31 15:58:58   sensors_statusMainState 1
     2021-08-31 15:58:58   sensors_statusService 0
     2021-08-31 15:58:58   sensors_statusSubError 0
     2021-08-31 15:58:58   sensors_statusSubState 3
     2021-08-31 15:58:58   sensors_statusWarning 0
     2021-08-31 15:58:58   sensors_statusWifiStrength -46
     2021-08-31 15:58:58   stoveFeatures_airFlaps 0
     2021-08-31 15:58:58   stoveFeatures_bakeMode 0
     2021-08-31 15:58:58   stoveFeatures_insertionMotor 0
     2021-08-31 15:58:58   stoveFeatures_logRuntime 0
     2021-08-31 15:58:58   stoveFeatures_multiAir1 1
     2021-08-31 15:58:58   stoveFeatures_multiAir2 1
     2021-08-31 15:58:58   stoveID         xyz
     2021-08-31 15:58:58   stoveType       DOMO MultiAir
   REQUEST:
     context    reading
     data       
     header     
     ignoreredirects 0
     num        unknown
     retryCount 0
     type       update
     url        https://www.rika-firenet.com/api/client/xyz/status
   defptr:
     readingBase:
       Absenkung  reading
       Betriebsart reading
       BrennTemp  reading
       Frostschutz reading
       Ofen       reading
       Pellets    reading
       RaumTemp   reading
       SollTemp   reading
       controlsJSON reading
       controls_RoomPowerRequest reading
       controls_bakeTemperature reading
       controls_convectionFan1Active reading
       controls_convectionFan1Area reading
       controls_convectionFan1Level reading
       controls_convectionFan2Active reading
       controls_convectionFan2Area reading
       controls_convectionFan2Level reading
       controls_debug0 reading
       controls_debug1 reading
       controls_debug2 reading
       controls_debug3 reading
       controls_debug4 reading
       controls_ecoMode reading
       controls_frostProtectionActive reading
       controls_frostProtectionTemperature reading
       controls_heatingPower reading
       controls_heatingTimeFri1 reading
       controls_heatingTimeFri2 reading
       controls_heatingTimeMon1 reading
       controls_heatingTimeMon2 reading
       controls_heatingTimeSat1 reading
       controls_heatingTimeSat2 reading
       controls_heatingTimeSun1 reading
       controls_heatingTimeSun2 reading
       controls_heatingTimeThu1 reading
       controls_heatingTimeThu2 reading
       controls_heatingTimeTue1 reading
       controls_heatingTimeTue2 reading
       controls_heatingTimeWed1 reading
       controls_heatingTimeWed2 reading
       controls_heatingTimesActiveForComfort reading
       controls_onOff reading
       controls_operatingMode reading
       controls_revision reading
       controls_setBackTemperature reading
       controls_targetTemperature reading
       controls_temperatureOffset reading
       lastConfirmedRevision reading
       lastSeenMinutes reading
       name       reading
       oem        reading
       sensors_inputBakeTemperature reading
       sensors_inputBoardTemperature reading
       sensors_inputBurnBackFlapSwitch reading
       sensors_inputCover reading
       sensors_inputCurrentStage reading
       sensors_inputCurrentStagePID reading
       sensors_inputDoor reading
       sensors_inputExternalRequest reading
       sensors_inputFlameTemperature reading
       sensors_inputFlueGasFlapSwitch reading
       sensors_inputGridContact reading
       sensors_inputPressureSensor reading
       sensors_inputPressureSwitch reading
       sensors_inputRoomTemperature reading
       sensors_inputTargetStagePID reading
       sensors_inputUpperTemperatureLimiter reading
       sensors_outputAirFlaps reading
       sensors_outputAirFlapsTargetPosition reading
       sensors_outputBurnBackFlapMagnet reading
       sensors_outputDischargeCurrent reading
       sensors_outputDischargeMotor reading
       sensors_outputGridMotor reading
       sensors_outputIDFan reading
       sensors_outputIDFanTarget reading
       sensors_outputIgnition reading
       sensors_outputInsertionCurrent reading
       sensors_outputInsertionMotor reading
       sensors_parameterCleanIntervalBig reading
       sensors_parameterDebug0 reading
       sensors_parameterDebug1 reading
       sensors_parameterDebug2 reading
       sensors_parameterDebug3 reading
       sensors_parameterDebug4 reading
       sensors_parameterEcoModePossible reading
       sensors_parameterErrorCount0 reading
       sensors_parameterErrorCount1 reading
       sensors_parameterErrorCount10 reading
       sensors_parameterErrorCount11 reading
       sensors_parameterErrorCount12 reading
       sensors_parameterErrorCount13 reading
       sensors_parameterErrorCount14 reading
       sensors_parameterErrorCount15 reading
       sensors_parameterErrorCount16 reading
       sensors_parameterErrorCount17 reading
       sensors_parameterErrorCount18 reading
       sensors_parameterErrorCount19 reading
       sensors_parameterErrorCount2 reading
       sensors_parameterErrorCount3 reading
       sensors_parameterErrorCount4 reading
       sensors_parameterErrorCount5 reading
       sensors_parameterErrorCount6 reading
       sensors_parameterErrorCount7 reading
       sensors_parameterErrorCount8 reading
       sensors_parameterErrorCount9 reading
       sensors_parameterFabricationNumber reading
       sensors_parameterFeedRateService reading
       sensors_parameterFeedRateTotal reading
       sensors_parameterFlameSensorOffset reading
       sensors_parameterIDFanTuning reading
       sensors_parameterIgnitionCount reading
       sensors_parameterKgTillCleaning reading
       sensors_parameterLanguageNumber reading
       sensors_parameterOnOffCycleCount reading
       sensors_parameterPressureSensorOffset reading
       sensors_parameterRuntimeLogs reading
       sensors_parameterRuntimePellets reading
       sensors_parameterServiceCountdownKg reading
       sensors_parameterServiceCountdownTime reading
       sensors_parameterSpiralMotorsTuning reading
       sensors_parameterStoveTypeNumber reading
       sensors_parameterVersionMainBoard reading
       sensors_parameterVersionMainBoardBootLoader reading
       sensors_parameterVersionMainBoardSub reading
       sensors_parameterVersionTFT reading
       sensors_parameterVersionTFTBootLoader reading
       sensors_parameterVersionTFTSub reading
       sensors_parameterVersionWiFi reading
       sensors_parameterVersionWiFiBootLoader reading
       sensors_parameterVersionWiFiSub reading
       sensors_statusError reading
       sensors_statusFrostStarted reading
       sensors_statusHeatingTimesNotProgrammed reading
       sensors_statusMainState reading
       sensors_statusService reading
       sensors_statusSubError reading
       sensors_statusSubState reading
       sensors_statusWarning reading
       sensors_statusWifiStrength reading
       stoveFeatures_airFlaps reading
       stoveFeatures_bakeMode reading
       stoveFeatures_insertionMotor reading
       stoveFeatures_logRuntime reading
       stoveFeatures_multiAir1 reading
       stoveFeatures_multiAir2 reading
       stoveID    reading
       stoveType  reading
     readingNum:
       Absenkung  02
       Betriebsart 05
       BrennTemp  06
       Frostschutz 03
       Ofen       08
       Pellets    07
       RaumTemp   01
       SollTemp   04
       controlsJSON 10
       controls_RoomPowerRequest unknown
       controls_bakeTemperature unknown
       controls_convectionFan1Active unknown
       controls_convectionFan1Area unknown
       controls_convectionFan1Level unknown
       controls_convectionFan2Active unknown
       controls_convectionFan2Area unknown
       controls_convectionFan2Level unknown
       controls_debug0 unknown
       controls_debug1 unknown
       controls_debug2 unknown
       controls_debug3 unknown
       controls_debug4 unknown
       controls_ecoMode unknown
       controls_frostProtectionActive unknown
       controls_frostProtectionTemperature unknown
       controls_heatingPower unknown
       controls_heatingTimeFri1 unknown
       controls_heatingTimeFri2 unknown
       controls_heatingTimeMon1 unknown
       controls_heatingTimeMon2 unknown
       controls_heatingTimeSat1 unknown
       controls_heatingTimeSat2 unknown
       controls_heatingTimeSun1 unknown
       controls_heatingTimeSun2 unknown
       controls_heatingTimeThu1 unknown
       controls_heatingTimeThu2 unknown
       controls_heatingTimeTue1 unknown
       controls_heatingTimeTue2 unknown
       controls_heatingTimeWed1 unknown
       controls_heatingTimeWed2 unknown
       controls_heatingTimesActiveForComfort unknown
       controls_onOff unknown
       controls_operatingMode unknown
       controls_revision unknown
       controls_setBackTemperature unknown
       controls_targetTemperature unknown
       controls_temperatureOffset unknown
       lastConfirmedRevision unknown
       lastSeenMinutes unknown
       name       unknown
       oem        unknown
       sensors_inputBakeTemperature unknown
       sensors_inputBoardTemperature unknown
       sensors_inputBurnBackFlapSwitch unknown
       sensors_inputCover unknown
       sensors_inputCurrentStage unknown
       sensors_inputCurrentStagePID unknown
       sensors_inputDoor unknown
       sensors_inputExternalRequest unknown
       sensors_inputFlameTemperature unknown
       sensors_inputFlueGasFlapSwitch unknown
       sensors_inputGridContact unknown
       sensors_inputPressureSensor unknown
       sensors_inputPressureSwitch unknown
       sensors_inputRoomTemperature unknown
       sensors_inputTargetStagePID unknown
       sensors_inputUpperTemperatureLimiter unknown
       sensors_outputAirFlaps unknown
       sensors_outputAirFlapsTargetPosition unknown
       sensors_outputBurnBackFlapMagnet unknown
       sensors_outputDischargeCurrent unknown
       sensors_outputDischargeMotor unknown
       sensors_outputGridMotor unknown
       sensors_outputIDFan unknown
       sensors_outputIDFanTarget unknown
       sensors_outputIgnition unknown
       sensors_outputInsertionCurrent unknown
       sensors_outputInsertionMotor unknown
       sensors_parameterCleanIntervalBig unknown
       sensors_parameterDebug0 unknown
       sensors_parameterDebug1 unknown
       sensors_parameterDebug2 unknown
       sensors_parameterDebug3 unknown
       sensors_parameterDebug4 unknown
       sensors_parameterEcoModePossible unknown
       sensors_parameterErrorCount0 unknown
       sensors_parameterErrorCount1 unknown
       sensors_parameterErrorCount10 unknown
       sensors_parameterErrorCount11 unknown
       sensors_parameterErrorCount12 unknown
       sensors_parameterErrorCount13 unknown
       sensors_parameterErrorCount14 unknown
       sensors_parameterErrorCount15 unknown
       sensors_parameterErrorCount16 unknown
       sensors_parameterErrorCount17 unknown
       sensors_parameterErrorCount18 unknown
       sensors_parameterErrorCount19 unknown
       sensors_parameterErrorCount2 unknown
       sensors_parameterErrorCount3 unknown
       sensors_parameterErrorCount4 unknown
       sensors_parameterErrorCount5 unknown
       sensors_parameterErrorCount6 unknown
       sensors_parameterErrorCount7 unknown
       sensors_parameterErrorCount8 unknown
       sensors_parameterErrorCount9 unknown
       sensors_parameterFabricationNumber unknown
       sensors_parameterFeedRateService unknown
       sensors_parameterFeedRateTotal unknown
       sensors_parameterFlameSensorOffset unknown
       sensors_parameterIDFanTuning unknown
       sensors_parameterIgnitionCount unknown
       sensors_parameterKgTillCleaning unknown
       sensors_parameterLanguageNumber unknown
       sensors_parameterOnOffCycleCount unknown
       sensors_parameterPressureSensorOffset unknown
       sensors_parameterRuntimeLogs unknown
       sensors_parameterRuntimePellets unknown
       sensors_parameterServiceCountdownKg unknown
       sensors_parameterServiceCountdownTime unknown
       sensors_parameterSpiralMotorsTuning unknown
       sensors_parameterStoveTypeNumber unknown
       sensors_parameterVersionMainBoard unknown
       sensors_parameterVersionMainBoardBootLoader unknown
       sensors_parameterVersionMainBoardSub unknown
       sensors_parameterVersionTFT unknown
       sensors_parameterVersionTFTBootLoader unknown
       sensors_parameterVersionTFTSub unknown
       sensors_parameterVersionWiFi unknown
       sensors_parameterVersionWiFiBootLoader unknown
       sensors_parameterVersionWiFiSub unknown
       sensors_statusError unknown
       sensors_statusFrostStarted unknown
       sensors_statusHeatingTimesNotProgrammed unknown
       sensors_statusMainState unknown
       sensors_statusService unknown
       sensors_statusSubError unknown
       sensors_statusSubState unknown
       sensors_statusWarning unknown
       sensors_statusWifiStrength unknown
       stoveFeatures_airFlaps unknown
       stoveFeatures_bakeMode unknown
       stoveFeatures_insertionMotor unknown
       stoveFeatures_logRuntime unknown
       stoveFeatures_multiAir1 unknown
       stoveFeatures_multiAir2 unknown
       stoveID    unknown
       stoveType  unknown
     readingOutdated:
     requestReadings:
       update:
         Absenkung  reading 02
         Betriebsart reading 05
         BrennTemp  reading 06
         Frostschutz reading 03
         Ofen       reading 08
         Pellets    reading 07
         RaumTemp   reading 01
         SollTemp   reading 04
         controlsJSON reading 10
         controls_RoomPowerRequest reading unknown
         controls_bakeTemperature reading unknown
         controls_convectionFan1Active reading unknown
         controls_convectionFan1Area reading unknown
         controls_convectionFan1Level reading unknown
         controls_convectionFan2Active reading unknown
         controls_convectionFan2Area reading unknown
         controls_convectionFan2Level reading unknown
         controls_debug0 reading unknown
         controls_debug1 reading unknown
         controls_debug2 reading unknown
         controls_debug3 reading unknown
         controls_debug4 reading unknown
         controls_ecoMode reading unknown
         controls_frostProtectionActive reading unknown
         controls_frostProtectionTemperature reading unknown
         controls_heatingPower reading unknown
         controls_heatingTimeFri1 reading unknown
         controls_heatingTimeFri2 reading unknown
         controls_heatingTimeMon1 reading unknown
         controls_heatingTimeMon2 reading unknown
         controls_heatingTimeSat1 reading unknown
         controls_heatingTimeSat2 reading unknown
         controls_heatingTimeSun1 reading unknown
         controls_heatingTimeSun2 reading unknown
         controls_heatingTimeThu1 reading unknown
         controls_heatingTimeThu2 reading unknown
         controls_heatingTimeTue1 reading unknown
         controls_heatingTimeTue2 reading unknown
         controls_heatingTimeWed1 reading unknown
         controls_heatingTimeWed2 reading unknown
         controls_heatingTimesActiveForComfort reading unknown
         controls_onOff reading unknown
         controls_operatingMode reading unknown
         controls_revision reading unknown
         controls_setBackTemperature reading unknown
         controls_targetTemperature reading unknown
         controls_temperatureOffset reading unknown
         lastConfirmedRevision reading unknown
         lastSeenMinutes reading unknown
         name       reading unknown
         oem        reading unknown
         sensors_inputBakeTemperature reading unknown
         sensors_inputBoardTemperature reading unknown
         sensors_inputBurnBackFlapSwitch reading unknown
         sensors_inputCover reading unknown
         sensors_inputCurrentStage reading unknown
         sensors_inputCurrentStagePID reading unknown
         sensors_inputDoor reading unknown
         sensors_inputExternalRequest reading unknown
         sensors_inputFlameTemperature reading unknown
         sensors_inputFlueGasFlapSwitch reading unknown
         sensors_inputGridContact reading unknown
         sensors_inputPressureSensor reading unknown
         sensors_inputPressureSwitch reading unknown
         sensors_inputRoomTemperature reading unknown
         sensors_inputTargetStagePID reading unknown
         sensors_inputUpperTemperatureLimiter reading unknown
         sensors_outputAirFlaps reading unknown
         sensors_outputAirFlapsTargetPosition reading unknown
         sensors_outputBurnBackFlapMagnet reading unknown
         sensors_outputDischargeCurrent reading unknown
         sensors_outputDischargeMotor reading unknown
         sensors_outputGridMotor reading unknown
         sensors_outputIDFan reading unknown
         sensors_outputIDFanTarget reading unknown
         sensors_outputIgnition reading unknown
         sensors_outputInsertionCurrent reading unknown
         sensors_outputInsertionMotor reading unknown
         sensors_parameterCleanIntervalBig reading unknown
         sensors_parameterDebug0 reading unknown
         sensors_parameterDebug1 reading unknown
         sensors_parameterDebug2 reading unknown
         sensors_parameterDebug3 reading unknown
         sensors_parameterDebug4 reading unknown
         sensors_parameterEcoModePossible reading unknown
         sensors_parameterErrorCount0 reading unknown
         sensors_parameterErrorCount1 reading unknown
         sensors_parameterErrorCount10 reading unknown
         sensors_parameterErrorCount11 reading unknown
         sensors_parameterErrorCount12 reading unknown
         sensors_parameterErrorCount13 reading unknown
         sensors_parameterErrorCount14 reading unknown
         sensors_parameterErrorCount15 reading unknown
         sensors_parameterErrorCount16 reading unknown
         sensors_parameterErrorCount17 reading unknown
         sensors_parameterErrorCount18 reading unknown
         sensors_parameterErrorCount19 reading unknown
         sensors_parameterErrorCount2 reading unknown
         sensors_parameterErrorCount3 reading unknown
         sensors_parameterErrorCount4 reading unknown
         sensors_parameterErrorCount5 reading unknown
         sensors_parameterErrorCount6 reading unknown
         sensors_parameterErrorCount7 reading unknown
         sensors_parameterErrorCount8 reading unknown
         sensors_parameterErrorCount9 reading unknown
         sensors_parameterFabricationNumber reading unknown
         sensors_parameterFeedRateService reading unknown
         sensors_parameterFeedRateTotal reading unknown
         sensors_parameterFlameSensorOffset reading unknown
         sensors_parameterIDFanTuning reading unknown
         sensors_parameterIgnitionCount reading unknown
         sensors_parameterKgTillCleaning reading unknown
         sensors_parameterLanguageNumber reading unknown
         sensors_parameterOnOffCycleCount reading unknown
         sensors_parameterPressureSensorOffset reading unknown
         sensors_parameterRuntimeLogs reading unknown
         sensors_parameterRuntimePellets reading unknown
         sensors_parameterServiceCountdownKg reading unknown
         sensors_parameterServiceCountdownTime reading unknown
         sensors_parameterSpiralMotorsTuning reading unknown
         sensors_parameterStoveTypeNumber reading unknown
         sensors_parameterVersionMainBoard reading unknown
         sensors_parameterVersionMainBoardBootLoader reading unknown
         sensors_parameterVersionMainBoardSub reading unknown
         sensors_parameterVersionTFT reading unknown
         sensors_parameterVersionTFTBootLoader reading unknown
         sensors_parameterVersionTFTSub reading unknown
         sensors_parameterVersionWiFi reading unknown
         sensors_parameterVersionWiFiBootLoader reading unknown
         sensors_parameterVersionWiFiSub reading unknown
         sensors_statusError reading unknown
         sensors_statusFrostStarted reading unknown
         sensors_statusHeatingTimesNotProgrammed reading unknown
         sensors_statusMainState reading unknown
         sensors_statusService reading unknown
         sensors_statusSubError reading unknown
         sensors_statusSubState reading unknown
         sensors_statusWarning reading unknown
         sensors_statusWifiStrength reading unknown
         stoveFeatures_airFlaps reading unknown
         stoveFeatures_bakeMode reading unknown
         stoveFeatures_insertionMotor reading unknown
         stoveFeatures_logRuntime reading unknown
         stoveFeatures_multiAir1 reading unknown
         stoveFeatures_multiAir2 reading unknown
         stoveID    reading unknown
         stoveType  reading unknown
Attributes:
   alias      Ofen
   enableCookies 1
   extractAllJSON 1
   get09Name  revision
   get09URL   https://www.rika-firenet.com/api/client/xyz/status
   group      Temperatur
   reAuthRegex id="login"|Unauthorized
   reading01JSON sensors_inputRoomTemperature
   reading01Name RaumTemp
   reading02JSON controls_setBackTemperature
   reading02Name Absenkung
   reading03JSON controls_frostProtectionTemperature
   reading03Name Frostschutz
   reading04JSON controls_targetTemperature
   reading04Name SollTemp
   reading05JSON controls_operatingMode
   reading05Name Betriebsart
   reading05OMap 0:M, 1:A, 2:K
   reading06JSON sensors_inputFlameTemperature
   reading06Name BrennTemp
   reading07JSON sensors_parameterFeedRateTotal
   reading07Name Pellets
   reading08JSON controls_onOff
   reading08Name Ofen
   reading08OMap true:On, false:Off
   reading10Name controlsJSON
   reading10Regex (?s)controls.*?({.*?})
   replacement01Mode expression
   replacement01Regex {{data}}
   room       Favoriten,Ofen
   set11Name  frostProtectionTemperature
   set11Replacement01Value replaceJSON("frostProtectionTemperature", 2)
   set12Name  targetTemperature
   set12Replacement01Value replaceJSON("targetTemperature", 24)
   set13IMap  0:Manuell, 1:Auto, 2:Komfort
   set13Name  controls_operatingMode
   set13Replacement01Value replaceJSON("operatingMode", 2)
   setData    {{data}}
   setURL     https://www.rika-firenet.com/api/client/xyz/controls
   sid01Data  logindaten!!!!!
   sid01URL   https://www.rika-firenet.com/web/login
   sortby     2
   stateFormat T: RaumTemp ST: SollTemp BT:BrennTemp
   timeout    120
   userattr   get05IMap get05Map get05OMap set05Hint set05IMap set05OMap
   verbose    2
   widgetOverride targetTemperature:slider,20,23,24,25,26

Z.B. ist in controlsJSON die targetTemperature vorhanden.

Ich habe ein:
reading04JSON controls_targetTemperatureein
reading04Name SollTempund ein
set12Name targetTemperature
angelegt.
Es wird aber kein Wert übertragen
wenn ich  eingebe: set Ofen targetTemperature 24

sehe ich im eventMonitor = 2021-09-07 12:40:41 HTTPMOD Ofen targetTemperature 24

es passiert aber nichts.

Ist bitte jemand so freundlich und hilft mir weiter.

Ich möchte eigentlich nur die Temperatur oder den Modus verändern. Schaffe es aber nicht

Ich hab mir meinen eigenen Ursprungsthread schon öfter durchgelesen aber anscheinend bin ich jetzt schon blind......

Danke für eure Unterstützung

Gruß
Helmut
System1 fhem 6.0 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.0 auf RPi 4B mit 4GB mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

Offline StefanStrobel

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1685
Antw:Neue Version von HTTPMOD mit neuen Features zum Testen
« Antwort #1088 am: 10 September 2021, 18:52:03 »
Hallo Helmut,

setz doch bitte mal verbose für Dein Device auf 5 und poste dann den Auszug aus dem Log, in dem man sieht, was nach dem set so alles passiert.

Gruss
   Stefan

Online Helmi55

  • Hero Member
  • *****
  • Beiträge: 1425
    • Helmi's Fotoseite
Antw:Neue Version von HTTPMOD mit neuen Features zum Testen
« Antwort #1089 am: 10 September 2021, 19:19:44 »
Hallo Stefan,
herzlichen Dank das du dir die zeit nimmst und mit hilfst.
Das Logfile erschlägt mich mit Meldungen - hoffe ich habe alle notwendigen LoginDaten und IDs gelöscht
2021.09.10 19:11:51 4: Ofen: GetUpdate called (update)
2021.09.10 19:11:51 4: Ofen: UpdateTimer called from GetUpdate with cmd next sets timer to call update function in 60.0 sec at 19:12:51.162, interval 60
2021.09.10 19:11:51 5: Ofen: AddToQueue adds type update to URL https://www.rika-firenet.com/api/client/xyz/status, no data, no headers, retry 0, initial queue len: 0
2021.09.10 19:11:51 5: Ofen: HandleSendQueue called from AddToSendQueue, qlen = 1
2021.09.10 19:11:51 5: Ofen: Replace called for type update, regex (?^:{{data}}), mode expression, empty value input: https://www.rika-firenet.com/api/client/xyz/status
2021.09.10 19:11:51 5: Ofen: HandleSendQueue is using Cookie connect.sid with path  and Value s%3AnOHtNAzsJNvham0jsYfBrUTk_-eRr4m2.5eHFRniWj7KBCmDdmdXlyDhYw9ERUTe%2BiRK6H3y9Los (key connect.sid;, destination path is /api/client/xyzstatus)
2021.09.10 19:11:51 5: Ofen: DoCookies is adding Cookie header: connect.sid=s%3AnOHtNAzsJNvham0jsYfBrUTk_-eRr4m2.5eHFRniWj7KBCmDdmdXlyDhYw9ERUTe%2BiRK6H3y9Los
2021.09.10 19:11:51 4: Ofen: HandleSendQueue sends update with timeout 120 to https://www.rika-firenet.com/api/client/xyz/status, No Data,
header: Cookie: connect.sid=s%3AnOHtNAzsJNvham0jsYfBrUTk_-eRr4m2.5eHFRniWj7KBCmDdmdXlyDhYw9ERUTe%2BiRK6H3y9Los
2021.09.10 19:11:51 5: Ofen: ReadCallback called from __ANON__
2021.09.10 19:11:51 4: Ofen: Read callback: request type was update retry 0,
header: HTTP/1.1 200 OK
Server: Cowboy
Connection: close
X-Powered-By: Express
Content-Type: application/json; charset=utf-8
Etag: W/"df7-Xi2XzA+9UqzLdIbLsR1rWjX72go"
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Fri, 10 Sep 2021 17:11:51 GMT
Via: 1.1 vegur, body length 3575
2021.09.10 19:11:51 5: Ofen: Read callback: body
{"name":"Vorzimmer","stoveID":"xyz","lastSeenMinutes":0,"lastConfirmedRevision":1631256516,"controls":{"revision":1631256516,"onOff":true,"operatingMode":2,"heatingPower":70,"targetTemperature":"20","bakeTemperature":"340","ecoMode":false,"heatingTimeMon1":"06300900","heatingTimeMon2":"00000000","heatingTimeTue1":"06300900","heatingTimeTue2":"00000000","heatingTimeWed1":"06300900","heatingTimeWed2":"00000000","heatingTimeThu1":"06300900","heatingTimeThu2":"00000000","heatingTimeFri1":"06300900","heatingTimeFri2":"00000000","heatingTimeSat1":"06300900","heatingTimeSat2":"00000000","heatingTimeSun1":"06300900","heatingTimeSun2":"00000000","heatingTimesActiveForComfort":true,"setBackTemperature":"12","convectionFan1Active":false,"convectionFan1Level":0,"convectionFan1Area":0,"convectionFan2Active":false,"convectionFan2Level":0,"convectionFan2Area":0,"frostProtectionActive":false,"frostProtectionTemperature":"4","temperatureOffset":"0.5","RoomPowerRequest":4,"debug0":0,"debug1":0,"debug2":0,"debug3":0,"debug4":0},"sensors":{"inputRoomTemperature":"22.3","inputFlameTemperature":22,"inputBakeTemperature":"1024","statusError":0,"statusSubError":0,"statusWarning":0,"statusService":0,"outputDischargeMotor":0,"outputDischargeCurrent":0,"outputIDFan":0,"outputIDFanTarget":0,"outputInsertionMotor":0,"outputInsertionCurrent":0,"outputAirFlaps":0,"outputAirFlapsTargetPosition":0,"outputBurnBackFlapMagnet":false,"outputGridMotor":false,"outputIgnition":false,"inputUpperTemperatureLimiter":true,"inputPressureSwitch":false,"inputPressureSensor":0,"inputGridContact":true,"inputDoor":true,"inputCover":true,"inputExternalRequest":true,"inputBurnBackFlapSwitch":true,"inputFlueGasFlapSwitch":true,"inputBoardTemperature":"3","inputCurrentStage":74,"inputTargetStagePID":74,"inputCurrentStagePID":74,"statusMainState":1,"statusSubState":3,"statusWifiStrength":-47,"parameterEcoModePossible":false,"parameterFabricationNumber":1,"parameterStoveTypeNumber":13,"parameterLanguageNumber":1,"parameterVersionMainBoard":227,"parameterVersionTFT":227,"parameterVersionWiFi":111,"parameterVersionMainBoardBootLoader":160,"parameterVersionTFTBootLoader":150,"parameterVersionWiFiBootLoader":101,"parameterVersionMainBoardSub":44501,"parameterVersionTFTSub":42901,"parameterVersionWiFiSub":12501,"parameterRuntimePellets":6756,"parameterRuntimeLogs":0,"parameterFeedRateTotal":10388,"parameterFeedRateService":232,"parameterServiceCountdownKg":468,"parameterServiceCountdownTime":0,"parameterIgnitionCount":2993,"parameterOnOffCycleCount":55,"parameterFlameSensorOffset":38,"parameterPressureSensorOffset":0,"parameterErrorCount0":1,"parameterErrorCount1":0,"parameterErrorCount2":0,"parameterErrorCount3":0,"parameterErrorCount4":1,"parameterErrorCount5":0,"parameterErrorCount6":0,"parameterErrorCount7":0,"parameterErrorCount8":0,"parameterErrorCount9":0,"parameterErrorCount10":0,"parameterErrorCount11":0,"parameterErrorCount12":0,"parameterErrorCount13":0,"parameterErrorCount14":0,"parameterErrorCount15":0,"parameterErrorCount16":0,"parameterErrorCount17":0,"parameterErrorCount18":0,"parameterErrorCount19":0,"statusHeatingTimesNotProgrammed":false,"statusFrostStarted":false,"parameterSpiralMotorsTuning":0,"parameterIDFanTuning":0,"parameterCleanIntervalBig":360,"parameterKgTillCleaning":700,"parameterDebug0":0,"parameterDebug1":0,"parameterDebug2":0,"parameterDebug3":0,"parameterDebug4":0},"stoveType":"DOMO MultiAir","stoveFeatures":{"multiAir1":true,"multiAir2":true,"insertionMotor":false,"airFlaps":false,"logRuntime":false,"bakeMode":false},"oem":"RIKA"}
2021.09.10 19:11:51 4: Ofen: BodyDecode is not decoding the response body (charset utf-8, bodyDecode defaults to none)
2021.09.10 19:11:51 4: Ofen: extracted JSON values to internal
2021.09.10 19:11:51 5: Ofen: GetCookies is looking for Cookies
2021.09.10 19:11:51 5: Ofen: ExtractSid called, context reading, num unknown
2021.09.10 19:11:51 4: Ofen: checking for redirects, code=200, ignore=0
2021.09.10 19:11:51 4: Ofen: no redirects to handle
2021.09.10 19:11:51 5: Ofen: Read callback sets LAST_REQUEST to update
2021.09.10 19:11:51 5: Ofen: CheckAuth is checking buffer with ReAuthRegex (?^:id="login"|Unauthorized)
2021.09.10 19:11:51 5: Ofen: CheckAuth decided no authentication required
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_convectionFan2Active to value 0 of JSON controls_convectionFan2Active
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterFlameSensorOffset to value 38 of JSON sensors_parameterFlameSensorOffset
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_outputAirFlaps to value 0 of JSON sensors_outputAirFlaps
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputBoardTemperature to value 3 of JSON sensors_inputBoardTemperature
2021.09.10 19:11:51 5: Ofen: Read sets reading name to value Vorzimmer of JSON name
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterIDFanTuning to value 0 of JSON sensors_parameterIDFanTuning
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterVersionWiFiSub to value 12501 of JSON sensors_parameterVersionWiFiSub
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputPressureSensor to value 0 of JSON sensors_inputPressureSensor
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_revision to value 1631256516 of JSON controls_revision
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputTargetStagePID to value 74 of JSON sensors_inputTargetStagePID
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterVersionTFT to value 227 of JSON sensors_parameterVersionTFT
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterRuntimePellets to value 6756 of JSON sensors_parameterRuntimePellets
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_outputInsertionMotor to value 0 of JSON sensors_outputInsertionMotor
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_debug4 to value 0 of JSON controls_debug4
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_operatingMode to value 2 of JSON controls_operatingMode
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterVersionMainBoard to value 227 of JSON sensors_parameterVersionMainBoard
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_onOff to value 1 of JSON controls_onOff
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingTimeSun1 to value 06300900 of JSON controls_heatingTimeSun1
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount15 to value 0 of JSON sensors_parameterErrorCount15
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_statusSubError to value 0 of JSON sensors_statusSubError
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_outputInsertionCurrent to value 0 of JSON sensors_outputInsertionCurrent
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_convectionFan2Area to value 0 of JSON controls_convectionFan2Area
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingTimeSat1 to value 06300900 of JSON controls_heatingTimeSat1
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_debug2 to value 0 of JSON controls_debug2
2021.09.10 19:11:51 5: Ofen: Read sets reading stoveFeatures_bakeMode to value 0 of JSON stoveFeatures_bakeMode
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterIgnitionCount to value 2993 of JSON sensors_parameterIgnitionCount
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputFlameTemperature to value 22 of JSON sensors_inputFlameTemperature
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_outputDischargeCurrent to value 0 of JSON sensors_outputDischargeCurrent
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_frostProtectionTemperature to value 4 of JSON controls_frostProtectionTemperature
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingTimeThu2 to value 00000000 of JSON controls_heatingTimeThu2
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount17 to value 0 of JSON sensors_parameterErrorCount17
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingTimeFri2 to value 00000000 of JSON controls_heatingTimeFri2
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterRuntimeLogs to value 0 of JSON sensors_parameterRuntimeLogs
2021.09.10 19:11:51 5: Ofen: Read sets reading oem to value RIKA of JSON oem
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount4 to value 1 of JSON sensors_parameterErrorCount4
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterServiceCountdownKg to value 468 of JSON sensors_parameterServiceCountdownKg
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingTimeMon2 to value 00000000 of JSON controls_heatingTimeMon2
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputBurnBackFlapSwitch to value 1 of JSON sensors_inputBurnBackFlapSwitch
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount16 to value 0 of JSON sensors_parameterErrorCount16
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_statusService to value 0 of JSON sensors_statusService
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount6 to value 0 of JSON sensors_parameterErrorCount6
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_debug1 to value 0 of JSON controls_debug1
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingTimesActiveForComfort to value 1 of JSON controls_heatingTimesActiveForComfort
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterDebug1 to value 0 of JSON sensors_parameterDebug1
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputDoor to value 1 of JSON sensors_inputDoor
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterDebug0 to value 0 of JSON sensors_parameterDebug0
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterVersionWiFi to value 111 of JSON sensors_parameterVersionWiFi
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount12 to value 0 of JSON sensors_parameterErrorCount12
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount5 to value 0 of JSON sensors_parameterErrorCount5
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterFeedRateService to value 232 of JSON sensors_parameterFeedRateService
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingTimeWed2 to value 00000000 of JSON controls_heatingTimeWed2
2021.09.10 19:11:51 5: Ofen: Read sets reading stoveFeatures_multiAir2 to value 1 of JSON stoveFeatures_multiAir2
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingTimeTue1 to value 06300900 of JSON controls_heatingTimeTue1
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_statusMainState to value 1 of JSON sensors_statusMainState
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount11 to value 0 of JSON sensors_parameterErrorCount11
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputRoomTemperature to value 22.3 of JSON sensors_inputRoomTemperature
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputCover to value 1 of JSON sensors_inputCover
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount1 to value 0 of JSON sensors_parameterErrorCount1
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputCurrentStage to value 74 of JSON sensors_inputCurrentStage
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_debug3 to value 0 of JSON controls_debug3
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputPressureSwitch to value 0 of JSON sensors_inputPressureSwitch
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputUpperTemperatureLimiter to value 1 of JSON sensors_inputUpperTemperatureLimiter
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterPressureSensorOffset to value 0 of JSON sensors_parameterPressureSensorOffset
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_frostProtectionActive to value 0 of JSON controls_frostProtectionActive
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_outputIDFan to value 0 of JSON sensors_outputIDFan
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount3 to value 0 of JSON sensors_parameterErrorCount3
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterEcoModePossible to value 0 of JSON sensors_parameterEcoModePossible
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_outputDischargeMotor to value 0 of JSON sensors_outputDischargeMotor
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_targetTemperature to value 20 of JSON controls_targetTemperature
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount0 to value 1 of JSON sensors_parameterErrorCount0
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterDebug4 to value 0 of JSON sensors_parameterDebug4
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_statusWifiStrength to value -47 of JSON sensors_statusWifiStrength
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterOnOffCycleCount to value 55 of JSON sensors_parameterOnOffCycleCount
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputFlueGasFlapSwitch to value 1 of JSON sensors_inputFlueGasFlapSwitch
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterLanguageNumber to value 1 of JSON sensors_parameterLanguageNumber
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_statusWarning to value 0 of JSON sensors_statusWarning
2021.09.10 19:11:51 5: Ofen: Read sets reading stoveFeatures_insertionMotor to value 0 of JSON stoveFeatures_insertionMotor
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_statusFrostStarted to value 0 of JSON sensors_statusFrostStarted
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingTimeMon1 to value 06300900 of JSON controls_heatingTimeMon1
2021.09.10 19:11:51 5: Ofen: Read sets reading stoveFeatures_logRuntime to value 0 of JSON stoveFeatures_logRuntime
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount14 to value 0 of JSON sensors_parameterErrorCount14
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount7 to value 0 of JSON sensors_parameterErrorCount7
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputCurrentStagePID to value 74 of JSON sensors_inputCurrentStagePID
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_statusHeatingTimesNotProgrammed to value 0 of JSON sensors_statusHeatingTimesNotProgrammed
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_convectionFan1Level to value 0 of JSON controls_convectionFan1Level
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterVersionWiFiBootLoader to value 101 of JSON sensors_parameterVersionWiFiBootLoader
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_convectionFan2Level to value 0 of JSON controls_convectionFan2Level
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_statusSubState to value 3 of JSON sensors_statusSubState
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterDebug3 to value 0 of JSON sensors_parameterDebug3
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount2 to value 0 of JSON sensors_parameterErrorCount2
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingTimeTue2 to value 00000000 of JSON controls_heatingTimeTue2
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_outputIDFanTarget to value 0 of JSON sensors_outputIDFanTarget
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterFeedRateTotal to value 10388 of JSON sensors_parameterFeedRateTotal
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterVersionTFTBootLoader to value 150 of JSON sensors_parameterVersionTFTBootLoader
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_convectionFan1Active to value 0 of JSON controls_convectionFan1Active
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_RoomPowerRequest to value 4 of JSON controls_RoomPowerRequest
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingTimeWed1 to value 06300900 of JSON controls_heatingTimeWed1
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_convectionFan1Area to value 0 of JSON controls_convectionFan1Area
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputBakeTemperature to value 1024 of JSON sensors_inputBakeTemperature
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount9 to value 0 of JSON sensors_parameterErrorCount9
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_debug0 to value 0 of JSON controls_debug0
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterVersionMainBoardBootLoader to value 160 of JSON sensors_parameterVersionMainBoardBootLoader
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterFabricationNumber to value 1 of JSON sensors_parameterFabricationNumber
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_statusError to value 0 of JSON sensors_statusError
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_bakeTemperature to value 340 of JSON controls_bakeTemperature
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputExternalRequest to value 1 of JSON sensors_inputExternalRequest
2021.09.10 19:11:51 5: Ofen: Read sets reading lastSeenMinutes to value 0 of JSON lastSeenMinutes
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterVersionTFTSub to value 42901 of JSON sensors_parameterVersionTFTSub
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterStoveTypeNumber to value 13 of JSON sensors_parameterStoveTypeNumber
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_temperatureOffset to value 0.5 of JSON controls_temperatureOffset
2021.09.10 19:11:51 5: Ofen: Read sets reading lastConfirmedRevision to value 1631256516 of JSON lastConfirmedRevision
2021.09.10 19:11:51 5: Ofen: Read sets reading stoveFeatures_multiAir1 to value 1 of JSON stoveFeatures_multiAir1
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_inputGridContact to value 1 of JSON sensors_inputGridContact
2021.09.10 19:11:51 5: Ofen: Read sets reading stoveID to value 25964745 of JSON stoveID
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingPower to value 70 of JSON controls_heatingPower
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingTimeSat2 to value 00000000 of JSON controls_heatingTimeSat2
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterCleanIntervalBig to value 360 of JSON sensors_parameterCleanIntervalBig
2021.09.10 19:11:51 5: Ofen: Read sets reading stoveType to value DOMO MultiAir of JSON stoveType
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_outputIgnition to value 0 of JSON sensors_outputIgnition
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingTimeSun2 to value 00000000 of JSON controls_heatingTimeSun2
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_outputBurnBackFlapMagnet to value 0 of JSON sensors_outputBurnBackFlapMagnet
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount18 to value 0 of JSON sensors_parameterErrorCount18
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount8 to value 0 of JSON sensors_parameterErrorCount8
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_setBackTemperature to value 12 of JSON controls_setBackTemperature
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount19 to value 0 of JSON sensors_parameterErrorCount19
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterKgTillCleaning to value 700 of JSON sensors_parameterKgTillCleaning
2021.09.10 19:11:51 5: Ofen: Read sets reading stoveFeatures_airFlaps to value 0 of JSON stoveFeatures_airFlaps
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount13 to value 0 of JSON sensors_parameterErrorCount13
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterVersionMainBoardSub to value 44501 of JSON sensors_parameterVersionMainBoardSub
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterErrorCount10 to value 0 of JSON sensors_parameterErrorCount10
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterServiceCountdownTime to value 0 of JSON sensors_parameterServiceCountdownTime
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_ecoMode to value 0 of JSON controls_ecoMode
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_outputGridMotor to value 0 of JSON sensors_outputGridMotor
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingTimeThu1 to value 06300900 of JSON controls_heatingTimeThu1
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterSpiralMotorsTuning to value 0 of JSON sensors_parameterSpiralMotorsTuning
2021.09.10 19:11:51 5: Ofen: Read sets reading controls_heatingTimeFri1 to value 06300900 of JSON controls_heatingTimeFri1
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_parameterDebug2 to value 0 of JSON sensors_parameterDebug2
2021.09.10 19:11:51 5: Ofen: Read sets reading sensors_outputAirFlapsTargetPosition to value 0 of JSON sensors_outputAirFlapsTargetPosition
2021.09.10 19:11:51 5: Ofen: Read starts parsing response to update with defined readings: 01,02,03,04,05,06,07,08,10
2021.09.10 19:11:51 5: Ofen: ExtractReading RaumTemp with json sensors_inputRoomTemperature ...
2021.09.10 19:11:51 5: Ofen: ExtractReading for reading01-1 sets RaumTemp to 22.3
2021.09.10 19:11:51 5: Ofen: ExtractReading value as hex is 32322e33
2021.09.10 19:11:51 5: Ofen: ExtractReading Absenkung with json controls_setBackTemperature ...
2021.09.10 19:11:51 5: Ofen: ExtractReading for reading02-1 sets Absenkung to 12
2021.09.10 19:11:51 5: Ofen: ExtractReading value as hex is 3132
2021.09.10 19:11:51 5: Ofen: ExtractReading Frostschutz with json controls_frostProtectionTemperature ...
2021.09.10 19:11:51 5: Ofen: ExtractReading for reading03-1 sets Frostschutz to 4
2021.09.10 19:11:51 5: Ofen: ExtractReading value as hex is 34
2021.09.10 19:11:51 5: Ofen: ExtractReading SollTemp with json controls_targetTemperature ...
2021.09.10 19:11:51 5: Ofen: ExtractReading for reading04-1 sets SollTemp to 20
2021.09.10 19:11:51 5: Ofen: ExtractReading value as hex is 3230
2021.09.10 19:11:51 5: Ofen: ExtractReading Betriebsart with json controls_operatingMode ...
2021.09.10 19:11:51 5: Ofen: MapConvert called from FormatReading converted 2 (2) to K with map 0:M, 1:A, 2:K
2021.09.10 19:11:51 5: Ofen: ExtractReading for reading05-1 sets Betriebsart to K
2021.09.10 19:11:51 5: Ofen: ExtractReading value as hex is 4b
2021.09.10 19:11:51 5: Ofen: ExtractReading BrennTemp with json sensors_inputFlameTemperature ...
2021.09.10 19:11:51 5: Ofen: ExtractReading for reading06-1 sets BrennTemp to 22
2021.09.10 19:11:51 5: Ofen: ExtractReading value as hex is 3232
2021.09.10 19:11:51 5: Ofen: ExtractReading Pellets with json sensors_parameterFeedRateTotal ...
2021.09.10 19:11:51 5: Ofen: ExtractReading for reading07-1 sets Pellets to 10388
2021.09.10 19:11:51 5: Ofen: ExtractReading value as hex is 3130333838
2021.09.10 19:11:51 5: Ofen: ExtractReading Ofen with json controls_onOff ...
2021.09.10 19:11:51 3: Ofen: MapConvert called from FormatReading did not find 1 (1) in map true:On, false:Off
2021.09.10 19:11:51 5: Ofen: ExtractReading for reading08-1 sets Ofen to 1
2021.09.10 19:11:51 5: Ofen: ExtractReading value as hex is 31
2021.09.10 19:11:51 5: Ofen: ExtractReading controlsJSON with regex /(?^:(?s)controls.*?({.*?}))/...
2021.09.10 19:11:51 5: Ofen: ExtractReading for reading10-1 sets controlsJSON to {"revision":1631256516,"onOff":true,"operatingMode":2,"heatingPower":70,"targetTemperature":"20","bakeTemperature":"340","ecoMode":false,"heatingTimeMon1":"06300900","heatingTimeMon2":"00000000","heatingTimeTue1":"06300900","heatingTimeTue2":"00000000","heatingTimeWed1":"06300900","heatingTimeWed2":"00000000","heatingTimeThu1":"06300900","heatingTimeThu2":"00000000","heatingTimeFri1":"06300900","heatingTimeFri2":"00000000","heatingTimeSat1":"06300900","heatingTimeSat2":"00000000","heatingTimeSun1":"06300900","heatingTimeSun2":"00000000","heatingTimesActiveForComfort":true,"setBackTemperature":"12","convectionFan1Active":false,"convectionFan1Level":0,"convectionFan1Area":0,"convectionFan2Active":false,"convectionFan2Level":0,"convectionFan2Area":0,"frostProtectionActive":false,"frostProtectionTemperature":"4","temperatureOffset":"0.5","RoomPowerRequest":4,"debug0":0,"debug1":0,"debug2":0,"debug3":0,"debug4":0}
2021.09.10 19:11:51 5: Ofen: ExtractReading value as hex is 7b227265766973696f6e223a313633313235363531362c226f6e4f6666223a747275652c226f7065726174696e674d6f6465223a322c2268656174696e67506f776572223a37302c2274617267657454656d7065726174757265223a223230222c2262616b6554656d7065726174757265223a22333430222c2265636f4d6f6465223a66616c73652c2268656174696e6754696d654d6f6e31223a223036333030393030222c2268656174696e6754696d654d6f6e32223a223030303030303030222c2268656174696e6754696d6554756531223a223036333030393030222c2268656174696e6754696d6554756532223a223030303030303030222c2268656174696e6754696d6557656431223a223036333030393030222c2268656174696e6754696d6557656432223a223030303030303030222c2268656174696e6754696d6554687531223a223036333030393030222c2268656174696e6754696d6554687532223a223030303030303030222c2268656174696e6754696d6546726931223a223036333030393030222c2268656174696e6754696d6546726932223a223030303030303030222c2268656174696e6754696d6553617431223a223036333030393030222c2268656174696e6754696d6553617432223a223030303030303030222c2268656174696e6754696d6553756e31223a223036333030393030222c2268656174696e6754696d6553756e32223a223030303030303030222c2268656174696e6754696d6573416374697665466f72436f6d666f7274223a747275652c227365744261636b54656d7065726174757265223a223132222c22636f6e76656374696f6e46616e31416374697665223a66616c73652c22636f6e76656374696f6e46616e314c6576656c223a302c22636f6e76656374696f6e46616e3141726561223a302c22636f6e76656374696f6e46616e32416374697665223a66616c73652c22636f6e76656374696f6e46616e324c6576656c223a302c22636f6e76656374696f6e46616e3241726561223a302c2266726f737450726f74656374696f6e416374697665223a66616c73652c2266726f737450726f74656374696f6e54656d7065726174757265223a2234222c2274656d70657261747572654f6666736574223a22302e35222c22526f6f6d506f77657252657175657374223a342c22646562756730223a302c22646562756731223a302c22646562756732223a302c22646562756733223a302c22646562756734223a307d
2021.09.10 19:11:51 4: Ofen: Read response matched 147, unmatch 0 Reading(s)
2021.09.10 19:11:51 5: Ofen: Read response to update matched controls_convectionFan2Active sensors_parameterFlameSensorOffset sensors_outputAirFlaps sensors_inputBoardTemperature name sensors_parameterIDFanTuning sensors_parameterVersionWiFiSub sensors_inputPressureSensor controls_revision sensors_inputTargetStagePID sensors_parameterVersionTFT sensors_parameterRuntimePellets sensors_outputInsertionMotor controls_debug4 controls_operatingMode sensors_parameterVersionMainBoard controls_onOff controls_heatingTimeSun1 sensors_parameterErrorCount15 sensors_statusSubError sensors_outputInsertionCurrent controls_convectionFan2Area controls_heatingTimeSat1 controls_debug2 stoveFeatures_bakeMode sensors_parameterIgnitionCount sensors_inputFlameTemperature sensors_outputDischargeCurrent controls_frostProtectionTemperature controls_heatingTimeThu2 sensors_parameterErrorCount17 controls_heatingTimeFri2 sensors_parameterRuntimeLogs oem sensors_parameterErrorCount4 sensors_parameterServiceCountdownKg controls_heatingTimeMon2 sensors_inputBurnBackFlapSwitch sensors_parameterErrorCount16 sensors_statusService sensors_parameterErrorCount6 controls_debug1 controls_heatingTimesActiveForComfort sensors_parameterDebug1 sensors_inputDoor sensors_parameterDebug0 sensors_parameterVersionWiFi sensors_parameterErrorCount12 sensors_parameterErrorCount5 sensors_parameterFeedRateService controls_heatingTimeWed2 stoveFeatures_multiAir2 controls_heatingTimeTue1 sensors_statusMainState sensors_parameterErrorCount11 sensors_inputRoomTemperature sensors_inputCover sensors_parameterErrorCount1 sensors_inputCurrentStage controls_debug3 sensors_inputPressureSwitch sensors_inputUpperTemperatureLimiter sensors_parameterPressureSensorOffset controls_frostProtectionActive sensors_outputIDFan sensors_parameterErrorCount3 sensors_parameterEcoModePossible sensors_outputDischargeMotor controls_targetTemperature sensors_parameterErrorCount0 sensors_parameterDebug4 sensors_statusWifiStrength sensors_parameterOnOffCycleCount sensors_inputFlueGasFlapSwitch sensors_parameterLanguageNumber sensors_statusWarning stoveFeatures_insertionMotor sensors_statusFrostStarted controls_heatingTimeMon1 stoveFeatures_logRuntime sensors_parameterErrorCount14 sensors_parameterErrorCount7 sensors_inputCurrentStagePID sensors_statusHeatingTimesNotProgrammed controls_convectionFan1Level sensors_parameterVersionWiFiBootLoader controls_convectionFan2Level sensors_statusSubState sensors_parameterDebug3 sensors_parameterErrorCount2 controls_heatingTimeTue2 sensors_outputIDFanTarget sensors_parameterFeedRateTotal sensors_parameterVersionTFTBootLoader controls_convectionFan1Active controls_RoomPowerRequest controls_heatingTimeWed1 controls_convectionFan1Area sensors_inputBakeTemperature sensors_parameterErrorCount9 controls_debug0 sensors_parameterVersionMainBoardBootLoader sensors_parameterFabricationNumber sensors_statusError controls_bakeTemperature sensors_inputExternalRequest lastSeenMinutes sensors_parameterVersionTFTSub sensors_parameterStoveTypeNumber controls_temperatureOffset lastConfirmedRevision stoveFeatures_multiAir1 sensors_inputGridContact stoveID controls_heatingPower controls_heatingTimeSat2 sensors_parameterCleanIntervalBig stoveType sensors_outputIgnition controls_heatingTimeSun2 sensors_outputBurnBackFlapMagnet sensors_parameterErrorCount18 sensors_parameterErrorCount8 controls_setBackTemperature sensors_parameterErrorCount19 sensors_parameterKgTillCleaning stoveFeatures_airFlaps sensors_parameterErrorCount13 sensors_parameterVersionMainBoardSub sensors_parameterErrorCount10 sensors_parameterServiceCountdownTime controls_ecoMode sensors_outputGridMotor controls_heatingTimeThu1 sensors_parameterSpiralMotorsTuning controls_heatingTimeFri1 sensors_parameterDebug2 sensors_outputAirFlapsTargetPosition RaumTemp Absenkung Frostschutz SollTemp Betriebsart BrennTemp Pellets Ofen controlsJSON
2021.09.10 19:11:51 5: Ofen: HandleSendQueue called from ReadCallback, qlen = 0
2021.09.10 19:11:51 5: Ofen: HandleSendQueue found no usable entry in queue
2021.09.10 19:12:07 1: RMDIR: ./restoreDir/save/2021-09-04
2021.09.10 19:12:32 5: Ofen: set called with targetTemperature 24
2021.09.10 19:12:32 5: Ofen: set found option targetTemperature in attribute set12Name
2021.09.10 19:12:32 4: Ofen: set will now set targetTemperature -> 24
2021.09.10 19:12:32 5: Ofen: AddToQueue adds type set12 to URL https://www.rika-firenet.com/api/client/54156160/controls, data {{data}}, no headers, retry 0, initial queue len: 0
2021.09.10 19:12:32 5: Ofen: HandleSendQueue called from AddToSendQueue, qlen = 1
2021.09.10 19:12:32 5: Ofen: Replace called for type set12, regex (?^:{{data}}), mode expression, value replaceJSON("targetTemperature", 24) input: {{data}}
2021.09.10 19:12:32 3: replaceJSON Internalvalue: 24
2021.09.10 19:12:32 5: Ofen: get called with revision
2021.09.10 19:12:32 5: Ofen: get found option revision in attribute get09Name
2021.09.10 19:12:32 4: Ofen: get will now request revision, no optional value
2021.09.10 19:12:32 5: Ofen: AddToQueue adds type get09 to URL https://www.rika-firenet.com/api/client/54156160/status, no data, no headers, retry 0, initial queue len: 0
2021.09.10 19:12:32 5: Ofen: HandleSendQueue called from AddToSendQueue, qlen = 1
2021.09.10 19:12:32 5: Ofen: StartQueueTimer called from ReadyForSending sets internal timer to process queue in 1.000 seconds, still waiting for reply to last request
2021.09.10 19:12:32 3: get Ofen revision : revision requested, watch readings
2021.09.10 19:12:32 3: replaceJSON configsJSON: {"revision":1631256516,"onOff":true,"operatingMode":2,"heatingPower":70,"targetTemperature":"20","bakeTemperature":"340","ecoMode":false,"heatingTimeMon1":"06300900","heatingTimeMon2":"00000000","heatingTimeTue1":"06300900","heatingTimeTue2":"00000000","heatingTimeWed1":"06300900","heatingTimeWed2":"00000000","heatingTimeThu1":"06300900","heatingTimeThu2":"00000000","heatingTimeFri1":"06300900","heatingTimeFri2":"00000000","heatingTimeSat1":"06300900","heatingTimeSat2":"00000000","heatingTimeSun1":"06300900","heatingTimeSun2":"00000000","heatingTimesActiveForComfort":true,"setBackTemperature":"12","convectionFan1Active":false,"convectionFan1Level":0,"convectionFan1Area":0,"convectionFan2Active":false,"convectionFan2Level":0,"convectionFan2Area":0,"frostProtectionActive":false,"frostProtectionTemperature":"4","temperatureOffset":"0.5","RoomPowerRequest":4,"debug0":0,"debug1":0,"debug2":0,"debug3":0,"debug4":0}
2021.09.10 19:12:32 3: replaceJSON Result: heatingTimeSun2=00000000&heatingTimeSat1=06300900&RoomPowerRequest=4&heatingTimeWed2=00000000&bakeTemperature=340&heatingTimeThu2=00000000&revision=1631256516&heatingPower=70&operatingMode=2&heatingTimeTue1=06300900&heatingTimeFri2=00000000&debug2=0&heatingTimeMon2=00000000&frostProtectionActive=0&onOff=1&heatingTimeSun1=06300900&heatingTimeSat2=00000000&frostProtectionTemperature=4&convectionFan1Area=0&debug1=0&convectionFan2Area=0&heatingTimeWed1=06300900&convectionFan2Level=0&heatingTimeThu1=06300900&convectionFan1Level=0&heatingTimeFri1=06300900&temperatureOffset=0.5&debug0=0&debug4=0&heatingTimeTue2=00000000&ecoMode=0&convectionFan1Active=0&heatingTimeMon1=06300900&heatingTimesActiveForComfort=1&setBackTemperature=12&debug3=0&convectionFan2Active=0&targetTemperature=24
2021.09.10 19:12:32 5: Ofen: Replace: match for type set12, regex (?^:{{data}}), mode expression, value package main; replaceJSON("targetTemperature", 24), input: {{data}}, result is heatingTimeSun2=00000000&heatingTimeSat1=06300900&RoomPowerRequest=4&heatingTimeWed2=00000000&bakeTemperature=340&heatingTimeThu2=00000000&revision=1631256516&heatingPower=70&operatingMode=2&heatingTimeTue1=06300900&heatingTimeFri2=00000000&debug2=0&heatingTimeMon2=00000000&frostProtectionActive=0&onOff=1&heatingTimeSun1=06300900&heatingTimeSat2=00000000&frostProtectionTemperature=4&convectionFan1Area=0&debug1=0&convectionFan2Area=0&heatingTimeWed1=06300900&convectionFan2Level=0&heatingTimeThu1=06300900&convectionFan1Level=0&heatingTimeFri1=06300900&temperatureOffset=0.5&debug0=0&debug4=0&heatingTimeTue2=00000000&ecoMode=0&convectionFan1Active=0&heatingTimeMon1=06300900&heatingTimesActiveForComfort=1&setBackTemperature=12&debug3=0&convectionFan2Active=0&targetTemperature=24
2021.09.10 19:12:32 5: Ofen: Replace called for type set12, regex (?^:{{data}}), mode expression, value replaceJSON("targetTemperature", 24) input: https://www.rika-firenet.com/api/client/54156160/controls
2021.09.10 19:12:32 5: Ofen: HandleSendQueue is using Cookie connect.sid with path  and Value s%3AnOHtNAzsJNvham0jsYfBrUTk_-eRr4m2.5eHFRniWj7KBCmDdmdXlyDhYw9ERUTe%2BiRK6H3y9Los (key connect.sid;, destination path is /api/client/54156160/controls)
2021.09.10 19:12:32 5: Ofen: DoCookies is adding Cookie header: connect.sid=s%3AnOHtNAzsJNvham0jsYfBrUTk_-eRr4m2.5eHFRniWj7KBCmDdmdXlyDhYw9ERUTe%2BiRK6H3y9Los
2021.09.10 19:12:32 4: Ofen: HandleSendQueue sends set12 with timeout 120 to https://www.rika-firenet.com/api/client/54156160/controls,
data: heatingTimeSun2=00000000&heatingTimeSat1=06300900&RoomPowerRequest=4&heatingTimeWed2=00000000&bakeTemperature=340&heatingTimeThu2=00000000&revision=1631256516&heatingPower=70&operatingMode=2&heatingTimeTue1=06300900&heatingTimeFri2=00000000&debug2=0&heatingTimeMon2=00000000&frostProtectionActive=0&onOff=1&heatingTimeSun1=06300900&heatingTimeSat2=00000000&frostProtectionTemperature=4&convectionFan1Area=0&debug1=0&convectionFan2Area=0&heatingTimeWed1=06300900&convectionFan2Level=0&heatingTimeThu1=06300900&convectionFan1Level=0&heatingTimeFri1=06300900&temperatureOffset=0.5&debug0=0&debug4=0&heatingTimeTue2=00000000&ecoMode=0&convectionFan1Active=0&heatingTimeMon1=06300900&heatingTimesActiveForComfort=1&setBackTemperature=12&debug3=0&convectionFan2Active=0&targetTemperature=24,
header: Cookie: connect.sid=s%3AnOHtNAzsJNvham0jsYfBrUTk_-eRr4m2.5eHFRniWj7KBCmDdmdXlyDhYw9ERUTe%2BiRK6H3y9Los
2021.09.10 19:12:32 5: Ofen: ReadCallback called from __ANON__
2021.09.10 19:12:32 4: Ofen: Read callback: request type was set12 retry 0,
header: HTTP/1.1 404 Not Found
Server: Cowboy
Connection: close
X-Powered-By: Express
Content-Type: text/html; charset=utf-8
Content-Length: 57
Etag: W/"39-KNdqwoWHXDzSXSXvRRmk21TXwrQ"
Vary: Accept-Encoding
Date: Fri, 10 Sep 2021 17:12:32 GMT
Via: 1.1 vegur, body length 57
2021.09.10 19:12:32 5: Ofen: Read callback: body
Stove 54156160 is not registered for user helmutxyz
2021.09.10 19:12:32 4: Ofen: BodyDecode is not decoding the response body (charset utf-8, bodyDecode defaults to none)
2021.09.10 19:12:32 4: Ofen: error while parsing JSON data: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Stove 54156160 is no...") at lib/FHEM/HTTPMOD/Utils.pm line 678.

2021.09.10 19:12:32 5: Ofen: GetCookies is looking for Cookies
2021.09.10 19:12:32 5: Ofen: ExtractSid called, context set, num 12
2021.09.10 19:12:32 4: Ofen: checking for redirects, code=404, ignore=0
2021.09.10 19:12:32 4: Ofen: no redirects to handle
2021.09.10 19:12:32 5: Ofen: Read callback sets LAST_REQUEST to set12
2021.09.10 19:12:32 5: Ofen: CheckAuth is checking buffer with ReAuthRegex (?^:id="login"|Unauthorized)
2021.09.10 19:12:32 5: Ofen: CheckAuth decided no authentication required
2021.09.10 19:12:33 5: Ofen: HandleSendQueue called from Fhem internal timer, qlen = 1
2021.09.10 19:12:33 5: Ofen: Replace called for type get09, regex (?^:{{data}}), mode expression, empty value input: https://www.rika-firenet.com/api/client/xyz/status
2021.09.10 19:12:33 5: Ofen: HandleSendQueue is using Cookie connect.sid with path  and Value s%3AnOHtNAzsJNvham0jsYfBrUTk_-eRr4m2.5eHFRniWj7KBCmDdmdXlyDhYw9ERUTe%2BiRK6H3y9Los (key connect.sid;, destination path is /api/client/54156160/status)
2021.09.10 19:12:33 5: Ofen: DoCookies is adding Cookie header: connect.sid=s%3AnOHtNAzsJNvham0jsYfBrUTk_-eRr4m2.5eHFRniWj7KBCmDdmdXlyDhYw9ERUTe%2BiRK6H3y9Los
2021.09.10 19:12:33 4: Ofen: HandleSendQueue sends get09 with timeout 120 to https://www.rika-firenet.com/api/client/54156160/status, No Data,
header: Cookie: connect.sid=s%3AnOHtNAzsJNvham0jsYfBrUTk_-eRr4m2.5eHFRniWj7KBCmDdmdXlyDhYw9ERUTe%2BiRK6H3y9Los
2021.09.10 19:12:33 5: Ofen: ReadCallback called from __ANON__
2021.09.10 19:12:33 4: Ofen: Read callback: request type was get09 retry 0,
header: HTTP/1.1 500 Internal Server Error
Server: Cowboy
Connection: close
X-Powered-By: Express
Content-Type: text/html; charset=utf-8
Content-Length: 57
Etag: W/"39-KNdqwoWHXDzSXSXvRRmk21TXwrQ"
Vary: Accept-Encoding
Date: Fri, 10 Sep 2021 17:12:33 GMT
Via: 1.1 vegur, body length 57
2021.09.10 19:12:33 5: Ofen: Read callback: body
Stove 54156160 is not registered for user helmut@xyz
2021.09.10 19:12:33 4: Ofen: BodyDecode is not decoding the response body (charset utf-8, bodyDecode defaults to none)
2021.09.10 19:12:33 4: Ofen: error while parsing JSON data: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Stove 54156160 is no...") at lib/FHEM/HTTPMOD/Utils.pm line 678.

2021.09.10 19:12:33 5: Ofen: GetCookies is looking for Cookies
2021.09.10 19:12:33 5: Ofen: ExtractSid called, context get, num 09
2021.09.10 19:12:33 4: Ofen: checking for redirects, code=500, ignore=0
2021.09.10 19:12:33 4: Ofen: no redirects to handle
2021.09.10 19:12:33 5: Ofen: Read callback sets LAST_REQUEST to get09
2021.09.10 19:12:33 5: Ofen: CheckAuth is checking buffer with ReAuthRegex (?^:id="login"|Unauthorized)
2021.09.10 19:12:33 5: Ofen: CheckAuth decided no authentication required
2021.09.10 19:12:33 5: Ofen: ExtractReading for context get, num 09 - no individual parse definition
2021.09.10 19:12:33 3: Ofen: no parsed JSON structure available
2021.09.10 19:12:33 5: Ofen: Read starts parsing response to get09 with defined readings: 01,02,03,04,05,06,07,08,10
2021.09.10 19:12:33 5: Ofen: ExtractReading RaumTemp with json sensors_inputRoomTemperature ...
2021.09.10 19:12:33 5: Ofen: ExtractReading RaumTemp did not match
2021.09.10 19:12:33 5: Ofen: ExtractReading Absenkung with json controls_setBackTemperature ...
2021.09.10 19:12:33 5: Ofen: ExtractReading Absenkung did not match
2021.09.10 19:12:33 5: Ofen: ExtractReading Frostschutz with json controls_frostProtectionTemperature ...
2021.09.10 19:12:33 5: Ofen: ExtractReading Frostschutz did not match
2021.09.10 19:12:33 5: Ofen: ExtractReading SollTemp with json controls_targetTemperature ...
2021.09.10 19:12:33 5: Ofen: ExtractReading SollTemp did not match
2021.09.10 19:12:33 5: Ofen: ExtractReading Betriebsart with json controls_operatingMode ...
2021.09.10 19:12:33 5: Ofen: ExtractReading Betriebsart did not match
2021.09.10 19:12:33 5: Ofen: ExtractReading BrennTemp with json sensors_inputFlameTemperature ...
2021.09.10 19:12:33 5: Ofen: ExtractReading BrennTemp did not match
2021.09.10 19:12:33 5: Ofen: ExtractReading Pellets with json sensors_parameterFeedRateTotal ...
2021.09.10 19:12:33 5: Ofen: ExtractReading Pellets did not match
2021.09.10 19:12:33 5: Ofen: ExtractReading Ofen with json controls_onOff ...
2021.09.10 19:12:33 5: Ofen: ExtractReading Ofen did not match
2021.09.10 19:12:33 5: Ofen: ExtractReading controlsJSON with regex /(?^:(?s)controls.*?({.*?}))/...
2021.09.10 19:12:33 5: Ofen: ExtractReading controlsJSON did not match
2021.09.10 19:12:33 4: Ofen: Read response to get09 didn't match any Reading
2021.09.10 19:12:33 5: Ofen: HandleSendQueue called from ReadCallback, qlen = 0
2021.09.10 19:12:33 5: Ofen: HandleSendQueue found no usable entry in queue

jump to the top



Danke
helmut
« Letzte Änderung: 10 September 2021, 20:37:32 von Helmi55 »
System1 fhem 6.0 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.0 auf RPi 4B mit 4GB mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

Offline StefanStrobel

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1685
Antw:Neue Version von HTTPMOD mit neuen Features zum Testen
« Antwort #1090 am: 10 September 2021, 21:15:37 »
Hallo Helmut,

wie sieht denn die Funktion replaceJSON aus, die Du in der replacement-Expression verwedest?
Erzeugst Du darin einen get-Aufruf?
Oder wo kommt get revision her?
Zitat
2021.09.10 19:12:32 5: Ofen: get called with revision

Gruss
   Stefan

Online Helmi55

  • Hero Member
  • *****
  • Beiträge: 1425
    • Helmi's Fotoseite
Antw:Neue Version von HTTPMOD mit neuen Features zum Testen
« Antwort #1091 am: 10 September 2021, 21:47:03 »
Hi Stefan

Sorry das kann ich leider nicht beantworten

Mir wurde vor Jahren hier geholfen.  Das Ganze ist eine Nummer zu groß für mich  8)
Ich bin auf deine/eure Hilfe angewiesen.
Ich möchte aber, wenn es funktioniert alles analysieren und versuchen zu verstehen

Danke Helmut
System1 fhem 6.0 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.0 auf RPi 4B mit 4GB mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

Offline StefanStrobel

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1685
Antw:Neue Version von HTTPMOD mit neuen Features zum Testen
« Antwort #1092 am: 11 September 2021, 12:06:35 »
Hallo Helmut,

ich kennen leider den Ofen und sein API nicht. amenomade hat sich da ja schon mal ausführlicher damit beschäftigt und kann vermutlich besser helfen.

Hat das ganze denn in den letzten Jahren funktioniert?
Falls ja, geht es seit einem Update von HTTPMOD nicht mehr oder hat der Hersteller des Ofens etwas geändert?

Zwei Dinge fallen mir aber auf:

1) In Deiner 99_myUtils.pm hast Du offenbar die Funktion replaceJSON definiert und darin wird ein get-Befehl zum Abfragen der Revision erzeugt. Nur wir dieser Request hinten angehängt und erst beantwortet, wenn der Request für den Set-Befehl schon raus ist. Die Antwort kommt also zu spät falls Revison nicht schon vorher bekannt war.
Falls sich der Wert von Revision häufig ändert, würde ich den beim Login abfragen und einen neuen Login starten falls nötig.

2) Beim Set enthält die URL eine Nummer und als Antwort auf den Request bekommst Du die Fehlermeldung
Zitat
Stove 54156160 is not registered for user helmut@xyz

Wo kommt die Nummer denn her? Warum ist die falsch?
Mir fehlt leider die Zeit um das alles selbst auszuprobieren. Funktioniert das ganze denn bei anderen Besitzern dieses Ofens?

Was mir auch noch unklar ist, ist die Sache mit replaceJSON. vielleicht liest ja jemand mit, der das durchschaut hat. Warum kann man nicht einfach eine Textersetzung machen bzw. warum ist decode_json nötig?
Eventuell kann ich da ja eine Kleinigkeit in HTTPMOD ergänzen, damit sowas nicht notwendig ist?

Gruss
   Stefan


Online Helmi55

  • Hero Member
  • *****
  • Beiträge: 1425
    • Helmi's Fotoseite
Antw:Neue Version von HTTPMOD mit neuen Features zum Testen
« Antwort #1093 am: 11 September 2021, 16:40:00 »
servus
seit wann es nicht funktioniert (HTTPMOD Änderung oder SW vom Ofen )
kann ich leider nicht beantworten da ich eigentlich bislang nur die "readings" verwendet habe und nichts wirklich gesendet habe.....
Diese controls_revision
   
1631345686
kann ich mir auch nicht erklären denn die StoveID ist 259xxxxxx

Wie gesagt die Pelletsfüllmenge stimmt genau - der Empfang passt.

Gruß
Helmut
System1 fhem 6.0 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.0 auf RPi 4B mit 4GB mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

Offline StefanStrobel

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1685
Antw:Neue Version von HTTPMOD mit neuen Features zum Testen
« Antwort #1094 am: 20 September 2021, 19:49:01 »
Hallo Helmut,

das Problem ist dass man sich den Ablauf der Authentisierung und Session-Verwaltung des Ofens Schritt für Schritt mit einem Proxy wie der Burp-Suite ansehen muss um das dann in HTTPMOD nachbilden zu können. Sobald der Hersteller sein Verfahren ändert (z.B. bei einem Update), kann es sein dass man von Vorne anfangen muss. Das Abfragen / Lesen von Daten kann dabei ganz anders ablaufen als das Schreiben von Daten.
Du müsstest Dich also ausführlich mit HTTP und Werkzeugen wie der Burp-Suite beschäftigen oder jemanden finden, der die Zeit hat das mit Deinem Ofen für Dich zu machen.

Gruss
   Stefan

 

decade-submarginal