AMAD openApp öffnet App nicht

Begonnen von Fillip, 10 August 2019, 23:03:05

Vorheriges Thema - Nächstes Thema

Fillip

Hallo zusammen,
ich versuche mittels AMAD (v4.4.4) auf einem Huawai Tablet eine App für IP Kameras öffnen zu lassen. AMAD an sich läuft scohon einige Zeit länger.

Ich habe unter den atr das setOpenURL setOpenApp angegeben (com.rcreations.WebCamViewerPaid) und verucht mittels set openApp com.rcreations.WebCamViewerPaid zu starten, leider ohne Erfolg. Habe auch mal Android Apps wie bsp den Taschenrechner oder Kaleder zu öffnen, auch da passiert nichts am Tablet...

CoolTux

Wieso setOpenUrl? Du musst natürlich setOpenApp angeben.
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

Fillip

Ach das meinte ich doch, hatte mich da verschrieben, sorry. Ist unter setOpenApp geschrieben

CoolTux

Ich habe es eben noch mal probiert. Bei mir geht es. Wie ermittelst Du den Packagename?
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

Fillip

Ich habe es mit der "Package Name Viewer 2.0" aus dem Play Store herausgefunden

CoolTux

Dann sollte es doch gehen.
Alternativ einen flow anlegen mit Aktion App starten um zu testen.
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

hanswerner1

#6
Hallo,

ich habe seit ein paar Wochen das gleiche Problem. Auf dem Huawei T5 Tablett wir eine App die vorher funktioniert hat nicht mehr gestartet.

App: ch.publisheria.bring

automagic log:

