Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 08-05-2022, 13:41   #871
Registered User

Join Date: Apr 2022
Posts: 15
Re: Tactics Plugin

Thank you. Certainly, will wait and install it.

Best
ojessie is offline   Reply With Quote
Old 08-05-2022, 14:38   #872
Registered User

Join Date: Apr 2022
Posts: 15
Re: Tactics Plugin

I'm sorry to say, but still not working. Attached are 2 screen shots. One with the standard dashboard and the working baro and the other one shows your version 1.0.29.1. You see there is a small problem with the icon on the toolbar as well. But this was already there with the previous version.
Attached Thumbnails
Click image for larger version

Name:	baro_working.png
Views:	44
Size:	25.7 KB
ID:	257413   Click image for larger version

Name:	Baro_no.png
Views:	45
Size:	33.3 KB
ID:	257414  

ojessie is offline   Reply With Quote
Old 09-05-2022, 03:48   #873
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Tactics Plugin

I see this, where is the baro signal coming from a file or an instrument?
Also please check the non-dial baro instrument.
rgleason is offline   Reply With Quote
Old 09-05-2022, 07:30   #874
Registered User

Join Date: Apr 2022
Posts: 15
Re: Tactics Plugin

It's coming from my BME280 sensor connected to my Raspberry GPIO. It's not working. All baro instruments are working in the standard dashboard non of them in tactics.
ojessie is offline   Reply With Quote
Old 09-05-2022, 09:17   #875
Registered User

Join Date: Mar 2011
Posts: 651
Re: Tactics Plugin

If you are using a RaspberryPi, is it safe to presume you are also using NodeRed to read the GPIO bus and also SignalK ?

Rick, I have no idea what version or flavour of a Tactics Dashboard the OP is referring to.

If it is this version of dashboard_tactics in your repository, then in dashboard_pi.cpp there is no processing of the signalk stream "environment.outside.pressure",

whereas there is processing of that SignalK stream in the "normal" built-in dashboard.

Clearly a lack of feature parity between different plugins ?
stevead is offline   Reply With Quote
Old 09-05-2022, 10:56   #876
Registered User

Join Date: Apr 2022
Posts: 15
Re: Tactics Plugin

To be honest I don't know if I'm using NodeRed, but I don't think so. What I did is read the forums, understood that BME is used here and users are more or less happy with it. Bought one, read the manual, installed the python libraries, enabled i2c on Rasbperry and on SignalK and it worked. Worked with the "standard" dashboard in opencpn but with non of the extented versions. Like tactics-pi.
ojessie is offline   Reply With Quote
Old 09-05-2022, 11:38   #877
Registered User

Join Date: Apr 2022
Posts: 15
Re: Tactics Plugin

another "small" issue ... nothing to do with dashboard, but I thought perhaps you are the right ones who can help me. When it comes to barometric data the sensor shows the "wrong" values. Appr. 20 hpa too less. As far as I understand it the file openplotterI2cRead. py is initializing the sensor (a couple of more) Is it possible to calibrate (offset) the sensor here in the section BME280 under pressure Key: pressureOffset?

import socket, time, threading, board, busio
from openplotterSettings import conf
from .ms5607 import Ms5607

def work_BME280(name,data):

def getPaths(value,value2,key,offset,raw):
Erg = ''
if value2:
try:
value3 = float(value2)
Erg += '{"path": "'+key+'","value":'+str(offset+value3)+'},'
except: Erg += '{"path": "'+key+'","value":"'+str(value2)+'"},'
else: Erg += '{"path": "'+key+'","value": null},'
if raw and value:
try:
value4 = float(value)
Erg += '{"path": "'+key+'.raw","value":'+str(value4)+'},'
except: Erg += '{"path": "'+key+'.raw","value":"'+str(value)+'"},'
return Erg

pressureKey = data['data'][0]['SKkey']
temperatureKey = data['data'][1]['SKkey']
humidityKey = data['data'][2]['SKkey']

if pressureKey or temperatureKey or humidityKey:
from adafruit_bme280 import basic as adafruit_bme280

address = data['address']
i2c = busio.I2C(board.SCL, board.SDA)
sensor = adafruit_bme280.Adafruit_BME280_I2C(i2c, address=int(address, 16))

