Abstract: A method for testing compatibility between the energy needs of an electrically autonomous home-automation device and a predetermined location for a photovoltaic module comprising a step (Etp1) of selecting and storing an electrically autonomous home-automation device, a step (Etp2) of inputting and storing position data relative to the predetermined location, a step (Etp3) of defining and storing a shadow mask, a step (Etp5) of calculating the change in the amplitude of the solar radiation received at the predetermined location over the course of a year and a step (Etp6) of calculating an energy balance from the change in the amplitude of the solar radiation received at the predetermined location and the energy needs of the selected home-automation device.