This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LIRC not connecting with pypilot_hat
#21
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?
Reply
#22
(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.
Reply
#23
Which remote exactly? Is it the white rf remote or black ir remote?
Reply
#24
(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
Reply
#25
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.
Reply
#26
(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
Reply
#27
(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.
Reply
#28
nothing is shown if you press keys on the remote?
Reply
#29
(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
Reply
#30
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)