@notoriousbdg thanks for the link. I will have a look at it.
I really would like to have a virtual device without helper app. I tried to to use an ‘input’ statement like input “temperature1”, “capability.temperatureMeasurement”, but ran into the following problems:
(1) the simulator does not seem to support the input statement in the device
(2) when running the device in iOS, it does allow me to search for a new temperature sensor, but it does not allow me to select an existing temperature sensor
Is this because I try to do something which is not supported or is it a problem of my coding?
@daven it would be nice to have a repository of code, but rather than complete code for an application, I would be interested in a cookbook, small snippets of code which shows you how to accomplish things.