Skip to main content

Shelly Pro 4PM web interface guide

To connect to your Shelly Pro 4PM, connect your device to the Wi-Fi network with a name(SSID) like ShellyPro4PM - 30C6F780CF7C. Use the universal IP address for all Shelly devices - 192.168.33.1 to access your device's Web Interface, where you can set a Wi-fi network for the Shelly Pro 4PM to connect to. Once done, through the app on your mobile device or through home.shelly.cloud, you can go into the Settings and search for Device information. There you will find the Device IP and be taken to the Web Interface of Shelly Pro 4PM.

General - Home page

In the web interface, you will see six icons at the top of the screen, including one for AP, Wi-Fi, Bluetooth, Cloud, Ethernet and MQTT connection. Here is what the different status colors mean:

  • AP icon:

    • Gray: AP mode is disabled.

    • Blue: AP mode is enabled.

  • Wi-Fi icon:

    • Gray: Wi-Fi connection is disabled.

    • White: Wi-Fi connection is enabled, but not established.

    • Blue: Device is connected to Wi-Fi.

  • Bluetooth icon:

    • Gray: Connection is disabled.

    • Blue: Connection is enabled.

  • Cloud icon:

    • Gray: Connection to Shelly Cloud is disabled.

    • White: Connection to Shelly Cloud is enabled, but not established.

    • Blue: Device is connected to Shelly Cloud.

  • Ethernet icon:

    • White: Connection to ethernet cable network is disabled.

    • White: Connection to ethernet cable network is enabled, but not established.

    • White: Device is connected to an ethernet cable network.

  • MQTT icon:

    • Gray: MQTT is disabled.

    • Blue: MQTT is enabled.

In the home page of the Web Interface, you will see the four channels and a button next to each of them, which you can use to turn the switches on or off. You will also see the voltage of your switches under each of the channels, as well as the corresponding inputs for each channel.

Output settings

Output name

Change the displayed output name in the home page through this setting.

Action on power on

Set an action for your device to complete on power on. You can turn off this setting or choose Restore last to restore the last action your device completed. Additionally, you can choose Match Input, which operates your device, according to the state of the switch or button, connected to it.

Appliance type

Choose the type of appliance your device is connected to from the list, which includes General, Relay, Lights, Socket, Heating, and Entertainment.

Switch mode

Set your switch to be:

  • Follow - Set Shelly device to be Toggle switch. Act as a flip switch with one state for ON and one state for OFF.

  • Flip - Set Shelly device to be Edge switch. Changes state on every hit.

Protections

  • Max power protection

    Configure the Shelly switch relay to turn off when power consumption reaches a certain value. Maximum allowed power value is equal to maximum current times maximum voltage.

  • Max current protection

    If the supply current becomes above a certain value, the channel will be switched off.

  • Max voltage protection

    If the supply voltage becomes above a certain value, the channel will be switched off.

  • Undervoltage

    Turn the device off when voltage is less than a certain value. The default is 0.

  • Overvoltage/undervoltage auto recovery

    If the device was turned on when the over/undervoltage protection occured, the device’s state will automatically be recovered afterwards.

Actions

Configure the actions for your device - create new actions, edit existing actions or delete actions. When creating actions for your device you will need to specify the condition on which the action occurs. You can also set a duration for your actions, as well as a URL to be hit when the condition for the action is met.

Schedules

Create a weekly schedule for the day(s) and time(s) you want the corresponding device to turn On/Off automatically. You may add up to 20 weekly schedules with 5 URLs each. To add a new schedule, first enable weekly schedules by ticking the box next to Enable schedule timer. After that, click Add and then:

  • Select the day(s) of the week.

  • Choose time interval: time, sunrise, or sunset.

  • Set the time for the specified day(s):

    • Time: Click up/down button, or type in a number, to set a time in hours and minutes.

    • Sunset/Sunrise: The Shelly device may turn on/off automatically at sunrise/sunset, or at a specified time before or after sunrise/sunset. Click up/down button, or type in a number, to set a time in hours and minutes.

This function requires a working connection to the Internet, so the device can synchronize the time. In this setting you can also view, delete and edit your existing schedules.

Timers

Allows you to manage the power supply automatically. You may use:

  • Auto on: After turning off, the relay output will be automatically turned on after a predefined period of time (in seconds).

  • Auto off: After turning on, the relay output will be automatically turned off after a predefined period of time (in seconds).

Input settings

Input name

Change the displayed input name in the home page through its settings.

Input mode

Choose one of the following:

  • Button - your device changes its state only when the button is pushed and returns to its previous state when released.

  • Switch - every click resets the state of the device.

This setting can also be titled “Switch mode” for some devices.

Attached to output

Configure whether the input is attached or detached from the output of the device. When the input is attached, it is connected to the relay(s) and can control them directly using the switch(es) on the device.

On the other hand, when the input is detached, it is separated from the relay(s) and cannot control them using the switch(es) on the device. In this case, the relay(s) can still be controlled remotely, such as through the web interface or the Shelly app. However, you can still create actions for the input, which will be triggered when the input signal is detected.

Invert input

This setting allows you to invert the logic of the input signal, effectively reversing the behavior of the device. By default, when the input signal is ON, the device responds by turning ON. When the input signal is OFF, the device turns OFF.

