Open morgulbrut opened 6 years ago
Found those two commands, to switch off the green LED and let it blink afterwards.
sudo sh -c 'echo none > /sys/class/leds/led0/trigger'
sudo sh -c 'echo heartbeat > /sys/class/leds/led0/trigger'
Thanks @morgulbrut ! This is very useful and it would be indeed a cool feature in the admin panel.
It would be also interesting to be able to attach more "visible" light sources to the Raspberry Pi and make them blink based on the overall activity in the MAZI Zone.
Do you have any suggestions for easily managed USB or other lights for the Raspberry Pi?
@panosnethood I would say having a blinking LED connected to the GPIO would be the easiest way. Downside, it needs to be in a trasparent case, or some hole needs to be drilled. Thought about a small hat, simple enough to be done using stripboards, so it could be done wherever LEDs, stripboards and solder is available, with maybe 2-3 LEDs. And some drilling scheme for at least the official case.
Are there not "programmable" USB light sources perhaps? For non-technical users playing with the pins of the Raspberry Pi might be difficult.
For now the best solution would be to change the wifi name at the initial setup page, at the very first time you login to each mazizone. So each mazizone will have its own wifi name.
I agree with Panos that it is better to provide and support a solution using the integrated in the raspberry hardware and not external attachable LEDs for example which might confuse our non-technical users.
We will investigate the integration of these two commands in the dashboard.
Thanks for your feedback.
Thanks Harris! The situation that we had to deal with in our workshop is that the organizer prepared a customized version of the MAZI toolkit image with already uploaded content and other customization, and so it was not possible to rely on the initial set-up phase.
@panosnethood I just know there is blink(1) https://blink1.thingm.com/. But they are a bit costly, i think.
During the recent workshops in Edinburgh where we were activating 20 MAZI per session. The solution we found was to withhold the sd cards until each group or individual was ready with password, network name and other information so they could get through the process quickly when it was their turn. It sort of worked out OK except some had trouble connecting and triggering the setup process. On other occasions we prepared MAZI's by setting different network names before starting.. In this case it is still possible to revisit the setup pages later if needed. http://local.mazizone.eu:4567/setup - the current password would be needed!
hi @morgulbrut, thanks for the LED blink tip.. how do we return the LED to the 'normal' mode?
We had this problem in a workshop settings that there were lots of RasPis around. Everyone had it's mazizone SSID, so it was hard to verify if everybody was connected to their RasPi.
The resin.io (i think) has this button to identify the device by blinking an LED on it.