-
-
Notifications
You must be signed in to change notification settings - Fork 752
Feature Discussion: Locked-Down Mode #1477
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
Comments
Not a bad idea but I see it a bit difficult to enter pin with 2 buttons only. But one button can be used for incrementing digit and another for switching to next digit/confirming input. Holding that another button could be interpreted as exit/back |
Hmm; how you enter exit could be interesting. Not against the idea, but maybe pen out rough ideas here before coding; as I suspect the UI/UX will be the controversial part 😁 |
@Electro707 perhaps, since Pinecil V2 is gettings some BLE development now. it might be possible to do a PIN Lock using Android phone or a PC browser . if you have V2, you could test current BLE webpage now and talk to Joric to see if he can help you incorporate that in BLE API ( and you add something on IRonOS side). it would need to be Something you can click on Lock on Bluetooth page, but then the Pinecil V2 firmware would also need to accept that message as Total lock down on any setting changes or messing with calibration . and they can only hit (+) and (-) . I'm not sure what abilities you want to keep for students. I notice another Iron puts PIN lock out on the BLE bluetooth app, since their Iron itself doesn't have a method to do it. this is an example of another BLE app for a completely different Iron than the Pinecil V2 but it has a BLE bluetooth app that does the Lock from a Phone. If you want to try out the Tester BLE API app for Pinecil V2 right now, there are instructions here just need Android phone with Chrome, or Windows with Chrome, but Chrome on Linux also works if you enable bluetooth flag. See instructions in this reddit post for all Browser options. And contact Joric in his Github see if he can work with you to add Lock out Pin, and Lock Icon to the BLE app he is currently working on. I've tested it on several browers. Honestly if we had Heat On/Off working, I would fully use my Phone on a stand in color over the tiny screen. |
Perhaps see the brand new PineSAM BLE app for Pinecil V2 which has BLE bluetooth capabilities. Perhaps between this BLE bluetooth app for V2 and a lock feature in IronOS, it could at least be done for Pinecil V2. people could activate Lock Mode on pinecil, but would need to use BLE app to set it up and do the Pin? |
Closing as OP doesn't seem to be interested anymore. |
I am considering suggesting Pinecilv2 irons for my makerspace. Having an option like this would be useful to prevent people from messing with the settings and changing how things work for subsequent users. We'd still need temperature setting enabled, to allow for different use cases, but other than that it would be good if the whole settings menu is just disabled. Using the BLE api for this would be a very good use case imho, since as already mentioned here, the UX of inputting a pin with just two buttons is… tricky (more code maybe? :P ). Using the USB connection would of course also be useful, but would require something like #837 first. And then clients that actually use that.
Feedback on if this is a sensible idea/approach and something that would be merged in when done would be appreciated! |
This is very interesting feature request, yet pretty specific for a particular use case. As a straight forward "brute force" approach, the easiest, simplest & fastest solution - to make a custom build(s) for your set of irons disabling two-three lines of code in a few places:
Not sure if it's exactly what has been requested, but for the use cases described above, I think that having a custom build of firmware with read-only settings (some sort of "kiosk"/"demo mode") is probably the most perfect solution. So let us know what do you think about this? Approach to add it as a part of a setting to a generic supported iron raises a lot of questions how better to implement it, for the reasons mentioned above by others:
Now, for Pinecil V2 this is slightly different deal, and the way how it could be reached is something like:
However, I'm not sure how realistic it is, since I'm not familiar with BLE stack on Pinecil myself yet. |
Yeah I think this is a good use case to do. Especially now things are more stable. Avoiding custom builds would be ideal long term, and this isn't crazy overhead. I think more work will be on the apps to support this :( This will require the BLE capable apps to implement support for this as well, so having only able to be setup by them might work to prevent locking yourself out as easily being possible. However, I've been planning to make up some tooling to allow creating a flashable file that pre-loads settings and can also be used to re-set settings. I might work on that sooner as I see that as a pre-requisite for this to ensure users have an easy way to get back out of this mode. (And for irons with no BLE, then only way in/out would be to flash one of these files?) I think we would want a few modes:
No LockingExactly as it is now Partial-LockAllows user to change the temperature when in the soldering mode. Full lockDisable all temperature adjustment and lock out the entire menu |
I just was going to start to work on that myself, since I'm getting tired to have my favorable daily settings wiped every time when I test some builds... and was going to ask for your help with this, because I have some idea how it could be implemented from the point of source code, but I'm not familiar with
Yeah, I guess... we will see. |
This Issue is to discuss a potential feature: Having an option to have an iron go into "Lockdown Mode" where the temperature and settings are set, and can only be exited from Lockdown Mode with a pin for example.
As an example, at a classroom or student lab where soldering is involved, it is sometimes preferred to have the irons locked down so students cannot mess with the temperature for example.
I don't mind working on it myself, but I wanted to get the community's ideas and feedback before I spend the work working on it.
The text was updated successfully, but these errors were encountered: