Brottsplatskartan


The brottsplatskartan sensor allows one to track reported incidents occurring in a given area. Incidents include anything reported to Brottsplatskartan. The sensor only counts incidents from the current day.

Configuration

To enable this sensor, add the following lines to your configuration.yaml.

sensor:
  - platform: brottsplatskartan

Configuration Variables

name

(string)(Optional)Custom name for the sensor.

Default value: Brottsplatskartan

area

(string)(Optional)Area for sensor to monitor

latitude

(Optional)Latitude for sensor.

Default value: Your home zone latitude defined in your configuration.

longitude

(Optional)Longitude for sensor.

Default value: Your home zone longitude defined in your configuration.

Notes

Area

Brottsplatskartan captures all incidents in a region, e.g Stockholms län. If area parameter is defined, any latitude and longitude parameters are ignored.

Latitude and Longitude

The radius is set to 5 km when using latitude and longitude to monitor an area. It’s not possible to explicitly set radius to another value.