[ AMAD2 - obsolete] 74_AMAD.pm zur Steuerung eines Androidgerätes

Begonnen von CoolTux, 02 März 2016, 11:14:41

Vorheriges Thema - Nächstes Thema

Chaos

Ahoi,

also bei den meisten meiner Geräte klappt jetzt alles.
Aber doof gefragt:
Was ist mit Geräten die keine SSIDs brauchen? Also bspw. per Ethernet angeschlossen sind?

MfG
Manuel

CoolTux

Ist das eine theoretische Frage? Kenne kein Tablet oder Handy welches eine Ethernet Schnittstelle hat.
Aber interessant ist die Frage. Im Moment würde das nicht gehen. Dafür ist weder das Flowset noch das Modul aus gelegt.
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

Chaos

Hi,

Bzgl Tablet und Handy fiele mir nur USB ETH Adapter ein.
Aber gibt ja noch andere Android Geräte...

Dann ist das jetzt ne praktische Frage ;-)
Eine Nvidia Shield ist per ETH dran und im Gegensatz zu der anderen die per WLAN dran ist, bekomm ich nen Timeout, den ich mir nicht erklären kann :-D

Nen TV mit Android hätte ich auch noch ;D

Mir ist natürlich durchaus bewusst, dass ich damit vermutlich ein verschwindend kleiner Teil bin.

MfG
Manuel

CoolTux

Also zu mindest ein statusRequest sollte gehen.

Gib mal list von der Bridge und dem Device.
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

Chaos

list AMADCommBridge
Internals:
   BRIDGE     1
   CONNECTS   46
   FD         37
   NAME       AMADCommBridge
   NR         412
   PORT       8090
   STATE      opened
   TYPE       AMAD
   VERSIONFLOWSET 2.0.0
   VERSIONMODUL 2.0.0
   Readings:
     2016-01-29 19:17:08   expertMode      1
     2016-01-29 19:17:15   fhemServerIP    10.0.0.10
     2016-01-30 23:04:18   receiveFhemCommand set Rolladen raus
     2016-01-30 22:53:38   receiveVoiceCommand hoch
     2016-01-30 22:53:38   receiveVoiceDevice Tablet_Kueche
     2016-04-09 10:38:45   state           opened
Attributes:
   room       AMAD


list Shield_WoZi (die ist per LAN)
Internals:
   APSSID     WL_Home300
   DEF        10.0.0.123 WL_Home300
   HOST       10.0.0.123
   NAME       Shield_WoZi
   NR         448
   PORT       8090
   STATE      read from to http://10.0.0.123:8090 timed out
   TYPE       AMAD
   VERSIONFLOWSET 2.0.0
   VERSIONMODUL 2.0.0
   Readings:
     2016-04-09 11:19:43   androidVersion  6.0 Marshmallow
     2016-04-09 11:19:44   automagicState  Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff
     2016-04-09 11:19:44   bluetooth       on
     2016-04-09 11:19:44   connectedBTdevices
     2016-04-09 11:19:44   connectedBTdevicesMAC
     2016-04-09 11:19:44   currentMusicAlbum no soundplayer activ
     2016-04-09 11:19:44   currentMusicArtist no soundplayer activ
     2016-04-09 11:19:44   currentMusicTrack no soundplayer activ
     2016-04-09 11:19:44   dockingState    undocked
     2016-04-09 11:19:44   keyguardSet     0
     2016-04-09 11:25:33   lastSetCommandState setCmd_done
     2016-04-09 11:20:14   lastStatusRequestState statusRequest_error
     2016-04-09 11:19:44   nextAlarmDay    off
     2016-04-09 11:19:44   nextAlarmTime   off
     2016-04-09 11:19:43   powerLevel      0.0
     2016-04-09 11:19:43   powerPlugged    1
     2016-04-09 11:19:46   screen          on unlocked
     2016-04-09 11:19:43   screenBrightness 102
     2016-04-09 11:19:44   screenOrientation landscape
     2016-04-09 11:19:44   screenOrientationMode manual
     2016-04-09 11:25:32   state           read from to http://10.0.0.123:8090 timed out
     2016-04-09 11:19:44   volume          10
     2016-04-09 11:19:43   volumeNotification
   Helper:
     infoErrorCounter 1
     setCmdErrorCounter 0
