Search found 50 matches

by Astropilot
Thu Jun 22, 2023 10:08 am
Forum: Air Player Desktop
Topic: Hardware panels not working on AP
Replies: 36
Views: 11949

Re: Hardware panels not working on AP

Maybe this was already discussed, but did you add the Arduino's to add player? Do they show connected? BINGO Ralf!! This is new to me and to my knowledge was not required before. Correct me if I am mistaken. I added the Arduinos to AP and now it works. Thank you so much everybody!! Kind regards Ber...
by Astropilot
Thu Jun 22, 2023 9:55 am
Forum: Air Player Desktop
Topic: Hardware panels not working on AP
Replies: 36
Views: 11949

Re: Hardware panels not working on AP

I don't mean with Air Manager, I mean Air Player. You can print in the Create/Edit tab. For me it doesn't work for Air Player using the OP's PA-44 Encoder script, so I would like to see a sample in action working properly and showing the print logged in the console using Air Player, would be a good...
by Astropilot
Thu Jun 22, 2023 9:17 am
Forum: Air Player Desktop
Topic: Hardware panels not working on AP
Replies: 36
Views: 11949

Re: Hardware panels not working on AP

Maybe this was already discussed, but did you add the Arduino's to add player? Do they show connected? They show connected if I connect the hardware to the PC running AM. they do not show when connected to the computer running AP. I am not familiar with the procedure you are pointing out. Is that s...
by Astropilot
Thu Jun 22, 2023 8:22 am
Forum: Air Player Desktop
Topic: Hardware panels not working on AP
Replies: 36
Views: 11949

Re: Hardware panels not working on AP

Just small points meanwhile @Astropilot when direction == -1, it's meant to be used as decrease when direction == 1, it's meant to be used as increase I am not sure I understand why you mention this. A clockwise (== 1) turn of the encoder increases the desired output and CCW (== -1) does the opposi...
by Astropilot
Thu Jun 22, 2023 7:49 am
Forum: Air Player Desktop
Topic: Hardware panels not working on AP
Replies: 36
Views: 11949

Re: Hardware panels not working on AP

Just small points meanwhile @Astropilot when direction == -1, it's meant to be used as decrease when direction == 1, it's meant to be used as increase I am not sure I understand why you mention this. A clockwise (== 1) turn of the encoder increases the desired output and CCW (== -1) does the opposi...
by Astropilot
Wed Jun 21, 2023 9:59 pm
Forum: Air Player Desktop
Topic: Hardware panels not working on AP
Replies: 36
Views: 11949

Re: Hardware panels not working on AP

SimPassion wrote: Wed Jun 21, 2023 4:30 pm
Astropilot wrote: Wed Jun 21, 2023 3:54 pm
SimPassion wrote: Wed Jun 21, 2023 3:52 pm Thanks Berthold
Are all of those scripts your own building ?
Yes
So, both MEGA2560 A & B are wired to Air Player computer ?
Yes, both are connected to separate usb ports in the AP computer.
by Astropilot
Wed Jun 21, 2023 3:54 pm
Forum: Air Player Desktop
Topic: Hardware panels not working on AP
Replies: 36
Views: 11949

Re: Hardware panels not working on AP

SimPassion wrote: Wed Jun 21, 2023 3:52 pm Thanks Berthold
Are all of those scripts your own building ?
Yes
by Astropilot
Wed Jun 21, 2023 3:45 pm
Forum: Air Player Desktop
Topic: Hardware panels not working on AP
Replies: 36
Views: 11949

Re: Hardware panels not working on AP

AP_log.txtAM_log.txt Thanks, just seen this in AP Logs : 21-06-2023 10:32:32.799 ERROR SiRunner: PA28 - Hardware Encoder Panel: logic.lua:284: Argument 'pressed_callback(2)' in function 'hw_button_add' is nil, which is not allowed Could you please provide both Hardware logic.lua scripts ? Please ea...
by Astropilot
Wed Jun 21, 2023 3:36 pm
Forum: Air Player Desktop
Topic: Hardware panels not working on AP
Replies: 36
Views: 11949

Re: Hardware panels not working on AP

SimPassion wrote: Wed Jun 21, 2023 2:35 pm
As already mentioned and in any case, if we want AP to handle hardware inputs, they should be wired to the computer where Air Player is runnning
Yes, that is what I am doing.
by Astropilot
Wed Jun 21, 2023 2:26 pm
Forum: Air Player Desktop
Topic: Hardware panels not working on AP
Replies: 36
Views: 11949

Re: Hardware panels not working on AP

But you said: When I connect the hardware to the PC running AM, the buttons return the correct result to the console. I have tried all that. Ah, OK. You mean to connect the hardware to the PC running AP and then print to console in AM ? I tried that and it returned no result. When the controls are ...