This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I2c sensor data to signal k issues
#1
Pi 5 8gb ram Headless openplotter Bme280 Ina219 Gyro on i2c as well
I can see these sensors on i2c windows and they appear with addresses but I can't get the sensor data to show up anywhere in signal k. Chatgpt had me running in circles with the json but is this a pi5 issue? There used to be a connection tab in i2c that's since gone and I assume it does it automatically once the address is set but Im chasing my tail just trying to see a barometer and speed reading on a dashboard or any sort of data in signal k. Any video tutorials or help is greatly appreciated! Do I change versions? Change pi?
Reply
#2
Hello UplandGlitch
I experience the same trouble with a RPI 4B, MacArthur hat and bme280 sensor on the I2C bus. The system worked correctly with OpenPlotter version number 3.xx. In my case it seems to be a problem of the forth version of OpenPlotter.
Reply
#3
I did this and it worked

Location of Bindings Files:
The bindings.node file is usually located within the node_modules directory, commonly at:
/usr/lib/node_modules/signalk-server/node_modules/@serialport/bindings/
Troubleshooting Steps:
If you are encountering this error, it is usually because the native modules need to be recompiled for your current Node.js version.
1. Reinstall Plugins: Go to your user directory (often ~/.signalk or /home/pi/.signalk), remove the node_modules folder, and reinstall:
bash
cd ~/.signalk
rm -rf node_modules
npm install
2. Check User/Permissions: Ensure Signal K is running under the correct user (e.g., pi), as running as root can cause path issues.
3. Check for Conflict: If you are using OpenCPN, make sure it is not trying to read the same serial port as Signal K.
4. Reinstall Signal K: If the above fails, a fresh installation of the Signal K server is often required to fix broken binary bindings.
Reply
#4
can anyone help me add the bmm150 sensor the the I2C pull down list of supported sensors ?

system has detected the address as 13.
Reply
#5
do you need to use this to communuicate to the i2C sensors?

https://www.npmjs.com/package/i2c-reader
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)