A method for detecting availability of a parking space in a parking facility, comprising: providing a lighting system having at least one visible-light source for illumination of at least part of said parking space; providing an available space time-of-flight trace, said available space time-of-flight trace being a trace, captured by a sensor of said lighting system, of a reflection of an available space visible-light signal emitted from said visible-light source, in a predetermined direction toward a predetermined target, in said parking space, when said parking space is available, on said predetermined target; providing an availability threshold value, said availability threshold value being a difference value from said available space time-of-flight trace at which said parking space is determined to be available; illuminating said at least part of said parking space using said at least one visible-light source; emitting a status visible-light signal from said visible-light source in said predetermined direction toward said predetermined target in said parking space; capturing a status reflection trace at said visible-light source, said status reflection trace being a trace, captured by said sensor at said visible-light source, of a reflection of said status visible-light signal emitted from said visible-light source; determining a time-of-flight difference value by comparing said status reflection trace to said available space time-of-flight trace; comparing said time-of-flight difference value with said availability threshold value and determining a status of said parking space to be one of available and not available. providing a lighting system having at least one visible-light source for illumination of at least part of said parking space; providing an available space time-of-flight trace, said available space time-of-flight trace being a trace, captured by a sensor of said lighting system, of a reflection of an available space visible-light signal emitted from said visible-light source, in a predetermined direction toward a predetermined target, in said parking space, when said parking space is available, on said predetermined target; providing an availability threshold value, said availability threshold value being a difference value from said available space time-of-flight trace at which said parking space is determined to be available; illuminating said at least part of said parking space using said at least one visible-light source; emitting a status visible-light signal from said visible-light source in said predetermined direction toward said predetermined target in said parking space; capturing a status reflection trace at said visible-light source, said status reflection trace being a trace, captured by said sensor at said visible-light source, of a reflection of said status visible-light signal emitted from said visible-light source; determining a time-of-flight difference value by comparing said status reflection trace to said available space time-of-flight trace; comparing said time-of-flight difference value with said availability threshold value and determining a status of said parking space to be one of available and not available.