Autor Thema: blitzwolf bw-shp6 zeigt keine current wert an  (Gelesen 154 mal)

Offline Kellerkind86

  • Full Member
  • ***
  • Beiträge: 393
blitzwolf bw-shp6 zeigt keine current wert an
« am: 14 September 2021, 22:57:33 »
Hallo zusammen,
ich habe das Problem,dass mein Stecker kein aktuelle Vebrauch anzeigt.
für den tag und gesamt wird zusammen gerechnet..nur nicht aktuell..
jemand ne idee ?

Internals:
   CID        Blitzwolf2
   DEF        Blitzwolf2
   DEVICETOPIC MQTT2_Blitzwolf2
   FUUID      6068d845-f33f-153e-f812-587d052572a524ee
   IODev      MQTT2_FHEM_Server
   LASTInputDev MQTT2_FHEM_Server
   MQTT2_FHEM_Server_MSGCNT 1189
   MQTT2_FHEM_Server_TIME 2021-09-14 22:52:50
   MSGCNT     1189
   NAME       MQTT2_Blitzwolf2
   NR         57
   STATE      aktuell: 0.0 W Tag: 0.60 kWh Gestern: 0.000 kWh Gesamt: 70.9510 kWh
   TYPE       MQTT2_DEVICE
   JSONMAP:
     Channel_0  0
     Channel_1  0
     Channel_2  0
     Channel_3  0
     Channel_4  0
     Color      0
     Dimmer     0
     HSBColor   0
     POWER1     0
     POWER2     0
     POWER3     0
     POWER4     0
   READINGS:
     2021-09-14 22:52:50   ENERGY_ApparentPower 0
     2021-09-14 22:52:50   ENERGY_Current  0.000
     2021-09-14 22:52:50   ENERGY_Factor   0.00
     2021-09-14 22:52:50   ENERGY_Period   2
     2021-09-14 22:52:50   ENERGY_Power    0
     2021-09-14 22:52:50   ENERGY_ReactivePower 0
     2021-09-14 22:52:50   ENERGY_Today    0.596
     2021-09-14 22:52:50   ENERGY_Total    70.951
     2021-09-14 22:52:50   ENERGY_TotalStartTime 2021-04-03T22:03:05
     2021-09-14 22:52:50   ENERGY_Voltage  0
     2021-09-14 22:52:50   ENERGY_Yesterday 0.000
     2021-09-14 22:47:43   FallbackTopic   cmnd/Blitzwolf2_fb/
     2021-09-14 22:47:43   GroupTopic      cmnd/tasmotas/
     2021-09-14 22:52:50   Heap            28
     2021-09-14 22:47:43   Hostname        Blitzwolf2-2767
     2021-09-12 22:23:22   IODev           MQTT2_FHEM_Server
     2021-09-14 22:47:43   IPAddress       192.168.178.34
     2021-09-14 22:47:43   LWT             Online
     2021-09-14 22:52:50   LoadAvg         19
     2021-09-14 22:47:43   Module          BlitzWolf SHP
     2021-09-14 22:52:50   MqttCount       1
     2021-09-14 22:47:43   RestartReason   External System
     2021-04-04 07:11:58   SaveData        on
     2021-04-04 07:11:57   SetOption26     on
     2021-09-14 22:52:50   Sleep           50
     2021-09-14 22:52:50   SleepMode       Dynamic
     2021-04-04 07:11:57   StateText1      off
     2021-04-04 07:11:57   StateText2      on
     2021-04-04 07:11:57   StateText3      toggle
     2021-04-04 07:11:57   StateText4      hold
     2021-09-14 22:52:50   Time            2021-09-14T21:52:47
     2021-09-14 22:52:50   Uptime          0T00:05:27
     2021-09-14 22:52:50   UptimeSec       327
     2021-09-14 22:47:43   Version         8.3.1(tasmota)
     2021-09-14 22:47:43   WebServerMode   Admin
     2021-09-14 22:52:50   Wifi_AP         1
     2021-09-14 22:52:50   Wifi_BSSId      F6:92:BF:11:91:24
     2021-09-14 22:52:50   Wifi_Channel    1
     2021-09-14 22:52:50   Wifi_Downtime   0T00:00:21
     2021-09-14 22:52:50   Wifi_LinkCount  1
     2021-09-14 22:52:50   Wifi_RSSI       90
     2021-09-14 22:52:50   Wifi_SSId       LauMarSteMat-2,4G
     2021-09-14 22:52:50   Wifi_Signal     -55
     2021-04-04 07:11:56   attrTemplateVersion 20200828
     2021-09-14 22:48:53   state           on
     2021-09-12 00:19:37   subscriptions   cmnd/Blitzwolf2/# cmnd/Blitzwolf2_fb/# cmnd/tasmotas/#
