Home position

Is it possible to get the value of

PaperUI->Configuration->System->Regional Settings->Location within a rule?

1 Like

@5iver is reccomending JSR223 :slight_smile:

If you don’t want to use JSR223, you could set up a dummy Item and store the location data there.

I have to move my stuff over to JSR223 also… very powerful:
i) https://github.com/OH-Jython-Scripters/openhab2-jython
ii) https://github.com/yfaway/openhab-rules

Check out the gpstracker binding. I didn’t see a direct way of accessing that but reading the example configs & playing with the possibilities should get you closer to your goal which probably isn’t the location itself but rather something like a distance from home.