Method for weighing waste using a garbage can comprising at least one waste collection container (20, 22) and comprising an open position and a closed position, the at least one waste collection container being designed to be provided with a waste bag, the garbage can comprising at least one weight sensor (26, 28) which is able to measure the weight of the items contained in the at least one container (20, 22), the method comprising the following steps: - determining the weight of the at least one empty container (20, 22), - memorising the number of bags available in reserve, - detecting an opening of the garbage can, - activating a nominal mode from the opening to the closing of the garbage can, the nominal mode comprising the following steps: -- activating the weight sensor to monitor the change in weight of the at least one collection container from the opening to the closing of the garbage can, -- determining the state of the garbage can depending on the change in weight of the at least one collection container measured by the weight sensor, the state of the garbage can being selected from the following states: a) adding waste then closing the garbage can, b) adding waste followed by changing the bag before closing the garbage can, c) replacing the bag with a new bag, -- storing information relating to the state of the garbage can, -- triggering a bag refill command when state b) or c) has been detected and the number of bags available in reserve is less than a predetermined value. - determining the weight of the at least one empty container (20, 22), - memorising the number of bags available in reserve, - detecting an opening of the garbage can, - activating a nominal mode from the opening to the closing of the garbage can, the nominal mode comprising the following steps: -- activating the weight sensor to monitor the change in weight of the at least one collection container from the opening to the closing of the garbage can, -- determining the state of the garbage can depending on the change in weight of the at least one collection container measured by the weight sensor, the state of the garbage can being selected from the following states: a) adding waste then closing the garbage can, b) adding waste followed by changing the bag before closing the garbage can, c) replacing the bag with a new bag, -- storing information relating to the state of the garbage can, -- triggering a bag refill command when state b) or c) has been detected and the number of bags available in reserve is less than a predetermined value. -- activating the weight sensor to monitor the change in weight of the at least one collection container from the opening to the closing of the garbage can, -- determining the state of the garbage can depending on the change in weight of the at least one collection container measured by the weight sensor, the state of the garbage can being selected from the following states: a) adding waste then closing the garbage can, b) adding waste followed by changing the bag before closing the garbage can, c) replacing the bag with a new bag, a) adding waste then closing the garbage can, b) adding waste followed by changing the bag before closing the garbage can, c) replacing the bag with a new bag, -- storing information relating to the state of the garbage can, -- triggering a bag refill command when state b) or c) has been detected and the number of bags available in reserve is less than a predetermined value.