Lirc on Stretch - Help

Hello everybody,

I’m trying to setup lirc in stretch with no success.

I´ve been here and here , and I’m unable to get it working.

On the link posted to github the “op” mentions the hardware.conf inside of /etc/lirc, but such file was removed from the last version of lirc with stretch.

When I test the status I get:

Dec 28 17:16:05 HomieBot lircd-0.9.4c[459]: Notice: /etc/lirc/lircd.conf.d/d…PEN
Dec 28 17:16:05 HomieBot lircd-0.9.4c[459]: Notice: /etc/lirc/lircd.conf.d/d…GER
Dec 28 17:16:05 HomieBot lircd-0.9.4c[459]: Notice: /etc/lirc/lircd.conf.d/d…PY1
Dec 28 17:16:05 HomieBot lircd-0.9.4c[459]: Notice: /etc/lirc/lircd.conf.d/d…EEL
Dec 28 17:16:06 HomieBot lircd-0.9.4c[459]: Warning: Duplicate remotes "devi…ead
Dec 28 17:16:06 HomieBot lircd-0.9.4c[459]: Notice: lircd(default) ready, us…rcd
Dec 28 17:16:06 HomieBot lircd-0.9.4c[459]: Notice: accepted new client on /…rcd
Dec 28 17:16:06 HomieBot lircd-0.9.4c[459]: Info: Cannot configure the rc de…rc0
Dec 28 17:16:06 HomieBot lircd-0.9.4c[459]: Notice: accepted new client on /…rcd
Dec 28 17:16:06 HomieBot lircd-0.9.4c[459]: Notice: accepted new client on /…rcd
Hint: Some lines were ellipsized, use -l to show in full.

In mode2 nothing happens. The schematics are ok because I had it running with Jessie and Hassbian before.

Everyone I saw commenting online talks about converting the old configuration with a script, the main problem is that I don’t have the old config files anymore.

Thanks in Advanced

Lirc configuration has changed with the new distibution of debian stretch.
Read the note in documentation of the lirc component in homeassistant!

Thanks, I already did, that’s how I know hardware.conf doesn’t exist anymore, but all guides online refer to it, so I don’t know how to set it up.

Had the same issue, the problem comes from stretch, give it another try with Jessie rather than Stretch :wink:

i had the same issue, the problem is on Stretch there is a new version of LIRC, leave all your old configuration in place an execute the converter script, it will convert all the files to the new version, it worked for me.

this is the command

sudo /usr/share/lirc/lirc-old2new

after that reboot your device.