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
How to use 1W data?
#11
gpio-4 is the one that i use.....
Reply
#12
@jim321
Your picture "change to fahrenheit" would be complete if the second C is a F  (XDR   5.0   ,C,x.x|F,F,ENV_OUTAIR_T,)

@Arruba
Your hardware works.
From security side the "opencpn default" button does only work if everything else is deleted (if the list is empty). Please try.
The documentation has been updated. https://sailoog.gitbooks.io/openplotter-...rator.html
Reply
#13
Thank you.
I appreciate the updated documentation and your support.
OP 0.16
Rasp. PI 3+Moitessier hat


Reply
#14
OK, today I made some picture (a lot, really!) to the screen.
Name of the photo and description:
General view: The OpenCPN standard view (not hooker the AIS, the swill be the subject of another thread, when resolved this one);
OP I2C: this is the windows of I2C interface populated by the "Add" button. The real sensor is a BMP, not a BME as listed;
NMEA outside temp: a detail of the temperature line of the previous window;
OP 1W: this window was populated "by hand"; 
Edit Temp sensor: the sensor added manually;
(the following line refer to attachment I have to place in a subsequent post)
diagnostic Signal K: the output of diagnostic; observe that the three temperature sensors (one from I2C and two from 1W) works correctly. The problem is that I can't use those values, i.e. I can't place in dashboard (or at lest I don't know how do!);
NMEA 0183 generator: the window populated when empty pressing the "add" button, but the last line added manually;
NMEA inside temp: the $-MTW sentence added automatically. Why the Field name is "Water Temperature"?
NMEA engine room temp: ditto for the previous one, but added manually. It is not visible in the list available for the Dashboard;
add instrument from 1 to 8: the Add Instrument window in Dashboard showing that are listed only two temp. How cam custumozie this window? How other values, sensor, etc. can be made available to dashboard? and how can one change the title of a dashboard value? (i.e., from Water temperature to the temp really measured?)

OK, I inserted some question in detailing the content of the various pictures.
The problem is: I have some 1W temperature sensor I am able to insert. How can I customize or add a my Key to "Select Signal K key" window? (and why the description is not in sync and not editable? and what is the use of the last filed?)
And in the "NMEA 0183 generator" windows "add NMEA 0183 sentence".

Try to simplify: I wish have on Dashboard the values of various sensors in this case 1W temperature sensor. How must I proceed?

Thank you to all :-)

(2017-11-27, 10:10 PM)Arruba Wrote: ...
Thank you to all :-)

in this post five more attachment

(2017-11-27, 10:10 PM)Aruba Wrote: ...
add instrument from 1 to 8:
...
Thank you to all :-)

(2017-11-27, 10:10 PM)Arruba Wrote: ...
Thank you to all :-)

in this post five more attachment, not all the seven more showing any line own the windows


Attached Files Image(s)
                                                           
OP 0.16
Rasp. PI 3+Moitessier hat


Reply
#15
(2017-11-27, 10:10 PM)Arruba Wrote: OK, today I made some picture (a lot, really!) to the screen.
Name of the photo and description:
General view: The OpenCPN standard view (not hooker the AIS, the swill be the subject of another thread, when resolved this one);
OP I2C: this is the windows of I2C interface populated by the "Add" button. The real sensor is a BMP, not a BME as listed;
NMEA outside temp: a detail of the temperature line of the previous window;
OP 1W: this window was populated "by hand"; 
Edit Temp sensor: the sensor added manually;
(the following line refer to attachment I have to place in a subsequent post)
diagnostic Signal K: the output of diagnostic; observe that the three temperature sensors (one from I2C and two from 1W) works correctly. The problem is that I can't use those values, i.e. I can't place in dashboard (or at lest I don't know how do!);
NMEA 0183 generator: the window populated when empty pressing the "add" button, but the last line added manually;
NMEA inside temp: the $-MTW sentence added automatically. Why the Field name is "Water Temperature"?
NMEA engine room temp: ditto for the previous one, but added manually. It is not visible in the list available for the Dashboard;
add instrument from 1 to 8: the Add Instrument window in Dashboard showing that are listed only two temp. How cam custumozie this window? How other values, sensor, etc. can be made available to dashboard? and how can one change the title of a dashboard value? (i.e., from Water temperature to the temp really measured?)

OK, I inserted some question in detailing the content of the various pictures.
The problem is: I have some 1W temperature sensor I am able to insert. How can I customize or add a my Key to "Select Signal K key" window? (and why the description is not in sync and not editable? and what is the use of the last filed?)
And in the "NMEA 0183 generator" windows "add NMEA 0183 sentence".

Try to simplify: I wish have on Dashboard the values of various sensors in this case 1W temperature sensor. How must I proceed?

Thank you to all :-)

