Shelly 2 Pro setlist

Begonnen von moonsorrox, 03 Juni 2022, 16:52:05

Vorheriges Thema - Nächstes Thema

moonsorrox

weiß jemand wie ich an die setlist des neuen Shelly 2 Pro komme.?
Eine kurze readinglist hat er erstellt eine setlist erstellt er nicht.

Als readinglist erstellt er mir folgendes
shellypro2_30c6f784b224:shellypro2-30c6f784b224/online:.* online
shellypro2_30c6f784b224:shellypro2-30c6f784b224/events/rpc:.* { json2nameValue($EVENT, 'rpc_', $JSONMAP) }


Das ist das list
Internals:
   CFGFN     
   CID        shellypro2_30c6f784b224
   DEF        shellypro2_30c6f784b224
   FUUID      629a06a4-f33f-b063-cf1f-9c2b39589afc0749
   IODev      m2server
   LASTInputDev m2server
   MSGCNT     19
   NAME       MQTT2_shellypro2_30c6f784b224
   NR         22157
   STATE      ???
   TYPE       MQTT2_DEVICE
   eventCount 21
   m2server_CONN m2server_10.0.0.167_51368
   m2server_MSGCNT 19
   m2server_TIME 2022-06-03 16:33:45
   READINGS:
     2022-06-03 15:03:32   IODev           m2server
     2022-06-03 15:44:51   online          true
     2022-06-03 16:33:45   rpc_dst         shellypro2-30c6f784b224/events
     2022-06-03 16:33:45   rpc_method      NotifyStatus
     2022-06-03 15:44:51   rpc_params_mqtt_connected true
     2022-06-03 16:33:43   rpc_params_switch_0_id 0
     2022-06-03 16:33:43   rpc_params_switch_0_output false
     2022-06-03 16:33:43   rpc_params_switch_0_source WS_in
     2022-06-03 16:07:07   rpc_params_switch_0_temperature_tC 30.99
     2022-06-03 16:07:07   rpc_params_switch_0_temperature_tF 87.78
     2022-06-03 16:33:45   rpc_params_switch_1_id 1
     2022-06-03 16:33:45   rpc_params_switch_1_output false
     2022-06-03 16:33:45   rpc_params_switch_1_source WS_in
     2022-06-03 15:58:25   rpc_params_switch_1_temperature_tC 36.85
     2022-06-03 15:58:25   rpc_params_switch_1_temperature_tF 98.32
     2022-06-03 16:33:45   rpc_params_ts   1654266825.34
     2022-06-03 16:33:45   rpc_src         shellypro2-30c6f784b224
Attributes:
   readingList shellypro2_30c6f784b224:shellypro2-30c6f784b224/online:.* online
shellypro2_30c6f784b224:shellypro2-30c6f784b224/events/rpc:.* { json2nameValue($EVENT, 'rpc_', $JSONMAP) }

   room       Draußen,MQTT,MQTT2_DEVICE
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

bartman121

Einerseits würde ich das eher ins mqtt-unterforum packen...

Andererseits würde ich Mal attrTemplate gucken, habe aber nicht geschaut ob es dafür eins gibt. Ansonsten selbst basteln ....

moonsorrox

#2
nein dafür gibt es noch kein template

Basteln ist gut, dass habe ich bereits, weil ich ja einige setlisten von meinen Shellys habe, aber das ist bei der neuen Pro Variante etwas anders und ich bin da bisher gescheitert...  :-\
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

bartman121

Ich kann mir das schlecht vorstellen, außer on und Off brauchst du doch nichts?

Komisch, selbst auf der shelly-seite ist das Ding nicht beschrieben.....

Ich würde Mal beim pro4pm abgucken:
https://shelly-api-docs.shelly.cloud/gen1/#shelly4pro-overview

Den mittleren Teil findest du in deiner readinglist...

moonsorrox

#4
Da hatte ich schon gesucht und die struktur ist komplett anders
Hier habe ich noch was gefunden, aber ist alles anders dargestellt
https://shelly-api-docs.shelly.cloud/gen2/Devices/ShellyPro2


das hatte ich schon versucht:
shellypro2_30c6f784b224:shellypro2-30c6f784b224/relay/0/command on
shellypro2_30c6f784b224:shellypro2-30c6f784b224/relay/0/command off
shellypro2_30c6f784b224:shellypro2-30c6f784b224/relay/1/command on
shellypro2_30c6f784b224:shellypro2-30c6f784b224/relay/1/command off


funktioniert aber so nicht, weitere hatte ich auch schon aber kein Erfolg

das hatte ich: geht auch nicht
on:noArg shellies/shellypro2-30c6f784b224/relay/0/command on
off:noArg shellies/shellypro2-30c6f784b224/relay/0/command off
on:noArg shellies/shellypro2-30c6f784b224/relay/1/command on
off:noArg shellies/shellypro2-30c6f784b224/relay/1/command off
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM