Well, do you really think I have time to answer so many answers a day providing so much help, suggestions, advice, examples ... no, I have life also, don't be so many willing to help at a time ...
In any case, thanks to make me helping myself, with 5 days/night to investigate on this issue
So I will report again, hoping it will be useful for any new comers :
I've always used NAMED hardware, which I think is really the way to deliver to the community, as we don't know in advance how each one will plan his own hardware input binding.
the statement is using NAMED input for switches works in Manager, however absolutely not in Air Player 3.7.10 at least and for
hw_switch_add only (not already checked for every single hardware input statement and usage, however at the moment hw_button_add seems to work properly, will check next with other like encoders/dials, leds, output, pwm ...), with error reported on syntax usage and don't seems to work that much on Air Player 4.1 and 4.2 Beta, as opposed to what we read on the wiki :
which is totally false/wrong statement for Air Player :
Hardware Id's
Info Hardware Id's are not preferred, try to use named hardware instead.
Define the used pin(s) right away. This is not preferred, since changing of pin assignment can only be done by changing the instrument/panel lua script.
here's what Air Player 3.7.10 is reporting, for example :
Code: Select all
logic.lua:22: Argument 'hw_id(2)' in function 'hw_switch_add' is not a string, which is not allowed
So, if one expect their own instrument to be also usable in Air Player for other simmers, we have to
not use NAMED hardware binding for
hw_switch_add statement, but rather ID's hardware binding for obvious proper reliability
I can't understand the background :
- Why Air Player 3.7 didn't got a fix for this
- Why Air Player area seems to be the neglected part of the story, even with Air Player 4.n, at least AFAIK and we don't know if an upcoming new project/application will or will not replace Air Player. Will Air Player become an abandonment-ware ???
At least correct the statement above on wrong/false preferred usage of NAMED vs ID's hardware binding to not lead community and simmers into confusion and wrong assertion/assumption.
I've already read many wondering and statement here on the forums, around Arduino together Air Player usage. Among them Keith already alerted on the issue and it seems actions have not followed, not advice taken in consideration, so hurry up !!!
Behind, this there's also obviously lack of clear explanations on what Air Player and Air Manager are doing properly or not in the background, here's one sample where AP 3.7.10 haven't been fixed yet for a well-known issue which still occurs from time to time :
https://siminnovations.com/forums/viewtopic.php?t=3971
Not sure if this has been taken in consideration :
https://siminnovations.com/forums/viewtopic.php?t=1810
Keith's alert on Air Player NAMED hardware issue which is fully confirmed now and eventually and not already fixed for any Air Player version :
https://siminnovations.com/forums/viewt ... 953#p29953
No need for answer to this, thanks to all and enjoy proper usage of Air Manager / Air Player suite, each one performing own part.
... and thanks SI building reliable, dynamic, friendly user applications ... hope the best to all including all of us simmers !!!