Amad2-Verbindung Readings werden nur Teilweise aktualisiert

Begonnen von Marko1976, 02 Mai 2026, 19:41:28

Vorheriges Thema - Nächstes Thema

Marko1976

Ich habe das Problem, das sich nicht alle Readings im Fhem-Device ändern lassen.
powerPlugged beispielsweise funktioniert, location geht hingegen nicht. Neue Readings wie ein nextAlarm funktionieren auch nicht.

Abgesehen davon, dass ich in der Amad-Starteinstellung bei einem StatusRequest immer ein Status Unknown zurückgibt weiß ich nicht wo ich zur Lösung ansetzen kann.

Hat jemand eine Idee?

Marko1976

Über 300 Aufrufe und wirklich niemand hat eine Idee?

CoolTux

Welche App verwendest Du denn auf Androidseite? Eventuell wäre auch ein list der Devices hilfreich
AMADBridge und AMADDevice



Grüße
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

Marko1976

Sorry, ich vergesse immer wieder, dass es ja mehrere Möglichkeiten gibt. Ich nutze Tasker in Verbindung mit autoremote.

Von 4 Geräten (2 Galaxy S25ultra, ein Blackview Tablets und ein Billigtablet) funktionieren alle bis auf mein S25ultra einwandfrei. Deshalb sehe ich das Problem eindeutig auf der Handyseite und hatte die Lists bisher nicht eingestellt.

Dennoch hier das List der Bridge:
Internals:
   BRIDGE     1
   CONNECTS   50836
   FD         8
   FUUID      63e7e150-f33f-7706-a175-c4f08b80c4388606
   FVERSION   73_AMADCommBridge.pm:v4.4.4-s27422/2023-04-10
   NAME       AMADBridge
   NR         77
   PORT       8090
   STATE      opened
   TYPE       AMADCommBridge
   VERSION    v4.4.4
   VERSIONFLOWSET 4.4.3
   eventCount 1
   READINGS:
     2024-10-11 22:59:36   receiveFhemCommand set HUEWohnzimmer1 toggle
     2026-04-24 20:41:59   state           opened
     2025-04-30 23:48:34   transmitterERROR AMADBridge_192.168.178.61_40252 has no correct amad_id
Attributes:
   allowfrom  .*
   event-on-change-reading .*
   fhemServerIP 192.168.178.216
   group      Bridge
   icon       mqtt_bridge_2
   room       AMAD,System
   timestamp-on-change-reading .*
   verbose    0
Und hier das nicht funktionierende Device (mein S25ultra):
Internals:
   AMADBridge_MSGCNT 34631
   AMADBridge_TIME 2026-05-07 14:30:00
   AMAD_ID    1738884620
   DEF        192.168.178.61 1738884620 Autoremote
   FUUID      67a546bb-f33f-7706-4759-e205a76d9401fc39
   FVERSION   74_AMADDevice.pm:v4.4.8-s27422/2023-04-10
   HOST       192.168.178.61
   IODev      AMADBridge
   LASTInputDev AMADBridge
   MODEL      Autoremote
   MSGCNT     34631
   NAME       GalaxyS25ultra_Marko
   NOTIFYDEV  global,GalaxyS25ultra_Marko,AMADBridge
   NR         456
   NTFY_ORDER 50-GalaxyS25ultra_Marko
   PORT       1817
   STATE      present (Power: 0)
   TYPE       AMADDevice
   VERSION    v4.4.8
   VERSIONFLOWSET 4.4.3
   eventCount 43
   OLDREADINGS:
   READINGS:
     2026-04-24 20:43:11   IODev           AMADBridge
     2025-08-12 20:57:59   airplanemode    off
     2025-12-13 21:36:00   batteryPercent  50
     2025-02-14 10:35:57   bluetooth       on
     2025-12-11 10:38:17   call_duration   321
     2025-02-07 14:31:07   call_id         1738884620
     2025-12-13 20:52:08   connectedBTdevices DXCMTA
     2025-12-13 20:52:08   connectedBTdevicesMAC E4:3D:EE:8F:A4:FE
     2025-12-12 08:40:08   currentMusicAlbum unknown
     2025-12-13 14:02:05   currentMusicApp Edge
     2025-12-13 14:05:49   currentMusicArtist unknown
     2025-12-13 14:05:49   currentMusicState stopped
     2025-12-13 14:05:49   currentMusicTrack unknown
     2025-12-13 21:27:45   daydream        on
     2025-02-07 00:33:16   deviceModel     samsung SM-S938B
     2026-04-24 20:43:03   deviceState     unknown
     2025-12-11 10:09:31   direction       outgoing
     2025-12-12 10:05:37   doNotDisturb    always
     2025-12-11 10:38:17   event           disconnect
     2025-12-11 10:32:56   external_name   %name
     2025-12-11 10:32:56   external_number 08003273271
     2025-05-02 13:01:56   flow_SetCommands aktiv
     2025-04-18 05:01:55   flow_informations aktiv
     2025-02-07 00:33:16   flowsetVersionAtDevice 4.4.3 (Tasker)
     2025-12-10 11:24:34   incomingCallerName Herr Marko Poschen
     2025-12-10 11:24:34   incomingCallerNumber +492452156724
     2025-12-10 11:24:43   incomingCallerStatus IDLE
     2025-12-11 10:17:59   incomingSmsMessage ERGO - Ihr SMS-Kennwort:015551Ihr Kundenportal-Team
     2025-11-18 10:15:57   incomingTelegramMessage Du - Vanessa Nies benutzt jetzt Telegram!
     2025-12-04 10:22:49   incomingWhatsAppMessage Du - Ja, kein Problem
     2025-04-09 16:44:43   internal_connection GalaxyS25ultra_Marko
     2025-02-07 00:33:16   keyguardSet     1
     2025-12-10 20:24:09   lastSetCommandState setCmd_error
     2025-02-07 00:33:15   lastStatusRequestState statusRequest_done
     2025-04-17 09:40:00   location        Night
     2025-12-04 08:38:13   missed_call     +4924524086 (+4924524086)
     2025-11-15 12:53:24   mute            off
     2025-02-14 21:35:08   nfc             on
     2025-12-11 10:32:56   outgoingCallerName %name
     2025-12-11 10:32:56   outgoingCallerNumber 08003273271
     2025-12-11 10:38:17   outgoingCallerStatus IDLE
     2026-05-07 07:57:37   powerPlugged    0
     2025-12-13 21:27:46   screen          off locked
     2025-12-13 17:27:42   screenBrightness 100
     2025-11-19 10:49:23   screenBrightnessMode on
     2025-12-13 21:27:35   screenOrientation portrait
     2025-02-07 00:33:16   screenOrientationMode auto
     2026-04-24 20:43:03   state           initialized
     2025-12-13 20:51:35   status          present
     2025-04-17 10:52:55   user            zuhause
     2025-12-13 20:51:59   volume          9
     2025-12-13 20:51:59   volumeNotification 6
     2025-04-17 19:35:26   vpn             0
   helper:
     deviceStateErrorCounter 156
     infoErrorCounter 0
     setCmdErrorCounter 1