(2017-11-27, 10:10 PM)Arruba Wrote: ...
Thank you to all :-)
(2017-11-27, 10:10 PM)Aruba Wrote: ...
add instrument from 1 to 8:
...
Thank you to all :-)

(2017-11-27, 10:10 PM)Arruba Wrote: ...
Thank you to all :-)

in this post five more attachment, not all the seven more showing any line own the windows
The only nmea sentences recognized by the dashboard are in here, not many to choose from.

https://opencpn.org/wiki/dokuwiki/doku.p..._sentences

Sent from my SGP511 using Tapatalk
Reply
#16
Yes, but dashboard has no way to show different view of different sensors having the same sentence.
I have understood that there is a different way, perhaps using node-red or SignalK Server or Freeboard to have the info I need displayed.
Now the problem is to find some tutorials and study all!
OP 0.16
Rasp. PI 3+Moitessier hat


Reply
#17
Hi PaddyB if you have a moment free I would appreciate some help. In your Node-red GUI you show 3 temperature gauges. How did you do that as they all share the same SignalK_key (environment.outside.temperature). How did you get Node-red to differentiate between the different DS18B20 thermo-sensors.
Thanks
Richard
Reply
#18
I set each one wire address up like this with its own signalk key -

[Image: yipdMAA.png]
Reply
#19
Hi Paddy,
where I can see your Node-red?
OP 0.16
Rasp. PI 3+Moitessier hat


Reply
#20
(2017-12-02, 07:29 PM)Arruba Wrote: Hi Paddy,
where I can see your Node-red?

Here -> 

