Eve Homekit: Zählerstand und Jalousie

Begonnen von uxtuner, 04 Juli 2020, 11:05:14

Vorheriges Thema - Nächstes Thema

uxtuner

Hallo,

hat jemand eine Idee wie ich einen Zählerstand nach EVE übetragen kann, z.B. von

Internals:
   DATE_OF_LAST_SAMPLE 2020-07-04
   DEF        ESERA 1C0000000FF1501D DS2423
   DEVICE_TYPE DS2423
   ESERAID    9
   ESERA_MSGCNT 12282
   ESERA_TIME 2020-07-04 11:01:23
   FUUID      5da22211-f33f-55bb-242b-edd83e0d75af795a
   IODev      ESERA
   LASTInputDev ESERA
   LAST_VALUE_1 7625844
   LAST_VALUE_2 1074391
   MSGCNT     12282
   NAME       EseraCount_ESERA_1C0000000FF1501D
   NR         35
   ONEWIREID  1C0000000FF1501D
   START_VALUE_OF_DAY_1 7621289
   START_VALUE_OF_DAY_2 1074354
   STATE      7625844 (Strom) 1074391 (Gas)
   TYPE       EseraCount
   LAST_VALUES_1:
     1
   LAST_VALUES_2:
     0
   READINGS:
     2020-07-04 11:01:23   count1          7625844
     2020-07-04 11:01:23   count1MovingAverage 1
     2020-07-04 11:01:23   count1Today     4555
     2020-07-04 11:01:23   count2          1074391
     2020-07-04 11:01:23   count2MovingAverage 0
     2020-07-04 11:01:23   count2Today     37
Attributes:
   alias      Strom Gas
   event-on-change-reading count1,count2
   icon       alarm_system_password
   room       Hersteller->Esera
   stateFormat count1 (Strom) count2 (Gas)


und für die Jalousie einen UP/DOWN zusätzlich zum PCT Regler in EVE bekomme

Internals:
   CID        shellyswitch25_B944F8
   DEF        shellyswitch25_B944F8
   DEVICETOPIC MQTT2_shellyswitch25_B944F8
   FUUID      5ee4b459-f33f-55bb-b9a1-a2d9da317bf16b29
   IODev      MQTT2_FHEM_Server
   LASTInputDev MQTT2_FHEM_Server
   MQTT2_FHEM_Server_MSGCNT 27314
   MQTT2_FHEM_Server_TIME 2020-07-04 11:04:02
   MSGCNT     27314
   NAME       MQTT2_shellyswitch25_B944F8
   NR         336
   STATE      0
   TYPE       MQTT2_DEVICE
   READINGS:
     2020-07-03 15:27:25   current         stop
     2020-07-04 11:04:02   energy          1220
     2020-07-03 12:19:26   fw_ver          20200601-122849/v1.7.0@d7961837
     2020-07-03 12:19:26   id              shellyswitch25-B944F8
     2020-07-04 11:04:02   input0          0
     2020-07-04 11:04:02   input1          0
     2020-07-03 12:19:26   ip              192.168.179.216
     2020-07-03 12:19:26   mac             98F4ABB944F8
     2020-07-03 12:19:26   new_fw          false
     2020-07-03 12:19:26   online          true
     2020-07-04 11:04:02   overtemperature 0
     2020-07-04 11:04:02   pct             0
     2020-07-04 11:04:02   power           0.00
     2020-07-04 11:04:02   roller_0_energy 1220
     2020-07-04 11:04:02   roller_0_power  0.00
     2020-07-04 11:04:02   state           0
     2020-07-04 11:04:02   temperature     52.18
     2020-07-04 11:04:02   temperature_f   125.93
