Loewe Assist App - SOAP Interface

alternone

C0N4N privat

#26 

Beitrag von alternone »

Hi C0N4N,
leider sind bei dir PNs deaktiviert. Daher die Liste der IR Codes hier im Forum:
PS: Codes sind gültig für Connect ID SL155. Bei neueren Geräten scheint es Differenzen zu geben.

1
2
3
4
5
6
7
8
9
0
epg 78
pip 88
text 60
timer 91
radio 73
tv 22
media 49
info 79
menu 11
speaker 64
zoom 90
red 27
green 26
yellow 43
blue 40
ok 38 press release
up 32
down 33
left 17
right 18
+V 21
-v 20
mute 13
end 63
forward 52
bward 50
rec 55
pause 41
play 53
stop 54

Samy1981

#27 

Beitrag von Samy1981 »

Hallo zusammen,

ich grabe das hier mal aus.
Ich brauche für die Heim-Automatisierung eine Möglichkeit meinen Sharp TV über Skript zu steuern...und bin auf dieses Thema gestoßen.
Was ich im Netzwerk von einer Sharp Remote App abgefangen habe sieht genau so aus wie hier.

Meine Frage wäre nun, wie kann ich diese Soap Aktionen auf einfachem wege an meinen TV senden?

@thica: Bist du mit deinem Sharp weitergekommen?

Benutzeravatar
macpro
Mitglied
Beiträge: 92
Registriert: Sa 16. Apr 2011, 16:31
Wohnort: Grüßen aus die Niederlande!
Hat sich bedankt: Danksagungen
Danksagung erhalten: Danksagungen

#28 

Beitrag von macpro »

Zum testen kan das zum beispiel mit SOAP-UI.

C0N4N

Re: Loewe Assist App - SOAP Interface

#29 

Beitrag von C0N4N »

Wie kann man diese Befehle abfangen?

Samy1981

#30 

Beitrag von Samy1981 »

Ich hab das mit der Androip App namens tPacketCapture gemacht. Diese erstellt dann eine .pcap Datei welche sich mit einem Texteditor öffnen lässt.

Was ich bisher nicht geschafft habe ist, diese Befehle erfolgreich zu senden....da fehlt mir das Wissen dazu.....

C0N4N

Re: Loewe Assist App - SOAP Interface

#31 

Beitrag von C0N4N »

Die App zur Steuerung, und die App zum abfangen müssen auf dem gleichen Gerät drauf sein, richtig?

Samy1981

#32 

Beitrag von Samy1981 »

Hallo Con4n

jep glaub diese App muss auf dem gleichen Gerät wie der Sender sein.

Kann dir leide keine PN schicken.
Was genau meinst du mit Chassis?
Ich habe da garnichts verwendet. Nur in der App auf Capture drücken, zur Remote-App wechseln und einen Befehl senden. Danach das Capture beenden und die .pcap-Datei auf den Rechner gezogen zum analysieren.

C0N4N

Re: Loewe Assist App - SOAP Interface

#33 

Beitrag von C0N4N »

Mit Chassis ist die Hardware-Version eines TVs gemeint.

Samy1981

#34 

Beitrag von Samy1981 »

Ich habe ein Sharp LC39-LE652E

alternone

#35 

Beitrag von alternone »

Hi vor dem Senden der Kommandos muss man den TV mit dem Handy pairen. Dafür gibt es einen eigenen Befehl. Danach erhällt man vom TV eine ClientID.

Samy1981

#36 

Beitrag von Samy1981 »

Also ich schaffe es nicht den TV anzusprechen. Auch mit dem SOAP UI klappt es nicht.

Gibt es dafür kein Skript das man einfach ausführen kann? Gibt doch bestimmt jemand der darin recht fit ist und sowas schon erstellt hat?

Mit dem Handy gepairt habe ich schon über die SmartRemoteApp, allerdings weiß ich nicht wie ich die ClientID dann in mein Befehl einbauen soll.....

Arcidodo

#37 

Beitrag von Arcidodo »

Hello, sorry for my bad english!

I try to control my Loewe art uhd using my domotica system. its working using curl. but my question is is there a soap request to get the status of the tv? so i know that the tv is on or off?

here the curl code to turn off the tv:

Code: Alles auswählen

curl -v -XPOST -H 'Accept: */*' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: nl-nl' -H 'Content-Type: application/soap+xml; charset=utf-8' -H 'Connection: keep-alive' -H 'SOAPAction: InjectRCKey' -H 'User-Agent: Assist Media/23 CFNetwork/808 Darwin/16.0.0' -d '<env:Envelope
        xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:ltv="urn:loewe.de:RemoteTV:Tablet">
        <env:Body>
            <ltv:InjectRCKey>
                <fcid>111</fcid>
                <ClientId>LRemoteClient-0-1470814689</ClientId>
                <InputEventSequence>
                    <RCKeyEvent
                        alphabet="l2700"
                        value="12"
                        mode="press"/>
                    </InputEventSequence>
                </ltv:InjectRCKey>
            </env:Body>
        </env:Envelope>' 'http://10.0.102.51:905/loewe_tablet_0001'

