Posts: 4
Threads: 0
Joined: Mar 2021
Reputation:
0
2021-03-22, 06:33 PM
(This post was last modified: 2021-03-22, 07:01 PM by farrucho.)
Hello everyone and congratulations for this wonderful project.
If SSL is enabled in the Signal K installer, at startup when it does the check system a certificate error occurs and the service does not start.
↳Error requesting access to Signal K server: HTTPSConnectionPool(host='localhost', port=3443): Max retries exceeded with url: /signalk/v1/access/requests (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))))))
Is it not possible to make it work with SSL enabled?
Thank you very much for your help
Posts: 300
Threads: 4
Joined: Mar 2016
Reputation:
10
2021-05-21, 02:16 PM
(This post was last modified: 2021-05-21, 03:56 PM by holgerw.)
"But if you do not add a physical pull resistor you will get false readings when the switch is open until I add internal pull resistors to the code."
This should read: one wire to GND, the other serial with 100 ohms (to add sone security) to the GPIO-Pin and 1...10 KOhms (does not matter) from this GPIO to 3.3 Volt. The last Resistor is obsolete when the internal Resistor will be enabled by SAILOOG`S Software-Revision, but it will not disturb even if the internal pullup is active one time in the future.
Holger
(be a little carefull with the GPIO Pins - no statical Electricity is allowed here. So don't touch them tooo often, especial by Cats or other fluffy Things ....)
Posts: 338
Threads: 34
Joined: Oct 2019
Reputation:
31
for the time being could you manually add something to /boot/config.txt or would it be overwritten by the GPIO App?
if the app would not overwrite it, you could use something like:
gpio=20=pu --> 'this would pull GPIO 20 up(actual pin 38)
gpio=20=pd --> 'this would pull GPIO 20 down(actual pin 38)
you would use pull up if the if you connect the other wire to GND and pull down if you connect the other wire to 3.3v - never connect to more than 3.3v