AMAD2

Begonnen von andre07, 12 April 2016, 17:52:53

Vorheriges Thema - Nächstes Thema

andre07

Hallo
Zu meinen Handy lassen sich keine Befehle mehr ausführen
egal was ich versuche sreen on vibrate openApp mein
Handy reagiert auf keine Befehle von fhem aus.
Mein list vom handy
nternals:
   APSSID     WLAN-409441
   CHANGED
   DEF        192.168.2.103 WLAN-409441
   HOST       192.168.2.103
   NAME       huaweig8
   NR         589
   PORT       8090
   STATE      192.168.2.103: Verbindungsaufbau abgelehnt
   TYPE       AMAD
   VERSIONFLOWSET 2.0.2
   VERSIONMODUL 2.0.2
   Readings:
     2016-04-07 18:15:59   airplanemode    off
     2016-04-12 14:33:06   androidVersion  5.1 Lollipop MR1
     2016-04-12 14:33:06   automagicState  Automagic Premium
     2016-04-12 14:33:06   bluetooth       on
     2016-04-11 15:26:30   checkActiveTask
     2016-04-12 14:33:06   connectedBTdevices
     2016-04-12 14:33:06   connectedBTdevicesMAC
     2016-04-12 14:33:06   currentMusicAlbum no soundplayer activ
     2016-04-12 14:33:06   currentMusicArtist no soundplayer activ
     2016-04-12 14:33:06   currentMusicTrack no soundplayer activ
     2016-04-12 14:48:46   deviceState     online
     2016-04-12 14:33:06   dockingState    undocked
     2016-04-11 15:26:30   flow_SetCommands aktiv
     2016-04-11 15:25:41   flow_informations aktiv
     2016-04-11 15:26:30   flowsetVersionAtDevice 2.0.0
     2016-04-10 13:09:55   incommingWhatsAppMessageFrom Fhem
     2016-03-17 14:13:07   intenRadioState
     2016-03-17 14:13:07   intentRadioName
     2016-04-12 14:33:06   keyguardSet     1
     2016-04-12 14:48:36   lastSetCommandState setCmd_done
     2016-03-15 12:43:31   lastStatusRequestError 192.168.2.103: Verbindungsaufbau abgelehnt
     2016-04-12 14:33:35   lastStatusRequestState statusRequest_error
     2016-04-12 14:33:06   nextAlarmDay    off
     2016-04-12 14:33:06   nextAlarmTime   off
     2016-04-12 14:33:06   powerLevel      94.0
     2016-04-12 14:33:06   powerPlugged    0
     2016-04-12 14:33:07   screen          on unlocked
     2016-04-12 14:33:06   screenBrightness 190
     2016-04-12 14:33:07   screenOrientation portrait
     2016-04-12 14:33:07   screenOrientationMode auto
     2016-04-12 14:48:34   state           192.168.2.103: Verbindungsaufbau abgelehnt
     2016-04-12 14:33:07   volume          15
     2016-04-12 14:33:06   volumeNotification 0
   Helper:
     infoErrorCounter 1
     setCmdErrorCounter 0
Attributes:
   event-on-change-reading .*
   room       AMAD
   setOpenApp com.android.chrome,com.vmd.webViewControl,org.videolan.vlc,com.alexvas.dvr.pro,de.ozerov.fully
   verbose    5

Mein log dazu

2016.04.12 14:06:29.350 2: tablet_irlu9_screen: set irlu9 screen off: set command only works if state not equal initialized
2016.04.12 14:07:53.920 2: tablet_irlu9_screen: set irlu9 deviceState online: set command only works if state not equal initialized
2016.04.12 14:07:54.949 2: tablet_irlu9_screen: set irlu9 screen on: set command only works if state not equal initialized
2016.04.12 14:07:56.993 2: tablet_irlu9_screen: set irlu9 screen unlock: set command only works if state not equal initialized
2016.04.12 14:07:59.040 2: tablet_irlu9_screen: set irlu9 openApp com.android.chrome: set command only works if state not equal initialized
2016.04.12 14:18:12.883 2: tablet_irlu9_screen: set irlu9 deviceState online: set command only works if state not equal initialized
2016.04.12 14:18:13.915 2: tablet_irlu9_screen: set irlu9 screen on: set command only works if state not equal initialized
2016.04.12 14:18:15.952 2: tablet_irlu9_screen: set irlu9 screen unlock: set command only works if state not equal initialized
2016.04.12 14:18:17.982 2: tablet_irlu9_screen: set irlu9 openApp com.android.chrome: set command only works if state not equal initialized
2016.04.12 14:21:38.008 2: tablet_irlu9_screen: set irlu9 screen off: set command only works if state not equal initialized
2016.04.12 14:26:13.197 2: tablet_irlu9_screen: set irlu9 deviceState online: set command only works if state not equal initialized
2016.04.12 14:26:14.237 2: tablet_irlu9_screen: set irlu9 screen on: set command only works if state not equal initialized
2016.04.12 14:26:16.266 2: tablet_irlu9_screen: set irlu9 screen unlock: set command only works if state not equal initialized
2016.04.12 14:26:18.296 2: tablet_irlu9_screen: set irlu9 openApp com.android.chrome: set command only works if state not equal initialized
2016.04.12 14:29:37.327 5: AMAD (huaweig8) - set huaweig8 statusRequest
2016.04.12 14:29:38.325 2: tablet_irlu9_screen: set irlu9 screen off: set command only works if state not equal initialized

2016.04.12 14:32:29.850 1: update finished, "shutdown restart" is needed to activate the changes.
2016.04.12 14:32:29.850 1:
2016.04.12 14:32:33.249 1: fheminfo server response: ==> ok
2016.04.12 14:32:35.259 0: Server shutdown
2016.04.12 14:32:35.261 3: SONOS0: Disconnecting client and shutdown server...
2016.04.12 14:32:37.267 3: WhatsApp: Disconnected
Useless use of addition (+) in void context at ./FHEM/99_myUtils.pm line 564.
2016.04.12 14:32:39.580 1: Including fhem.cfg
2016.04.12 14:32:39.599 3: telnetPort: port 7072 opened
2016.04.12 14:32:39.690 3: WEB: port 8083 opened
2016.04.12 14:32:39.697 3: WEBphone: port 8084 opened
2016.04.12 14:32:39.788 3: WEBtablet: port 8085 opened
2016.04.12 14:32:39.998 2: eventTypes: loaded 5207 events from ./log/eventTypes.txt
2016.04.12 14:32:40.105 1: HMLAN_Parse: HMLAN1 new condition disconnected
2016.04.12 14:32:40.105 3: Opening HMLAN1 device 192.168.2.118:1000
2016.04.12 14:32:40.112 3: HMLAN1 device opened
2016.04.12 14:32:40.113 1: HMLAN_Parse: HMLAN1 new condition init
2016.04.12 14:32:42.204 3: Opening ibeacon_gtag device 127.0.0.1:5222
2016.04.12 14:32:43.890 3: sensor_flur: I/O device is myJeeLink
2016.04.12 14:32:48.962 3: AMAD (kindlefire) - defined with host 192.168.2.121 on port 8090 and AccessPoint-SSID WLAN-409441
2016.04.12 14:32:48.963 3: AMAD (AMADCommBridge) - defined Bridge with Socketport 8090
2016.04.12 14:32:48.963 3: AMAD (AMADCommBridge) - Attention!!! By the first run, dont forget to "set AMADCommBridge fhemServerIP <IP-FHEM>"
2016.04.12 14:32:48.963 3: AMADCommBridge: port 8090 opened
2016.04.12 14:32:48.964 3: AMAD (lg2phone) - defined with host 192.168.2.126 on port 8090 and AccessPoint-SSID WLAN-409441
2016.04.12 14:32:48.974 3: AMAD (irlu7) - defined with host 192.168.2.119 on port 8090 and AccessPoint-SSID WLAN-409441
2016.04.12 14:32:48.974 3: AMAD (huaweig8) - defined with host 192.168.2.103 on port 8090 and AccessPoint-SSID WLAN-409441
2016.04.12 14:32:49.463 3: AMAD (irlu9) - defined with host 192.168.2.129 on port 8090 and AccessPoint-SSID WLAN-409441
2016.04.12 14:32:51.240 1: usb create starting
2016.04.12 14:32:51.407 1: usb create end
2016.04.12 14:32:51.733 3: CUL_HM set Wohnzimmer.Aktor_Switch on
2016.04.12 14:32:52.221 3: NTFY return:  WhatsApp:HASH(0xaf32fcc)
2016.04.12 14:32:52.221 2: SecurityCheck:  WEBhook,WEBtablet has no associated allowed device with basicAuth. telnetPort has no associated allowed device with password/globalpassword.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2016.04.12 14:32:52.221 0: Featurelevel: 5.7
2016.04.12 14:32:52.221 0: Server started with 613 defined entities (fhem.pl:11221/2016-04-10 perl:5.020002 os:linux user:fhem pid:20888)

