Occupancy detection from indoor-environment sensors often exceeds 95% accuracy, but mostly when models are trained and tested in the same room. We rebuilt five public datasets (29 office, lecture, library, and residential rooms in four countries, 128,902 fifteen-minute intervals) from their official releases and evaluated models with chronological splits, within datasets and with the target dataset held out (leave-one-dataset-out, LODO). With temperature and CO2, the mean AUROC fell from 0.900–0.927 to 0.809–0.844, and F1 at the default threshold fell from 0.68–0.76 to about 0.50. With illuminance, the AUROC fell only from about 0.97 to 0.92–0.96, but F1 still fell from 0.80–0.84 to 0.64–0.70. A CNN-LSTM and domain adaptation did not close the gap. Over 54 cases, the F1 loss split into ranking and operating-point components of similar median size (0.109 and 0.105). Unsupervised label-shift correction did not raise F1, whereas a threshold set on the labeled day before each test day raised the mean F1 from 0.50 to 0.61 (logistic regression, no illuminance) but lowered it in 16 of 50 cases. We also found that the indoor-environment data of one public dataset were time-stamped 8 h early, which inverted its illuminance cue. Studies report LODO results and check time alignment, and deployments need a short labeled commissioning period.