muse
ych
Posts: 44
Where can I download Muse's API manual?
0
Where can I download Muse's API manual?
Comments
https://www.amx.com/en/site_elements/programming-guide-muse-automation-controllers
The "built-in" tcpclient interface is not a Muse thing - it is whatever is available for the chosen scripting language. If you are programming in Groovy - Google search for "tcp client in groovy programming language"
A Muse driver has been posted to GitHub https://github.com/amx-itg/muse-driver-amx-ipcomm that attempts to provide similar functionality as what was found in NetLinx. It also provides for field configurable communication parameters and is accessible from all scripts.
The READ-ME on the GitHub page is the API document.
The API for installed services (like Timeline) should be available on the Muse Controller. Connect to the controller via SSH and issue doc:list this will show the list of all available service documentation. The CLI doc:show will present the selected documentation
@HARMAN_icraigie
I saw maven in the package of muse controller through decompinging tools, does this mean that you can directly download the corresponding jar package and pour it into use, instead of seeking java source files like nx? Do the following packages have relevant API documents? For example, how to call muse's serial port, infrared,relay,io and other interfaces through java!
import com.amx.mojo.common.time.Timeline;
import com.amx.mojo.common.time.TimelineListener;
import com.amx.mojo.common.time.Timer;
import com.amx.mojo.common.time.TimerListener;
The SDK for Extension development has not been publicly released, yet. And yes Maven will be the recommended build tool.
This is great, will muse controller support directly uploading compiled class files in the future?
OSGi Bundles
Or embed the external dependency (with all its runtime transitive dependencies) into the Extension - otherwise known as a "fat jar".