OpenMarine

Full Version: LIRC not connecting with pypilot_hat
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
So on the web interface when you press the key, no "key: " is displayed such as: "key: rf7D1C2950" ?

This is quite odd. Are you using the remote included with the hat?
(2022-04-09, 02:45 AM)seandepagnier Wrote: [ -> ]So on the web interface when you press the key, no "key: " is displayed such as:  "key: rf7D1C2950"  ?

This is quite odd.   Are you using the remote included with the hat?

Yes that is correct nothing pops up and I am using the remote supplied.
Which remote exactly? Is it the white rf remote or black ir remote?
(2022-04-10, 05:59 AM)seandepagnier Wrote: [ -> ]Which remote exactly?   Is it the white rf remote or black ir remote?

It is the white 8 button remote
I think there is some kind of confusion here: white 8 button remote is an RF remote, and this has nothing to do with LIRC, which is used for IR remotes !

Try some IR remote (a TV remote for example) and see if there are some events reported by the web page.
(2022-04-10, 07:33 AM)esm Wrote: [ -> ]
(2022-04-10, 05:59 AM)seandepagnier Wrote: [ -> ]Which remote exactly?   Is it the white rf remote or black ir remote?

It is the white 8 button remote

Ok.   It is the RF remote.   You mentioned the blue light shows which means the message is received by the microprocessor.   Why it doesn't display in the web is a mystery.

Can you try debugging like this:

sudo systemctl pypilot_hat stop
cd pypilot/hat
python3 arduino.py


Now press buttons on the remote and see if any output messages are shown.   Please post the output here, it can give clues to what is happening with your setup.   Perhaps another process is trying to access the spi bus?

You may need to clone:
git clone github.com/pypilot/pypilot
(2022-04-11, 02:57 AM)seandepagnier Wrote: [ -> ]
(2022-04-10, 07:33 AM)esm Wrote: [ -> ]
(2022-04-10, 05:59 AM)seandepagnier Wrote: [ -> ]Which remote exactly?   Is it the white rf remote or black ir remote?

It is the white 8 button remote

Ok.   It is the RF remote.   You mentioned the blue light shows which means the message is received by the microprocessor.   Why it doesn't display in the web is a mystery.

Can you try debugging like this:

sudo systemctl pypilot_hat stop
cd pypilot/hat
python3 arduino.py


Now press buttons on the remote and see if any output messages are shown.   Please post the output here, it can give clues to what is happening with your setup.   Perhaps another process is trying to access the spi bus?

You may need to clone:
git clone github.com/pypilot/pypilot

Hi Sean, nothing is coming up after completing the above.  Here is the output.  


pi@openplotter:~ $ sudo systemctl pypilot_hat stop
Unknown operation pypilot_hat.
pi@openplotter:~ $ cd pypilot/hat
pi@openplotter:~/pypilot/hat $ python3 arduino.py
initializing arduino
hat firmware not in /home/pi/.pypilot/hat.hex
skipping verification
arduino on spidev0.1
nmea set baud [5]
baud rate TX: 0.0  RX 0.0
baud rate TX: 0.0  RX 0.0
baud rate TX: 0.0  RX 0.0
baud rate TX: 0.0  RX 0.0
baud rate TX: 0.0  RX 0.0
baud rate TX: 0.0  RX 0.0
baud rate TX: 0.0  RX 0.0

I will run the git clone now.
nothing is shown if you press keys on the remote?
(2022-04-13, 01:35 AM)seandepagnier Wrote: [ -> ]nothing is shown if you press keys on the remote?

Yes that is correct, nothing shows up
pi@openplotter:~ $ sudo systemctl pypilot_hat stop
Unknown operation pypilot_hat.

I just saw that. Fix this command and stop pypilot_hat before running the arduino script, to test the remote.
Pages: 1 2 3 4