(2020-08-12, 01:26 PM)monos1 Wrote: As MatsA commented, the input resistance is not sufficient and saturates the optocoupler emitter. I have to put a resistor in the Seatalk input to use the circuit I like.......
Thanks for the feedback.
(2020-08-12, 02:59 PM)glenn Wrote: The seatalk to $stalk parser strips the beginning 0.
So the 00 02 YZ XX XX Depth below transducer is translated to a single 0 instead of 00. Thus no depth input.
Nice finding....Do You have a bug fix ?
(2020-08-12, 07:19 PM)Sailoog Wrote: I have checked the signal k code and there is a blocking loop here: https://github.com/SignalK/signalk-serve...alk.js#L51 This could be the reason for that high process consumption.
Adding "time.sleep(0.01)" after line 51 should fix this but I am not sure where this file goes after installation to overwrite and test this change.
Thanks for the feedback. The source is found at "/home/pi/signalk-server-node/packages/streams/pigpio-seatalk.js" in a standard SK install. Or just use 'sudo find / -name "pigpio-seatalk.js"' I don't have the possibility to check it for some days...