Attributes:
   room       AMAD


list Shield_ElZi (die ist per WLAN)
Internals:
   APSSID     WL_Home300
   DEF        10.0.0.124 WL_Home300
   HOST       10.0.0.124
   NAME       Shield_ElZi
   NR         449
   PORT       8090
   STATE      active
   TYPE       AMAD
   VERSIONFLOWSET 2.0.0
   VERSIONMODUL 2.0.0
   Readings:
     2016-04-09 10:40:14   airplanemode    off
     2016-04-09 10:40:06   androidVersion  6.0 Marshmallow
     2016-04-09 10:40:14   automagicState  Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff
     2016-04-09 10:40:11   bluetooth       on
     2016-04-09 10:40:13   checkActiveTask
     2016-04-09 10:40:13   connectedBTdevices
     2016-04-09 10:40:13   connectedBTdevicesMAC
     2016-04-09 10:40:10   currentMusicAlbum no soundplayer activ
     2016-04-09 10:40:10   currentMusicArtist no soundplayer activ
     2016-04-09 10:40:10   currentMusicTrack no soundplayer activ
     2016-04-09 10:40:14   deviceState     online
     2016-04-09 10:40:11   dockingState    undocked
     2016-04-09 10:40:13   flow_SetCommands aktiv
     2016-04-09 10:40:23   flow_informations aktiv
     2016-04-09 10:40:08   flowsetVersionAtDevice 2.0.0
     2016-04-09 10:40:13   keyguardSet     0
     2016-04-09 10:40:23   lastStatusRequestState statusRequest_done
     2016-04-09 10:40:11   nextAlarmDay    off
     2016-04-09 10:40:11   nextAlarmTime   off
     2016-04-09 10:40:04   powerLevel      0.0
     2016-04-09 10:40:04   powerPlugged    1
     2016-04-09 10:40:16   screen          off unlocked
     2016-04-09 10:40:01   screenBrightness 102
     2016-04-09 10:40:15   screenOrientation landscape
     2016-04-09 10:40:15   screenOrientationMode manual
     2016-04-09 10:40:23   state           active
     2016-04-09 10:40:15   volume          0
     2016-04-09 10:40:00   volumeNotification
   Helper:
     infoErrorCounter 0
     setCmdErrorCounter 0
Attributes:
   room       AMAD

accessburn

Liebster CoolTux :-)
Schaust du noch mal bitte nach meinem "geht nicht"? ;D
Habe mit ein paar unterbrechungen alles noch zwei oder drei mal versucht, auch mal die Readings gelöscht und neu angefangen. Aber nüscht!
Keine Veränderung.
Wezzy Rpi2b> FHEM, Elro, Intenso, FTUI, Jeelink v3, Max!Cube, Fire5, Foscam, NAS, Fritz!Box + Fon, Max!Wandthermostat, Amazon Echo
Wezzy Rp3b> OctoPi
Jessie Rp3b> UPNP, NAS, Pi-Hole

CoolTux

Zitat von: Chaos am 09 April 2016, 11:33:05
list AMADCommBridge
Internals:
   BRIDGE     1
   CONNECTS   46
   FD         37
   NAME       AMADCommBridge
   NR         412
   PORT       8090
   STATE      opened
   TYPE       AMAD
   VERSIONFLOWSET 2.0.0
   VERSIONMODUL 2.0.0
   Readings:
     2016-01-29 19:17:08   expertMode      1
     2016-01-29 19:17:15   fhemServerIP    10.0.0.10
     2016-01-30 23:04:18   receiveFhemCommand set Rolladen raus
     2016-01-30 22:53:38   receiveVoiceCommand hoch
     2016-01-30 22:53:38   receiveVoiceDevice Tablet_Kueche
     2016-04-09 10:38:45   state           opened
Attributes:
   room       AMAD


list Shield_WoZi (die ist per LAN)
Internals:
   APSSID     WL_Home300
   DEF        10.0.0.123 WL_Home300
   HOST       10.0.0.123
   NAME       Shield_WoZi
   NR         448
   PORT       8090
   STATE      read from to http://10.0.0.123:8090 timed out
   TYPE       AMAD
   VERSIONFLOWSET 2.0.0
   VERSIONMODUL 2.0.0
   Readings:
     2016-04-09 11:19:43   androidVersion  6.0 Marshmallow
     2016-04-09 11:19:44   automagicState  Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff
     2016-04-09 11:19:44   bluetooth       on
     2016-04-09 11:19:44   connectedBTdevices
     2016-04-09 11:19:44   connectedBTdevicesMAC
     2016-04-09 11:19:44   currentMusicAlbum no soundplayer activ
     2016-04-09 11:19:44   currentMusicArtist no soundplayer activ
     2016-04-09 11:19:44   currentMusicTrack no soundplayer activ
     2016-04-09 11:19:44   dockingState    undocked
     2016-04-09 11:19:44   keyguardSet     0
     2016-04-09 11:25:33   lastSetCommandState setCmd_done
     2016-04-09 11:20:14   lastStatusRequestState statusRequest_error
     2016-04-09 11:19:44   nextAlarmDay    off
     2016-04-09 11:19:44   nextAlarmTime   off
     2016-04-09 11:19:43   powerLevel      0.0
     2016-04-09 11:19:43   powerPlugged    1
     2016-04-09 11:19:46   screen          on unlocked
     2016-04-09 11:19:43   screenBrightness 102
     2016-04-09 11:19:44   screenOrientation landscape
     2016-04-09 11:19:44   screenOrientationMode manual
     2016-04-09 11:25:32   state           read from to http://10.0.0.123:8090 timed out
     2016-04-09 11:19:44   volume          10
     2016-04-09 11:19:43   volumeNotification
   Helper:
     infoErrorCounter 1
     setCmdErrorCounter 0
Attributes:
   room       AMAD


list Shield_ElZi (die ist per WLAN)
Internals:
   APSSID     WL_Home300
   DEF        10.0.0.124 WL_Home300
   HOST       10.0.0.124
   NAME       Shield_ElZi
   NR         449
   PORT       8090
   STATE      active
   TYPE       AMAD
   VERSIONFLOWSET 2.0.0
   VERSIONMODUL 2.0.0
   Readings:
     2016-04-09 10:40:14   airplanemode    off
     2016-04-09 10:40:06   androidVersion  6.0 Marshmallow
     2016-04-09 10:40:14   automagicState  Aktiviere Automagic unter Einstellungen -> Benachrichtigungen -> Benachrichtigungszugriff
     2016-04-09 10:40:11   bluetooth       on
     2016-04-09 10:40:13   checkActiveTask
     2016-04-09 10:40:13   connectedBTdevices
     2016-04-09 10:40:13   connectedBTdevicesMAC
     2016-04-09 10:40:10   currentMusicAlbum no soundplayer activ
     2016-04-09 10:40:10   currentMusicArtist no soundplayer activ
     2016-04-09 10:40:10   currentMusicTrack no soundplayer activ
     2016-04-09 10:40:14   deviceState     online
     2016-04-09 10:40:11   dockingState    undocked
     2016-04-09 10:40:13   flow_SetCommands aktiv
     2016-04-09 10:40:23   flow_informations aktiv
     2016-04-09 10:40:08   flowsetVersionAtDevice 2.0.0
     2016-04-09 10:40:13   keyguardSet     0
     2016-04-09 10:40:23   lastStatusRequestState statusRequest_done
     2016-04-09 10:40:11   nextAlarmDay    off
     2016-04-09 10:40:11   nextAlarmTime   off
     2016-04-09 10:40:04   powerLevel      0.0
     2016-04-09 10:40:04   powerPlugged    1
     2016-04-09 10:40:16   screen          off unlocked
     2016-04-09 10:40:01   screenBrightness 102
     2016-04-09 10:40:15   screenOrientation landscape
     2016-04-09 10:40:15   screenOrientationMode manual
     2016-04-09 10:40:23   state           active
     2016-04-09 10:40:15   volume          0
     2016-04-09 10:40:00   volumeNotification
   Helper:
     infoErrorCounter 0
     setCmdErrorCounter 0