2016.04.12 14:32:52.930 0: SONOS0: Retries left (wait 30s): 9
2016.04.12 14:32:53.100 3: HttpUtils url=http://192.168.2.109/goform/AppCommand.xml
2016.04.12 14:32:53.116 3: http://192.168.2.109/goform/AppCommand.xml: HTTP response code 200
2016.04.12 14:32:53.116 3: HttpUtils http://192.168.2.109/goform/AppCommand.xml: Got data, length: 118
2016.04.12 14:32:53.600 3: CUL_HM set HR.Waschmaschine_Sw statusRequest
2016.04.12 14:32:53.947 4: WhatsApp: parse: Yowsup Cli client
==================
Type /help for available commands

[offline]:
2016.04.12 14:32:53.958 3: WhatsApp: sending /L
2016.04.12 14:32:53.958 3: WhatsApp: sending /presence available
2016.04.12 14:32:55.096 1: HMLAN_Parse: HMLAN1 new condition ok
2016.04.12 14:32:55.219 3: CUL_HM set Schalter_Dach statusRequest
2016.04.12 14:32:55.234 3: notify_gds_readalerts return value: Keine Warnmeldung für die gesuchte Region vorhanden.
2016.04.12 14:32:55.283 4: WhatsApp: parse: Auth: Logged in!

2016.04.12 14:32:57.404 3: Opening Sonos device localhost:4711
2016.04.12 14:32:57.405 3: Can't connect to localhost:4711: Verbindungsaufbau abgelehnt
2016.04.12 14:32:57.437 3: CUL_HM set rauchmelder_flur statusRequest
2016.04.12 14:32:57.605 3: CUL_HM set Bad_Heizung_Clima desired-temp 18.0
2016.04.12 14:33:01.008 0: HourCounter CN.haustuerzaehler Run.598 first run done countsOverall:0
2016.04.12 14:33:02.599 3: Watchdog watchdogandrehandyAnwesend triggered
2016.04.12 14:33:02.600 2: ROOMMATE set rr_andre home
2016.04.12 14:33:03.987 5: AMAD (huaweig8) - Send statusRequest with URL: "http://192.168.2.103:8090/fhem-amad/deviceInfo/" and Header: "fhemIP: 192.168.2.108
fhemDevice: huaweig8
activeTask: none
apSSID: WLAN-409441"
2016.04.12 14:33:06.203 5: AMAD (huaweig8) - Processing data: androidVersion@@5.1 Lollipop MR1@@@@
2016.04.12 14:33:06.231 5: AMAD (huaweig8) - Processing data: screenBrightness@@190@@@@
2016.04.12 14:33:06.232 5: AMAD (huaweig8) - Processing data: volumeNotification@@0@@@@
2016.04.12 14:33:06.236 5: AMAD (huaweig8) - Processing data: powerLevel@@94.0@@@@powerPlugged@@0@@@@
2016.04.12 14:33:06.412 5: AMAD (huaweig8) - Processing data: nextAlarmTime@@null@@@@nextAlarmDay@@null@@@@
2016.04.12 14:33:06.414 5: AMAD (huaweig8) - Processing data: nextAlarmTime@@null@@@@nextAlarmDay@@null@@@@
2016.04.12 14:33:06.449 5: AMAD (huaweig8) - Processing data: bluetooth@@on@@@@
2016.04.12 14:33:06.452 5: AMAD (huaweig8) - Processing data: dockingState@@undocked@@@@
2016.04.12 14:33:06.454 5: AMAD (huaweig8) - Processing data: keyguardSet@@1@@@@
2016.04.12 14:33:06.461 5: AMAD (huaweig8) - Processing data: currentMusicTrack@@no soundplayer activ@@@@currentMusicAlbum@@no soundplayer activ@@@@currentMusicArtist@@no soundplayer activ@@@@
2016.04.12 14:33:06.462 5: AMAD (huaweig8) - Processing data: connectedBTdevices@@null@@@@connectedBTdevicesMAC@@null@@@@
2016.04.12 14:33:06.464 5: AMAD (huaweig8) - Processing data: automagicState@@Automagic Premium
2016.04.12 14:33:06.473 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/74_AMAD.pm line 144.
2016.04.12 14:33:07.484 5: AMAD (huaweig8) - Processing data: volume@@15@@@@
2016.04.12 14:33:07.488 5: AMAD (huaweig8) - Processing data: volume@@15@@@@
2016.04.12 14:33:07.522 5: AMAD (huaweig8) - Processing data: screenOrientation@@portrait@@@@screenOrientationMode@@auto@@@@
2016.04.12 14:33:07.561 5: AMAD (huaweig8) - Processing data: screen@@on unlocked@@@@
2016.04.12 14:33:22.942 0: SONOS0: Can't bind Port 4711: Bind failed: Die Adresse wird bereits verwendet at ./FHEM/00_SONOS.pm line 8364.

