Device for a wireless network, the network having a duty-cycle limitation requiring that the device is transmitting less than a predefined fraction of a predefined duty-cycle period, which fraction defines a total transmission time budget of the duty-cycle period and an average transmission time for an interval in the duty-cycle period as proportionally allowed by the duty-cycle limitation in the respective time interval, the device comprising - an input for receiving data to be transferred, - an output for transmitting data to the network, - a controller for controlling the transmission of data according to the duty-cycle limitation, the controller being arranged for - storing past transmission time usage of the device in a sequence of buckets, each bucket representing a respective time interval in a sequence of consecutive, adjacent time intervals, the intervals being smaller than the duty-cycle period, and - determining a bucket budget of transmission time by - assigning to the bucket budget a basic transmission time budget smaller than the average transmission time of the corresponding time interval, and - assigning an additional transmission time to a current bucket budget to allow for temporally exceeding the average transmission time of the respective time interval for accommodating temporal fluctuation in data transmission and determining the additional transmission time based on the total transmission time budget and the past transmission time usage of past buckets in combination with the future basic transmission time budget of future buckets by - analyzing the sequences of buckets in a sliding way, the sequences comprising past, current and future buckets together having a length covering the duty-cycle period, and calculating for each sequence an available excess budget based on the respective part of the sequence being past buckets containing the actual usage and the complementary part of the sequence being future buckets assigned to have the basic transmission time budget and taking the minimum of the calculated available excess budgets as the additional transmission time. - an input for receiving data to be transferred, - an output for transmitting data to the network, - a controller for controlling the transmission of data according to the duty-cycle limitation, the controller being arranged for - storing past transmission time usage of the device in a sequence of buckets, each bucket representing a respective time interval in a sequence of consecutive, adjacent time intervals, the intervals being smaller than the duty-cycle period, and - determining a bucket budget of transmission time by - assigning to the bucket budget a basic transmission time budget smaller than the average transmission time of the corresponding time interval, and - assigning an additional transmission time to a current bucket budget to allow for temporally exceeding the average transmission time of the respective time interval for accommodating temporal fluctuation in data transmission and determining the additional transmission time based on the total transmission time budget and the past transmission time usage of past buckets in combination with the future basic transmission time budget of future buckets by - analyzing the sequences of buckets in a sliding way, the sequences comprising past, current and future buckets together having a length covering the duty-cycle period, and calculating for each sequence an available excess budget based on the respective part of the sequence being past buckets containing the actual usage and the complementary part of the sequence being future buckets assigned to have the basic transmission time budget and taking the minimum of the calculated available excess budgets as the additional transmission time.