Attributes:
   room       AMAD


Lass mich das mal heute Abend in Ruhe analysieren. Vielleicht lässt sich da was 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

Tommy82

#367
Hi,
hab grade das fhem update durchgeführt und hatte anschließend erwartungsgemäß diese Meldung im LOg,
2016.04.09 14:44:51.762 3: AMAD (Android_Tablett_Wohnzimmer) - defined with host 192.168.188.23 on port 8090 and NONE AccessPoint-SSID
2016.04.09 14:44:51.763 3: AMAD (Android_Tablett_Wohnzimmer) - Attention!!! Your Device was defined without ACCESSPOINT-SSID, please modify the DEF to <HOST-IP> <ACCESSPOINT-SSID>
2016.04.09 14:44:51.766 3: AMAD (AMADCommBridge) - defined Bridge with Socketport 8090
2016.04.09 14:44:51.766 3: AMAD (AMADCommBridge) - Attention!!! By the first run, dont forget to "set AMADCommBridge fhemServerIP <IP-FHEM>"
2016.04.09 14:44:51.768 3: AMADCommBridge: port 8090 opened


Also hab ich übers DEF die SSID noch eingetragen, das neue Flowset auf dem device installiert, und nochmal ein shutdown restart, dann kommt im Log  diese Meldung:
2016.04.09 15:16:35.398 3: AMAD (Android_Tablett_Wohnzimmer) - defined with host 192.168.188.23 on port 8090 and AccessPoint-SSID T&T T&T5GHZ
2016.04.09 15:16:35.401 3: AMAD (AMADCommBridge) - defined Bridge with Socketport 8090
2016.04.09 15:16:35.402 3: AMAD (AMADCommBridge) - Attention!!! By the first run, dont forget to "set AMADCommBridge fhemServerIP <IP-FHEM>"
2016.04.09 15:16:35.404 3: AMADCommBridge: port 8090 opened


trotzdem kommen keine Daten an, das list zeigt dann:

Internals:
   BRIDGE     1
   FD         22
   NAME       AMADCommBridge
   NR         292
   PORT       8090
   STATE      opened
   TYPE       AMAD
   VERSIONFLOWSET 2.0.0
   VERSIONMODUL 2.0.0
   Readings:
     2015-11-06 19:24:23   expertMode      1
     2015-11-06 19:23:49   fhemServerIP    192.168.188.47
     2016-04-09 15:16:35   state           opened
Attributes:
   room       Wohnzimmer


Internals:
   APSSID     T&T T&T5GHZ
   DEF        192.168.188.23 T&T@@T&T5GHZ
   HOST       192.168.188.23
   NAME       Android_Tablett_Wohnzimmer
   NR         291
   PORT       8090
   STATE      initialized
   TYPE       AMAD
   VERSIONFLOWSET 2.0.0
   VERSIONMODUL 2.0.0
   Readings:
     2016-04-09 14:43:34   automagicState  no supported from your device
     2016-04-09 14:43:34   bluetooth       on
     2016-04-09 14:43:34   checkActiveTask
     2016-04-09 14:43:34   connectedBTdevices []
     2016-04-09 14:43:34   connectedBTdevicesMAC []
     2016-04-09 14:43:34   currentMusicAlbum no soundplayer activ
     2016-04-09 14:43:34   currentMusicArtist no soundplayer activ
     2016-04-09 14:43:34   currentMusicTrack no soundplayer activ
     2016-04-04 20:29:48   deviceState     online
     2016-04-09 14:57:33   display         an
     2016-04-09 14:43:34   flow_SetCommands aktiv
     2016-04-09 14:43:34   flow_informations aktiv
     2016-03-02 20:42:54   lastSetCommandState cmd_done
     2016-03-31 07:49:20   lastStatusRequestError 192.168.188.23: No route to host
     2016-04-09 14:57:33   lastStatusRequestState statusRequest_done
     2016-04-09 14:43:34   nextAlarmDay
     2016-04-09 14:43:34   nextAlarmTime
     2016-04-09 14:43:34   powerLevel      57.0
     2016-04-09 14:43:34   powerPlugged    0
     2016-04-09 14:43:34   screen          on
     2016-04-09 14:43:34   screenBrightness 157
     2016-04-09 14:43:34   screenOrientation auto
     2016-04-09 15:16:35   state           initialized
     2016-03-02 20:42:53   volume          0
     2016-04-09 14:43:34   volumeMusikBluetooth
     2016-04-09 14:43:34   volumeMusikSpeaker 0
   Helper:
     infoErrorCounter 0
     setCmdErrorCounter 0
