tinypilot beta image - Printable Version

+- OpenMarine (
+-- Forum: Pypilot (
+--- Forum: General discussion (
+--- Thread: tinypilot beta image (/showthread.php?tid=2972)

Pages: 1 2 3 4

RE: tinypilot beta image - rastam4n - 2020-10-21

Hi Sean

Playing around with the beta image yesterday, I really like "darkmode". Very nice
Only thing I noticed which didn't seem right was the Heading and control were very tiny font.
Great work, looking forward to more testing now that I replaced the mpu

RE: tinypilot beta image - seandepagnier - 2020-10-22

the web control has a bug I found sailing today, but otherwise it works well with the new image and the remote control works from anywhere on the boat.

RE: tinypilot beta image - Siusb - 2021-01-05

Not sure if it is the right place to post but since I use the latest beta image It may be relevant.
I am using tinypilot image from
On a raspberry pi zero.
I am trying to use an IR remote control, have a photo transistor module Hx1838 cabled to gp4.
Following the instruction on

tc@box:~$ sudo sv down lircd
tc@box:~$ $ sudo killall lircd
-sh: $: not found
tc@box:~$ sudo mode2 -d /dev/lirc0
Using driver devinput on device /dev/lirc0
Trying device: /dev/lirc0
Using device: /dev/lirc0
Running as regular user tc
Partial read 8 bytes on /dev/lirc0tc@box:~$

Then following advice from
When I type

tc@box:~$ sudo mode2 --driver default --device /dev/lirc0
Using driver default on device /dev/lirc0
Trying device: /dev/lirc0
Using device: /dev/lirc0
Running as regular user tc
space 2625976
pulse 9370
space 4436
pulse 660
space 539
pulse 636
space 539
pulse 642
space 531
pulse 637
space 1597
pulse 661
space 1622
pulse 639
space 1622
pulse 640
space 1634
pulse 631
space 1620
pulse 643
It's much longer but you get the point

Then I follow the instructions but the remote is not working. LCD is fine and keypad OK bot no remote action even after reboot.

Here is the result of remote configuration terminal

tinypilot is a Sailboat Autopilot Distribution for raspberry pi
tc@box:~$ sudo irrecord -d /dev/lirc0 test.conf
Running as regular user tc
Using driver devinput on device /dev/lirc0
irrecord: could not open logfile "/home/tc/.cache/irrecord.log"
irrecord: Permission denied

irrecord -  application for recording IR-codes for usage with lirc
Copyright © 1998,1999 Christoph Bartelmus(

This program will record the signals from your remote control
and create a config file for lircd.

A proper config file for lircd is maybe the most vital part of this
package, so you should invest some time to create a working config
file. Although I put a good deal of effort in this program it is often
not possible to automatically recognize all features of a remote
control. Often short-comings of the receiver hardware make it nearly
impossible. If you have problems to create a config file READ THE

If there already is a remote control of the same brand available at you might want to try using such a
remote as a template. The config files already contains all
parameters of the protocol used by remotes of a certain brand and
knowing these parameters makes the job of this program much
easier. There are also template files for the most common protocols
available. Templates can be downloaded using irdb-get(1). You use a
template file by providing the path of the file as a command line

Please take the time to finish the file as described in an send it
to  <> so it can be made available to others.

Press RETURN to continue.

Usually you should not create a new config file for devinput
devices. LIRC is installed with a devinput.lircd.conf file which
is built for the current system which works with all remotes
supported by the kernel. There might be a need to update
this file so it matches the current kernel. For this, use the
lirc-make-devinput(1) script.

Press RETURN to continue.

Checking for ambient light  creating too much disturbances.
Please don't press any buttons, just wait a few seconds...

No significant noise (received 0 bytes)

Enter name of remote (only ascii, no spaces) :
Enter name of remote (only ascii, no spaces) :test
You cannot use the same name if not updating

Please use another name

Enter name of remote (only ascii, no spaces) Confusedirius
Using sirius.lircd.conf as output filename

Hold down an arbitrary key
Found gap (592 us)

Please enter the name for the next button (press <ENTER> to finish recording)

Now hold down button "KEY_LEFT".

Please enter the name for the next button (press <ENTER> to finish recording)

Now hold down button "KEY_RIGHT".

Please enter the name for the next button (press <ENTER> to finish recording)

Now hold down button "KEY_UP".
 eps            30
 aeps          100

 one             0     0
 zero            0     0
 pre_data_bits   8
 pre_data       0x11
 eps            30
 aeps          100

 one             0     0
 zero            0     0
 pre_data_bits   8
 pre_data       0x11
 gap          592
 toggle_bit_mask 0x0
 frequency    38000

     begin codes
         KEY_LEFT                 0x69000001000294
         KEY_RIGHT                0x63000001000298
         KEY_UP                   0x7400000100029B
         KEY_DOWN                 0x7B0000010002AB
         KEY_POWER                0x7C00000100029B
         KEY_MUTE                 0x620000010002A0
         KEY_SELECT               0x69000001000299
tc@box:~$ cat sirius.lircd.conf /etc/lircd.conf > lircd.conf
tc@box:~$ sudo cp lircd.conf /etc/lircd.conf
tc@box:~$ sudo sv up lircd
tc@box:~$ sv restart pypilot_lcdclient
fail: pypilot_lcdclient: unable to change to service directory: file does not exist
tc@box:~$ -b
Backing up files to /mnt/mmcblk0p2/tce/mydata.tgz/