Conversation
0 can be a valid co-ordinate, now setting to -91 and -181 for latitude and longitude respectively to mark invalid values
Messages are now only sent on change, default values for lat/lon are now invalid values (0 is a valid coordinate).
|
Thanks @aselafernando . I've ordered a GPS module so I can test this. Will review after. |
|
I use a Globalsat BU353 USB GPS receiver I had left over from when I used to have a CarPC in the car running windows haha |
I just got a serial/USB serial GPS module of Amazon, will give it a spin some time next week. |
Added a plugin that can read location data from a GPSD daemon. This can be used by subsequent plugins to make location aware decisions. There is also a simple geofence implemented that can identify and notify when the co-ordinate is within the closed shape formed by the nominated points.
Requires libgps-dev to compile