One further question after you added contacts or switches as input choices in your example. Do you know of any way to combine those into one device selector input rather than the two separate ones , even if it’s by combining two maps to create another single selector ? I still want a device input, not say a name list.
I’m looking to make a single input selector that has all the ‘virtual’ device types listed , and no multiple selection. Would tidy my app up a bit...
@kevin, I couldn't find the post but I know this was asked before and one of the staff responded that this would not be possible. I'm always hoping that someone could think of a creative way to get around this because I would like to do this as well.
It was mentioned that the only way to get multiple device types in one input would be to use a shared capability...actuator being the most common...but of course that would add a lot more devices that you don't want in the list as well. If you ever find a creative workaround please @ me.
You can make a text list of devices and then look them up I from that dropdown to get a device object but looking for a way to use a device list directly.
I think a quick overview of the way a HE app works might be useful to get people started. I.e. the role of events and what generates them, which is quite different to how some ‘Geezers’ are used to a traditional program working. The code sets up the event listeners and then exits basically awaiting things to happen. This is often all a program is doing once running , barring scheduled events.
Often I see people asking if big programs cause a heavy loading on the hub, and contribute to slowdowns. Which isn’t actually the way resource usage happens on HE.
OOP is going to be new to some coders too but that’s a big topic, with a lot of other good resources available online... maybe link to some good ones for beginners... ?
Mine too! With a Casette Drive! Along with a subscription to COMPUTE! and BYTE! Both of which used to provide code listings for projects to do in Basic.
Loved that TI -- I think I got mine in 1980 and had it attached to a 15" Black & White television.
Fond memories! I spent the better part of a day copying a Space Invaders-type game out of one of those mags, saved it to cassette, and then my sister recorded Duran Duran songs over it.