[gelöst] [ASC]+zigbee2mqtt es wird nichts gesendet, somit keine Funktion

Begonnen von persching, 22 April 2022, 10:42:09

Vorheriges Thema - Nächstes Thema

persching

Hallo zusammen,
ich verwende erstmals ASC für eine Rollosteuerung. Dazu habe ich einen Rollo mit diesem Gerät ausgestattet https://www.zigbee2mqtt.io/devices/CCT5015-0001.html. Über die zigbee2mqtt_bridge habe ich es in FHEM eingebunden und wenn ich jetzt

set MQTT2_zigbee_OG_Flur_Rollosteuerung open
oder
set MQTT2_zigbee_OG_Flur_Rollosteuerung close
oder auch
set MQTT2_zigbee_OG_Flur_Rollosteuerung position 50


eingebe, dann funktioniert alles genau wie erwartet. Also entweder öffnen, schließen oder eine bestimmte position anfahren.

Im Rollo und im ASC-Device habe ich verschiedene Sachen eingestellt, aber da es mein 1. Versuch ist, weiß ich nicht, woran es scheitert. Es ist auf alle Fälle so, dass ich im MQTT Explorer keinen Befehl für das Topic sehe, außer ich fahre von Hand. So wird also auch nichts falsches, sondern gar nichts gesendet. Mit verbose 5 und ASC_debug werde ich auch nicht schlauer. :(

Hier die lists meiner Devices:

Internals:
   FUUID      6261090f-f33f-aff6-02c4-3cb2414bfee20ad2
   FVERSION   73_AutoShuttersControl.pm:v0.10.23-s25934/2022-04-07
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       myASControl
   NOTIFYDEV  MQTT2_zigbee_OG_Flur_Rollosteuerung,global,myASControl,my_Twilight
   NR         26428
   NTFY_ORDER 51-myASControl
   STATE      manual
   TYPE       AutoShuttersControl
   VERSION    v0.10.23
   Helper:
     DBLOG:
       MQTT2_zigbee_OG_Flur_Rollosteuerung_PosValue:
         logdb:
           TIME       1650616488.1614
           VALUE      50
       MQTT2_zigbee_OG_Flur_Rollosteuerung_nextAstroTimeEvent:
         logdb:
           TIME       1650616021.01271
           VALUE      22.04.2022 - 20:24
       ascEnable:
         logdb:
           TIME       1650614838.57575
           VALUE      on
       controlShading:
         logdb:
           TIME       1650614950.68086
           VALUE      off
       state:
         logdb:
           TIME       1650616488.16524
           VALUE      manual
       userAttrList:
         logdb:
           TIME       1650526679.39896
           VALUE      rolled out
   READINGS:
     2022-04-22 10:34:48   MQTT2_zigbee_OG_Flur_Rollosteuerung_PosValue 50
     2022-04-22 10:27:01   MQTT2_zigbee_OG_Flur_Rollosteuerung_nextAstroTimeEvent 22.04.2022 - 20:24
     2022-04-22 10:07:18   ascEnable       on
     2022-04-22 10:09:10   controlShading  off
     2022-04-21 09:37:59   room_Obergeschoss-_Flur_System-_Schnittstellen-_MQTT MQTT2_zigbee_OG_Flur_Rollosteuerung
     2022-04-22 10:34:48   state           manual
     2022-04-21 09:37:59   userAttrList    rolled out
   helper:
     shuttersList:
       MQTT2_zigbee_OG_Flur_Rollosteuerung
   monitoredDevs:
     MQTT2_zigbee_OG_Flur_Rollosteuerung:
     my_Twilight:
       myASControl ASC_twilightDevice
Attributes:
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_debug  1
   ASC_expert 1
   ASC_tempSensor Heizung:temperature
   ASC_twilightDevice my_Twilight
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       System->Allgemein
   verbose    5



Internals:
   CID        zigbee_OG_Flur_Rollosteuerung
   DEF        zigbee_OG_Flur_Rollosteuerung
   FHEM_MQTT_Client_MSGCNT 88
   FHEM_MQTT_Client_TIME 2022-04-22 10:34:48
   FUUID      6260f98e-f33f-aff6-4e7c-94cc94449fed837a
   IODev      FHEM_MQTT_Client
   LASTInputDev FHEM_MQTT_Client
   MSGCNT     88
   NAME       MQTT2_zigbee_OG_Flur_Rollosteuerung
   NR         24548
   STATE      50
   TYPE       MQTT2_DEVICE
   Helper:
     DBLOG:
       ASC_ShadingMessage:
         logdb:
           TIME       1650614951.70176
           VALUE      <html> INFO:  shading was deactivated globally </html>
       ASC_ShuttersLastDrive:
         logdb:
           TIME       1650614364.55402
           VALUE      manual
       json2nameValueErrorText:
         logdb:
           TIME       1650568032.42791
           VALUE      error parsing (#2) 'position: 50'
       json2nameValueInput:
         logdb:
           TIME       1650568032.42791
           VALUE      position: 50
       lift_duration:
         logdb:
           TIME       1650614364.44283
           VALUE      8
       linkquality:
         logdb:
           TIME       1650616488.15622
           VALUE      21
       position:
         logdb:
           TIME       1650616488.15622
           VALUE      50
       state:
         logdb:
           TIME       1650567860.1771
           VALUE      set_open
   OLDREADINGS:
   READINGS:
     2022-04-21 09:37:59   ASC_Enable      on
     2022-04-22 10:09:11   ASC_ShadingMessage <html> INFO:  shading was deactivated globally </html>
     2022-04-22 10:34:48   ASC_ShuttersLastDrive manual
     2022-04-22 10:27:01   ASC_Time_DriveDown 22.04.2022 - 20:24
     2022-04-22 10:27:01   ASC_Time_DriveUp 23.04.2022 - 10:27
     2022-04-21 08:28:30   IODev           FHEM_MQTT_Client
     2022-04-21 09:37:59   associatedWith  MQTT2_zigbee_nuc,myASControl
     2022-04-22 10:34:48   lift_duration   8
     2022-04-22 10:34:48   linkquality     21
     2022-04-22 10:34:48   position        50
     2022-04-21 21:04:20   state           set_open
Attributes:
   ASC        2
   ASC_Adv    off
   ASC_AutoAstroModeEvening REAL
   ASC_BlockingTime_afterManual 0
   ASC_BlockingTime_beforeDayOpen 0
   ASC_Down   astro
   ASC_DriveUpMaxDuration 13
   ASC_Pos_Reading position
   ASC_TempSensor Heizung:temperature
   ASC_Time_Down_Early 17:00:00
   ASC_Time_Up_Early 10:27:00
   ASC_Time_Up_Late 10:00:00
   ASC_Time_Up_WE_Holiday 10:00:00
   ASC_Up     time
   alias      Fenster Flur
   devStateIcon 0.*:fts_shutter_100 100.*:fts_window_2w 1\d.*:fts_shutter_90 2\d.*:fts_shutter_80 3\d.*:fts_shutter_70 4\d.*:fts_shutter_60 5\d.*:fts_shutter_50 6\d.*:fts_shutter_40 7\d.*:fts_shutter_30 8\d.*:fts_shutter_20 9\d.*:fts_shutter_10 d.*:fts_shutter_90
   event-on-change-reading .*
   icon       fts_window_1w
   readingList zigbee2mqtt/OG_Flur_Rollosteuerung:.* { json2nameValue($EVENT) }
zigbee2mqtt/OG_Flur_Rollosteuerung/set:.* { json2nameValue($EVENT) }
   room       Obergeschoss->Flur,System->Schnittstellen->MQTT
   setList    open:noArg zigbee2mqtt/OG_Flur_Rollosteuerung/set OPEN
close:noArg zigbee2mqtt/OG_Flur_Rollosteuerung/set CLOSE
stop:noArg zigbee2mqtt/OG_Flur_Rollosteuerung/set STOP
position:slider,0,1,100 zigbee2mqtt/OG_Flur_Rollosteuerung/set {"position":$EVTPART1}
   setStateList open close stop
   stateFormat position
   userattr   ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforeDayOpen ASC_BlockingTime_beforeNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_CommandTemplate ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_BetweenTheTime ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace,awning,EG_window ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate
   verbose    5


CoolTux

Sieht erstmal gut aus. Er sollte heute Abend um "ASC_Time_DriveDown 22.04.2022 - 20:24" das Rollo entsprechend zur Nacht schließen.
Zum testen der allgemeinen Ansteuerung kannst Du ja mal ein

set ASCDEV wiggle all

machen
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

persching

Keine Ahnung warum es jetzt geht, aber an dem ASC und dem Rollo hatte ich nix mehr geändert. Ich hatte nur meinen fhem-docker Container mal wieder auf Vordermann gebracht (also alles geupdated) und danach ein 'shutdown restart'.

Danach ging

set ASCDEV wiggle all

ohne Probleme. Jetzt hatte ich nochmal die ASC_Time_Up_Early 2 Minuten in die Zukunft gestellt und jetzt ging es.

Trotzdem danke fürs drüberschauen und vor allem danke für das Modul! :)