Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 1,032
» Latest member: Thelma4896
» Forum threads: 558
» Forum posts: 3,319

Full Statistics

Online Users
There are currently 62 online users.
» 0 Member(s) | 62 Guest(s)

Latest Threads
rc.local not loading scri...
Forum: How do I...?
Last Post: blueagle91
7 hours ago
» Replies: 0
» Views: 6
USB Hubs
Forum: How do I...?
Last Post: jim321
7 hours ago
» Replies: 6
» Views: 395
No humidity and no IMU s...
Forum: Bug Reports
Last Post: Arruba
9 hours ago
» Replies: 2
» Views: 37
Temperature and pression ...
Forum: Bug Reports
Last Post: Arruba
9 hours ago
» Replies: 2
» Views: 33
Anyone datalogging?
Forum: General discussion
Last Post: PaddyB
Yesterday, 10:09 AM
» Replies: 18
» Views: 294
Can I use heading data fr...
Forum: How do I...?
Last Post: Tigress
11-16-2017, 07:15 PM
» Replies: 4
» Views: 99
EPsolar/ tracer SignalK
Forum: General discussion
Last Post: ddelorme
11-16-2017, 05:49 PM
» Replies: 6
» Views: 150
Upgrade problem ? - pendi...
Forum: Bug Reports
Last Post: jim321
11-16-2017, 12:41 PM
» Replies: 21
» Views: 566
mobile openplotter
Forum: Brag Board
Last Post: tocan
11-16-2017, 10:08 AM
» Replies: 3
» Views: 65
Introduction in Node-RED
Forum: Node Red
Last Post: Luckbert
11-16-2017, 06:38 AM
» Replies: 0
» Views: 39

 
  rc.local not loading script
Posted by: blueagle91 - 7 hours ago - Forum: How do I...? - No Replies

Hello all, my first post here Smile

Im trying to make my RPI3 turn ON/OFF on button push. But i cant make OpenPlotter run a python script on boot.

Everything i tried nothing, rc.local, bash, crontab. I added permissions so anybody can run script, but it wont run on boot.

Anyone had similiar problem? Thanks Smile


  Temperature and pression are lost removing power
Posted by: Arruba - 11-16-2017, 06:32 PM - Forum: Bug Reports - Replies (2)

I have sensor for temperature and pression and I can see the values in SK Diagnostic window.
If I remove power, on successive power up the pressure is reported zero and the temperature -271
The only way to have back the correct values is to open NMEA 0183 generator window, delete all listed sentences and hit the “opencpn  default” button.

Roberto


====
Open plotter 0.16.0 beta
Raspberry PI 3
Keyboard, mouse, video, GPS, Eth


  No humidity and no IMU sensor reported
Posted by: Arruba - 11-16-2017, 06:07 PM - Forum: Bug Reports - Replies (2)

I have a MPU-9255 and a BME280 connected to I2C and in the I2C tab I can see the humidity sensor. 
The MPU is not present in Compass tab (Detected IMU: empty).
Openplotter in debug mode tell me 
No IMU detected
No humidity sensor detected

There is a way (another program or action via terminal) I can test my sensors?
Or it is a know software fault?

Thank you
Roberto

====
Openplotter 0.16.0 beta
Raspberry PI 3
Connected devices:
Keyboard, mouse, Eth, USB GPS, monitor


  mobile openplotter
Posted by: Luckbert - 11-16-2017, 07:52 AM - Forum: Brag Board - Replies (3)

Hello, everyone, 
As some of you know, I've already put an O. R. in a boat. But since the boat is not mine (SAR-boat) I can't always go where I want to go.
I rent different boats every year and spend my holidays on them. But since I don't want to do without the familiar system, an alternative had to be found. 
I would like to introduce you to my mobile plotters today.

I was looking for a box that fits everything and is waterproof. (In case I have an open boat)

[Image: 30964671hi.jpg]

This is the box from the inside. The blue is a thin layer of foam to prevent rattle. Underneath is a thin aluminium plate to create a flat surface.

[Image: 30964672ja.jpg]

Anker Powerbank. The power bank is sufficient for more than 24 hours of operation. I think if I turn off the screen even longer.

[Image: 30964673zn.jpg]

cabel for I2C: to test sensors
GPS-Dongle: U-blox7 without housing
IMU: InvenSense MPU-9150 with BMP180


