I’ve just finished a SmartApp that creates devices with (dis)connect and volume control for all Airfoil speakers on a configured computer. There are three components:
airfoil-api, a Node App that provides a REST JSON API for controlling Airfoil
So i got this setup to see what all it can do, but i get and error when i try to select only of my airplay speakers it finds…
eaac77a2-77ed-468f-8d12-9bbdc0b59846 1:32:05 AM CDT: error groovy.lang.MissingMethodException: No signature of method: org.codehaus.groovy.grails.web.json.JSONArray.findAll() is applicable for argument types: (script14623435250081694483257$_addSpeakers_closure3_closure10, script14623435250081694483257$_addSpeakers_closure3_closure11) values: [script14623435250081694483257$_addSpeakers_closure3_closure10@fe79a7f, ...]
Possible solutions: findAll(), findAll(), findAll(groovy.lang.Closure), findAll(groovy.lang.Closure), find(), find() @ line 79
Could you shed some light on how you got this set up please? I spent weeks trying to install mdns and express - turns out I had an outdated version of node, now I’ve fixed that but it won’t run due to issues with app.js