Attributes:
   room       Wohnzimmer


Was hab ich falsch gemacht?

Danke



EDIT

Lag daran das ich nicht alle alten Flows gelöscht hatte, jetzt klappts einwandfrei.

Danke für das tolle Modul
Fhem Cubitruck  Armbian Buster with Linux 5.3.9-sunxi
HM-CC_RT-DN, HM-Sec-RHS,HM-Sec-SD, HM-Sec-SCo,IT1500,1xIT GRR-3500 Fritz!Dect200,Powerline546E,Enigma2 Modul mit 3 Vu+,Wol Modul für WinServer2016 und WinServer 2019,FB6590
Allnetl Wandtablett mit FTUI

CoolTux

Zitat von: accessburn am 09 April 2016, 15:03:53
Liebster CoolTux :-)
Schaust du noch mal bitte nach meinem "geht nicht"? ;D
Habe mit ein paar unterbrechungen alles noch zwei oder drei mal versucht, auch mal die Readings gelöscht und neu angefangen. Aber nüscht!
Keine Veränderung.

Schaue ich mir heute Abend als erstes an. Versprochen.
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

JayP

Danke für die tolle Arbeit.
Habe alles auf AMAD 2 gebracht.
Hat reibungslos geklappt.

Viele Grüße
Jay
FHEM 5.7 auf ODROID C2, CUL868, MaxCube mit culfw auf 433Mhz, Jeelink 868Mhz, 4x HM-CC-RT-DN, 1x HM-LC-Bl1-FM, 7x IT-Steckdosen, 5x LaCrosse Sensoren, 3x Revolt NC-5462, 1x SD_WS07, 2x G-Tag, Logitech Media Server auf Zyxel, ASUS TF300t mit Android 6 und TabletUI, u.v.m.

CoolTux

Und nicht vergessen! Wer auf AMAD2 umgestellt hat, brauch in Zukunft nach einem Update und shutdown restart nur noch ein set currentFlowsetUpdate zu machen und muss die Flows nicht mehr von Hand auf das Gerät bringen  ;D
Das ist mit das Beste wie ich finde.


Gruß
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

Clyde

Meine Geräte bleiben auf initialized stehen.

Habe jetzt mehrfach Bridge und Devices gelöscht und neu angelegt, und auch die Flows gelöscht und neu importiert.

Leider komme ich nicht weiter.

Internals:
   BRIDGE     1
   FD         43
   NAME       AMADCommBridge
   NR         631
   PORT       8090
   STATE      opened
   TYPE       AMAD
   VERSIONFLOWSET 2.0.0
   VERSIONMODUL 2.0.0
   Readings:
     2016-04-09 17:55:52   expertMode      1
     2016-04-09 18:08:37   fhemServerIP    192.168.1.10
     2016-04-09 17:56:43   state           opened
Attributes:
   room       AMAD
   verbose    5
   
   
   
   