Attributes:
   IODev      AMADBridge
   alias      Galaxy S25 Ultra (Marko)
   event-on-change-reading powerPlugged
   group      Geräte
   icon       it_smartphone
   remoteServer Autoremote
   room       AMAD,Devices
   setScreenOrientation 1
   stateFormat status (Power: powerPlugged)
   timestamp-on-change-reading .*
   userReadings status { ReadingsVal("Galaxy_S25_Ultra_Marko","state","absend"); },
nextAlarmDayshort { shortweekdays(ReadingsVal($name,"nextAlarmDays","")) },
nextAlarm { ReadingsVal($name,"nextAlarmTime","")."|".ReadingsVal($name,"nextAlarmDay",""); },
nextAlarm_voice:nextAlarm.* { formatAlarmTime(ReadingsVal($name,"nextAlarm","")) }
   verbose    5

Zusätzlich noch ein List des S25ultra's meiner Lebensgefährting, das funktioniert:
Internals:
   AMADBridge_MSGCNT 16195
   AMADBridge_TIME 2026-05-07 14:30:00
   AMAD_ID    1738948806
   DEF        192.168.178.62 1738948806 Autoremote
   FUUID      67a6411c-f33f-7706-27c3-414f3ba5b876c73b
   FVERSION   74_AMADDevice.pm:v4.4.8-s27422/2023-04-10
   HOST       192.168.178.62
   IODev      AMADBridge
   LASTInputDev AMADBridge
   MODEL      Autoremote
   MSGCNT     16195
   NAME       GalaxyS25ultra_Marion
   NOTIFYDEV  global,GalaxyS25ultra_Marion,AMADBridge
   NR         460
   NTFY_ORDER 50-GalaxyS25ultra_Marion
   PORT       1817
   STATE      present (Power: 0)
   TYPE       AMADDevice
   VERSION    v4.4.8
   VERSIONFLOWSET 4.4.3
   eventCount 4099
   READINGS:
     2026-04-24 20:43:11   IODev           AMADBridge
     2026-02-17 01:04:55   NOTIFYDEV       global powerPlugged 1
     2025-02-07 18:21:35   airplanemode    off
     2026-05-07 13:30:00   batteryPercent  87
     2025-10-28 00:12:18   bluetooth       on
     2026-05-07 10:03:16   call_duration   110
     2025-02-11 11:16:01   call_id         1738948806
     2026-05-07 12:49:35   connectedBTdevices S25 Ultra von Marko
     2026-05-07 12:49:32   connectedBTdevicesMAC 41:C2:3C:EB:6C:C3
     2026-04-03 15:11:59   currentMusicAlbum unknown
     2026-05-07 00:18:49   currentMusicApp Google Play-Dienste
     2026-05-07 00:23:06   currentMusicArtist unknown
     2026-05-07 00:23:06   currentMusicState stopped
     2026-05-07 00:23:06   currentMusicTrack unknown
     2026-05-07 12:50:28   daydream        on
     2025-02-07 18:21:35   deviceModel     samsung SM-S938B
     2026-05-06 14:15:59   deviceState     online
     2026-05-07 10:01:20   direction       incoming
     2026-05-07 08:38:27   doNotDisturb    always
     2026-05-07 10:03:16   event           disconnect
     2026-05-07 10:01:20   external_name   Herr Marko Poschen
     2026-05-07 10:01:20   external_number +491637833073
     2025-02-07 18:21:35   flow_SetCommands aktiv
     2025-02-07 18:21:35   flow_informations aktiv
     2025-02-07 18:21:35   flowsetVersionAtDevice 4.4.3 (Tasker)
     2026-05-04 10:29:26   incomingCallerName Herr Marko Poschen
     2026-05-04 10:29:26   incomingCallerNumber +491637833073
     2026-05-07 10:03:16   incomingCallerStatus IDLE
     2026-04-23 21:16:59   incomingSmsMessage +4917648686135 - Liebe Marion, ganz herzliche Glückwünsche zum Geburtstag! 💐🍾🍀 Auf ein tolles, neues Jahr mit vielen schönen Erlebnissen! Ich freue mich schon auf Sonntag. Liebe Grüße Sandra
     2026-05-07 09:57:58   incomingWhatsAppMessage Steffi Hahn - Ohje, dann erhol dich mal gut
     2025-02-11 11:16:01   internal_connection GalaxyS25ultra_Marion
     2025-02-07 18:21:35   keyguardSet     1
     2026-05-06 07:16:01   lastSetCommandState setCmd_error
     2025-02-07 18:21:35   lastStatusRequestState statusRequest_done
     2026-01-28 17:09:17   missed_call     +4924527888 (Herr Hubert Reiners)
     2026-05-06 00:18:29   mute            off
     2026-05-07 13:16:00   nextAlarm       08:50|Fr.
     2026-05-07 09:00:07   nextAlarmDay    Fr.
     2025-04-12 22:49:58   nextAlarmDayshort
     2026-05-07 10:01:59   nextAlarmState  NextAlarm
     2026-05-07 13:16:00   nextAlarmTime   08:50
     2026-05-07 13:16:00   nextAlarm_voice Freitag um acht Uhr fünfzig
     2025-02-07 18:21:35   nfc             on
     2026-05-06 14:56:07   outgoingCallerName Blumen RISSE Hückelhoven
     2026-05-06 14:56:07   outgoingCallerNumber +492433914900
     2026-05-06 14:57:15   outgoingCallerStatus IDLE
     2026-05-07 08:38:27   powerPlugged    0
     2026-05-07 12:52:01   screen          off locked
     2026-05-07 12:50:27   screenBrightness 99
     2026-01-13 08:00:08   screenBrightnessMode on
     2026-05-07 08:43:27   screenOrientation portrait
     2025-02-07 18:21:35   screenOrientationMode auto
     2026-05-06 14:15:43   state           active
     2026-05-06 14:15:59   status          present
     2026-05-07 11:02:46   volume          2
     2025-12-10 04:17:59   volumeNotification 6
     2026-02-17 14:11:59   vpn             0
   helper:
     deviceStateErrorCounter 0
     infoErrorCounter 0
     setCmdErrorCounter 4
Attributes:
   IODev      AMADBridge
   alias      Galaxy S25 Ultra (Marion)
   event-on-change-reading .*
   group      Geräte
   icon       it_smartphone
   remoteServer Autoremote
   room       AMAD,Devices
   stateFormat status (Power: powerPlugged)
   timestamp-on-change-reading .*
   userReadings status { ReadingsVal("Galaxy_S25_Ultra_Marion","state","absend"); },
nextAlarmDayshort { shortweekdays(ReadingsVal($name,"nextAlarmDays","")) },
nextAlarm { ReadingsVal($name,"nextAlarmTime","")."|".ReadingsVal($name,"nextAlarmDay",""); },
nextAlarm_voice:nextAlarm.* { formatAlarmTime(ReadingsVal($name,"nextAlarm","")) }
   verbose    5

Offenbar scheint das popwer Plugged-Reading bei mir sogar das EINZIGE zu sein das funktioniert, egal ob Helligkeit, Orientierung des Handys oder ein selbsterstelltes neues Reading, nichts wird aktualisiert - bis auf das powerPlugged.

CoolTux

Ok, also bei Tasker kann ich leider nicht wirklich helfen. Aber eventuell findet sich nun jemand der mit den erweiterten Angaben etwas anfangen kann.
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