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
New I2C sensors supported
#11
Did you also create the actual influx database, in your case "boatDB"? 
You need to do this only once in the lifetime of your raspberry Pi.

  1. Open a terminal window and enter command: influx
  2. influx has a help built-in: HELP
  3. Create your database: CREATE DATABASE boatDB
  4. Check if your new database is indeed created: SHOW DATABASES
  5. Exit influx: exit
Reply
#12
(2020-11-17, 10:48 PM)beercansailor Wrote: Did you also create the actual influx database, in your case "boatDB"? 
You need to do this only once in the lifetime of your raspberry Pi.

  1. Open a terminal window and enter command: influx
  2. influx has a help built-in: HELP
  3. Create your database: CREATE DATABASE boatDB
  4. Check if your new database is indeed created: SHOW DATABASES
  5. Exit influx: exit


There's actually no need to do that, put a database name in the influxdb writer plugin config and if it doesn't exist the plugin will create it in influxdb and start writing to it.

(2020-11-17, 09:19 PM)Didier B Wrote: Yes, indeed ! How can I fill this info ? and where do I find it ?

Server>plugin config.
Same as in the screenshot.
Reply
#13
Thanks to the helpers for influxdb !

About mysterious I2C info (temperature, atmospheric pressure) disappearing : 
  • It occurs repetitively after a few hours ;
  • Pipylot info (pitch, heel & heading) are not affected and remains available ;
  • Stopping/starting OpenCPN doesn't allow to recover lost I2C info ;
  • Neither re-starting signal K server ;
  • Nor rebooting the Pi (after stopping OpenCPN) ;
  • Only shutdown and power cut-off, followed by a complete cold restart of the Pi allows to get I2C info back.
  • After a cold start I2C info is always present ;
  • both I2C and Pipylot data are generated by the same (and only) GY91 module.
Cordialement
Didier B
Pi4, SSD USB3, OP 2.5.0, OpenCPN  5.2.4




Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)