A method of monitoring and optimization of the operation of a set of photovoltaic panels allowing damage detection and prediction, comprising the steps of: Providing monitoring modules connected to photovoltaic panels and powered by them, as well as a network coordinator, wherein the monitoring modules are able to communicate wirelessly with each other and with the network coordinator; Assigning a logical address to each monitoring module in such a manner that modules with successive logical addresses are located next to each other; Allotting to the network coordinator an initial time slot; Allotting to each monitoring module, except the monitoring module with the last logical address, a time slot for forward transmission according to its logical address; Allotting to each monitoring module a time slot for backward transmission according to its logical address; For each of the monitoring devices and the network coordinator, limiting a set of devices, among the monitoring devices and/or the network coordinator, which listen to said monitoring device or network coordinator to a number of devices neighboring said monitoring device or network coordinator; In the initial time slot, transmitting, by the network coordinator, a communication frame containing synchronization data and identifiers of data which are to be sent back to the network coordinator, and receiving, by monitoring devices in the set of devices which listen to the network coordinator, the communication frame; In each subsequent time slot for forward transmission, transmitting, by the monitoring device which has been allotted said time slot for forward transmission, the communication frame, and receiving, by monitoring devices in the set of devices which listen to said monitoring device, the communication frame; In each subsequent time slot for backward transmission, entering in the communication frame, by the monitoring device which has been allotted said time slot for backward transmission, the measurement values corresponding to the identifiers of data, and receiving, by monitoring devices and/or the network coordinator in the set of devices which listen to said monitoring device, the communication frame. Providing monitoring modules connected to photovoltaic panels and powered by them, as well as a network coordinator, wherein the monitoring modules are able to communicate wirelessly with each other and with the network coordinator; Assigning a logical address to each monitoring module in such a manner that modules with successive logical addresses are located next to each other; Allotting to the network coordinator an initial time slot; Allotting to each monitoring module, except the monitoring module with the last logical address, a time slot for forward transmission according to its logical address; Allotting to each monitoring module a time slot for backward transmission according to its logical address; For each of the monitoring devices and the network coordinator, limiting a set of devices, among the monitoring devices and/or the network coordinator, which listen to said monitoring device or network coordinator to a number of devices neighboring said monitoring device or network coordinator; In the initial time slot, transmitting, by the network coordinator, a communication frame containing synchronization data and identifiers of data which are to be sent back to the network coordinator, and receiving, by monitoring devices in the set of devices which listen to the network coordinator, the communication frame; In each subsequent time slot for forward transmission, transmitting, by the monitoring device which has been allotted said time slot for forward transmission, the communication frame, and receiving, by monitoring devices in the set of devices which listen to said monitoring device, the communication frame; In each subsequent time slot for backward transmission, entering in the communication frame, by the monitoring device which has been allotted said time slot for backward transmission, the measurement values corresponding to the identifiers of data, and receiving, by monitoring devices and/or the network coordinator in the set of devices which listen to said monitoring device, the communication frame.