new php fetch list homes, rooms, devices