Skip to content

Shelly Manager ​

The Shelly Manager is a small extension to the binding, which provides some low level information on the Shelly Devices, but also provides some functions to manage the devices.

To open the Shelly Manage launch the following URL in your browser

  • http://<openHAB IP address>:8080/shelly/manager or
  • http://<openHAB IP address>:8443/shelly/manager

Maybe you need to change the port matching your setup.

Shelly Manager makes you various device insights available to get an overview of your Shellys

  • Get a quick overview that all Shellys operate like expected, statistical data will help to identify issues
  • Have some basic setting actions integrated, which help to do an easy setup of new Shellys added to openHAB
  • Make firmware updates way easier - filter 'Update available' + integrated 2-click update
  • Provide a firmware download proxy, which allows to separate your Shellys from the Internet (improved device security)

Overview ​

Once the Shelly Manager is opened an overview of all Shelly devices added as a Thing are displayed. Things which are not discovered or still site in the Inbox will not be displayed.

Shelly Manager Overview

You'll see a bunch of technical details, which are not available as channels or in the Thing properties. This includes information on the device communication stability. The statistic gives you a good overview if device communication is stable or a relevant number of timeouts need to be recovered. In this case you should verify the WiFi coverage or other options to improve stability.

The following information is available

ColumnDescription
SThing Status - hover over the icon to see more details
NameDevice name - hover over the name to get more details
Cloud Status IconIndicates the status of the Shelly Cloud feature: disabled/enabled/connected
MQQT Status IconIndicates the staus of the MQTT featured disabled/enabled/connected
Refresh buttonTrigger a status refresh in background, maybe you need to click more than once
Device IPAssigned IP address, click to open the device’s Web UI in a separate browser tab
WiFi NetworkSSID of the connected WiFi network
WiFi SignalWiFi signal strength, 0=none, 4=very good
Battery LevelRemaining capacity of the battery
HeartbeatLast time a response or an event was received from the device
ActionsDrop down with some actions, see below
FirmwareCurrent firmware release
Update availyes indicates that a firmware update is available
VersionsList available firmware versions: prod, beta or archived
UptimeNumber of seconds since last device restart
Internal TempDevice internal temperature. Max is depending on device type.
Update PeriodTimeout for device refresh
Remaining WatchdogShows number of seconds until device will go offline if no update is received
EventsIncreases on every event triggered by the device or the binding
Last EventType of last event or alarm (refer README.md for details)
Event TimeWhen was last event received
Device RestartsNumber of detected restarts. This is ok on firmware updates, otherwise indicates a crash
Timeout ErrorsNumber of API timeouts, could be an indication for an unstable connection
Timeouts recoveredThe binding does retries and timeouts and counts successful recoveries
CoIoT MessagesNumber of received CoIoT messages, must be >= 2 to indicate CoIoT working
CoIoT ErrorsNumber of CoIoT messages, which can't be processed. >0 indicates firmware issues

The column S and Name display more information when hovering with the mouse over the entries.

Device Status OverviewDevice Settings Tooltip

Device Filters ​

FilterDescription
AllClear filter / display all devices
Online onlyFilter on devices with Thing Status = ONLINE
Inactive onlyFilter on devices, which are not initialized for in Thing Status = OFFLINE
Needs AttentionFilter on devices, which need attention (setup/connectivity issues), see below
Update availableFilter on devices having a new firmware version available
UnprotectedFilter on devices, which are currently not password protected

Beside the Device Filter box you see a refresh button. At the bottom right you see number of displayed devices vs. number of total devices. A click triggers a background status update for all devices rather only the selected one when clicking of the refresh button in the device lines.

Filter 'Needs Attention': This is a dynamic filter, which helps to identify devices having some kind of setup / connectivity or operation issues. The binding checks the following conditions

  • Thing status != ONLINE: Use the 'Inactive Only' filter to find those devices, check openhab.log
  • WIFISIGNAL: WiFi signal strength < 2 - this usually leads into connectivity problems, check positioning of portable devices or antenna direction.
  • LOWBATTERY: The remaining battery is < 20% (configuration in Thing Configuration), consider to replace the battery Watch out for bigger number of timeout errors.
  • Device RESTARTED: Indicates a firmware problem / crash if this happens without a device reboot or firmware update (timestamp is included)
  • OVERTEMP / OVERLOAD / LOADERROR: There are problems with the physical installation of the device, check specifications, wiring, housing!
  • SENSORERROR: A sensor error / malfunction was detected, check product documentation
  • NO_COIOT_DISCOVERY: The CoIoT discovery has not been completed, check IP network configuration, re-discover the device
  • NO_COIOT_MULTICAST: The CoIoT discovery could be completed, but the device is not receiving CoIoT status updates. You might try to switch to CoIoT Peer mode, in this case the device doesn't use IP Multicast and sends updates directly to the openHAB host.