curl -v -XPOST -H 'Accept: */*' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: nl-nl' -H 'Content-Type: application/soap+xml; charset=utf-8' -H 'Connection: keep-alive' -H 'SOAPAction: InjectRCKey' -H 'User-Agent: Assist Media/23 CFNetwork/808 Darwin/16.0.0' -d '<env:Envelope
                xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
                xmlns:ltv="urn:loewe.de:RemoteTV:Tablet">
                <env:Body>
                    <ltv:InjectRCKey>
                        <fcid>111</fcid>
                        <ClientId>LRemoteClient-0-1470814689</ClientId>
                        <InputEventSequence>
                            <RCKeyEvent
                                alphabet="l2700"
                                value="12"
                                mode="release"/>
                            </InputEventSequence>
                        </ltv:InjectRCKey>
                    </env:Body>
                </env:Envelope>' 'http://10.0.102.51:905/loewe_tablet_0001'

Benutzeravatar
Rudi16
Profi
Beiträge: 1688
Registriert: Di 21. Feb 2012, 13:41
Wohnort: Ilmenau
Hat sich bedankt: Danksagungen
Danksagung erhalten: Danksagungen

#38 

Beitrag von Rudi16 »

I'd say that the network interfaces are shut down when the TV is powered off (and Quick Start Mode is inactive). So I'd be surprised if it would respond to any SOAP request in this state. For testing whether it's on or off, I'd simply try to ping it. If it doesn't reply to ping, send a few WakeOnLAN packets and wait if it comes up. However, I don't know if WoL has been implemented by now...
Loewe Connect 40 3D DR+ (8.52.0), UniCAM V2 (Sparta 5.52), Yamaha Aventage RX-A810 / BD-1010, Canton GLE490.2, GLE455.2 und GLE430.2, Nubert AW-441, Fritzbox 4060+4040, iPhone10, Xperia10-II

Arcidodo

#39 

Beitrag von Arcidodo »

i have Quick Start Mode active so soap respons to my commands if the tv is off.
on my iPhone its also working if the tv is off. (but says offline) (smart assist app)
on my Android device it says offline and can't control it. (smart assist app)
my curl command is also working when the tv is off.

so there must be a status response.

i'm now wiresharking whats happening between the android/ios device and my tv but by now i can't find anything

Arcidodo

#40 

Beitrag von Arcidodo »

never mind! if you sent "25" to the tv thats only power OFF so no ON:)

Code: Alles auswählen

curl -v -XPOST -H 'Accept: */*' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: nl-nl' -H 'Content-Type: application/soap+xml; charset=utf-8' -H 'Connection: keep-alive' -H 'SOAPAction: InjectRCKey' -H 'User-Agent: Assist Media/23 CFNetwork/808 Darwin/16.0.0' -d '<env:Envelope
        xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:ltv="urn:loewe.de:RemoteTV:Tablet">
        <env:Body>
            <ltv:InjectRCKey>
                <fcid>111</fcid>
                <ClientId>LRemoteClient-0-1470814689</ClientId>
                <InputEventSequence>
                    <RCKeyEvent
                        alphabet="l2700"
                        value="25"
                        mode="press"/>
                    </InputEventSequence>
                </ltv:InjectRCKey>
            </env:Body>
        </env:Envelope>' 'http://10.0.102.51:905/loewe_tablet_0001'

curl -v -XPOST -H 'Accept: */*' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: nl-nl' -H 'Content-Type: application/soap+xml; charset=utf-8' -H 'Connection: keep-alive' -H 'SOAPAction: InjectRCKey' -H 'User-Agent: Assist Media/23 CFNetwork/808 Darwin/16.0.0' -d '<env:Envelope
        xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:ltv="urn:loewe.de:RemoteTV:Tablet">
        <env:Body>
            <ltv:InjectRCKey>
                <fcid>111</fcid>
                <ClientId>LRemoteClient-0-1470814689</ClientId>
                <InputEventSequence>
                    <RCKeyEvent
                        alphabet="l2700"
                        value="25"
                        mode="release"/>
                    </InputEventSequence>
                </ltv:InjectRCKey>
            </env:Body>
        </env:Envelope>' 'http://10.0.102.51:905/loewe_tablet_0001'

neinus
Neues Mitglied
Beiträge: 1
Registriert: So 18. Feb 2018, 14:56

Loewe bild 5 OLED via HTTP ausschalten

#41 

Beitrag von neinus »

Hallo zusammen,

wie würde denn der HTTP-Befehl aussehen, mit welchem man einen Loewe bild 5 OLED schlicht und ergreifend auf Standby setzen kann? Für meinen Yamaha AV-Receiver gibt es hierfür einen einfachen Befehl, den ich z.B. über meinen Automatisierungsserver (Domovea) absetzen lasse, wenn ich das Haus verlasse.

Viele Grüße!

Antworten

Zurück zu „Dies und Das“