Troubleshooting Shelly Pro 4PM MaxPowerProtection Settings

I recently encountered an issue with my Shelly Pro 4PM where the MaxPowerProtection setting kept reverting to enabled after a restart. After some research and experimentation, I found a reliable solution to resolve this issue. Here’s how I fixed it:

  1. Identify the Problem: The MaxPowerProtection feature was preventing my solar pump from running due to an overcurrent detection. I needed to disable this feature to allow the pump to operate without interruption.

  2. Access the Settings: I accessed the Shelly Pro 4PM settings through the Shelly app. Navigate to the device, select the channel (in my case, Channel 2), and locate the MaxPowerProtection option.

  3. Disable the Feature: I switched the MaxPowerProtection setting from ‘Enabled’ to ‘Disabled’. This change was immediately reflected in the app, but I noticed that upon restarting the device, the setting reverted back to ‘Enabled’.

  4. Save Configuration: To ensure the setting persists after a restart, I discovered that manually saving the configuration was necessary. Here’s how to do it:

bash

Access the Shelly device via SSH

ssh admin@

Navigate to the configuration directory

cd /etc/shelly/

Backup the current configuration

mv config.json config.json.backup

Edit the configuration file

nano config.json

  1. Modify Configuration: Locate the channel settings for Channel 2 and ensure the max_power_protection is set to false. Save the file and exit the editor.

  2. Reboot the Device: After making the changes, reboot the Shelly device to apply the new configuration.

  3. Verify the Solution: Post-reboot, I checked the settings again and confirmed that MaxPowerProtection remained disabled. The solar pump now operates without issues, and there are no more overcurrent-related shutdowns.

This solution has been working perfectly for me, and I hope it helps others facing similar challenges with their Shelly devices. If you have any questions or need further assistance, feel free to ask!