Re: Help creating remote configuration

Bengt Martensson <[email protected]> Tue, 23 Apr 2019 16:27:10 +0200
Newsgroups gmane.comp.hardware.lirc
Message-ID <[email protected]>
On 4/23/19 3:58 AM, Hugo Vacher wrote:
> Hi, sorry if this is not the right place to ask.

It IS the right place :-).

> I'm trying to create a configuration file for an Elunevision Luna 
> motorized projector screen remote.
> 
> The remote only has 3 buttons, but trying to record it with irrecord 
> always ends up giving me Something went wrong: Cannot decode data 
> errors, and using -f bring other errors.

Forget irrecord, it is ... ... not a really good program. Instead you 
can use IrScrutinizer to capture your IR signals and generate the 
lircd.conf files.

> I asked the constructor for the spec of the remote, and to my suprise 
> they actually provided this document: https://imgur.com/NFKyfWi. This 
> looks like all the information required to create a config file.

Sure. Like this:

# IrScrutinizer parametric export
#
# Creating tool: IrScrutinizer version 2.0.0-SNAPSHOT
# Creating user: bengt
# Creating date: Tue Apr 23 15:55:19 CEST 2019
# Encoding: WINDOWS-1252
#
# Manufacturer: Elunevision
# Model:
# Displayname: Elunevision Luna motorized projector screen
# Remotename:
#
begin remote
# Protocol name: Elunevision
	name		Elunevision
	bits		40
	flags		SPACE_ENC|CONST_LENGTH
	eps		30
	aeps		100
	zero		360	720
	one		720	360
	header		4800	1500
	gap		100000
	frequency	38000
	begin codes
		up	0x0000005555555511
		down	0x0000005555555533
		stop	0x0000005555555555
	end codes
end remote

Let me know if it works.

Greetz,

Bengt