MrBeamLedStrips is a standalone component that handles Mr Beam II's LED strips.
There is a socket: /var/run/mrbeam_ledstrips.sock
Currently MrBeamPlugin does not use the socket connection. Still this needs to be done for performance! Some day...
Or use the command line interface:
-
mrbeam_ledstrips_cli [command]Commands:- `` (no command) Prints version of MrBeamLedStrips. (Does not connect to daemon.)
?Prints version, list of possible commands and debug informationunknownDebugStopon,all_onoff,all_offbrightnessrollbackfpsspread_spectrumignore_next_commandignore_stopListening,_listening,listeningStartupClientOpenedClientClosedErrorShutdownShutdownPrepareShutdownPrepareCancelUploadPrintStartedPrintDonePrintCancelledPrintPausedPrintPausedTimeoutPrintPausedTimeoutBlockButtonPressRejectPrintResumedProgress,progressJobFinished,job_finishedPause,pauseReadyToPrintReadyToPrintCancelSlicingStartedSlicingDoneSlicingCancelledSlicingFailedSlicingProgress,slicing_progressSettingsUpdatedLaserJobDoneLaserJobCancelledLaserJobFailedwhite,all_whitered,all_redgreen,all_greenblue,all_blueyellow,all_yelloworange,all_orange
For configuration see:
iobeam/extras/mrbeam_ledstrips.yamlor/etc/mrbeam_ledstrips.yamlafter deployment.
New commands:
- Command
ButtonPressReject: Intended to give feedback that a button press is an invalid action at the moment. Flashes red once and the rolls back. - README.md added
See commit log