The result is shown in the Device Status tooltip.

Device settings & status ​

When hovering with the mouse over the status icon or the device name you'll get additional information settings and status.

Device Status ​

StatusDescription
StatusThing status, sub-status and description as you know it from openHAB
CoIoT StatusCoIoT status: enabled or disabled
CoIoT DestinationCoIoT Peer address (ip address:port) or Multicast
Cloud StatusStatus of the Shelly Cloud connection: disabled, enabled, connected
MQTT StatusMQTT Status: disabled, enabled, connected
Actions skippedNumber of actions skipped by the device, usually 0
Max Internal TempMaximum internal temperature, check device specification for valid range

Device Settings ​

SettingDescription
Shelly Device NameDevice name according to device settings
Device Hardware RevHardware revision of the device
Device TypeDevice Type ID
Device ModeSelected mode for dual mode devices (relay/roller or white/color)
Firmware VersionCurrent firmware version
Network NameNetwork name of the device used for mDNS
MAC AddressUnique hardware/network address of the device
Discoverabletrue: the device can be discovered using mDNS, false: device is hidden
WiFi Auto Recoveryenabled: the device will automatically reboot when WiFi connect fails
TimezoneConfigured device zone (see device settings)
Time serverConfigured time server (use device UI to change)

Actions ​

The Shelly Manager provides the following actions when the Thing is ONLINE. They are available in the dropdown list in column Actions.

ActionDescription
Reset StatisticsResets device statistic and clear the last alarm
RestartRestart the device and reconnect to WiFi
ProtectUse binding's default credentials to protect device access with user and password
Set CoIoT PeerDisable CoIoT Multicast and set openHAB system as receiver for CoIoT updates
Set CoIoT MulticastDisable CoIoT Multicast and set openHAB system as receiver for CoIoT updates
Enable CloudEnable the Shelly Cloud connectivity
Disable CloudDisable the Shelly Cloud connectivity (takes about 15sec to become active)
Reconnect WiFiSensor devices only: Clears the STA/AP list and reconnects to strongest AP
Enable WiFi RoamingThe device will connect to the strongest AP when roadming is enabled
Disable WiFi RoamingDisable Access Point Roaming, device will periodically search for better APs
Enable WiFi RecoveryEnables auto-restart if device detects persistent WiFi connectivity issues
Disable WiFi RecoveryDisables device auto-restart ion persistent WiFi connectivity issues
Factory ResetPerforms a factory reset; Attention: The device will lose its configuration
Enable Device DebugEnables on-device debug log - activate only when requested by Allterco support
Get Debug LogRetrieve and display device debug output
Get Debug Log1Retrieve and display 2nd device debug output
Factory ResetPerforms firmware reset; Attention: The device will lose its configuration

Note: Various actions available only for certain devices or when using a minimum firmware version.

Actions Example

Firmware Update ​

The Shelly Manager simplifies the firmware update. You could select between different versions using the drop down list on the overview page.

Shelly Manager integrates different sources:

  • Allterco official releases: production and beta release (like in the device UI)
  • Older firmware release from the firmware archive - this is a community service
  • You could specify any custom URL providing the firmware image (e.g. a local web server), which is accessible for the device using http
Firmware Versions DropdownAll firmware releases are combined to the selection list.
Click on the version you want to install and Shelly Manager will generate the requested URL to trigger the firmware upgrade.

The upgrade starts if you click "Perform Update".

Firmware Upgrade Process

The device will download the firmware file, installs the update and restarts the device. Depending on the device type this takes between 10 and 60 seconds. The binding will automatically recover the device with the next status check (as usual).

Connection types ​

You could choose between 3 different update types:

  • Internet: This triggers the regular update; the device needs to be connected to the Internet
  • Use openHAB as a proxy: In this case the binding directs the device to request the firmware from the openHAB system. The binding will then download the firmware from the selected sources and passes this transparently to the device. This provides a security benefit: The device doesn't require Internet access, only the openHAB host, which could be filtered centrally.
  • Custom URL: In this case you could specify

The binding manages the download request with the proper download URL.