Monitoring devices only within a specific area

Maarten7 years ago

Good day,

For a project I'd like to create a dashboard with devices (cars in this case) within a specific area only. We would like to monitor the location of about 20 cars within a specific radius (the streets where they could be parked) but I have no idea if it's possible. Perhaps with using geofences? The idea would be that cars 'taken' by people will disapear/be hidden from the map when they leave this specific area. We don't want to follow people, we just want to know where our parked cars are.

Thank you for thinking with me!

Francesco7 years ago

Hello, I also have a similar problem: monitor devices (car) only in a specific area (from when they enter what they leave). it's possible? Thanks

Anton Tananaev7 years ago

There is no such functionality out of the box, but it should be fairly easy to implement with some minor code modifications.

Maarten7 years ago

Hi Anton, first of all, great product, thank you for developing it! Unfortunately I’m not a good coder :( Could this be implemented as a feature perhaps? Or tell me where to edit things to make this work?

Thank you!

Anton Tananaev7 years ago

We can implement it as a customisation. Send an email to support address to discuss it, if you are interested.

ewan richardson7 years ago

you could easily use node-red to do this via the traccar api

Francesco7 years ago

Thanks for all reply...
@Anton: customisation... in the server?
@Ewan: I don't know node-red... a guide? It's similar jbpm?

Thanks a lot
France

Maarten7 years ago

Hi Anton, I've sent you a detailed mail with the use case - it would be great if something like this would be possible, perhaps also for other people (Francesco). Thanks!

Francesco7 years ago

Hi, this is a great project! Compliments! But a solution for this problem? Found?

Francesco7 years ago

Hello, I modified the DeviceResource class, public method Collection <Device> get - now, I return the device list in the area (specified, with appropriate custom attribute). Is it enough to exclude the reception of other devices?

Anton Tananaev7 years ago

I don't think it's a correct solution. I believe it should done in filtering handler.

Francesco7 years ago

Thanks for reply, Anton! So, you're referring to the MotionEventHandler class ?

Anton Tananaev7 years ago

I'm referring to FilterHandler.