crysxd / OctoApp-Plugin

Companion plugin for OctoApp
GNU Affero General Public License v3.0
62 stars 4 forks source link

Opening and closing Android app automatically turns on or off printer #80

Closed cheribulm closed 3 months ago

cheribulm commented 3 months ago

Hello, If I go to monitor my printer and then close the app on my table it turns off my printer. Likewise, if the printer is off and I open the app the printer turns on. I do have the WeMo plugin installed on my Octopi. Even if I turn off all the functions of the plugin it will still do this. I have searched all over the app to find a way to disable it to no avail. If I can't find a solution I'll be forced to abandon the app because I've ruined so many print jobs going into the app, closing it, and having the printer turn off.

Thanks for your assistance.

crysxd commented 3 months ago

As mentioned in the template, please don't open tickets with bugs but use the app's bug report feature in main menu > Settings FAQ & Help > Report a bug.

In your case, I bet you enabled the automatic lights feature and pointed it to the printer instead of a light. Check main menu > Settings > Power Devices > Automatic lights. If that's not the case, please send a bug report as described above.

cheribulm commented 3 months ago

Thank you for your fast response despite my ability to follow instructions properly. As well your solution was right on the money and has saved me from tons of frustration.

Thanks again, Gabe-

On Wed, Jun 26, 2024 at 10:10 PM Christian Würthner < @.***> wrote:

As mentioned in the template, please don't open tickets with bugs but use the app's bug report feature in main menu > Settings FAQ & Help > Report a bug.

In your case, I bet you enabled the automatic lights feature and pointed it to the printer instead of a light. Check main menu > Settings > Power Devices > Automatic lights. If that's not the case, please send a bug report as described above.

— Reply to this email directly, view it on GitHub https://github.com/crysxd/OctoApp-Plugin/issues/80#issuecomment-2193711796, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALSAIOC37FE665NPFFWLZHLZJONEPAVCNFSM6AAAAABJ6RJ3IOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJTG4YTCNZZGY . You are receiving this because you authored the thread.Message ID: @.***>

crysxd commented 3 months ago

Glad it's fixed! Could you tell me a bit more how this happened? What could the app have done to communicate this better to you?

Usually I really need a bug report to figure stuff out ;) it contains not only the app logs but also settings.

cheribulm commented 3 months ago

Hello, I would say it is the approach. If you say hey would you like your LED lights to turn on automatically when you open the app to see what is happening, then turn off when you close the app? My answer would be yes that sounds amazing. But the same being true, Hey would you like your PSU/ printer to turn on and off when you use the app? I would tell you to go to hell you sick bastard. But these functions are the same if the end-user (me) does not know the nuances of it. Having the ability to do both is possible if one is not aware of it. I enabled the first function not realizing I was doing the second as I believe in one of the tooltips it offered to enable this I did not actually go to that location main menu > Settings > Power Devices > Automatic lights Or I would have noticed the large note there detailing exactly what happened. So I would approach this in two ways Take the tooltip away to have this function done automatically. And two, be redundant with the settings and keep the Automatic lights one the way it is as it clearly does what it says. And then make a separate function to automatically turn off the PSU/ printer in idle or whatever. If you want to be super cautious you could have a popup notice when selecting the device for the Automatic lights warning them to be careful and do not select your printer but the device the lights are plugged into.

I hope this explanation helps. If you need more clarity let me know. i am writing this at 5am so my mind might be a little foggy ;)

Gabe-

cheribulm commented 3 months ago

Hi, Since I had you ear for the moment. I was wondering if I could make a request for a function? I have a Arducam B0283 Camera Pan Tilt Platform that has no real support. There is this demo app that works on Git but none of the plugins on OctoPrint work on controlling it. Is there a way you could look at the code of the demo and insert the controls into your app so people (me) can finally use this to control their cameras in Octoipi. It would be another great incentive to for folks to buy your app as you would be the only one with this function (wink).

ArduCAM demo https://github.com/ArduCAM/PCA9685/tree/master/example/rpi

Arducam Upgraded Camera Pan Tilt Platform https://www.amazon.com/dp/B08PK9N9T4

Thanks again Gabe-

On Fri, Jun 28, 2024 at 10:14 PM Christian Würthner < @.***> wrote:

Glad it's fixed! Could you tell me a bit more how this happened? What could the app have done to communicate this better to you?

Usually I really need a bug report to figure stuff out ;) it contains not only the app logs but also settings.

— Reply to this email directly, view it on GitHub https://github.com/crysxd/OctoApp-Plugin/issues/80#issuecomment-2197968727, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALSAIOBEGGHRKA7G7SOVT5LZJY7DTAVCNFSM6AAAAABJ6RJ3IOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXHE3DQNZSG4 . You are receiving this because you authored the thread.Message ID: @.***>

crysxd commented 3 months ago

The only way to enable the automatic lights is via the menu with the big warning, just double checked the code...there is no other way. There is no automatic enabling of this - for good reason :D

So the only way I see is to make the warning even bigger....

The app can't know what a certain power device controls. Some are know to only be lights (e.g. WS2812 plugin), but many can be a light, an external fan or the printer itself. This means I also can't filter certain devices out.

crysxd commented 3 months ago

Regarding the Arduino cam, I made a note. So far you are the only person to ask for this, so I will see if there is more demand

cheribulm commented 3 months ago

No problem, I just wanted to share that as it is the only out-of-the-box camera PTZ controllers for the Pi and it would work well for your app.

Thanks again for the help on the other issue Gabe-

On Sun, Jun 30, 2024 at 8:04 AM Christian Würthner @.***> wrote:

Regarding the Arduino cam, I made a note. So far you are the only person to ask for this, so I will see if there is more demand

— Reply to this email directly, view it on GitHub https://github.com/crysxd/OctoApp-Plugin/issues/80#issuecomment-2198591606, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALSAIOD7HJJA5APWYRXMQELZKANAVAVCNFSM6AAAAABJ6RJ3IOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGU4TCNRQGY . You are receiving this because you authored the thread.Message ID: @.***>