[Image: 30964674cl.jpg]

The system is actually operated with a pad or similar. But if there should be problems with the connection, I have a fallback level.


[Image: 30964675hv.jpg]

The connection is sma. So I can connect different antennas depending on the environment and conditions. 

Greetings from Dortmund/Germany

Jürgen


  Introduction in Node-RED
Posted by: Luckbert - 11-16-2017, 06:38 AM - Forum: Node Red - No Replies

Hello, everyone,
I'm trying to familiarize myself with Node-RED. Unfortunately, I don't know anything about programming. I tried to make myself smarter under https://nodered.org/ Unfortunately, this is very difficult for me to understand. (my English is also very badSmile)
I've worked a lot with the pi myself. That's okay, I want to learn something. 
In Node-RED I don't know where to start. Does anyone have a simpler manual for me? Ideally already trimmed for surgery?
Does anyone have time, desire and patience to give me an understanding of the matter?
My first project will be the transfer of AIS data to Marinetraffic. Or should we start a different way?
Greetings from Germany
Jürgen


  Anyone datalogging?
Posted by: PaddyB - 11-14-2017, 05:03 PM - Forum: General discussion - Replies (18)

Anyone else recording data? For a while now I've been saving various bits to sqlite. Seems to be one of the easiest plus the database is just one file so you can copy it across to another machine to play with. Pus there's a PHP webpage available which makes it easy to  go in and set up or just  have a look 
Little bit of node red if anyone is inerested -