13.10.2019 13:25:37.533 Trigger 'HTTP Request: /fhem-amad/setCommands/*'Parameter param_nanohttpd.query_string is not a valid variable name, discarding
13.10.2019 13:25:37.533 Trigger 'HTTP Request: /fhem-amad/setCommands/*' going to execute flows
13.10.2019 13:25:37.540 [SetCommands] Starting to execute flow 'SetCommands' with Context{global{global_activetask=de.ozerov.fully,global_fhemctlmode=none,global_apssid=Home TS SH,global_amadid=1564318240895,global_userflowstate=none,global_fhemdevice=Tablet_Kueche,global_fhemip=192.168.0.155,global_bridgeport=8090},local{method=POST,http_files={},remote_port=41612,flow_name=SetCommands,trigger=HTTP Request: /fhem-amad/setCommands/*,header_user_agent=fhem,http_params={app=ch.publisheria.bring, NanoHttpd.QUERY_STRING=},header_amadid=1564318240895,remote_host=192.168.0.155,param_app=ch.publisheria.bring,header_connection=close,http_headers={host=192.168.0.68:8090, amadid=1564318240895, connection=close, accept-encoding=gzip,deflate, us...,header_host=192.168.0.68:8090,request_path=/fhem-amad/setCommands/openApp,triggertime=1570965937533,header_accept_encoding=gzip,deflate}}
13.10.2019 13:25:37.540 [SetCommands] Start executing condition 'Expression: global_fhemip != null or global_bridgeport != null'
13.10.2019 13:25:37.558 [SetCommands] End executing condition 'Expression: global_fhemip != null or global_bridgeport != null' with return value true
13.10.2019 13:25:37.559 [SetCommands] Flow continues executing with the next step.
13.10.2019 13:25:37.559 [SetCommands] Start executing condition 'Host erreichbar: {global_fhemip}:{global_bridgeport}'
13.10.2019 13:25:37.561 [SetCommands] Condition 'Host erreichbar: {global_fhemip}:{global_bridgeport}' Executing socket check to host '192.168.0.155' and port '8090'
13.10.2019 13:25:37.565 [SetCommands] End executing condition 'Host erreichbar: {global_fhemip}:{global_bridgeport}' with return value true
13.10.2019 13:25:37.566 [SetCommands] Flow continues executing with the next step.
13.10.2019 13:25:37.566 [SetCommands] Start executing condition 'Flow Aktiv: Informations'
13.10.2019 13:25:37.567 [SetCommands] Start executing condition 'Flow Aktiv: Send Data to AMADCommBridge'
13.10.2019 13:25:37.569 [SetCommands] Start executing condition 'Expression: header_amadid == {global_amadid}'
13.10.2019 13:25:37.570 [SetCommands] End executing condition 'Flow Aktiv: Informations' with return value true
13.10.2019 13:25:37.571 [SetCommands] End executing condition 'Flow Aktiv: Send Data to AMADCommBridge' with return value true
13.10.2019 13:25:37.572 [SetCommands] End executing condition 'Expression: header_amadid == {global_amadid}' with return value true
13.10.2019 13:25:37.572 [SetCommands] Flow continues executing with the next step.
13.10.2019 13:25:37.573 [SetCommands] Start executing action 'Script: informationFlow_state = "aktiv"'
13.10.2019 13:25:37.575 [SetCommands] Start executing condition 'Expression: trigger == "Sprachbefehl angefordert"'
13.10.2019 13:25:37.577 [SetCommands] End executing action 'Script: informationFlow_state = "aktiv"'
13.10.2019 13:25:37.580 [SetCommands] End executing condition 'Expression: trigger == "Sprachbefehl angefordert"' with return value false
13.10.2019 13:25:37.581 [SetCommands] Flow continues executing with the next step.
13.10.2019 13:25:37.581 [SetCommands] Start executing action 'Script: flow_informations = "\"flow_informations\":" + " \"" + {informationFlow_state} + "\""; fhemcmd = "setreading";'
13.10.2019 13:25:37.582 [SetCommands] Start executing condition 'Expression: trigger == "HTTP Request: /fhem-amad/setCommands/*"'
13.10.2019 13:25:37.586 [SetCommands] End executing action 'Script: flow_informations = "\"flow_informations\":" + " \"" + {informationFlow_state} + "\""; fhemcmd = "setreading";'
13.10.2019 13:25:37.587 [SetCommands] End executing condition 'Expression: trigger == "HTTP Request: /fhem-amad/setCommands/*"' with return value true
13.10.2019 13:25:37.587 [SetCommands] Flow continues executing with the next step.
13.10.2019 13:25:37.587 [SetCommands] Start executing action 'Flows ausführen: Send Data to AMADCommBridge'
13.10.2019 13:25:37.588 [SetCommands] Start executing condition 'Expression: System Command"'
13.10.2019 13:25:37.589 [SetCommands] Start executing condition 'Expression: openApp"'
13.10.2019 13:25:37.592 [SetCommands] Start executing condition 'Expression: setVolume"'
13.10.2019 13:25:37.594 [SetCommands] Start executing condition 'Expression: setScreenOnOff"'
13.10.2019 13:25:37.595 [SetCommands] Start executing condition 'Expression: ttsMsg"'
13.10.2019 13:25:37.596 [SetCommands] Start executing condition 'Expression: setBrightness"'
13.10.2019 13:25:37.597 [SetCommands] Start executing condition 'Expression: setAlarm"'
13.10.2019 13:25:37.599 [SetCommands] Start executing condition 'Expression: screenMsg"'
13.10.2019 13:25:37.600 [SetCommands] Start executing condition 'Expression: openURL"'
13.10.2019 13:25:37.603 [SetCommands] Start executing condition 'Expression: setScreenFullscreen"'
13.10.2019 13:25:37.607 [SetCommands] Start executing condition 'Expression: setScreenOrientation"'
13.10.2019 13:25:37.608 [SetCommands] Start executing condition 'Expression: setBluetooth"'
13.10.2019 13:25:37.609 [SetCommands] Start executing condition 'Expression: notifysnd"'
13.10.2019 13:25:37.611 [SetCommands] Start executing condition 'Expression: setBTDevice"'
13.10.2019 13:25:37.612 [SetCommands] Start executing condition 'Expression: Clear Automagic Meldungen"'
13.10.2019 13:25:37.613 [SetCommands] Start executing condition 'Expression: setVoiceCommand"'
13.10.2019 13:25:37.615 [SetCommands] Start executing condition 'Expression: setNotifiVolume"'
13.10.2019 13:25:37.616 [SetCommands] Start executing condition 'Expression: setScreenlock"'
13.10.2019 13:25:37.617 [SetCommands] Start executing condition 'Expression: setVibrate"'
13.10.2019 13:25:37.618 [SetCommands] Start executing condition 'Expression: sendIntent"'
13.10.2019 13:25:37.619 [SetCommands] Start executing condition 'Expression: setTimer"'
13.10.2019 13:25:37.620 [SetCommands] Start executing condition 'Expression: installFlow"'
13.10.2019 13:25:37.621 [SetCommands] Start executing condition 'Expression: openCall"'
13.10.2019 13:25:37.623 [SetCommands] Start executing condition 'Expression: do not Disturb"'
13.10.2019 13:25:37.624 [SetCommands] Start executing condition 'Expression: multimediaControl"'
13.10.2019 13:25:37.626 [SetCommands] Start executing condition 'Expression: flowState"'
13.10.2019 13:25:37.627 [SetCommands] Start executing condition 'Expression: sendSms"'
13.10.2019 13:25:37.628 [SetCommands] Start executing condition 'Expression: closeCall"'
13.10.2019 13:25:37.629 [SetCommands] Start executing condition 'Expression: startDaydream"'
13.10.2019 13:25:37.630 [SetCommands] Start executing condition 'Expression: setRingSoundVolume"'
13.10.2019 13:25:37.631 [SetCommands] Start executing condition 'Expression: nfc"'
13.10.2019 13:25:37.632 [SetCommands] Start executing condition 'Expression: showhomescreen"'
13.10.2019 13:25:37.633 [SetCommands] Start executing condition 'Expression: flowRun"'
13.10.2019 13:25:37.635 [SetCommands] Start executing condition 'Expression: takepicture'
13.10.2019 13:25:37.636 [SetCommands] Start executing condition 'Expression: currentFlowsetUpdate"'
13.10.2019 13:25:37.637 [SetCommands] Start executing condition 'Expression: takescreenshot'
13.10.2019 13:25:37.638 [SetCommands] Start executing condition 'Expression: request_path == "/fhem-amad/setCommands/setBrightnessMode"'
13.10.2019 13:25:37.639 [SetCommands] End executing action 'Flows ausführen: Send Data to AMADCommBridge'
13.10.2019 13:25:37.640 [SetCommands] End executing condition 'Expression: System Command"' with return value false
13.10.2019 13:25:37.640 [SetCommands] End executing condition 'Expression: openApp"' with return value true
13.10.2019 13:25:37.640 [SetCommands] End executing condition 'Expression: setVolume"' with return value false
13.10.2019 13:25:37.640 [SetCommands] End executing condition 'Expression: setScreenOnOff"' with return value false
13.10.2019 13:25:37.641 [SetCommands] End executing condition 'Expression: ttsMsg"' with return value false
13.10.2019 13:25:37.641 [SetCommands] End executing condition 'Expression: setBrightness"' with return value false
13.10.2019 13:25:37.641 [SetCommands] End executing condition 'Expression: setAlarm"' with return value false
13.10.2019 13:25:37.641 [SetCommands] End executing condition 'Expression: screenMsg"' with return value false
13.10.2019 13:25:37.641 [SetCommands] End executing condition 'Expression: openURL"' with return value false
13.10.2019 13:25:37.641 [SetCommands] End executing condition 'Expression: setScreenOrientation"' with return value false
13.10.2019 13:25:37.642 [SetCommands] End executing condition 'Expression: setBluetooth"' with return value false
13.10.2019 13:25:37.642 [SetCommands] End executing condition 'Expression: setScreenFullscreen"' with return value false
13.10.2019 13:25:37.642 [SetCommands] End executing condition 'Expression: notifysnd"' with return value false
13.10.2019 13:25:37.642 [SetCommands] End executing condition 'Expression: setBTDevice"' with return value false
13.10.2019 13:25:37.642 [SetCommands] End executing condition 'Expression: Clear Automagic Meldungen"' with return value false
13.10.2019 13:25:37.642 [SetCommands] End executing condition 'Expression: setVoiceCommand"' with return value false
13.10.2019 13:25:37.643 [SetCommands] End executing condition 'Expression: setNotifiVolume"' with return value false
13.10.2019 13:25:37.643 [SetCommands] End executing condition 'Expression: setScreenlock"' with return value false
13.10.2019 13:25:37.643 [SetCommands] End executing condition 'Expression: setVibrate"' with return value false
13.10.2019 13:25:37.643 [SetCommands] End executing condition 'Expression: sendIntent"' with return value false
13.10.2019 13:25:37.647 [Send Data to AMADCommBridge] Starting to execute flow 'Send Data to AMADCommBridge' with Context{global{global_activetask=de.ozerov.fully,global_fhemctlmode=none,global_apssid=Home TS SH,global_amadid=1564318240895,global_userflowstate=none,global_fhemdevice=Tablet_Kueche,global_fhemip=192.168.0.155,global_bridgeport=8090},local{method=POST,http_files={},fhemcmd=setreading,remote_port=41612,flow_name=Send Data to AMADCommBridge,trigger=HTTP Request: /fhem-amad/setCommands/*,header_user_agent=fhem,http_params={app=ch.publisheria.bring, NanoHttpd.QUERY_STRING=},header_amadid=1564318240895,remote_host=192.168.0.155,flow_informations="flow_informations": "aktiv",flow_count=1,param_app=ch.publisheria.bring,header_connection=close,http_headers={host=192.168.0.68:8090, amadid=1564318240895, connection=close, accept-encoding=gzip,deflate, us...,header_host=192.168.0.68:8090,informationFlow_state=aktiv,request_path=/fhem-amad/setCommands/openApp,triggertime=1570965937533,header_accept_encoding=gzip,deflate}}
13.10.2019 13:25:37.648 [Send Data to AMADCommBridge] Start executing condition 'Host erreichbar: {global_fhemip}:{global_bridgeport}'
13.10.2019 13:25:37.649 [SetCommands] End executing condition 'Expression: setTimer"' with return value false
13.10.2019 13:25:37.649 [SetCommands] End executing condition 'Expression: installFlow"' with return value false
13.10.2019 13:25:37.649 [Send Data to AMADCommBridge] Condition 'Host erreichbar: {global_fhemip}:{global_bridgeport}' Executing socket check to host '192.168.0.155' and port '8090'
13.10.2019 13:25:37.649 [SetCommands] End executing condition 'Expression: do not Disturb"' with return value false
13.10.2019 13:25:37.649 [SetCommands] End executing condition 'Expression: openCall"' with return value false
13.10.2019 13:25:37.649 [SetCommands] End executing condition 'Expression: flowState"' with return value false
13.10.2019 13:25:37.650 [SetCommands] End executing condition 'Expression: multimediaControl"' with return value false
13.10.2019 13:25:37.650 [SetCommands] End executing condition 'Expression: sendSms"' with return value false
13.10.2019 13:25:37.650 [SetCommands] End executing condition 'Expression: closeCall"' with return value false
13.10.2019 13:25:37.650 [SetCommands] End executing condition 'Expression: startDaydream"' with return value false
13.10.2019 13:25:37.651 [SetCommands] End executing condition 'Expression: nfc"' with return value false
13.10.2019 13:25:37.651 [SetCommands] End executing condition 'Expression: setRingSoundVolume"' with return value false
13.10.2019 13:25:37.652 [SetCommands] End executing condition 'Expression: showhomescreen"' with return value false
13.10.2019 13:25:37.653 [SetCommands] End executing condition 'Expression: takepicture' with return value false
13.10.2019 13:25:37.654 [Send Data to AMADCommBridge] End executing condition 'Host erreichbar: {global_fhemip}:{global_bridgeport}' with return value true
13.10.2019 13:25:37.654 [Send Data to AMADCommBridge] Flow continues executing with the next step.
13.10.2019 13:25:37.654 [Send Data to AMADCommBridge] Start executing condition 'Expression: fhemcmd == "setreading"'
13.10.2019 13:25:37.656 [Send Data to AMADCommBridge] Start executing condition 'Expression: fhemcmd == "set"'
13.10.2019 13:25:37.657 [Send Data to AMADCommBridge] Start executing condition 'Expression: fhemcmd == "readingsval"'
13.10.2019 13:25:37.660 [Send Data to AMADCommBridge] Start executing condition 'Expression: fhemcmd == "voiceinputvalue"'
13.10.2019 13:25:37.661 [Send Data to AMADCommBridge] Start executing condition 'Expression: amadcmd == "firstrun"'
13.10.2019 13:25:37.662 [Send Data to AMADCommBridge] Start executing condition 'Expression: trigger == "WLAN Verbunden: toGo"'
13.10.2019 13:25:37.664 [Send Data to AMADCommBridge] Start executing condition 'Expression: fhemcmd == "fhemfunc"'
13.10.2019 13:25:37.666 [SetCommands] End executing condition 'Expression: flowRun"' with return value false
13.10.2019 13:25:37.666 [SetCommands] End executing condition 'Expression: takescreenshot' with return value false
13.10.2019 13:25:37.666 [SetCommands] End executing condition 'Expression: currentFlowsetUpdate"' with return value false
13.10.2019 13:25:37.667 [SetCommands] End executing condition 'Expression: request_path == "/fhem-amad/setCommands/setBrightnessMode"' with return value false
13.10.2019 13:25:37.667 [Send Data to AMADCommBridge] End executing condition 'Expression: fhemcmd == "setreading"' with return value true
13.10.2019 13:25:37.667 [Send Data to AMADCommBridge] End executing condition 'Expression: fhemcmd == "set"' with return value false
13.10.2019 13:25:37.667 [Send Data to AMADCommBridge] End executing condition 'Expression: fhemcmd == "readingsval"' with return value false
13.10.2019 13:25:37.668 [SetCommands] Flow continues executing with the next step.
13.10.2019 13:25:37.668 [SetCommands] Start executing condition 'App Task läuft:  App (neuster)'
13.10.2019 13:25:37.669 [Send Data to AMADCommBridge] End executing condition 'Expression: amadcmd == "firstrun"' with return value false
13.10.2019 13:25:37.669 [Send Data to AMADCommBridge] End executing condition 'Expression: fhemcmd == "voiceinputvalue"' with return value false
13.10.2019 13:25:37.670 [Send Data to AMADCommBridge] End executing condition 'Expression: trigger == "WLAN Verbunden: toGo"' with return value false
13.10.2019 13:25:37.672 [Send Data to AMADCommBridge] End executing condition 'Expression: fhemcmd == "fhemfunc"' with return value false
13.10.2019 13:25:37.672 [Send Data to AMADCommBridge] Flow continues executing with the next step.
13.10.2019 13:25:37.672 [Send Data to AMADCommBridge] Start executing action 'Script: Set FHEMDATA JSON'
13.10.2019 13:25:37.675 [SetCommands] End executing condition 'App Task läuft:  App (neuster)' with return value false
13.10.2019 13:25:37.676 [SetCommands] Flow continues executing with the next step.
13.10.2019 13:25:37.676 [SetCommands] Start executing action 'App Starten: App'
13.10.2019 13:25:37.679 [SetCommands] Action 'App Starten: App' Class name is not set, trying to find main activity of package com.amazon.windowshop
13.10.2019 13:25:37.684 [SetCommands] Action 'App Starten: App' Could not get launch intent for package com.amazon.windowshop. Please define a class.
13.10.2019 13:25:37.684 [SetCommands] End executing action 'App Starten: App' and exception Could not get launch intent for package com.amazon.windowshop. Please define a class.
13.10.2019 13:25:37.685 [SetCommands] Flow ends execution due to errors
13.10.2019 13:25:37.685 [SetCommands] Error:
ch.gridvision.ppam.androidautomagiclib.util.m: Could not get launch intent for package com.amazon.windowshop. Please define a class.
at ch.gridvision.ppam.androidautomagic.model.a.cq$1.b(SourceFile:142)
at ch.gridvision.ppam.androidautomagiclib.util.ci$1$1.run(SourceFile:52)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:101)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7529)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)

13.10.2019 13:25:37.691 [SetCommands] Flow ended.
13.10.2019 13:25:37.701 [Send Data to AMADCommBridge] End executing action 'Script: Set FHEMDATA JSON'
13.10.2019 13:25:37.702 [Send Data to AMADCommBridge] Flow continues executing with the next step.
13.10.2019 13:25:37.702 [Send Data to AMADCommBridge] Start executing action 'HTTP Request: send READINGS data to AMADCommBridge JSON'
13.10.2019 13:25:37.704 [Send Data to AMADCommBridge] Action 'HTTP Request: send READINGS data to AMADCommBridge JSON' url = http://192.168.0.155:8090
13.10.2019 13:25:37.704 [Send Data to AMADCommBridge] Action 'HTTP Request: send READINGS data to AMADCommBridge JSON' contentType = application/json
13.10.2019 13:25:37.704 [Send Data to AMADCommBridge] Action 'HTTP Request: send READINGS data to AMADCommBridge JSON' generalTextData = {"amad": {"amad_id": "1564318240895","fhemcmd": "setreading"},"payload": { "flowsetVersionAtDevice": "4.4.2","flow_informations": "aktiv"}}
13.10.2019 13:25:37.704 [Send Data to AMADCommBridge] Action 'HTTP Request: send READINGS data to AMADCommBridge JSON' variable = respsetreading
13.10.2019 13:25:37.704 [Send Data to AMADCommBridge] Action 'HTTP Request: send READINGS data to AMADCommBridge JSON' customHTTPHeaders = Connection: close
13.10.2019 13:25:37.717 [Send Data to AMADCommBridge] Action 'HTTP Request: send READINGS data to AMADCommBridge JSON' URL data fetched successfully.
13.10.2019 13:25:37.718 [Send Data to AMADCommBridge] End executing action 'HTTP Request: send READINGS data to AMADCommBridge JSON'
13.10.2019 13:25:37.719 [Send Data to AMADCommBridge] Flow ended.
13.10.2019 13:25:39.726 Trigger 'HTTP Request: /fhem-amad/setCommands/*'Parameter param_nanohttpd.query_string is not a valid variable name, discarding
13.10.2019 13:25:39.727 Trigger 'HTTP Request: /fhem-amad/setCommands/*' going to execute flows
13.10.2019 13:25:39.738 [SetCommands] Starting to execute flow 'SetCommands' with Context{global{global_activetask=de.ozerov.fully,global_fhemctlmode=none,global_apssid=Home TS SH,global_amadid=1564318240895,global_userflowstate=none,global_fhemdevice=Tablet_Kueche,global_fhemip=192.168.0.155,global_bridgeport=8090},local{method=POST,http_files={},param_screen=on,remote_port=41632,flow_name=SetCommands,trigger=HTTP Request: /fhem-amad/setCommands/*,header_user_agent=fhem,http_params={screen=on, screenontime=60, NanoHttpd.QUERY_STRING=},header_amadid=1564318240895,remote_host=192.168.0.155,param_screenontime=60,header_connection=close,http_headers={host=192.168.0.68:8090, amadid=1564318240895, connection=close, accept-encoding=gzip,deflate, us...,header_host=192.168.0.68:8090,request_path=/fhem-amad/setCommands/setScreenOnOff,triggertime=1570965939726,header_accept_encoding=gzip,deflate}}
13.10.2019 13:25:39.739 [SetCommands] Start executing condition 'Expression: global_fhemip != null or global_bridgeport != null'
13.10.2019 13:25:39.742 [SetCommands] End executing condition 'Expression: global_fhemip != null or global_bridgeport != null' with return value true
13.10.2019 13:25:39.743 [SetCommands] Flow continues executing with the next step.
13.10.2019 13:25:39.744 [SetCommands] Start executing condition 'Host erreichbar: {global_fhemip}:{global_bridgeport}'
13.10.2019 13:25:39.747 [SetCommands] Condition 'Host erreichbar: {global_fhemip}:{global_bridgeport}' Executing socket check to host '192.168.0.155' and port '8090'
13.10.2019 13:25:39.754 [SetCommands] End executing condition 'Host erreichbar: {global_fhemip}:{global_bridgeport}' with return value true
13.10.2019 13:25:39.755 [SetCommands] Flow continues executing with the next step.
13.10.2019 13:25:39.756 [SetCommands] Start executing condition 'Flow Aktiv: Informations'
13.10.2019 13:25:39.757 [SetCommands] Start executing condition 'Flow Aktiv: Send Data to AMADCommBridge'
13.10.2019 13:25:39.759 [SetCommands] Start executing condition 'Expression: header_amadid == {global_amadid}'
13.10.2019 13:25:39.760 [SetCommands] End executing condition 'Flow Aktiv: Informations' with return value true
13.10.2019 13:25:39.761 [SetCommands] End executing condition 'Flow Aktiv: Send Data to AMADCommBridge' with return value true
13.10.2019 13:25:39.763 [SetCommands] End executing condition 'Expression: header_amadid == {global_amadid}' with return value true
13.10.2019 13:25:39.764 [SetCommands] Flow continues executing with the next step.
13.10.2019 13:25:39.765 [SetCommands] Start executing action 'Script: informationFlow_state = "aktiv"'
13.10.2019 13:25:39.766 [SetCommands] Start executing condition 'Expression: trigger == "Sprachbefehl angefordert"'
13.10.2019 13:25:39.769 [SetCommands] End executing action 'Script: informationFlow_state = "aktiv"'
13.10.2019 13:25:39.770 [SetCommands] End executing condition 'Expression: trigger == "Sprachbefehl angefordert"' with return value false
13.10.2019 13:25:39.771 [SetCommands] Flow continues executing with the next step.
13.10.2019 13:25:39.772 [SetCommands] Start executing action 'Script: flow_informations = "\"flow_informations\":" + " \"" + {informationFlow_state} + "\""; fhemcmd = "setreading";'
13.10.2019 13:25:39.774 [SetCommands] Start executing condition 'Expression: trigger == "HTTP Request: /fhem-amad/setCommands/*"'
13.10.2019 13:25:39.779 [SetCommands] End executing action 'Script: flow_informations = "\"flow_informations\":" + " \"" + {informationFlow_state} + "\""; fhemcmd = "setreading";'
13.10.2019 13:25:39.780 [SetCommands] End executing condition 'Expression: trigger == "HTTP Request: /fhem-amad/setCommands/*"' with return value true
13.10.2019 13:25:39.781 [SetCommands] Flow continues executing with the next step.
13.10.2019 13:25:39.781 [SetCommands] Start executing action 'Flows ausführen: Send Data to AMADCommBridge'
13.10.2019 13:25:39.782 [SetCommands] Start executing condition 'Expression: System Command"'
13.10.2019 13:25:39.784 [SetCommands] Start executing condition 'Expression: openApp"'
13.10.2019 13:25:39.788 [SetCommands] Start executing condition 'Expression: setVolume"'
13.10.2019 13:25:39.789 [SetCommands] Start executing condition 'Expression: setScreenOnOff"'
13.10.2019 13:25:39.791 [SetCommands] Start executing condition 'Expression: ttsMsg"'
13.10.2019 13:25:39.792 [SetCommands] Start executing condition 'Expression: setBrightness"'
13.10.2019 13:25:39.798 [SetCommands] Start executing condition 'Expression: setAlarm"'
13.10.2019 13:25:39.799 [SetCommands] Start executing condition 'Expression: screenMsg"'
13.10.2019 13:25:39.802 [SetCommands] Start executing condition 'Expression: openURL"'
13.10.2019 13:25:39.803 [SetCommands] Start executing condition 'Expression: setScreenFullscreen"'
13.10.2019 13:25:39.805 [SetCommands] Start executing condition 'Expression: setScreenOrientation"'
13.10.2019 13:25:39.806 [SetCommands] Start executing condition 'Expression: setBluetooth"'
13.10.2019 13:25:39.808 [SetCommands] Start executing condition 'Expression: notifysnd"'
13.10.2019 13:25:39.809 [SetCommands] Start executing condition 'Expression: setBTDevice"'
13.10.2019 13:25:39.811 [SetCommands] Start executing condition 'Expression: Clear Automagic Meldungen"'
13.10.2019 13:25:39.813 [SetCommands] Start executing condition 'Expression: setVoiceCommand"'
13.10.2019 13:25:39.815 [SetCommands] Start executing condition 'Expression: setNotifiVolume"'
13.10.2019 13:25:39.816 [SetCommands] Start executing condition 'Expression: setScreenlock"'
13.10.2019 13:25:39.817 [SetCommands] Start executing condition 'Expression: setVibrate"'
13.10.2019 13:25:39.819 [SetCommands] Start executing condition 'Expression: sendIntent"'
13.10.2019 13:25:39.824 [SetCommands] Start executing condition 'Expression: setTimer"'
13.10.2019 13:25:39.825 [SetCommands] Start executing condition 'Expression: installFlow"'
13.10.2019 13:25:39.828 [SetCommands] Start executing condition 'Expression: openCall"'
13.10.2019 13:25:39.830 [SetCommands] Start executing condition 'Expression: do not Disturb"'
13.10.2019 13:25:39.831 [SetCommands] Start executing condition 'Expression: multimediaControl"'
13.10.2019 13:25:39.833 [SetCommands] Start executing condition 'Expression: flowState"'
13.10.2019 13:25:39.837 [SetCommands] Start executing condition 'Expression: sendSms"'
13.10.2019 13:25:39.839 [SetCommands] Start executing condition 'Expression: closeCall"'
13.10.2019 13:25:39.840 [SetCommands] Start executing condition 'Expression: startDaydream"'
13.10.2019 13:25:39.841 [SetCommands] Start executing condition 'Expression: setRingSoundVolume"'
13.10.2019 13:25:39.846 [SetCommands] Start executing condition 'Expression: nfc"'
13.10.2019 13:25:39.848 [SetCommands] Start executing condition 'Expression: showhomescreen"'
13.10.2019 13:25:39.849 [SetCommands] Start executing condition 'Expression: flowRun"'
13.10.2019 13:25:39.850 [SetCommands] Start executing condition 'Expression: takepicture'
13.10.2019 13:25:39.857 [SetCommands] Start executing condition 'Expression: currentFlowsetUpdate"'
13.10.2019 13:25:39.859 [SetCommands] Start executing condition 'Expression: takescreenshot'
13.10.2019 13:25:39.860 [SetCommands] Start executing condition 'Expression: request_path == "/fhem-amad/setCommands/setBrightnessMode"'
13.10.2019 13:25:39.863 [SetCommands] End executing action 'Flows ausführen: Send Data to AMADCommBridge'
13.10.2019 13:25:39.863 [SetCommands] End executing condition 'Expression: System Command"' with return value false
13.10.2019 13:25:39.864 [SetCommands] End executing condition 'Expression: openApp"' with return value false
13.10.2019 13:25:39.864 [SetCommands] End executing condition 'Expression: setVolume"' with return value false
13.10.2019 13:25:39.864 [SetCommands] End executing condition 'Expression: setScreenOnOff"' with return value true
13.10.2019 13:25:39.864 [SetCommands] End executing condition 'Expression: ttsMsg"' with return value false
13.10.2019 13:25:39.864 [SetCommands] End executing condition 'Expression: setAlarm"' with return value false
13.10.2019 13:25:39.864 [SetCommands] End executing condition 'Expression: setBrightness"' with return value false
13.10.2019 13:25:39.864 [SetCommands] End executing condition 'Expression: screenMsg"' with return value false
13.10.2019 13:25:39.864 [SetCommands] End executing condition 'Expression: openURL"' with return value false
13.10.2019 13:25:39.865 [SetCommands] End executing condition 'Expression: setScreenFullscreen"' with return value false
13.10.2019 13:25:39.865 [SetCommands] End executing condition 'Expression: setScreenOrientation"' with return value false
13.10.2019 13:25:39.865 [SetCommands] End executing condition 'Expression: setBluetooth"' with return value false
13.10.2019 13:25:39.865 [SetCommands] End executing condition 'Expression: notifysnd"' with return value false
13.10.2019 13:25:39.865 [SetCommands] End executing condition 'Expression: setBTDevice"' with return value false
13.10.2019 13:25:39.865 [SetCommands] End executing condition 'Expression: Clear Automagic Meldungen"' with return value false
13.10.2019 13:25:39.866 [SetCommands] End executing condition 'Expression: setVoiceCommand"' with return value false
13.10.2019 13:25:39.866 [SetCommands] End executing condition 'Expression: setScreenlock"' with return value false
13.10.2019 13:25:39.866 [SetCommands] End executing condition 'Expression: setNotifiVolume"' with return value false
13.10.2019 13:25:39.866 [SetCommands] End executing condition 'Expression: setVibrate"' with return value false
13.10.2019 13:25:39.866 [SetCommands] End executing condition 'Expression: sendIntent"' with return value false
13.10.2019 13:25:39.866 [SetCommands] End executing condition 'Expression: setTimer"' with return value false
13.10.2019 13:25:39.866 [SetCommands] End executing condition 'Expression: installFlow"' with return value false
13.10.2019 13:25:39.867 [SetCommands] End executing condition 'Expression: openCall"' with return value false
13.10.2019 13:25:39.867 [SetCommands] End executing condition 'Expression: multimediaControl"' with return value false
13.10.2019 13:25:39.867 [SetCommands] End executing condition 'Expression: do not Disturb"' with return value false
13.10.2019 13:25:39.867 [SetCommands] End executing condition 'Expression: flowState"' with return value false
13.10.2019 13:25:39.871 [Send Data to AMADCommBridge] Starting to execute flow 'Send Data to AMADCommBridge' with Context{global{global_activetask=de.ozerov.fully,global_fhemctlmode=none,global_apssid=Home TS SH,global_amadid=1564318240895,global_userflowstate=none,global_fhemdevice=Tablet_Kueche,global_fhemip=192.168.0.155,global_bridgeport=8090},local{method=POST,http_files={},fhemcmd=setreading,param_screen=on,remote_port=41632,flow_name=Send Data to AMADCommBridge,trigger=HTTP Request: /fhem-amad/setCommands/*,header_user_agent=fhem,http_params={screen=on, screenontime=60, NanoHttpd.QUERY_STRING=},header_amadid=1564318240895,remote_host=192.168.0.155,param_screenontime=60,flow_informations="flow_informations": "aktiv",flow_count=1,header_connection=close,http_headers={host=192.168.0.68:8090, amadid=1564318240895, connection=close, accept-encoding=gzip,deflate, us...,header_host=192.168.0.68:8090,informationFlow_state=aktiv,request_path=/fhem-amad/setCommands/setScreenOnOff,triggertime=1570965939726,header_accept_encoding=gzip,deflate}}
13.10.2019 13:25:39.872 [Send Data to AMADCommBridge] Start executing condition 'Host erreichbar: {global_fhemip}:{global_bridgeport}'
13.10.2019 13:25:39.873 [SetCommands] End executing condition 'Expression: sendSms"' with return value false
13.10.2019 13:25:39.874 [SetCommands] End executing condition 'Expression: startDaydream"' with return value false
13.10.2019 13:25:39.874 [SetCommands] End executing condition 'Expression: closeCall"' with return value false
13.10.2019 13:25:39.874 [SetCommands] End executing condition 'Expression: setRingSoundVolume"' with return value false
13.10.2019 13:25:39.875 [Send Data to AMADCommBridge] Condition 'Host erreichbar: {global_fhemip}:{global_bridgeport}' Executing socket check to host '192.168.0.155' and port '8090'
13.10.2019 13:25:39.876 [SetCommands] End executing condition 'Expression: nfc"' with return value false
13.10.2019 13:25:39.878 [SetCommands] End executing condition 'Expression: showhomescreen"' with return value false
13.10.2019 13:25:39.879 [SetCommands] End executing condition 'Expression: flowRun"' with return value false
13.10.2019 13:25:39.880 [Send Data to AMADCommBridge] End executing condition 'Host erreichbar: {global_fhemip}:{global_bridgeport}' with return value true
13.10.2019 13:25:39.880 [Send Data to AMADCommBridge] Flow continues executing with the next step.
13.10.2019 13:25:39.880 [Send Data to AMADCommBridge] Start executing condition 'Expression: fhemcmd == "setreading"'
13.10.2019 13:25:39.881 [Send Data to AMADCommBridge] Start executing condition 'Expression: fhemcmd == "set"'
13.10.2019 13:25:39.885 [Send Data to AMADCommBridge] Start executing condition 'Expression: fhemcmd == "readingsval"'
13.10.2019 13:25:39.886 [Send Data to AMADCommBridge] Start executing condition 'Expression: fhemcmd == "voiceinputvalue"'
13.10.2019 13:25:39.888 [Send Data to AMADCommBridge] Start executing condition 'Expression: amadcmd == "firstrun"'
13.10.2019 13:25:39.890 [Send Data to AMADCommBridge] Start executing condition 'Expression: trigger == "WLAN Verbunden: toGo"'
13.10.2019 13:25:39.892 [Send Data to AMADCommBridge] Start executing condition 'Expression: fhemcmd == "fhemfunc"'
13.10.2019 13:25:39.893 [SetCommands] End executing condition 'Expression: takepicture' with return value false
13.10.2019 13:25:39.894 [SetCommands] End executing condition 'Expression: currentFlowsetUpdate"' with return value false
13.10.2019 13:25:39.894 [SetCommands] End executing condition 'Expression: takescreenshot' with return value false
13.10.2019 13:25:39.894 [SetCommands] End executing condition 'Expression: request_path == "/fhem-amad/setCommands/setBrightnessMode"' with return value false
13.10.2019 13:25:39.895 [Send Data to AMADCommBridge] End executing condition 'Expression: fhemcmd == "setreading"' with return value true
13.10.2019 13:25:39.895 [SetCommands] Flow continues executing with the next step.
13.10.2019 13:25:39.895 [SetCommands] Start executing condition 'Expression: param_screen=="off"'
13.10.2019 13:25:39.901 [SetCommands] Start executing condition 'Expression: param_screen=="on"'
13.10.2019 13:25:39.903 [Send Data to AMADCommBridge] End executing condition 'Expression: fhemcmd == "readingsval"' with return value false
13.10.2019 13:25:39.903 [Send Data to AMADCommBridge] End executing condition 'Expression: fhemcmd == "set"' with return value false
13.10.2019 13:25:39.905 [Send Data to AMADCommBridge] End executing condition 'Expression: fhemcmd == "voiceinputvalue"' with return value false
13.10.2019 13:25:39.906 [Send Data to AMADCommBridge] End executing condition 'Expression: amadcmd == "firstrun"' with return value false
13.10.2019 13:25:39.907 [Send Data to AMADCommBridge] End executing condition 'Expression: trigger == "WLAN Verbunden: toGo"' with return value false
13.10.2019 13:25:39.908 [Send Data to AMADCommBridge] End executing condition 'Expression: fhemcmd == "fhemfunc"' with return value false
13.10.2019 13:25:39.909 [Send Data to AMADCommBridge] Flow continues executing with the next step.
13.10.2019 13:25:39.909 [Send Data to AMADCommBridge] Start executing action 'Script: Set FHEMDATA JSON'
13.10.2019 13:25:39.911 [SetCommands] End executing condition 'Expression: param_screen=="on"' with return value true
13.10.2019 13:25:39.912 [SetCommands] End executing condition 'Expression: param_screen=="off"' with return value false
13.10.2019 13:25:39.912 [SetCommands] Flow continues executing with the next step.
13.10.2019 13:25:39.912 [SetCommands] Start executing action 'Schalte Display ein: Hell für {param_screenontime}s'
13.10.2019 13:25:39.920 [SetCommands] Action 'Schalte Display ein: Hell für {param_screenontime}s' Turning screen on for 60s (1m)
13.10.2019 13:25:39.924 [SetCommands] End executing action 'Schalte Display ein: Hell für {param_screenontime}s'
13.10.2019 13:25:39.926 [SetCommands] Flow ended.
13.10.2019 13:25:39.935 [Send Data to AMADCommBridge] End executing action 'Script: Set FHEMDATA JSON'
13.10.2019 13:25:39.936 [Send Data to AMADCommBridge] Flow continues executing with the next step.
13.10.2019 13:25:39.936 [Send Data to AMADCommBridge] Start executing action 'HTTP Request: send READINGS data to AMADCommBridge JSON'
13.10.2019 13:25:39.938 [Send Data to AMADCommBridge] Action 'HTTP Request: send READINGS data to AMADCommBridge JSON' url = http://192.168.0.155:8090
13.10.2019 13:25:39.938 [Send Data to AMADCommBridge] Action 'HTTP Request: send READINGS data to AMADCommBridge JSON' contentType = application/json
13.10.2019 13:25:39.938 [Send Data to AMADCommBridge] Action 'HTTP Request: send READINGS data to AMADCommBridge JSON' generalTextData = {"amad": {"amad_id": "1564318240895","fhemcmd": "setreading"},"payload": { "flowsetVersionAtDevice": "4.4.2","flow_informations": "aktiv"}}
13.10.2019 13:25:39.938 [Send Data to AMADCommBridge] Action 'HTTP Request: send READINGS data to AMADCommBridge JSON' variable = respsetreading
13.10.2019 13:25:39.938 [Send Data to AMADCommBridge] Action 'HTTP Request: send READINGS data to AMADCommBridge JSON' customHTTPHeaders = Connection: close
13.10.2019 13:25:39.957 [Send Data to AMADCommBridge] Action 'HTTP Request: send READINGS data to AMADCommBridge JSON' URL data fetched successfully.
13.10.2019 13:25:39.958 [Send Data to AMADCommBridge] End executing action 'HTTP Request: send READINGS data to AMADCommBridge JSON'
13.10.2019 13:25:39.958 [Send Data to AMADCommBridge] Flow ended.


Das Einzige was sich, glaube ich, geändert hat ist ein EMUI  update auf 8.0.0.201. Das war auch vor ein paar Wochen.

CoolTux

Zitat13.10.2019 13:25:37.679 [SetCommands] Action 'App Starten: App' Class name is not set, trying to find main activity of package com.amazon.windowshop
13.10.2019 13:25:37.684 [SetCommands] Action 'App Starten: App' Could not get launch intent for package com.amazon.windowshop. Please define a class.
13.10.2019 13:25:37.684 [SetCommands] End executing action 'App Starten: App' and exception Could not get launch intent for package com.amazon.windowshop. Please define a class.

Es wird wohl eine Klassenangabe erwartet. Ich muss mir das erstmal in Ruhe anschauen.
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

knopf_piano

#8
mein verhalten ist identisch:
set openUrl geht mit fully nicht mehr...


https://forum.fhem.de/index.php/topic,99062.msg983415.html#msg983415

zotac nano mit proxmox und ganz viel zeug drauf

CoolTux

Ich habe heute den ersten Teil neuen Codes fertig gestellt damit man auch den Klassennamen mit geben kann, wird keiner mitgegeben wird der Default Klassennamen verwendet.
Ende der Woche sollte ich eine Version zum testen fertig haben.


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

CoolTux

Ab morgen früh wird es ein update geben wo man der App die Klassenbezeichnung mit geben 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

hanswerner1

Bei mir funktioniert mit dem neuen Update openApp wieder.

Vielen Dank für schnelle fixen, echt Top!

nitzerebb

#12
Ja ich weiß, altes Thema...
Leider habe ich aktuell genau das Problem, die Apps öffnen sich nicht, obwohl der Package Name definitiv richtig ist. (Bsp. com.alexvas.dvr und de.ozerov.fully)
Kann mir jemand helfen ?

Danke vorab

Nachtrag: Funktioniert jetzt, ich hatte noch diesen Fehler https://forum.fhem.de/index.php?topic=43063.0