if pressureKey:
pressureRaw = data['data'][0]['raw']
pressureRate = data['data'][0]['rate']
pressureOffset = data['data'][0]['offset']
if temperatureKey:
temperatureRaw = data['data'][1]['raw']
temperatureRate = data['data'][1]['rate']
temperatureOffset = data['data'][1]['offset']
if humidityKey:
humidityRaw = data['data'][2]['raw']
humidityRate = data['data'][2]['rate']
humidityOffset = data['data'][2]['offset']

Thanks
ojessie is offline   Reply With Quote
Old 10-05-2022, 03:31   #878
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Tactics Plugin

Yes dashboard-tactics signalk may not be processing.
Damn thing deleted what I wrote.
Stevead has it correct. Tactics has no signalk.
Hakan has been improving builtin dashboard.
We should get those updates into dash-t someday.

I dont have time for these problems.
rgleason is offline   Reply With Quote
Old 10-05-2022, 03:38   #879
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Tactics Plugin

Make a new issue in my git tactics repos please.
rgleason is offline   Reply With Quote
Old 19-05-2022, 10:04   #880
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Tactics Plugin

@Ojessie You might be able to correct this problem with nemaconverter_pi look it up and read the manual.



Quote:
Originally Posted by rgleason View Post
Make a new issue in my git tactics repos please.
rgleason is offline   Reply With Quote
Old 08-07-2022, 21:13   #881
Registered User

Join Date: Jun 2019
Location: Melbourne, Australia
Boat: Swan 36
Posts: 2
Re: Tactics Plugin

My work around for this is to get signalk to output NMEA0183, go to signalk login and in plugin config select "convert Signalk to NMEA0183" and put in a new connection in opencpn with TCP localhost and data port 10110 that seems to work for the BMP280 pressure, it also allows data from an actisence NGT-1 to be read and processed by dashboardT and tactics
Geoff s is offline   Reply With Quote
Old 28-02-2023, 07:36   #882
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: Tactics Plugin

A hint for Tactics plugin developer(s)
Since Tactics is based on a copy of Dashboard:
We found serious "bad" code in Dashboard for the wind and barometer history graphs.
The method to draw the graph on screen using 3000 data points was very inefficient. It some cases it actually consumed more than 1000 ms to draw the entire graph. Every second! That implied a serious data collection disturbance so the data sources was halted for the entire OCPN.

Dave had a solution so now it use ~30-50 ms instead.
Pls study this commit for wind history graph. Row ~590
and a similar for barometer history graph. Row ~340
Hakan is offline   Reply With Quote
Old 28-02-2023, 08:07   #883
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Tactics Plugin

Tactics 1.0.35 trial

Problem: Font Sizes for high res screens (250% )
FontTitle - 13
FontData - 28
FontLabel - 13
FontSmall - 13
Attached Thumbnails
Click image for larger version

Name:	tactics-trial.jpg
Views:	38
Size:	450.3 KB
ID:	272202   Click image for larger version

Name:	Tactics-Settings.jpg
Views:	40
Size:	451.5 KB
ID:	272203  

rgleason is offline   Reply With Quote
Old 28-02-2023, 08:44   #884
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: Tactics Plugin

Pls compare corresponding changes to Dashboard to scale fonts and more for scaled Windows.
For example dashboard_pi.cpp : ~3100. if (dialog->ShowModal() == wxID_OK
Hakan is offline   Reply With Quote
Old 01-04-2023, 06:09   #885
Registered User
 
Schnapsy's Avatar

Join Date: Jan 2018
Location: Dunkirk, France
Boat: ETAP 30i
Posts: 243
Images: 3
Re: Tactics Plugin

Hi,

I noticed that the depth data remains displayed even if the data connection nmea is interrupted, unlike the classic dashboard where this problem was fixed.

This can cause problems when sailing in coastal.
Would it be possible, in case of interruption of nmea flows, that this data displayed on the Tactics dashboard disappear as like in the classic dashboard ?
Schnapsy is offline   Reply With Quote
Reply

Tags
plug


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multihull storm tactics? sneuman Multihull Sailboats 234 13-04-2023 18:01
Storm Tactics irwinsailor The Library 90 15-10-2009 04:24
Heavy Weather Tactics and Equipment Benny Seamanship & Boat Handling 54 10-09-2009 06:04
Storm Tactics GordMay The Library 1 17-04-2005 05:54
Heavy-Weather Tactics: GordMay General Sailing Forum 25 28-10-2003 15:44

Advertise Here


All times are GMT -7. The time now is 22:40.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.