Code:
[
   {
       "id": "67b79641.1fad68",
       "type": "websocket in",
       "z": "749e8283.293f4c",
       "name": "SignalK input",
       "server": "fc1b2b62.0b63a8",
       "client": "",
       "x": 90,
       "y": 100,
       "wires": [
           [
               "20af45d9.7fe30a"
           ]
       ]
   },
   {
       "id": "d652486c.7ed398",
       "type": "delay",
       "z": "749e8283.293f4c",
       "name": "",
       "pauseType": "rate",
       "timeout": "5",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "minute",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": true,
       "x": 670,
       "y": 145,
       "wires": [
           [
               "cb80fafe.8bc1d8"
           ]
       ]
   },
   {
       "id": "b3490042.bbd67",
       "type": "delay",
       "z": "749e8283.293f4c",
       "name": "",
       "pauseType": "rate",
       "timeout": "5",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "minute",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": true,
       "x": 670,
       "y": 225,
       "wires": [
           [
               "c476748a.0d02b8"
           ]
       ]
   },
   {
       "id": "41967fda.ebcdf",
       "type": "delay",
       "z": "749e8283.293f4c",
       "name": "",
       "pauseType": "rate",
       "timeout": "5",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "minute",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": true,
       "x": 670,
       "y": 305,
       "wires": [
           [
               "5ac0570d.33b958"
           ]
       ]
   },
   {
       "id": "ee7ce1a6.f4d62",
       "type": "delay",
       "z": "749e8283.293f4c",
       "name": "",
       "pauseType": "rate",
       "timeout": "5",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": true,
       "x": 670,
       "y": 345,
       "wires": [
           [
               "2af0ffc5.36311"
           ]
       ]
   },
   {
       "id": "23f49bc6.7d4f34",
       "type": "delay",
       "z": "749e8283.293f4c",
       "name": "",
       "pauseType": "rate",
       "timeout": "5",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "minute",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": true,
       "x": 670,
       "y": 265,
       "wires": [
           [
               "30135c60.5c6134"
           ]
       ]
   },
   {
       "id": "accdb940.5e5d38",
       "type": "delay",
       "z": "749e8283.293f4c",
       "name": "",
       "pauseType": "rate",
       "timeout": "5",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": true,
       "x": 670,
       "y": 185,
       "wires": [
           [
               "6cddc5a1.97f00c"
           ]
       ]
   },
   {
       "id": "ad76e510.526488",
       "type": "comment",
       "z": "749e8283.293f4c",
       "name": "Engine temperature guages and graphs",
       "info": "",
       "x": 240,
       "y": 40,
       "wires": []
   },
   {
       "id": "dbc264db.e996e8",
       "type": "change",
       "z": "749e8283.293f4c",
       "name": "Filter engine temp",
       "rules": [
           {
               "t": "set",
               "p": "payload",
               "pt": "msg",
               "to": "msg.payload.updates.values[path=\"propulsion.engine.temperature\"].value",
               "tot": "jsonata"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 290,
       "y": 125,
       "wires": [
           [
               "12d0fbb4.557744"
           ]
       ]
   },
   {
       "id": "20af45d9.7fe30a",
       "type": "json",
       "z": "749e8283.293f4c",
       "name": "",
       "pretty": false,
       "x": 90,
       "y": 285,
       "wires": [
           [
               "dbc264db.e996e8",
               "8b31ff78.f9f4",
               "4e228623.5d83f8",
               "8b385a5c.b0c248",
               "2c398bd9.039814",
               "825023eb.4bddb"
           ]
       ]
   },
   {
       "id": "12d0fbb4.557744",
       "type": "switch",
       "z": "749e8283.293f4c",
       "name": "Is it empty?",
       "property": "payload",
       "propertyType": "msg",
       "rules": [
           {
               "t": "nnull"
           }
       ],
       "checkall": "true",
       "outputs": 1,
       "x": 350,
       "y": 165,
       "wires": [
           [
               "d652486c.7ed398",
               "accdb940.5e5d38"
           ]
       ]
   },
   {
       "id": "8b31ff78.f9f4",
       "type": "change",
       "z": "749e8283.293f4c",
       "name": "Filter alt temp",
       "rules": [
           {
               "t": "set",
               "p": "payload",
               "pt": "msg",
               "to": "msg.payload.updates.values[path=\"propulsion.alt.temperature\"].value",
               "tot": "jsonata"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 300,
       "y": 205,
       "wires": [
           [
               "4a8866f9.186ab8"
           ]
       ]
   },
   {
       "id": "4a8866f9.186ab8",
       "type": "switch",
       "z": "749e8283.293f4c",
       "name": "Is it empty?",
       "property": "payload",
       "propertyType": "msg",
       "rules": [
           {
               "t": "nnull"
           }
       ],
       "checkall": "true",
       "outputs": 1,
       "x": 370,
       "y": 245,
       "wires": [
           [
               "b3490042.bbd67",
               "23f49bc6.7d4f34"
           ]
       ]
   },
   {
       "id": "4e228623.5d83f8",
       "type": "change",
       "z": "749e8283.293f4c",
       "name": "Filter exhaust temp",
       "rules": [
           {
               "t": "set",
               "p": "payload",
               "pt": "msg",
               "to": "msg.payload.updates.values[path=\"propulsion.exh.temperature\"].value",
               "tot": "jsonata"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 290,
       "y": 300,
       "wires": [
           [
               "3d303b8e.883b74"
           ]
       ]
   },
   {
       "id": "3d303b8e.883b74",
       "type": "switch",
       "z": "749e8283.293f4c",
       "name": "Is it empty?",
       "property": "payload",
       "propertyType": "msg",
       "rules": [
           {
               "t": "nnull"
           }
       ],
       "checkall": "true",
       "outputs": 1,
       "x": 370,
       "y": 345,
       "wires": [
           [
               "41967fda.ebcdf",
               "ee7ce1a6.f4d62"
           ]
       ]
   },
   {
       "id": "cb80fafe.8bc1d8",
       "type": "function",
       "z": "749e8283.293f4c",
       "name": "Convert to deg C",
       "func": "var numInput = Number(msg.payload);\nmsg.topic = \"Eng\";\nvar T =  numInput-273.15;\nmsg.payload = T.toFixed(1);\nreturn msg;",
       "outputs": 1,
       "noerr": 0,
       "x": 850,
       "y": 145,
       "wires": [
           [
               "985338c6.d20748"
           ]
       ]
   },
   {
       "id": "6cddc5a1.97f00c",
       "type": "function",
       "z": "749e8283.293f4c",
       "name": "Convert to deg C",
       "func": "var numInput = Number(msg.payload);\nmsg.topic = \"Eng\";\nvar T =  numInput-273.15;\nmsg.payload = T.toFixed(1);\nreturn msg;",
       "outputs": 1,
       "noerr": 0,
       "x": 850,
       "y": 185,
       "wires": [
           [
               "f66f5fb8.176a1"
           ]
       ]
   },
   {
       "id": "c476748a.0d02b8",
       "type": "function",
       "z": "749e8283.293f4c",
       "name": "Convert to deg C",
       "func": "var numInput = Number(msg.payload);\nmsg.topic = \"Eng\";\nvar T =  numInput-273.15;\nmsg.payload = T.toFixed(1);\nreturn msg;",
       "outputs": 1,
       "noerr": 0,
       "x": 850,
       "y": 225,
       "wires": [
           []
       ]
   },
   {
       "id": "30135c60.5c6134",
       "type": "function",
       "z": "749e8283.293f4c",
       "name": "Convert to deg C",
       "func": "var numInput = Number(msg.payload);\nmsg.topic = \"Eng\";\nvar T =  numInput-273.15;\nmsg.payload = T.toFixed(1);\nreturn msg;",
       "outputs": 1,
       "noerr": 0,
       "x": 850,
       "y": 265,
       "wires": [
           [
               "2e9c3f90.ea532"
           ]
       ]
   },
   {
       "id": "5ac0570d.33b958",
       "type": "function",
       "z": "749e8283.293f4c",
       "name": "Convert to deg C",
       "func": "var numInput = Number(msg.payload);\nmsg.topic = \"Eng\";\nvar T =  numInput-273.15;\nmsg.payload = T.toFixed(1);\nreturn msg;",
       "outputs": 1,
       "noerr": 0,
       "x": 850,
       "y": 305,
       "wires": [
           [
               "9ca91b03.6c5c38"
           ]
       ]
   },
   {
       "id": "2af0ffc5.36311",
       "type": "function",
       "z": "749e8283.293f4c",
       "name": "Convert to deg C",
       "func": "var numInput = Number(msg.payload);\nmsg.topic = \"Eng\";\nvar T =  numInput-273.15;\nmsg.payload = T.toFixed(1);\nreturn msg;",
       "outputs": 1,
       "noerr": 0,
       "x": 850,
       "y": 345,
       "wires": [
           [
               "acffaa91.dcbd08"
           ]
       ]
   },
   {
       "id": "acffaa91.dcbd08",
       "type": "ui_gauge",
       "z": "749e8283.293f4c",
       "name": "ExhTempGauge",
       "group": "3bc70d31.720c02",
       "order": 3,
       "width": "3",
       "height": "4",
       "gtype": "gage",
       "title": "Exhaust temperature",
       "label": "Deg C",
       "format": "{{value}}",
       "min": 0,
       "max": "120",
       "colors": [
           "#00b500",
           "#e6e600",
           "#ca3838"
       ],
       "seg1": "",
       "seg2": "",
       "x": 1060,
       "y": 345,
       "wires": []
   },
   {
       "id": "9ca91b03.6c5c38",
       "type": "ui_chart",
       "z": "749e8283.293f4c",
       "name": "ExhGraph",
       "group": "839affdb.33ce",
       "order": 0,
       "width": "23",
       "height": "7",
       "label": "Exh temperature history",
       "chartType": "line",
       "legend": "false",
       "xformat": "HH:mm",
       "interpolate": "linear",
       "nodata": "waiting",
       "ymin": "",
       "ymax": "",
       "removeOlder": "12",
       "removeOlderPoints": "",
       "removeOlderUnit": "3600",
       "cutout": "",
       "colors": [
           "#1f77b4",
           "#aec7e8",
           "#ff7f0e",
           "#2ca02c",
           "#98df8a",
           "#d62728",
           "#ff9896",
           "#9467bd",
           "#c5b0d5"
       ],
       "x": 1040,
       "y": 305,
       "wires": [
           [],
           []
       ]
   },
   {
       "id": "2e9c3f90.ea532",
       "type": "ui_gauge",
       "z": "749e8283.293f4c",
       "name": "AltTempGauge",
       "group": "3bc70d31.720c02",
       "order": 2,
       "width": "3",
       "height": "4",
       "gtype": "gage",
       "title": "Alt  temperature",
       "label": "Deg C",
       "format": "{{value}}",
       "min": 0,
       "max": "120",
       "colors": [
           "#00b500",
           "#e6e600",
           "#ca3838"
       ],
       "seg1": "",
       "seg2": "",
       "x": 1060,
       "y": 265,
       "wires": []
   },
   {
       "id": "c64d6283.aca53",
       "type": "ui_chart",
       "z": "749e8283.293f4c",
       "name": "Alt graph",
       "group": "839affdb.33ce",
       "order": 0,
       "width": "23",
       "height": "7",
       "label": "Alt temperature history",
       "chartType": "line",
       "legend": "false",
       "xformat": "HH:mm",
       "interpolate": "linear",
       "nodata": "",
       "ymin": "",
       "ymax": "",
       "removeOlder": "12",
       "removeOlderPoints": "",
       "removeOlderUnit": "3600",
       "cutout": "",
       "colors": [
           "#1f77b4",
           "#aec7e8",
           "#ff7f0e",
           "#2ca02c",
           "#98df8a",
           "#d62728",
           "#ff9896",
           "#9467bd",
           "#c5b0d5"
       ],
       "x": 1040,
       "y": 225,
       "wires": [
           [],
           []
       ]
   },
   {
       "id": "f66f5fb8.176a1",
       "type": "ui_gauge",
       "z": "749e8283.293f4c",
       "name": "EngTempGauge",
       "group": "3bc70d31.720c02",
       "order": 1,
       "width": "3",
       "height": "4",
       "gtype": "gage",
       "title": "Engine temperature",
       "label": "Deg C",
       "format": "{{value}}",
       "min": 0,
       "max": "120",
       "colors": [
           "#00b500",
           "#e6e600",
           "#ca3838"
       ],
       "seg1": "",
       "seg2": "",
       "x": 1060,
       "y": 185,
       "wires": []
   },
   {
       "id": "985338c6.d20748",
       "type": "ui_chart",
       "z": "749e8283.293f4c",
       "name": "EngineGraph",
       "group": "839affdb.33ce",
       "order": 0,
       "width": "23",
       "height": "7",
       "label": "Engine temperature history",
       "chartType": "line",
       "legend": "true",
       "xformat": "HH:mm",
       "interpolate": "linear",
       "nodata": "data",
       "ymin": "",
       "ymax": "",
       "removeOlder": "12",
       "removeOlderPoints": "",
       "removeOlderUnit": "3600",
       "cutout": "",
       "colors": [
           "#1f77b4",
           "#aec7e8",
           "#ff7f0e",
           "#2ca02c",
           "#98df8a",
           "#d62728",
           "#ff9896",
           "#9467bd",
           "#c5b0d5"
       ],
       "x": 1060,
       "y": 145,
       "wires": [
           [],
           []
       ]
   },
   {
       "id": "fc1b2b62.0b63a8",
       "type": "websocket-listener",
       "z": "",
       "path": "ws://localhost:3000/signalk/v1/stream",
       "wholemsg": "false"
   },
   {
       "id": "3bc70d31.720c02",
       "type": "ui_group",
       "z": "",
       "name": "Gauges",
       "tab": "de6fba2.670c748",
       "order": 2,
       "disp": true,
       "width": "6"
   },
   {
       "id": "839affdb.33ce",
       "type": "ui_group",
       "z": "",
       "name": "Eng Temp Graphs",
       "tab": "9ba2713.ee8369",
       "disp": true,
       "width": "23"
   },
   {
       "id": "de6fba2.670c748",
       "type": "ui_tab",
       "z": "",
       "name": "Gauges",
       "icon": "dashboard",
       "order": 2
   },
   {
       "id": "9ba2713.ee8369",
       "type": "ui_tab",
       "z": "",
       "name": "Graphs",
       "icon": "dashboard",
       "order": 3
   }
]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)