devRoemer / node-red-contrib-time-switch

A node that switches on and off depending on the current time
MIT License
3 stars 0 forks source link

Geo location from message #12

Closed bad-louis closed 3 years ago

bad-louis commented 3 years ago

Is your feature request related to a problem? Please describe. I have the geo coordinates in two fields in my message (lat and lon) and would like to use these instead of the configurable ones.

Describe the solution you'd like Use the configured coordinates only if certain fields in the message are not filled.

Describe alternatives you've considered Currently none possible.

devRoemer commented 3 years ago

I'll have a look at this. Should not be too complicated to implement.

devRoemer commented 3 years ago

Implemented in 1.1.0. Furthermore this version has improved error messages for invalid geo locations.

Have a look at the documentation to find out how to use it. You can now use placeholders in the geo loaction to use any global, flow or message value.