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
MQTT data manipulation
#8
Hi,

I guess that once the data is received using MQTT and is directed to the correct SignalK key SK just knows to interpret incoming data as a number. It gets a unit and all.

I was just fiddling around with the UDP solution:

Looking trough the signal K doc's the json structure should look something like this:


Code:
MESSAGE = {
   "updates": [
       {
           "source": {
               "label": "ArduinoA0",
               },
           "values": [
               {
                   "path": "propulsion.engine.revolutions",
                   "value": 16.341667
                   },
               ]
           }
       ]
   }
 

Should i send it to port 3000 or to 10110 ?
BTW. I really do not like Node-Red. My CPU load peeks to 80% as soon as i start thinking about using Node-Red.
Koen.
Reply


Messages In This Thread
MQTT data manipulation - by KKempeneers - 2019-05-12, 02:38 PM
RE: MQTT data manipulation - by jim321 - 2019-05-12, 07:44 PM
MQTT data manipulation - by PaddyB - 2019-05-13, 08:52 AM
RE: MQTT data manipulation - by KKempeneers - 2019-05-13, 12:05 PM
RE: MQTT data manipulation - by PaddyB - 2019-05-13, 12:15 PM
RE: MQTT data manipulation - by KKempeneers - 2019-05-13, 04:10 PM
RE: MQTT data manipulation - by PaddyB - 2019-05-13, 06:20 PM
RE: MQTT data manipulation - by KKempeneers - 2019-05-13, 07:53 PM
RE: MQTT data manipulation - by tkurki - 2019-05-14, 05:52 AM
RE: MQTT data manipulation - by KKempeneers - 2019-05-14, 10:20 AM
RE: MQTT data manipulation - by PaddyB - 2019-05-14, 11:11 AM
RE: MQTT data manipulation - by PaddyB - 2019-05-14, 09:45 AM
RE: MQTT data manipulation - by PaddyB - 2019-05-13, 08:30 PM
RE: MQTT data manipulation - by KKempeneers - 2019-05-14, 05:42 PM
RE: MQTT data manipulation - by KKempeneers - 2019-05-25, 08:47 AM
RE: MQTT data manipulation - by PaddyB - 2019-05-25, 05:45 PM
RE: MQTT data manipulation - by KKempeneers - 2019-05-26, 05:47 PM
RE: MQTT data manipulation - by PaddyB - 2019-05-26, 07:23 PM
RE: MQTT data manipulation - by PaddyB - 2019-05-27, 11:47 AM
MQTT data manipulation - by tkurki - 2019-05-27, 07:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)