Attributes:
   IODev      MQTT2_FHEM_Server
   alexaName  Blitzwolf
   autocreate 0
   comment    NOTE: For on-for-timer SetExtensions are used. You may add on-for-timer option running on the device. The following is limited to 1h max duration, but will not affect future simple "on" commands:<br>on-for-timer {my $duration = $EVTPART1*10; 'cmnd/cmnd/Blitzwolf2/Backlog POWER1 1; delay '.$duration.'; POWER1 0'}<br>See the "Praxisbeispiele" in the wiki for "pulseTime1" alternative option and it's restrictions.
   devStateIcon {my $text = ' uptime: '.ReadingsVal($name,"Uptime","unknown").sprintf(" aktuell: %.1f W Tag: %.2f kWh Gestern: %.3f kWh Gesamt: %.4f kWh", ReadingsVal($name,"ENERGY_Power","-1"), ReadingsVal($name,"ENERGY_Today","-1"), ReadingsVal($name,"ENERGY_Yesterday","-1"), ReadingsVal($name,"ENERGY_Total","-1")); my $onl = ReadingsVal($name,"LWT","false") eq "Online"?"10px-kreis-gruen":"10px-kreis-rot"; my $light = ReadingsVal($name,"state","off");"<div><a href=\"http://".ReadingsVal($name,"IPAddress","none")." \"target=\"_blank\">".FW_makeImage($onl).'</a> <a href="/fhem?cmd.dummy=set '.$name.' toggle&XHR=1">'.FW_makeImage($light)."</a>$text<b></b>"}
   event-on-change-reading .*
   genericDeviceType switch
   icon       hue_filled_outlet
   jsonMap    POWER1:0 POWER2:0 POWER3:0 POWER4:0 Dimmer:0 Channel_0:0 Channel_1:0 Channel_2:0 Channel_3:0 Channel_4:0 HSBColor:0 Color:0
   model      tasmota_POW
   readingList tele/Blitzwolf2/LWT:.* LWT
  tele/Blitzwolf2/STATE:.* { json2nameValue($EVENT,'',$JSONMAP) }
  tele/Blitzwolf2/SENSOR:.* { json2nameValue($EVENT,'',$JSONMAP) }
  tele/Blitzwolf2/INFO.:.* { json2nameValue($EVENT,'',$JSONMAP) }
  tele/Blitzwolf2/UPTIME:.* { json2nameValue($EVENT,'',$JSONMAP) }
  stat/Blitzwolf2/POWER1:.* state
  stat/Blitzwolf2/RESULT:.* { json2nameValue($EVENT,'',$JSONMAP) }
   room       Blitzwolf
   setList    off:noArg    cmnd/Blitzwolf2/POWER1 0
  on:noArg     cmnd/Blitzwolf2/POWER1 1
  toggle:noArg cmnd/Blitzwolf2/POWER1 2
   setStateList on off toggle
   stateFormat {sprintf("aktuell: %.1f W Tag: %.2f kWh Gestern: %.3f kWh Gesamt: %.4f kWh", ReadingsVal($name,"ENERGY_Power","-1"), ReadingsVal($name,"ENERGY_Today","-1"), ReadingsVal($name,"ENERGY_Yesterday","-1"), ReadingsVal($name,"ENERGY_Total","-1"))}
   webCmd     :

danke
Hardware in Nutzung: Fritzbox7490,RP4,nanoCUL868,sonoff(mini),shelly(2.5)

 

decade-submarginal