SignalK / node-red-embedded

Node red nodes for use with the signalk-node-red plugin
Apache License 2.0
12 stars 2 forks source link

signalK-geofence-switch #18

Closed jjskaife closed 4 years ago

jjskaife commented 4 years ago

Is it possible to dynamically change the lat/lon of the geofence center through an input msg?

sbender9 commented 4 years ago

Not currently possible, but I had someone else requests this. I'll go ahead and add it...

sbender9 commented 4 years ago

The way I have implemented this is too allow two different inputs into gefence-switch. One would send a msg with the topic "signalk-config", this would contain json with lat/lon and optionally distance. Would that work for you?

jjskaife commented 4 years ago

that sounds perfect. thanks for the great job on this.

sbender9 commented 4 years ago

ok, I published this. To get the update:

cd ~/.signalk
npm install  @signalk/node-red-embedded@2.16.0