SK
Signal K2mo ago
Bram

Bram - I have signalk-mqtt-gw configured to con...

I have signalk-mqtt-gw configured to connect to my home assistant mqtt broker. I would like to send only a couple of path (to start with navigation.position and huawei, both on self). But it keeps sending all changes. I've set "data to send to remote" to "3 self paths in JSON format" and than configured the two paths. Is there something i am missing why it is not just limiting it to those two paths?
No description
5 Replies
Karl-Erik Gustafsson
There are two modes in plugin, server and client. Server publish all server data on local port. Client can send data either in delta or json formats. There are needed target mqtt address and credentials. Option 3 and listed paths should be correct. Need to check if there is some issue now. Seems to send OK. JSON is sent every 10s as set and only defined path.
Jul 16 07:13:41 2025-07-16T07:13:41.402Z signalk-mqtt-gw Published signalk/delta {"context":"vessels.urn:mrn:imo:mmsi:2300xxxxx","updates":[{"timestamp":"2025-07-16T07:13:40.000Z","$source":"Arabella GNSS.GN","values":[{"path":"navigation.position","value":{"longitude":2x.x86593166666666,"latitude":6y.y785245}}]}]}
Jul 16 07:13:52 2025-07-16T07:13:52.330Z signalk-mqtt-gw Published signalk/delta {"context":"vessels.urn:mrn:imo:mmsi:2300xxxxx","updates":[{"timestamp":"2025-07-16T07:13:51.000Z","$source":"Arabella GNSS.GN","values":[{"path":"navigation.position","value":{"longitude":2x.x86591833333333,"latitude":6y.y7852433333333}}]}]}
Jul 16 07:13:41 2025-07-16T07:13:41.402Z signalk-mqtt-gw Published signalk/delta {"context":"vessels.urn:mrn:imo:mmsi:2300xxxxx","updates":[{"timestamp":"2025-07-16T07:13:40.000Z","$source":"Arabella GNSS.GN","values":[{"path":"navigation.position","value":{"longitude":2x.x86593166666666,"latitude":6y.y785245}}]}]}
Jul 16 07:13:52 2025-07-16T07:13:52.330Z signalk-mqtt-gw Published signalk/delta {"context":"vessels.urn:mrn:imo:mmsi:2300xxxxx","updates":[{"timestamp":"2025-07-16T07:13:51.000Z","$source":"Arabella GNSS.GN","values":[{"path":"navigation.position","value":{"longitude":2x.x86591833333333,"latitude":6y.y7852433333333}}]}]}
Bram
BramOP2mo ago
Ok, i will check later again why i also received the other paths. Is that 10sec interval defined by the plugin, or is that the rate that changes where generated? And is that configurable? (i would like to push a position only every 1 min).
Karl-Erik Gustafsson
Ensure that tick box Send data for paths listed below to remote server is selected. This enable client part. Set time to 60. I just tested with 10s to verify operations.
Bram
BramOP2mo ago
Thx it works, not sure what i did wrong yesterday. The configuration screen confused me a bit. Because at the top is the ability to "Send data for paths listed below to remote server". But if i am correct this only applies to 3 and 4 (as stated in the title). The thing that confused me is that option 1 and 2 are only different from 3 and 4 in the format that they output (JSON). I would have expected that it would also be possible for regular mqtt formatted messages (1 and 2) to be filtered on the provided paths. Is there a reason not to include those? Because it would i think be easier to integrate that in home assistant.
Karl-Erik Gustafsson
Feedback noted and I must say that some adjustment is needed to make settings UI more usable.

Did you find this page helpful?