2016.04.12 14:33:22.942 0: SONOS0: Retries left (wait 30s): 8
2016.04.12 14:33:32.677 2: ROOMMATE set rr_corsanut home
2016.04.12 14:33:35.073 5: AMAD (huaweig8) - statusRequestERROR: connect to your device is timed out. check network
2016.04.12 14:33:35.085 5: AMAD (huaweig8) - statusRequestERROR: AMAD_statusRequestErrorHandling: error while requesting AutomagicInfo: read from to http://192.168.2.103:8090 timed out
2016.04.12 14:33:36.413 1: PERL WARNING: Use of uninitialized value $device in hash element at ./FHEM/74_AMAD.pm line 1057.
2016.04.12 14:33:42.584 3: [mytwilight] 1 attempt(s) needed to get valid weather data from yahoo
2016.04.12 14:33:44.695 4: WhatsApp: parse: Iq:
2016.04.12 14:36:17.794 2: tablet_irlu9_screen: set irlu9 screen unlock: Please set "setScreenlockPIN" Attribut first
2016.04.12 14:40:28.898 3: SONOS0: Connection accepted from localhost:42968
2016.04.12 14:40:40.993 5: AMAD (huaweig8) - set huaweig8 screen on
2016.04.12 14:40:41.015 4: AMAD (huaweig8) - Send HTTP POST with URL http://192.168.2.103:8090/fhem-amad/setCommands/setScreenOnOff?screen=on&screenontime=60
2016.04.12 14:40:41.171 5: AMAD (huaweig8) - setCommandERROR: 192.168.2.103: Verbindungsaufbau abgelehnt
2016.04.12 14:40:41.182 5: AMAD (huaweig8) - setCommandERROR: error while POST Command: 192.168.2.103: Verbindungsaufbau abgelehnt
2016.04.12 14:41:16.938 2: tablet_irlu9_screen: set irlu9 screen unlock: Please set "setScreenlockPIN" Attribut first
2016.04.12 14:42:21.438 5: AMAD (huaweig8) - set huaweig8 screen on
2016.04.12 14:42:21.451 4: AMAD (huaweig8) - Send HTTP POST with URL http://192.168.2.103:8090/fhem-amad/setCommands/setScreenOnOff?screen=on&screenontime=60
2016.04.12 14:42:28.938 3: SONOS0: Connection accepted from localhost:43058
2016-04-12_14:42:50 ActionDetector status_fensterkontakt_keller: unknown
2016-04-12_14:42:50 ActionDetector status_stromsensor.haus: alive
2016.04.12 14:44:01.814 5: AMAD (huaweig8) - set huaweig8 screen off
2016.04.12 14:44:01.829 4: AMAD (huaweig8) - Send HTTP POST with URL http://192.168.2.103:8090/fhem-amad/setCommands/setScreenOnOff?screen=off&screenontime=60
2016.04.12 14:44:27.834 5: AMAD (huaweig8) - set huaweig8 screen on
2016.04.12 14:44:27.855 4: AMAD (huaweig8) - Send HTTP POST with URL http://192.168.2.103:8090/fhem-amad/setCommands/setScreenOnOff?screen=on&screenontime=60
2016.04.12 14:44:40.109 5: AMAD (huaweig8) - set huaweig8 vibrate
2016.04.12 14:44:40.124 4: AMAD (huaweig8) - Send HTTP POST with URL http://192.168.2.103:8090/fhem-amad/setCommands/setvibrate
2016.04.12 14:44:46.370 3: CUL_HM set wz_virtual_sensor virtTemp 21.6
2016.04.12 14:44:48.948 3: CUL_HM set bad_virtual_Sensor1 virtTemp 19.2
2016.04.12 14:44:58.997 3: SONOS0: Connection accepted from localhost:43110
2016.04.12 14:45:48.179 2: tablet_irlu9_screen: set irlu9 screen unlock: Please set "setScreenlockPIN" Attribut first
2016.04.12 14:48:18.675 5: AMAD (huaweig8) - set huaweig8 openApp com.android.chrome
2016.04.12 14:48:18.689 4: AMAD (huaweig8) - Send HTTP POST with URL http://192.168.2.103:8090/fhem-amad/setCommands/openApp?app=com.android.chrome
2016.04.12 14:48:26.412 5: AMAD (huaweig8) - set huaweig8 vibrate
2016.04.12 14:48:26.429 4: AMAD (huaweig8) - Send HTTP POST with URL http://192.168.2.103:8090/fhem-amad/setCommands/setvibrate
2016.04.12 14:48:29.098 3: SONOS0: Connection accepted from localhost:43192
2016.04.12 14:48:34.408 5: AMAD (huaweig8) - set huaweig8 screen on
2016.04.12 14:48:34.419 4: AMAD (huaweig8) - Send HTTP POST with URL http://192.168.2.103:8090/fhem-amad/setCommands/setScreenOnOff?screen=on&screenontime=60
2016.04.12 14:48:46.980 5: AMAD (huaweig8) - set huaweig8 deviceState online

