A cyber-physical system (CPS) shows its potential in integrating the computer systems with the physical environment. The progress in such systems has brought large potential to improve human life quality, such as improved health care services, energy consumption and food supply chain system (FSC). In particular, FSC plays an important role in human beings. It comes from the complex agricultural system and lead up to human dining table. The fusion of CPS and agricultural system could improve the quality of food and environment. Therefore, many studies have been conducted to tackle the challenges in this domain, such as lack of information systems and infrastructures, poor collaboration toward larger Internet of Things solutions and dynamic changes of intrinsic and extrinsic conditions of enabler technology in precision agriculture. In this work, we focus on developing an initial framework that could improve prediction rate and handling imprecise data due to the dynamic problem in precision agriculture. As an evaluation, first we predict a rainfall event using weather sensors data and after that the prediction result will be continue to set up as an additional attribute for predicting the action of water sprinkle monitoring system. The results confirm the good accuracy for farmers and could be applicable in real-time.