Attributes:
   IODev      MQTT2_FHEM_Server
   alias      Jalousie
   cmdIcon    open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   comment    Shelly 2.5 in Roller-Mode. 0=opened / 100=closed
   devStateIcon { my $amp = ReadingsVal($name,"online","false") eq "false" ? "rot" : ReadingsVal($name,"new_fw","false") eq "true" ? "gelb" : "gruen";; my $con = ReadingsVal($name,"state","unknown");; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "100" ? 'fts_shutter_100' : $con =~ /(\d)\d/ ? 'fts_shutter_'.$1.'0' : $con =~ /\b\d\b/ ? 'fts_shutter_10' : 'fts_shutter_updown';; my $show = "$amp" eq "gelb" ? "<a href=\"/fhem?cmd.dummy=set $name x_update&XHR=1\">".FW_makeImage("10px-kreis-".$amp)."</a>" : "<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage("10px-kreis-".$amp)."</a>";; "<div> $show <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\"></a>".FW_makeImage($pic)." </div>"}
   event-on-change-reading .*
   genericDeviceType blind
   group      Shelly 2.5
   icon       fts_shutter_50
   model      shelly25_roller_invert_1
   readingList shellies/shellyswitch25-B944F8/roller/0/pos:.* {'pct' => 100-$EVENT}
  shellies/shellyswitch25-B944F8/status/0/rollers:.* power
  shellies/shellyswitch25-B944F8/online:.* online
  shellies/shellyswitch25-B944F8/announce:.* { json2nameValue($EVENT) }
  shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-B944F8...mac.*, ? json2nameValue($EVENT) : return }
  shellies/shellyswitch25-B944F8/roller/0:.* current
  shellies/shellyswitch25-B944F8/roller/0:open {{'state' => 'opening'}}
  shellies/shellyswitch25-B944F8/roller/0:close {{'state' => 'closing'}}
  shellies/shellyswitch25-B944F8/roller/0/pos:.* {'state' => 100-$EVENT}
  shellies/shellyswitch25-B944F8/input/1:.* input1
  shellies/shellyswitch25-B944F8/input/0:.* input0
  shellies/shellyswitch25-B944F8/relay/power:.* power
  shellies/shellyswitch25-B944F8/relay/energy:.* energy
  shellies/shellyswitch25-B944F8/temperature:.* temperature
  shellies/shellyswitch25-B944F8/overtemperature:.* overtemperature
shellyswitch25_B944F8:shellies/shellyswitch25-B944F8/roller/0/power:.* roller_0_power
shellyswitch25_B944F8:shellies/shellyswitch25-B944F8/roller/0/energy:.* roller_0_energy
shellyswitch25_B944F8:shellies/shellyswitch25-B944F8/temperature_f:.* temperature_f
   room       Hersteller->Shelly,Homekit,System->MQTT
   setList    open:noArg shellies/shellyswitch25-B944F8/roller/0/command open
  close:noArg shellies/shellyswitch25-B944F8/roller/0/command close
  half:noArg shellies/shellyswitch25-B944F8/roller/0/command/pos 50
  stop:noArg shellies/shellyswitch25-B944F8/roller/0/command stop
  pct:slider,0,1,100 {"shellies/shellyswitch25-B944F8/roller/0/command/pos ".(100-$EVTPART1)}
  x_recalibration:noArg shellies/shellyswitch25-B944F8/roller/0/command rc
  x_update:noArg shellies/shellyswitch25-B944F8/command update_fw
  x_mqttcom shellies/shellyswitch25-B944F8/command $EVTPART1
   setStateList open close half stop pct
   webCmd     :open:close:half:stop:pct


Welche Siri Sprachbefehle kann ich eigentlich für die Jalousie verwenden?
Viele Grüße
  Uwe

Intel NUC (VDR & FHEM), QNAP TS-453, OneWire (Temp. Sensor, 8-fach Schalter, Hub, Controller), Ebus (Wolf CGW-2, ISM7i), Fibaro (Flood Sensor, Wall Plug, 4 in 1 Sensor), Qubino (Flush 1D), Shelly (Plug S, H&T, 2.5, 1 PM), Tado (Thermostat V3+)

uxtuner

Zitat
Welche Siri Sprachbefehle kann ich eigentlich für die Jalousie verwenden?

Hat etwas gedauert bis ich festgestellt habe, dass Siri auf meinem Telefon nicht mehr funktionert   :-[
Viele Grüße
  Uwe

Intel NUC (VDR & FHEM), QNAP TS-453, OneWire (Temp. Sensor, 8-fach Schalter, Hub, Controller), Ebus (Wolf CGW-2, ISM7i), Fibaro (Flood Sensor, Wall Plug, 4 in 1 Sensor), Qubino (Flush 1D), Shelly (Plug S, H&T, 2.5, 1 PM), Tado (Thermostat V3+)