Internals:
   APSSID     D1 D1-5
   DEF        192.168.1.151 D1@@D1-5
   HOST       192.168.1.151
   NAME       HandyNickel
   NR         630
   PORT       8090
   STATE      initialized
   TYPE       AMAD
   VERSIONFLOWSET 2.0.0
   VERSIONMODUL 2.0.0
   Readings:
     2016-04-09 17:57:01   lastStatusRequestState statusRequest_error
     2016-04-09 17:56:43   state           initialized
   Helper:
     infoErrorCounter 1
     setCmdErrorCounter 0
Attributes:
   room       AMAD
   verbose    5



und hier eine Logfile

2016.04.09 18:17:58 0: Server shutdown
2016.04.09 18:18:06 3: AMAD (HandyNickel) - defined with host 192.168.1.151 on port 8090 and AccessPoint-SSID D1 D1-5
2016.04.09 18:18:06 3: AMAD (AMADCommBridge) - defined Bridge with Socketport 8090
2016.04.09 18:18:06 3: AMAD (AMADCommBridge) - Attention!!! By the first run, dont forget to "set AMADCommBridge fhemServerIP <IP-FHEM>"
2016.04.09 18:18:06 3: AMADCommBridge: port 8090 opened
2016.04.09 18:18:06 3: AMAD (TabletNickel) - defined with host 192.168.1.58 on port 8090 and AccessPoint-SSID D1 D1-5
2016.04.09 18:18:06 3: AMAD (TabletLinda) - defined with host 192.168.1.51 on port 8090 and AccessPoint-SSID D1 D1-5
2016.04.09 18:18:06 3: AMAD (TabletSnoopy) - defined with host 192.168.1.157 on port 8090 and AccessPoint-SSID D1 D1-5
2016.04.09 18:18:06 3: AMAD (HandyLinda) - defined with host 192.168.1.149 on port 8090 and AccessPoint-SSID D1 D1-5
2016.04.09 18:18:21 5: AMAD (HandyNickel) - Send statusRequest with URL: "http://192.168.1.151:8090/fhem-amad/deviceInfo/" and Header: "fhemIP: 192.168.1.10
fhemDevice: HandyNickel
activeTask: none
apSSID: D1 D1-5"
2016.04.09 18:18:22 4: Connection accepted from AMADCommBridge_192.168.1.58_37592
2016.04.09 18:18:22 4: Connection accepted from AMADCommBridge_192.168.1.58_44938
2016.04.09 18:18:22 4: Connection accepted from AMADCommBridge_192.168.1.58_46685
2016.04.09 18:18:22 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 28

volumeNotification@@null@@@@
2016.04.09 18:18:22 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: volumeNotification@@null@@@@
2016.04.09 18:18:22 4: Connection accepted from AMADCommBridge_192.168.1.58_35444
2016.04.09 18:18:22 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 30

androidVersion@@4.4 KitKat@@@@
2016.04.09 18:18:22 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: androidVersion@@4.4 KitKat@@@@
2016.04.09 18:18:22 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 24

screenBrightness@@47@@@@
2016.04.09 18:18:22 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: screenBrightness@@47@@@@
2016.04.09 18:18:22 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 39

powerLevel@@79.0@@@@powerPlugged@@0@@@@
2016.04.09 18:18:22 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: powerLevel@@79.0@@@@powerPlugged@@0@@@@
2016.04.09 18:18:23 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 44

nextAlarmTime@@06:05@@@@nextAlarmDay@@Mo@@@@
2016.04.09 18:18:23 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: nextAlarmTime@@06:05@@@@nextAlarmDay@@Mo@@@@
2016.04.09 18:18:24 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 44

nextAlarmTime@@06:05@@@@nextAlarmDay@@Mo@@@@
2016.04.09 18:18:24 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: nextAlarmTime@@06:05@@@@nextAlarmDay@@Mo@@@@
2016.04.09 18:18:24 4: Connection accepted from AMADCommBridge_192.168.1.58_46104
2016.04.09 18:18:24 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 18

bluetooth@@off@@@@
2016.04.09 18:18:24 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: bluetooth@@off@@@@
2016.04.09 18:18:24 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 26

dockingState@@undocked@@@@
2016.04.09 18:18:24 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: dockingState@@undocked@@@@
2016.04.09 18:18:24 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 130

