Sem;colon wrote:lammyoflyd wrote:right at the end of the macro it sends a bunch of random ir codes and the emitter seems to have a mind of its own.
Hello lammyoflyd,
can you please explain the issue a bit more?
What does it send?
How did you even notice?
does something heppen when the "ramdom codes" are sent??
As it's at the end of the macro - did you maybe associate the event to another macro as well??
okay, so i have set the ir codes for some of the functions, eg. the standby button. when i trigger the event, it works, but repeats the process over and over again. this is the simpliest thing i have tried so far:
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1640">
<Macro Name="Power">
<Event Name="MceRemote.RC5.TV2.Power" />
<Event Name="Broadcast.TVToggle" />
<Action Name="Power">
MCE_Vista.TransmitIR(u'0000 0073 0000 0016 001F 0020 0020 001F 0041 0020 0020 001F 0020 0020 001F 0041 003F 0020 0020 003F 0020 001F 0041 0020 001F 0C95 0022 001F 0020 001F 0041 001F 0022 001F 0020 001F 0022 003D 0041 0020 0020 003F 0020 001F 0041 001F 0022 0E14', 0)
</Action>
</Macro>
</EventGhost>
however it will continuously loop at the end, despite me not telling it too.
in the log it appears to be receiving codes from somewhere else however i have made sure that the receiver is away from the emitter and cannot "see" it.
how did i notice it? after running the command, my tv is locked in a constant state between being turned on and being turned off.
i have attempted more elaborate macros and the same effect happens, for example a macro which will automatically change the source from tv to my xbox...
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1640">
<Macro Name="Tv - Xbox">
<Event Name="Broadcast.Tvtoxbox" />
<Action Name="Source">
MCE_Vista.TransmitIR(u'0000 0073 0000 000C 0020 001F 0022 001F 0041 001F 0020 001F 0022 001F 0020 003F 0020 001F 0022 001F 0020 001F 0041 001F 0022 001F 0020 0E14', 0)
</Action>
<Action>
EventGhost.Wait(1.0)
</Action>
<Action Name="Down">
MCE_Vista.TransmitIR(u'0000 0073 0000 000B 0022 001F 0020 001F 0041 001F 0022 001F 0020 001F 0022 003D 0041 003F 0041 001F 0022 003D 0022 001F 0020 0E14', 0)
</Action>
<Action>
EventGhost.Wait(1.0)
</Action>
<Action Name="Down">
MCE_Vista.TransmitIR(u'0000 0073 0000 000B 0022 001F 0020 001F 0041 001F 0022 001F 0020 001F 0022 003D 0041 003F 0041 001F 0022 003D 0022 001F 0020 0E14', 0)
</Action>
<Action>
EventGhost.Wait(1.0)
</Action>
<Action Name="Down">
MCE_Vista.TransmitIR(u'0000 0073 0000 000B 0022 001F 0020 001F 0041 001F 0022 001F 0020 001F 0022 003D 0041 003F 0041 001F 0022 003D 0022 001F 0020 0E14', 0)
</Action>
<Action>
EventGhost.Wait(1.0)
</Action>
<Action Name="Down">
MCE_Vista.TransmitIR(u'0000 0073 0000 000B 0022 001F 0020 001F 0041 001F 0022 001F 0020 001F 0022 003D 0041 003F 0041 001F 0022 003D 0022 001F 0020 0E14', 0)
</Action>
<Action>
EventGhost.Wait(1.0)
</Action>
<Action Name="Ok">
MCE_Vista.TransmitIR(u'0000 0072 0000 000B 0021 001F 0021 001F 0043 001F 0021 001F 0021 0021 0021 0040 0021 001F 0021 001F 0043 003E 0041 0040 0021 0E34', 0)
</Action>
<Action>
EventGhost.Wait(1.0)
</Action>
<Action>
EventGhost.DisableItem(XmlIdLink(1134))
</Action>
</Macro>
</EventGhost>
however this seems to constantly send one of these commands and i get stuck on a different souce each time