A 5A powersupply should be good to run a raspi, assuming it delivers as labeled.
Is anything else connected to the raspi which could be drawing too much?
Like, the printer...
are you sure the wire connecting the power supply and the Pi is sized adequately?
I had the same problem when I first started using Octopi and discovered the "charger cable" wire was to small and there was voltage drop between the power supply and the micro usb port. In my case, the wire was about 2 inches (50mm) long.
Replaced the wire and no problems since.
For power connection, the data lines are not used by USB up to version 2.
The Pi 3 has a self resetting fuse on the power input port. That has a certain inner resistance which results in a specific voltage drop..
Once this fuse was activated, it resets, but has a higher inner resistance afterwards and a higher voltage drop.
Some users (like me) avoid this by connecting the 5V directly to the 5V/GND pins of the GPIO header. If you do this, do it at your own risk.
What is the exact model of power supply you are using? Switch to a "raspberry pi" type power supply- e.g., if you're in the US, use a Canakit. What's the difference? It has a built-in cable (vs a 'modular' or 'phone charger' supply where you connect your own cable to it). The voltage regulation is to the connector itself- so you know you are getting 5v at the Pi, not simply 5v at the wall. Many power supplies struggle as demand increases above 0.5A.
You MIGHT be able to get away with your current power supply if you use a short cable, e.g., 1m or less. Some power supplies push 5.2v, which gives some room for voltage drop.
The Pi was built to a price point, so they don't add the extra circuitry that would get around this hassle, unfortunately. Perhaps the next version will do so, or will talk USB-PD to get around it.
Also don't forget a fatter USB cable doesn't mean the power conductors are any bigger But ultimately you'll risk this problem any time you are using standalone cables, period.
the issue is more that although it reads the file and reports on the undervoltage it does not clear the notification. No matter what power supply i use, on a cold boot from power off it almost always (the pi) reports undervoltage detected and then says basically oops normal voltage detected but octoprint does not reflect the correction that Raspi makes in the info file.
OctoPrint does change the icon shown depending on the undervoltage condition. If the icon is blinking, then there is undervoltage going on right now, if it is just solid then there was undervoltage. Hovering over the icon explains this.
If you want to monitor the raspi's state and have an mqtt broker installed somewhere there is a python script (2.7) to collect those data and report it via mqtt. health.service
Really useful when there are a few raspberries running, it helped me to identify power supply and temperature issues systematically and I generate nice graphs from it in connection with opeHAB/habpanel.
Actually I think I should delete the post, since the info is not correct.
Glad you could set me straight!
When I did mine, I was sure the prices were higher (Australian local suppliers).
In that case definitely the standard PSU is preferred!
"sudo nano" into your config.txt file, and insert the following
avoid_warnings=2
force_turbo=1
Then CTRL + X to exit, Y to save, then hit ENTER,
REBOOT
And a rather shady gentleman name of Robert passes himself off as being the brother of your father, although precisely how the, potentially fictitious, fact that Bob is your uncle RELATES to any of the previous guidance, I am not quite sure, but there we are.
Just FYI, btw, a little Brucey bonus I have added to that code ALSO addresses the THROTTLING issues that you would otherwise have come across once you HAD gotten past the undervoltage thing.
The THROTTLING issue prevents OctoPrint from installing or updating ANY plugins/extensions/etc, so it's worth fixing both together
Since you didn't make it clear, I will - this is not the solution to the problems, it is just hiding them by disabling the warning. The equivalent of sticking a piece of paper over a hole in a wall, it just means the problem is no longer visible.
So please don't do this, and instead actually use a sufficient power supply for your Raspberry Pi.