Antwort schreiben 
 
Themabewertung:
  • 0 Bewertungen - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
CEC Logic
06.01.2015, 12:39
Beitrag #1
CEC Logic
hi i would like to use the status "<CEC><TV=ON></ CEC>" in BC to trigger my Yamaha amp but I do not know how to take advantage of the status in the logic file.

For example: when the TV starts, the amplifier start and turn on the "HDMI1" and Sonos zones are switched off and the TV channel is set to "HDMI1" as well as volume 20 of the amplifier.

someone who could give me a little explanation on how I could solve this?

AngelBlush
Webseite des Benutzers besuchen Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
06.01.2015, 15:22 (Dieser Beitrag wurde zuletzt bearbeitet: 06.01.2015 15:24 von meudenbach.)
Beitrag #2
RE: CEC Logic
Hello

please create an BC Event server.

./events/cec-bc.csv for example:

Code:
[CONFIG];
TRIGGERIP;INTERNAL
TRIGGERPORT;BROADCAST
TRIGGERMODE;ASCII
MATCHING;FULL

[TRIGGERS];
<CEC><TV=ON;<SRCIPT><RUN=CEC_ON.myh></SCRIPT>;;;

This Event Server calls the script CEC_ON.myh if CEC state TV=ON will be response.

Generate the CEC_ON.myh script with your additional actions.

regards[/quote]

Mike Eudenbach (XING Profile)
nomos system AG
System Design/Integration/Planung

m..myhome/nomos in Unna, m..myhome/nomos auf Facebook
Webseite des Benutzers besuchen Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
06.01.2015, 18:33
Beitrag #3
RE: CEC Logic
hi i have already tried this but it fails. I get the response from the CEC and the script can be run via the scripting client and works great.

i can trigger but the only "trigger" I've got to work is

Code:
[TRIGGERS];
<DEVICE>NAME=Unknown,192.168.2.231|EVENT=connected|;<KNX><SETVALUE=0/0/1,1></KNX>;
even if i run

Code:
[TRIGGERS];
<CEC><TV=ON;<KNX><SETVALUE=0/0/1,1></KNX>;
or

Code:
[TRIGGERS];
<DEVICE>NAME=Unknown,192.168.2.231|EVENT=connected|;<SRCIPT><RUN=CEC_TV_ON.myh></SCRIPT>;

it dosen't work...
Webseite des Benutzers besuchen Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
06.01.2015, 21:05
Beitrag #4
RE: CEC Logic
mhh...

can you post the log?

Mike Eudenbach (XING Profile)
nomos system AG
System Design/Integration/Planung

m..myhome/nomos in Unna, m..myhome/nomos auf Facebook
Webseite des Benutzers besuchen Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
06.01.2015, 21:27
Beitrag #5
RE: CEC Logic
Code:
20:24:33.215 - cec: device list changed: TV,HTR-4066
20:24:33.215 - cec: bus configuration:
20:24:33.216 - cec: device 'TV', LA: 0, PA: 0.0.0.0
20:24:33.216 - cec: device 'nomos', LA: 1, PA: 1.3.0.0
20:24:33.216 - cec: device 'HTR-4066', LA: 5, PA: 1.0.0.0
20:24:33.216 - bc: <CEC><TV=OFF></CEC>
20:24:33.569 - bc: <CEC><HTR-4066=OFF></CEC>
20:24:43.005 - cec: device list changed: TV,TUNER 1,HTR-4066
20:24:43.007 - cec: bus configuration:
20:24:43.009 - cec: device 'TV', LA: 0, PA: 0.0.0.0
20:24:43.011 - cec: device 'nomos', LA: 1, PA: 1.3.0.0
20:24:43.194 - cec: device 'Tuner 1', LA: 3, PA: 1.1.0.0
20:24:43.196 - cec: device 'HTR-4066', LA: 5, PA: 1.0.0.0
20:24:47.665 - bc: <KNX><1/1/12-wc styrstorhet=1></KNX>
20:24:57.943 - bc: <CEC><TV=ON></CEC>
20:25:00.137 - bc: <CEC><HTR-4066=ON></CEC>
--- Stop Logging ---

this one? nothing happens after "<CEC><TV=ON></CEC>"

Sad
Webseite des Benutzers besuchen Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
07.01.2015, 10:06
Beitrag #6
RE: CEC Logic
strange...

Could you please give me your VPN IP and I'll take a look on your system...
Startlog will be also interested.

regards

Mike Eudenbach (XING Profile)
nomos system AG
System Design/Integration/Planung

m..myhome/nomos in Unna, m..myhome/nomos auf Facebook
Webseite des Benutzers besuchen Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
08.01.2015, 12:23
Beitrag #7
RE: CEC Logic
ok, just found the problem. It seems to be that CEC BC messages can't handle by an BC Eventserver. It's a bug and we will fix it soon as possible.

But nomos supports multiple way's to the final target Cool

In this case I change the eventserver to receiving data from IP xxx.xxx.xxx.112 at Port 1038. It's just a workaround because receiving from "INTERNAL" "BROADCAST" have to work too.

But it works also fine..

Please edit the cec-1038.csv and correct the name of the calling script. I have added a "_" to the end of the scriptname, so that I can test without any actions in your system Wink

regards.

Mike Eudenbach (XING Profile)
nomos system AG
System Design/Integration/Planung

m..myhome/nomos in Unna, m..myhome/nomos auf Facebook
Webseite des Benutzers besuchen Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
Antwort schreiben 


Möglicherweise verwandte Themen...
Thema: Verfasser Antworten: Ansichten: Letzter Beitrag
  Problems whit logic function. svilchez 2 2.182 26.05.2015 08:48
Letzter Beitrag: svilchez
  LOGIC BASICS WITH KNX STEP1 NORRLAND 9 6.061 04.07.2014 14:54
Letzter Beitrag: meudenbach

Gehe zu:


Kontakt | nomos system Forum | Nach oben | Zum Inhalt | Archiv-Modus | RSS-Synchronisation | Impressum