Code:
[
   {
       "id": "ab86fbfb.82f1c8",
       "type": "switch",
       "z": "f1a0cb4.fe86138",
       "name": "Is it eng data?",
       "property": "msg.payload.updates.values.path",
       "propertyType": "jsonata",
       "rules": [
           {
               "t": "cont",
               "v": "propulsion",
               "vt": "str"
           }
       ],
       "checkall": "false",
       "outputs": 1,
       "x": 180,
       "y": 240,
       "wires": [
           [
               "aaed95ff.c274e8"
           ]
       ]
   },
   {
       "id": "aaed95ff.c274e8",
       "type": "change",
       "z": "f1a0cb4.fe86138",
       "name": "create msg.eng etc",
       "rules": [
           {
               "t": "set",
               "p": "eng",
               "pt": "msg",
               "to": "msg.payload.updates.values[path=\"propulsion.engine.temperature\"].$number(value)-273.15",
               "tot": "jsonata"
           },
           {
               "t": "set",
               "p": "alt",
               "pt": "msg",
               "to": "msg.payload.updates.values[path=\"propulsion.alt.temperature\"].$number(value)-273.15",
               "tot": "jsonata"
           },
           {
               "t": "set",
               "p": "exh",
               "pt": "msg",
               "to": "msg.payload.updates.values[path=\"propulsion.exh.temperature\"].$number(value)-273.15",
               "tot": "jsonata"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 190,
       "y": 280,
       "wires": [
           [
               "7a2b1aa3.f272f4"
           ]
       ]
   },
   {
       "id": "7a2b1aa3.f272f4",
       "type": "function",
       "z": "f1a0cb4.fe86138",
       "name": "create INSERT topic eng",
       "func": "// set flow variables to signalk data\nif (msg.eng !==undefined) {var eng = flow.set(\"eng\", msg.eng.toFixed(1));\n    //msg.topic= \"INSERT INTO engine  (eng) VALUES (\" + flow.get(\"eng\") + \" );\" ;\n}\nif (msg.alt !==undefined) {var alt = flow.set(\"alt\", msg.alt.toFixed(1));\n    //msg.topic= \"INSERT INTO engine  (alt) VALUES (\" + flow.get(\"alt\") + \" );\" ;\n}\nif (msg.exh !==undefined) {var exh = flow.set(\"exh\", msg.exh.toFixed(1));\n    //msg.topic= \"INSERT INTO engine  (exh) VALUES (\" + flow.get(\"exh\") + \" );\" ;\n}\n\n// create sqlite insert commend\nmsg.topic= \"INSERT INTO engine  (eng, alt, exh) VALUES (\" + flow.get(\"eng\") + \",\" + flow.get(\"alt\") + \",\" +  flow.get(\"exh\") + \" );\" ;\n//msg.topic= \"INSERT INTO engine  (eng) VALUES (\" + flow.get(\"eng\") + \" );\" ;\nreturn msg;\n   ",
       "outputs": "1",
       "noerr": 0,
       "x": 430,
       "y": 260,
       "wires": [
           [
               "c8b0c6b1.e1b078",
               "dc2bd84f.dcb9a8"
           ]
       ]
   },
   {
       "id": "c8b0c6b1.e1b078",
       "type": "delay",
       "z": "f1a0cb4.fe86138",
       "name": "",
       "pauseType": "rate",
       "timeout": "5",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "minute",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": true,
       "x": 430,
       "y": 300,
       "wires": [
           [
               "8d7a3b1d.824788"
           ]
       ]
   },
   {
       "id": "8d7a3b1d.824788",
       "type": "sqlite",
       "z": "f1a0cb4.fe86138",
       "mydb": "fe279cd9.bbe82",
       "name": "",
       "x": 690,
       "y": 300,
       "wires": [
           []
       ]
   },
   {
       "id": "fe279cd9.bbe82",
       "type": "sqlitedb",
       "z": "",
       "db": "/home/pi/database/boatdata.db"
   }
]
 I tried influxdb with grafana which was really good with lots of plotting options but just too big and hogged too much resources so that had to go.
What isn't going so well with sqlite is plotting - any one know of any python or PHP that would fit the bill? My programming skills aren't that far ahead of hello world Smile  What would be fantastic would be to plot a days battery voltage over voltage from a week or month before to see if there's much difference and maybe get a bit of notice if they aren't so well. Already just seeing how quick the engine warms up and things like that has been really interesting.  Cool
Such a powerful tool, a little Pi, openplotter and node red - systems into the thousands can't do a load of things which it can. 
Ta


  Can I use heading data from IMU through NMEA?
Posted by: Tigress - 11-13-2017, 10:48 PM - Forum: How do I...? - Replies (4)

Hello, and congratulations on some fine work with OpenPlotter. Question I have is regarding the use of the heading data generated through the IMU sensor. I can see from the SignalK diagnostic that the sensor is working and OP is generating the correct data, but I am not sure how I can then send (with the correct NMEA183 sentences, e.g., HDT) this to the NMEA multiplexer such that I can forward to my other instruments and PC. Can I use the Autopilot example to do this? Not clear from the documentation, which says

Most autopilots have there own fluxgate compass and rudder angle sensor. These data can be used from OpenPlotter.

I, of course, want to use the built-in IMU and send this heading data to other instruments. 

Thanks in advance for your help!


  strange compass tab behaviour
Posted by: jim321 - 11-13-2017, 12:13 PM - Forum: Bug Reports - No Replies

i was using remote desktop on win7 and when i try to use calibration button in the compass tab the rdt connection resets ..
works fine when connected to monitor via. hdmi..

jim


  5v UPS
Posted by: PaddyB - 11-12-2017, 03:46 PM - Forum: General discussion - Replies (15)

Came across this youtube of a 5v UPS, might be of interest to a few on here..

https://www.youtube.com/watch?v=jecgoBqOrhk


  Fishfinder navman 4100 to Openplotter
Posted by: callmecalanca - 11-09-2017, 04:22 PM - Forum: How do I...? - Replies (2)

Hi,
I connected the white wire to the R+ of nmea to USB adapter, and the ground to R-
Added the adapter in the USB tab in Openplotter
Added in connection at 4800 baud in nemea tab in Openplotter
This is the output in inspector

Code:
!AIVDM,1,1,,A,35Qq340OiP0Gjp6HhuGiD1?h0000,0*43
!AIVDM,1,1,,A,13Hsc:500nPHCgpHhqQGonan05rd,0*0B
!AIVDM,1,1,,A,33K?WL001LPHM5THjugU`4P<00wP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
!AIVDM,1,1,,A,33K?WL001JPHNb:Hjg5mj4Wl016Q,0*22
!AIVDM,1,1,,A,33K?WL001MPHNfdHjfJElT`<011@,0*3E
!AIVDM,1,1,,A,13Hb=P00000HS>JHivRrN5vL0Urt,0*69
!AIVDM,1,1,,A,13Hsc:503RPHH2<Hi4wj71BV00S0,0*05
!AIVDM,2,1,2,A,53Hsc:400000H4G?S3U0ThuB08t5B3;7F222220j0h61340Ht0000000,0*03
!AIVDM,2,2,2,A,000000000000000,2*26
!AIVDM,1,1,,A,13?sSV002D0Ir4>HTt84mCnT0D19,0*16
!AIVDM,1,1,,A,13K?WL001MPHNmvHjeBUlTVV0H<2,0*64
!AIVDM,1,1,,A,B3HOB:P0;P68kMV<GbLoswhUkP06,0*63
!AIVDM,1,1,,A,13Hb=P00000HS>JHivRs:5w80hDo,0*79
!AIVDM,1,1,,A,13Hsc:503LPHHevHi7gR;QE>0@Fh,0*13
!AIVDM,1,1,,A,13K?WL001MPHO1rHjcNUj4W@0D0S,0*27
!AIVDM,1,1,,A,B3HhAvP09p67tf6<EeSLswrUoP06,0*55
!AIVDM,1,1,,A,13Hsc:503NPHILfHi:LjCiMn0<0U,0*18
!AIVDM,1,1,,A,13Hb=P00000HS>JHivRon5vL0PSa,0*65
!AIVDM,1,1,,A,13Hsc:503MPHJ6bHi<rj;QDV0D0U,0*57
!AIVDM,1,1,,A,390woSU0000HRv2Hii5lvWL`0000,0*40
!AIVDM,1,1,,A,13Hb=P00000HS>LHivRm<Ew80d0o,0*6F
!AIVDM,1,1,,A,13Hsc:5OkKPHJi<Hi?bB>1O>0<0U,0*32
!AIVDM,1,1,,A,38K1oB5000PHKb4HkJJchaWJ0000,0*2E
!AIVDM,1,1,,A,13Hb=P00000HS>HHivRsG5wd0`Oo,0*59
!AIVDM,1,1,,A,6>jCL=@0RrWP>db20104000,0*1E
!AIVDM,1,1,,A,13Hsc:5PCFPHKMbHiBN221?n08Ra,0*2C
!AIVDM,1,1,,A,13@efR002@0GbN>Hc`wstq`80D1M,0*38
!AIVDM,1,1,,A,15Qq34001h0GoOhHiCMAfQ>600Rh,0*08
!AIVDM,1,1,,A,13Hb=P00000HS>JHivRu2UvN0d0n,0*19
!AIVDM,1,1,,A,13Hsc:5OkKPHL74HiDwj=iJV0@:p,0*41
!AIVDM,1,1,,A,33cs<m5000PHJ3pHk@>20IVT8Dv:,0*57
!AIVDM,1,1,,A,15Qq34001j0Goj>HiE=Qf1<f05s4,0*55
!AIVDM,2,1,6,A,53GhqR42:cmdI0tB220LU8th5@622222222222157ik=>6m5:>PBP@hj,0*24
!AIVDM,2,2,6,A,Cp8888888888880,2*11
!AIVDM,1,1,,A,13Hb=P00000HS>JHivRscmw80`Do,0*70
!AIVDM,1,1,,A,13Hsc:5PCIPHLk:HiGIB9AC>08Fh,0*62
!AIVDM,1,1,,A,33K?WL001BPHP7THjQDEj4W@00m1,0*76
!AIVDM,1,1,,A,33P7iu50000HRArHjG32f`K@0D`:,0*06
!AIVDM,1,1,,A,15Qq34001j0Gp4DHiFrifi=D08IT,0*36
!AIVDM,1,1,,A,33K?WL001?PHP:`HjPp5j4WL00w0,0*60
!AIVDM,1,1,,A,13Hb=P00000HS>JHivRt4mwd0Us4,0*25
!AIVDM,1,1,,A,13K?WL0017PHP@NHjOwmlTWn00SV,0*78
!AIVDM,1,1,,A,15Qq34001k0GpG0HiHfAe1:40@2b,0*1B
!AIVDM,1,1,,A,13Hb=P00000HS>JHivRmj5vN0`8k,0*30
!AIVDM,1,1,,A,33iVm65001PHQU8HjOS<77Nh0000,0*46
!AIVDM,1,1,,A,15Qq34001k0Gpb0HiJbQWQ<f00R@,0*1C
!AIVDM,1,1,,A,33HW7H00360H6W6Hj`HIG7jp01?h,0*13
!AIVDM,1,1,,A,13Hb=P00000HS>JHivRqNEw80Us8,0*22
!AIVDM,1,1,,A,13Hb=P00000HS>HHivRrv5wd0PSV,0*7C
!AIVDM,1,1,,A,33GhqR5000PHSQdHj60TIF1l0Dg:,0*5A
!AIVDM,2,1,3,A,53cs<m82C36LT98h0004T@50E8h400000000000t544HH6m40DhPDPiC,0*34
!AIVDM,2,2,3,A,3kP@00000000000,2*6F
!AIVDM,1,1,,A,15Qq34001l0Gq=rHiND1bQ<40<1N,0*43
!AIVDM,2,1,5,A,53P7iu42;CW8lMACH00ltqB1HDq@uEP00000001SA@e3F6mV0?U3S1kP,0*2E
!AIVDM,2,2,5,A,000000000000000,2*21
!AIVDM,1,1,,A,13Hb=P00000HS>FHivRtL5vN0Us<,0*2A
!AIVDM,1,1,,A,35Qq34001l0GqP>HiP;1aQ:d04f3,0*76
!AIVDM,1,1,,A,33K?WL0P@HPHP`bHjLQ5UT<l00vh,0*2E
!AIVDM,1,1,,A,33K?WL0P@GPHPanHjLH5S4520000,0*1A
!AIVDM,1,1,,A,3819?am000PHRU4HjM`IBDW>0DRJ,0*48
!AIVDM,1,1,,A,33K?WL0P@FPHPc8HjL@5FSs@00kA,0*2B
!AIVDM,1,1,,A,13Ghel0uh0PHM`fHk5e5u:?B2@HI,0*4B
!AIVDM,1,1,,A,15Qq34001k0GqjFHiR11b1;D00S=,0*44
!AIVDM,1,1,,A,33Ie6G8P@30HFo`HkSkb4b;L0121,0*0B
!AIVDM,1,1,,A,33K?WL0P@DPHPeRHjL3E<Scb0000,0*24
!AIVDM,1,1,,A,13Hb=P00000HS>DHivRr;mwf0pPC,0*51
!AIVDM,2,1,7,A,55Qq34420O4c<D8G>20<520<4l585B222222221:=h?6>6li0<1TSDTp,0*35
!AIVDM,2,2,7,A,888888888888880,2*23
!AIVDM,1,1,,A,33K?WL0P@CPHPfbHjKv4n3Un010i,0*73
!AIVDM,1,1,,A,15Qq34001k0Gr4`HiSn1bQ<4082b,0*40
!AIVDM,1,1,,A,33K?WL0P@BPHPgpHjKpE03L<00tP,0*7F
!AIVDM,1,1,,A,33P<Qs50000HRVLHjRvGl4T@0P00,0*30
!AIVDM,1,1,,A,33K?WL0P@FPHPiFHjKilpSFJ0000,0*0B
!AIVDM,1,1,,A,13Hb=P00000HS>FHivRq=UvN0PRg,0*41
!AIVDM,1,1,,A,13Hsc:5OiGPHQv>HiQp4FSFV05s@,0*14
!AIVDM,1,1,,A,33K?WL0P@CPHPjDHjKeU:3@V00ui,0*16
!AIVDM,1,1,,A,13Ghel0vh0PHM`bHk5gEvb>d2@=E,0*3B
!AIVDM,1,1,,A,33K?WL0P@>PHPkDHjKalkS:l00vP,0*1C
!AIVDM,1,1,,A,33K?WL0P@<PHPl6HjKV52S720000,0*29
!AIVDM,1,1,,A,13Hb=P00000HS>HHivRpD5w60pDK,0*34
!AIVDM,1,1,,A,33K?WL0004PHPlLHjKTU533@00oA,0*16
!AIVDM,1,1,,A,15Qq34001i0Gr`nHiWQAaQ=D0HIW,0*1F
!AIVDM,1,1,,A,33K?WL0P@5PHPlNHjKRVk31L00t0,0*3A

These are my settings

[Image: 3fa1fbd2aeb91acf4fb54ccd6130fe79.jpg]

How can I have deep in signal k instrument panel?