However, if you enable the "Invert Input" setting, the opposite will occur. When the input signal is ON, the device will turn OFF, and when the input signal is OFF, the device will turn ON. This setting can be useful in situations where the device's behavior needs to be reversed.

Actions

Configure the actions for your device - create new actions, edit existing actions or delete actions. When creating actions for your device you will need to specify the condition on which the action occurs. You can also set a duration for your actions, as well as a URL to be hit when the condition for the action is met.

Settings

Network settings

  • Access Point - Configure the device's AP, including switching it on or off, and setting a password. The access point of the device is an open network by default. The SSID is unique and cannot be changed.

  • WiFi - Register the Shelly device to connect to up to 2 different Wi-Fi networks.

    Either input or select the Wi-Fi network. Can select an open network, and also set a static IP address.

    Enable Wi-Fi 1, or Wi-Fi 2, or both at the same time. If both Wi-Fi 1 and Wi-Fi 2 are enabled, and the Shelly device disconnects from one of the networks, it will connect to the other.

  • Bluetooth - Disable/enable Bluetooth by toggling the switch. The device's default Bluetooth setting is enabled.

  • Ethernet - you can connect your device using Ethernet, instead of Wi-Fi. Like in the Wi-Fi settings, you can set a static IP adress for your device (which is recomended) to acces your device at the same IP adress every time. If static IP is enabled, you will be prompted to provide the IP adress, DNS server, gateway and network mask.

Connectivity

  • Cloud -Connecting your Shelly to its cloud allows you to control it remotely, receive notifications and updates about your devices. The default for this setting is for the cloud to be enabled. If you disable the device cloud support, you will lose connection to your device from outside its local network!

  • MQTT - Configure the Shelly device to execute actions via MQTT. By default, MQTT is disabled, but you can enable it by toggling the switch. Changing these settings will cause the device to reboot. There are some other settings, such as RPC status notifications over MQTT (which enables you to communicate with your device through RPC notifications) and Generic status update over MQTT (to get an overall status update), which you can enable/disable by toggling the switches on their right. You can also enable SSL and type in your server, username and password, but be aware that enabling SSL will hurt the battery life and most likely shorten it by half.

  • Outbound Websocket - Specifies whether the HTTP channel creates an I/O exception when an inbound connection is closed while still in use by the servlet. By default, this setting is disabled. To enable it, click the toggle switch next to Enable. Enter your service address in the text box and from the drop-down menu under SSL Connectivity choose *, ca.pem or user_ca.pem.

  • Range extender - Turning on the Range extender feature creates a hotspot that you can connect Wi-Fi devices to. If a Shelly device with the range extender enabled is connected to a Wi-Fi router and the Internet, all devices connected to it are also connected to the router and the Internet.
    Even if the Shelly device is not connected to a Wi-Fi router, all devices connected to it can still communicate with it and with each other.

  • RPC over UDP - Communicate with your device and send requests through a Remote Procedure Call (RPC) over a User Datagram Protocol (UDP) server. This can be useful in controlling and monitoring your device remotely, without the need for a dedicated server or connection.

    To use this setting, you'll need to enter the listen port and destination address for the UDP server. The listen port is the port number that the device will listen on for incoming requests, while the destination address is the IP address of the server that the requests will be sent to.

    Once you've entered the required information, you can use the RPC over UDP protocol to send requests to your device and receive responses.

Device settings

  • Device info - See your device’s ID, the Wi-Fi it’s connected to and the Wi-Fi RSSI.

  • Location and timezone - Your timezone and location will be autodetected, but you can manually change them from this setting by choosing a timezone from the drop-down menu and typing in your latitude and longitude. There is also a button Auto detect location, which will make the device automatically detect the location once again if it failed the previous time.

  • Authentication - If you enable authentication, you will be asked to type in a password, which you will then use to access the Web UI of the device. Once enabled, to disable it, click the toggle and enter your authentication pass once prompted.

  • Firmware - In this setting, you can see your device's ID, Firmware version and build ID, as well as the Web build ID. You can also see the available new versions, check for updates and easily update your device. There is also an option to upload your own firmware, however flashing devices with custom firmware irreversibly voids the device warranty.

  • User certificate - Upload custom SSL certificate by dragging and dropping the file or by browsing your files, which you can do by clicking the designated button.

  • Eco mode - Reduce energy consumption on the device by lowering CPU frequency and modem activity while in Eco Mode. To enable this setting click the toggle switch next to Enable eco mode and then click the Apply button to save the changes.

  • Debug - This setting includes Mqtt, Websocket and Udp debug. To enable any of these, click the toggle switch next to the specific setting. For Udp debug you will also be asked to type in a udp address.

  • Display mode - Control the brightness of the device's display. This can be useful in adjusting the display to suit your preferences, and can also help to conserve energy by dimming the display when it's not needed.

Scripts

This device features scripting capabilities. You can use them to customize and enhance device functionality based on a user’s specific needs. These scripts can take into consideration device state, communicate with other devices, or pull data from external services like weather forecasts. A script is a program, written in a subset of JavaScript.

Diagnostics

From this setting you can download the debug logs. Enabling the debug log without a reason isn’t recommended, since your device will be slowed down and this setting will cause aging of the flash memory. If you do decide to enable it, you can also download the previous and current logs. Be aware that leaving this page will reset the logger and logged data.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.