2024-12-31, 07:04 PM
Hello Sean and best wishes for this new year.
I wish you great navigations and a lot of satisfaction.
I installed Pypilot on a pi zero 2W and I can no longer configure the second pi zero in remote mode. I had kept a copy of the files networking.txt and jat.conf but I think I have a problem with the content of the pypilot_client.conf file. The calculator in remote mode switches to client by displaying wifim. On the other hand, the display "connect to server ..." remains displayed for a long time then the calculator switches back to displaying the heading of the IMU.
Thank you very much for your help
hat.conf
{"host":"192.168.14.1","actions":{"-10_":["ir03111800","ir03111000","KEY_LEFT","gpio06","rf3F402350","rf3F405350"],"-1_":["ir03201800","ir03201000","KEY_UP","gpio27","rf77082350","rf77085350"],"+1_":["ir03211800","ir03211000","KEY_DOWN","gpio22","rf7B042350","rf7B045350"],"+10_":["ir03101800","ir03101000","KEY_RIGHT","gpio05","rf5F202350","rf5F205350"],"auto_":["ir030C1000","ir030C1800","KEY_POWER","gpio17","rf7E012350","rf7E015350"],"menu_":["ir030D1000","ir030D1800","KEY_MUTE","gpio23","rf7D022350","rf7D025350"],"mode_":["ir030B1000","ir030B1800","KEY_SELECT","gpio18","rf6F102350","rf6F105350"],"-1":["rf77082950","rf77085950","rf481C4A20","rf08721C60"],"+1":["rf7B042950","rf7B045950","rf441C4A20","rf04721C60"],"-10":["rf3F402950","rf3F405950","rf4C1C4A20","rf0C721C60"],"+10":["rf5F202950","rf5F205950","rf421C4A20","rf02721C60"],"tack port":["gpio27_06","rf37482950","rf37485950","rf37482350","rf37485350"],"tack starboard":["gpio22_05","rf5B242950","rf5B245950","rf5B242350","rf5B245350"],"standby":["rf7E012950","rf7E015950","rf471C4A20","rf07721C60"],"engage":["rf4F1C4A20","rf0F721C60"],"compass mode":["rf7D022950","rf7D025950"],"gps mode":["rf6F102950","rf6F105950"],"nav mode":["rf6D122950","rf6D125950"],"wind mode":["rf7F002930","rf7F005930"],"true wind mode":["rf6F102930","rf6F105930"],"pilot absolute":[],"pilot basic":[]},"arduino.adc_channels":[],"pi.ir":true,"arduino.ir":false,"arduino.nmea.in":false,"arduino.nmea.out":false,"arduino.nmea.baud":"38400","lcd":{"contrast":59.609294879999545,"invert":false,"backlight":12.77888591999178,"flip":false,"language":"en","bigstep":10,"smallstep":1,"hue":214,"buzzer":1.588708112000046,"buzzer_pitch":2},"command":"touch \/home\/tc\/t","remote":true,"hat":{"mpu":{"driver":"icm20948","port":"\/dev\/i2c-1"},"lcd":{"driver":"jlx12864","port":"\/dev\/spidev0.0"},"arduino":{"device":"\/dev\/spidev0.1","resetpin":16,"hardware":0.26},"lirc":"gpio4"},"modes":["compass","gps","nav","wind","true wind"],"arduino_firmware_version_available":"1.2","arduino_firmware_version":"1.2"}
networking.txt :
mode=Client
ssid=pypilotR
key=amplitude
client_ssid=pypilot
client_key=amplitude
client_address=
pypilot_client.conf
{"host":"192.168.14.1","port":23322}
I wish you great navigations and a lot of satisfaction.
I installed Pypilot on a pi zero 2W and I can no longer configure the second pi zero in remote mode. I had kept a copy of the files networking.txt and jat.conf but I think I have a problem with the content of the pypilot_client.conf file. The calculator in remote mode switches to client by displaying wifim. On the other hand, the display "connect to server ..." remains displayed for a long time then the calculator switches back to displaying the heading of the IMU.
Thank you very much for your help
hat.conf
{"host":"192.168.14.1","actions":{"-10_":["ir03111800","ir03111000","KEY_LEFT","gpio06","rf3F402350","rf3F405350"],"-1_":["ir03201800","ir03201000","KEY_UP","gpio27","rf77082350","rf77085350"],"+1_":["ir03211800","ir03211000","KEY_DOWN","gpio22","rf7B042350","rf7B045350"],"+10_":["ir03101800","ir03101000","KEY_RIGHT","gpio05","rf5F202350","rf5F205350"],"auto_":["ir030C1000","ir030C1800","KEY_POWER","gpio17","rf7E012350","rf7E015350"],"menu_":["ir030D1000","ir030D1800","KEY_MUTE","gpio23","rf7D022350","rf7D025350"],"mode_":["ir030B1000","ir030B1800","KEY_SELECT","gpio18","rf6F102350","rf6F105350"],"-1":["rf77082950","rf77085950","rf481C4A20","rf08721C60"],"+1":["rf7B042950","rf7B045950","rf441C4A20","rf04721C60"],"-10":["rf3F402950","rf3F405950","rf4C1C4A20","rf0C721C60"],"+10":["rf5F202950","rf5F205950","rf421C4A20","rf02721C60"],"tack port":["gpio27_06","rf37482950","rf37485950","rf37482350","rf37485350"],"tack starboard":["gpio22_05","rf5B242950","rf5B245950","rf5B242350","rf5B245350"],"standby":["rf7E012950","rf7E015950","rf471C4A20","rf07721C60"],"engage":["rf4F1C4A20","rf0F721C60"],"compass mode":["rf7D022950","rf7D025950"],"gps mode":["rf6F102950","rf6F105950"],"nav mode":["rf6D122950","rf6D125950"],"wind mode":["rf7F002930","rf7F005930"],"true wind mode":["rf6F102930","rf6F105930"],"pilot absolute":[],"pilot basic":[]},"arduino.adc_channels":[],"pi.ir":true,"arduino.ir":false,"arduino.nmea.in":false,"arduino.nmea.out":false,"arduino.nmea.baud":"38400","lcd":{"contrast":59.609294879999545,"invert":false,"backlight":12.77888591999178,"flip":false,"language":"en","bigstep":10,"smallstep":1,"hue":214,"buzzer":1.588708112000046,"buzzer_pitch":2},"command":"touch \/home\/tc\/t","remote":true,"hat":{"mpu":{"driver":"icm20948","port":"\/dev\/i2c-1"},"lcd":{"driver":"jlx12864","port":"\/dev\/spidev0.0"},"arduino":{"device":"\/dev\/spidev0.1","resetpin":16,"hardware":0.26},"lirc":"gpio4"},"modes":["compass","gps","nav","wind","true wind"],"arduino_firmware_version_available":"1.2","arduino_firmware_version":"1.2"}
networking.txt :
mode=Client
ssid=pypilotR
key=amplitude
client_ssid=pypilot
client_key=amplitude
client_address=
pypilot_client.conf
{"host":"192.168.14.1","port":23322}