currentMusicTrack@@no soundplayer activ@@@@currentMusicAlbum@@no soundplayer activ@@@@currentMusicArtist@@no soundplayer activ@@@@
2016.04.09 18:18:24 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: currentMusicTrack@@no soundplayer activ@@@@currentMusicAlbum@@no soundplayer activ@@@@currentMusicArtist@@no soundplayer activ@@@@
2016.04.09 18:18:24 4: Connection accepted from AMADCommBridge_192.168.1.58_33077
2016.04.09 18:18:24 4: Connection accepted from AMADCommBridge_192.168.1.58_56233
2016.04.09 18:18:24 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 18

keyguardSet@@1@@@@
2016.04.09 18:18:24 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: keyguardSet@@1@@@@
2016.04.09 18:18:24 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 59

connectedBTdevices@@null@@@@connectedBTdevicesMAC@@null@@@@
2016.04.09 18:18:24 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: connectedBTdevices@@null@@@@connectedBTdevicesMAC@@null@@@@
2016.04.09 18:18:24 4: Connection accepted from AMADCommBridge_192.168.1.58_56669
2016.04.09 18:18:24 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 65

automagicState@@Automagic Premium

Automagic Service läuft

@@@@
2016.04.09 18:18:24 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: automagicState@@Automagic Premium
2016.04.09 18:18:24 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/74_AMAD.pm line 144.
2016.04.09 18:18:24 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 13

volume@@8@@@@
2016.04.09 18:18:24 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: volume@@8@@@@
2016.04.09 18:18:24 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 13

volume@@8@@@@
2016.04.09 18:18:24 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: volume@@8@@@@
2016.04.09 18:18:24 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 63

screenOrientation@@landscape@@@@screenOrientationMode@@auto@@@@
2016.04.09 18:18:24 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: screenOrientation@@landscape@@@@screenOrientationMode@@auto@@@@
2016.04.09 18:18:26 5: AMAD (AMADCommBridge) - Receive RAW Message in Debugging Mode: POST / HTTP/1.1
Content-Type: text/plain
User-Agent: Mozilla/5.0 (compatible; Automagic)
FHEMDEVICE: TabletNickel
FHEMCMD: setreading
Host: 192.168.1.10:8090
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 23

screen@@on unlocked@@@@
2016.04.09 18:18:26 4: AMAD (AMADCommBridge) - AMAD_CommBridge: processing receive reading values - Device: TabletNickel Data: screen@@on unlocked@@@@
Proxmox auf MINIX-Z100, LXC: FHEM, FS20, FHT, HM, Tradfri, Alexa, Anker Solix Solarbank 2

Clyde

Ein Tablet ist jetzt auf

"read from to http://192.168.1.58:8090 timed out"

gewechselt. Mit

set TabletNickel statusRequest

geht es für 30s auf active, die Readings kommen und dann wechselt er zurück auf obiges timeout.
Dies ist reproduzierbar. Die anderen Geräte bleiben auf initialized.
Proxmox auf MINIX-Z100, LXC: FHEM, FS20, FHT, HM, Tradfri, Alexa, Anker Solix Solarbank 2

CoolTux

Also das Tablet scheint zu funktionieren. Aber das Handy wohl nicht. Drücke mal beim Handy auf Def und dann gleich wieder auf modify unter Details. Und dann brauche ich die Logausgabe. Was sagen die globalen Variablen beim Handy?
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

stoxx

Zitat
Und nicht vergessen! Wer auf AMAD2 umgestellt hat, brauch in Zukunft nach einem Update und shutdown restart nur noch ein set currentFlowsetUpdate zu machen und muss die Flows nicht mehr von Hand auf das Gerät bringen  ;D
Das ist mit das Beste wie ich finde.

Wow, das ist wirklich eine echte Verbesserung!! Bin dann mal auf das nächste Update gespannt ;-)
Super Modul. weiter so!

vg stoxx
Raspberry mit CUL, FS20, FHT, HMS, BLE, Z-Wave, Zigbee ..