Wobei ich den WLAN AccessPoint mal gewechselt habe um dort vieleicht Fehler auszuschließen
(kann man im log sehen)und anschleißend neugestartet habe was aber keine Änderung brachte

2016.04.12 17:57:20.944 1: PERL WARNING: Subroutine AMAD_Initialize redefined at ./FHEM/74_AMAD.pm line 46.
2016.04.12 17:57:20.946 1: PERL WARNING: Subroutine AMAD_Define redefined at ./FHEM/74_AMAD.pm line 77.
2016.04.12 17:57:20.947 1: PERL WARNING: Subroutine AMAD_Undef redefined at ./FHEM/74_AMAD.pm line 134.
2016.04.12 17:57:20.948 1: PERL WARNING: Subroutine AMAD_Attr redefined at ./FHEM/74_AMAD.pm line 160.
2016.04.12 17:57:20.949 1: PERL WARNING: Subroutine AMAD_GetUpdate redefined at ./FHEM/74_AMAD.pm line 238.
2016.04.12 17:57:20.950 1: PERL WARNING: Subroutine AMAD_statusRequest redefined at ./FHEM/74_AMAD.pm line 261.
2016.04.12 17:57:20.952 1: PERL WARNING: Subroutine AMAD_statusRequestErrorHandling redefined at ./FHEM/74_AMAD.pm line 292.
2016.04.12 17:57:20.953 1: PERL WARNING: Subroutine AMAD_ResponseProcessing redefined at ./FHEM/74_AMAD.pm line 431.
2016.04.12 17:57:20.955 1: PERL WARNING: Subroutine AMAD_Set redefined at ./FHEM/74_AMAD.pm line 481.
2016.04.12 17:57:20.959 1: PERL WARNING: Subroutine AMAD_SelectSetCmd redefined at ./FHEM/74_AMAD.pm line 581.
2016.04.12 17:57:20.960 1: PERL WARNING: Subroutine AMAD_HTTP_POST redefined at ./FHEM/74_AMAD.pm line 847.
2016.04.12 17:57:20.962 1: PERL WARNING: Subroutine AMAD_HTTP_POSTerrorHandling redefined at ./FHEM/74_AMAD.pm line 873.
2016.04.12 17:57:20.962 1: PERL WARNING: Subroutine AMAD_CommBridge_Open redefined at ./FHEM/74_AMAD.pm line 1000.
2016.04.12 17:57:20.965 1: PERL WARNING: Subroutine AMAD_CommBridge_Read redefined at ./FHEM/74_AMAD.pm line 1021.
2016.04.12 17:57:20.965 1: PERL WARNING: Subroutine AMAD_Header2Hash redefined at ./FHEM/74_AMAD.pm line 1190.
2016.04.12 17:57:20.965 1: PERL WARNING: Subroutine AMAD_encrypt redefined at ./FHEM/74_AMAD.pm line 1206.
2016.04.12 17:57:20.966 1: PERL WARNING: Subroutine AMAD_decrypt redefined at ./FHEM/74_AMAD.pm line 1223.


Andre

CoolTux

Installiere mal bitte den Flowset 2.0.2 von Hand auf das Gerät. Der hatte noch ein Problem weswegen es zu Timeouts kam.
Ansonsten sieht es gut aus.
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