adapted the event generating script to post occupancy events to kafka topic (0.7)