Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] A way to add ON/OFF to the octoremote Android #6

Closed
salilgupta4 opened this issue Aug 2, 2020 · 7 comments
Closed
Milestone

Comments

@salilgupta4
Copy link

Is there a way to add the button to the Octoremote so that the Lights can be switched ON or OFF from the app itself. Even though the timed option is there. But sometimes just doesnt help.

Thanks,

@cp2004
Copy link
Owner

cp2004 commented Aug 2, 2020

@salilgupta4 Can you tag the OctoRemote developer here? The lights on/off can be accessed from the API but as far as I know there isn't a way to add custom API commands there.

@cp2004
Copy link
Owner

cp2004 commented Aug 2, 2020

Not sure if the app is open source, but you may be able to add a custom control. I can take a look at some point, but would need to work out how they work first.

@salilgupta4
Copy link
Author

The developer is Octoremote itself.
image
So here in the description they have mentioned that we can add some controls. Just like you said, the function has to be called, but how?
image

This is no major issue. But can spread its wings to android too. And actually the Octoremote app is pretty handy.

Thanks for looking into it.

@cp2004
Copy link
Owner

cp2004 commented Aug 3, 2020

@salilgupta4 Solution for you!
In 0.4.0 I have added 2 @ commands, @WS_LIGHTSON and @WS_LIGHTSOFF

These can be sent in the gcode stream to OctoPrint, picked up and interpreted.

To get them into OctoRemote, head to Settings > Controls >Edit custom controls. Then add command, in the commands box you can put either of the above. Once saved, they are on the control tab in OctoRemote

@salilgupta4
Copy link
Author

Thats a big help. Thanks so much.

No many people provide solutions that quickly.

@cp2004
Copy link
Owner

cp2004 commented Aug 4, 2020

The @ commands were on my list already, but got bumped forwards when I noticed it would solve this... Glad to know it helped!

@cp2004 cp2004 closed this as completed Aug 4, 2020
@cp2004 cp2004 modified the milestones: 0.5.0, 0.4.0 Aug 5, 2020
@gortador
Copy link

Is there a possibility of being able to add the effects via commands? Gcode ? or @WS_RAINBOW_CYCLE ? or other ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants