(2019-07-10, 12:13 AM)wdee Wrote:(2019-07-09, 03:14 AM)seandepagnier Wrote: The pypilot_lcd script is designed to drive an lcd over spi pins, and read from a keypad on gpio pins. It can also read from an IR sensor and soon from 433mhz radio transmitter.
Otherwise you can control it from tcp. The port 20220 is only used for nmea so only autopilot route commands.
Is it not possible to achieve some limited control over the web-app-interface to pypilot to achieve incremental/decrement of heading?
I.E., shown in attachment figure
I would rather address signalK via web or directly, though
Does that web-app need some sort of security token to prevent hack-in?
Dont really want to rely on network-security all the time for app-security
Unfortunately Web interface is not working well on my installation, i am able to open page and it even reacts on commands but main screen is not updates after buttons activated. Neither other tabs. Is it known issue? I did not worry it does not work due i did not plan to use it but probably i will do.
Does somebody had similar malfunction?
(2019-07-10, 12:44 AM)seandepagnier Wrote: Port 20220 is used for nmea0183 communication and is useful for route following since opencpn can send these messages.
Instead, you can control heading changes and everything else from tcp port 21311. This is exactly how pypilot_lcd works. You can run it with the screen disabled, and it will still read from gpio and send commands to the autopilot over the network. Normally it connects to the localhost but it can be configured to use a remote host.
There is currently no app-level security, instead for now, you can use an encrypted wifi network. It's a nice idea but I'm not really sure what the use case is.
Thanks, is somewhere specification for the commands on 21311 port? If so, point me on it, please.