Problem with Shelly 1Plus

Hi, I’m new at this comunity but used HomeAssistant for a cople of years now. So far I have mostly used Shelly 1 and Shelly HT without any problems. But now Shell 1 is replaced with Shelly 1Plus and that one I can’t get to work porperly. The problem I have is that it’s not stabile. They becomes unavailable about every 5 minute for a couple of seconds. And it looks like it at that time temporary lose the connetion to any automation running.
To set the Shelly 1Plus up I have done following.

  1. Poer it up
  2. Connect to it´s WiFi
  3. Set up the connection to my Wifi with static IP (see picture below) and “save”
    4 turn both the AP and Bluetooth off.

    5 Going into Home Assistant and hit “configuration” plus disable Bluetooth
    6 Create an automation including the Shelly 1Plus at IP as in picture.
    7 It’s here the problem starts. The unit goes “unavailable” and loose the connetion to HomeAssistant. This can be seen if looking at the units “history”. But it comes back again after 5-10 seconds. This can also be notice at the webinterface. The connetion goes low for short wile and then comes back.
    But if I go to one of my old Shelly 1 it never goes “unavailable” and it works perfekt! no problem.
    Since I’m as new user is not allowed to ad more than one picture so I can’t show how it looks like but the units are as state going on/off quite freqvently.

So please, can anyone tell me what I do wrong or what is wrong with my set up.

What about DNS?

Please describe exactly what you mean.

Please describe exactly what you mean.

Is the device on the same subnet as the HA server?
What firmware version is the device using?
What does the log say?

Thanks for replying,
Will try to explain

  1. Never set DNS on Shelly 1 but occasionally Shelly 1Plus require that. If so I have set it to 192.168.0.1.


3. I’m just create a “new automation”. In thi scase a rely simple one.
On and off due to time. This made in HA “create new automation”
4 Everything is on same Wifi and router. Latest firmware on all (updated)
And the log says;
Turned on
Became unavailable
Turned on
Became unavailable
…Sorry I 'm not allowed to ad more pictures

I just would like to ad that I’m running HA on a separate computer and access that via web interface.
And here is the history log;

Disable it for the time of debugging.

Please provide a version string.

This is not a log. Go to Settings >> System >> Logs

Pictures are not needed.

You can also attach a diagnostic file.

Hi,

Have disabled the automation, still the same problem with unit loging off.
Firmware? Here we have the next problem called “catch 22”.
Can’t update as required. Before it’s installed the unit logs off and update stops. Tried several times. Checked the other shelly 1 plus with same problem and that has the latest update as in picture.


Adn when it comes to the log, it’s about the same problem. Soon as the unit logs off the log fails to be downloaded. When unit comes back on the log starts over again. Log file attached. The only line missing is where it states “loged off”. that line apeares only a second so it’s hard to catch. Andn as before I can’t attache more than one picture/file so I will attached it to a separate reply.

And here is the log file;

{
“home_assistant”: {
“installation_type”: “Home Assistant OS”,
“version”: “2024.11.3”,
“dev”: false,
“hassio”: true,
“virtualenv”: false,
“python_version”: “3.12.4”,
“docker”: true,
“arch”: “x86_64”,
“timezone”: “Europe/Stockholm”,
“os_name”: “Linux”,
“os_version”: “6.6.54-haos”,
“supervisor”: “2024.11.4”,
“host_os”: “Home Assistant OS 13.2”,
“docker_version”: “27.2.0”,
“chassis”: “embedded”,
“run_as_root”: true
},
“custom_components”: {},
“integration_manifest”: {
“domain”: “shelly”,
“name”: “Shelly”,
“codeowners”: [
“balloob”,
“bieniu”,
“thecode”,
“chemelli74”,
“bdraco”
],
“config_flow”: true,
“dependencies”: [
“bluetooth”,
“http”,
“network”
],
“documentation”: “Shelly - Home Assistant”,
“integration_type”: “device”,
“iot_class”: “local_push”,
“loggers”: [
“aioshelly”
],
“quality_scale”: “platinum”,
“requirements”: [
“aioshelly==12.0.1”
],
“zeroconf”: [
{
“type”: “_http._tcp.local.”,
“name”: “shelly*”
}
],
“is_built_in”: true,
“overwrites_built_in”: false
},
“setup_times”: {
“null”: {
“setup”: 0.000157119000050443
},
“71432179b8ae308dd69bb05583783d36”: {
“wait_import_platforms”: -0.6397551679999651,
“wait_base_component”: -0.002123153000070488,
“config_entry_setup”: 0.6813660980000122
},
“31e7820b2b5fd7e7e54449ccef7cb752”: {
“wait_import_platforms”: -0.6292760100000123,
“config_entry_setup”: 0.6899601320000102
},
“f6f9b75d6fe508925f5e1bced8ce40b3”: {
“wait_import_platforms”: -0.6334179630000563,
“config_entry_setup”: 0.6948255560000689
},
“14f3a1edde710b4d681d3231c8b4b9df”: {
“wait_import_platforms”: -0.5361717739999676,
“config_entry_setup”: 0.697240903000079
},
“01JDQEWW2FZECT4SW79XR7RYS9”: {
“wait_import_platforms”: -0.5236519449999832,
“config_entry_setup”: 0.6938484410000001
},
“025bbcdb96fa69ca28f99323b9a9570d”: {
“wait_import_platforms”: -0.11569002299995645,
“wait_base_component”: -0.004204286000003776,
“config_entry_setup”: 0.9241524540000228
},
“54168081e731335ea389168fc27bf45f”: {
“wait_import_platforms”: -0.16001047299994298,
“config_entry_setup”: 0.9388534830000026
},
“c7f323cdd7f06b7fe9cba9cd0480f388”: {
“wait_import_platforms”: -0.16840368299995134,
“config_entry_setup”: 0.9499637589999566
},
“c21ddff02e8d7c5d89041ec4b81ddad0”: {
“wait_import_platforms”: -0.17542537900010302,
“config_entry_setup”: 0.9714062859999331
},
“97bb0a1788b9aecf637a0ae4adfbe6cf”: {
“wait_import_platforms”: -0.19429121199993915,
“config_entry_setup”: 0.9821408480000855
},
“55b71fe93d3b3a95a94199bb55160049”: {
“wait_import_platforms”: -0.20186373199999252,
“config_entry_setup”: 0.988396382000019
},
“1eaba4f659d172900a86e2e1a13e9c47”: {
“wait_import_platforms”: -0.19451823300005344,
“config_entry_setup”: 1.0006276520000483
},
“334c7e29f875bf47b1652589dfa2e569”: {
“config_entry_setup”: 1.1709331779999275
},
“426788139170770e1e4e1a50a9ec3492”: {
“config_entry_setup”: 1.1820009529999425
},
“1bb9c84650aec2126ec01fe2c2fcac08”: {
“config_entry_setup”: 1.1894803139999794
},
“d71be74efc40077f7ed12afc549f1d8f”: {
“config_entry_setup”: 1.2002406780000001
},
“d712dc0f812ad1360670415aa9881941”: {
“config_entry_setup”: 1.2069678510000585
},
“6aff4ca171987b4c0b24c53bc01852c0”: {
“config_entry_setup”: 1.221170577999942
},
“8616b41e499458415b5a918782cc6301”: {
“config_entry_setup”: 1.248668619
},
“892b23ce88dfdd841f90295857166379”: {
“config_entry_setup”: 1.2621233569999504
},
“aee9f37a70a0111832c5854dcff7288f”: {
“config_entry_setup”: 1.2772875970000541
},
“01JBYHGJYXF0RYV9E5E41A9Z8A”: {
“config_entry_setup”: 1.4750706020000734
},
“e8796ad659818a98b85965fda5af07b2”: {
“config_entry_setup”: 3.0885098789999574
},
“901690922dbf0065648f122ce5819039”: {
“config_entry_setup”: 3.149528379000003
},
“01JD5811Q9050X743Z90TCKVPN”: {
“config_entry_setup”: 3.2982775790000005
},
“01JBYHFDB43207AMVC70JYDY46”: {
“config_entry_setup”: 10.00319175900006
}
},
“data”: {
“entry”: {
“created_at”: “2024-11-20T16:55:57.417578+00:00”,
“data”: {
“gen”: 2,
“host”: “192.168.1.113”,
“model”: “SNSW-001X16EU”,
“sleep_period”: 0,
“port”: 80
},
“discovery_keys”: {
“zeroconf”: [
{
“__type”: “<class ‘homeassistant.helpers.discovery_flow.DiscoveryKey’>”,
“repr”: “DiscoveryKey(domain=‘zeroconf’, key=(‘_http._tcp.local.’, ‘shellyplus1-cc7b5c863da8._http._tcp.local.’), version=1)”
}
]
},
“disabled_by”: null,
“domain”: “shelly”,
“entry_id”: “01JD5811Q9050X743Z90TCKVPN”,
“minor_version”: 2,
“modified_at”: “2024-12-03T12:03:20.840982+00:00”,
“options”: {
“ble_scanner_mode”: “disabled”
},
“pref_disable_new_entities”: false,
“pref_disable_polling”: false,
“source”: “zeroconf”,
“title”: “shellyplus1-cc7b5c863da8”,
“unique_id”: “CC7B5C863DA8”,
“version”: 1
},
“device_info”: {
“name”: “shellyplus1-cc7b5c863da8”,
“model”: “SNSW-001X16EU”,
“sw_version”: “20231031-152227/1.0.7-g5db02bd”
},
“device_settings”: {
“cloud”: {
“enable”: false,
“server”: “iot.shelly.cloud:6012/jrpc”
},
“ws_outbound_enabled”: false
},
“device_status”: {
“sys”: {
“mac”: “CC7B5C863DA8”,
“restart_required”: false,
“time”: “17:17”,
“unixtime”: 1733246261,
“uptime”: 74668,
“ram_size”: 246160,
“ram_free”: 126628,
“fs_size”: 458752,
“fs_free”: 151552,
“cfg_rev”: 26,
“kvs_rev”: 0,
“schedule_rev”: 0,
“webhook_rev”: 0,
“available_updates”: {
“stable”: {
“version”: “1.3.3”
}
}
},
“wifi”: {
“sta_ip”: “192.168.1.113”,
“status”: “got ip”,
“ssid”: “REDACTED”,
“rssi”: -59
}
},
“last_error”: “DeviceConnectionError(TimeoutError())”,
“bluetooth”: “not initialized”
}
}
Hope it make sence for you. :slightly_smiling_face:

Diagnostics file shows that the device uses 192.168.1.113, not 192.168.1.202 from your screenshot. This looks like a network problem.

This is a diagnostic file, I need a log.

Will fix that when I’m back in town later this week.

Forgot to say that Shelly recomended to change from static to open IP => same unit just moved to a new IP. But still doing the same.

IMO the best way is to reserve the IP via DHCP. If you assign IP addresses manually you need to be careful not to assign the same address to multiple devices. I suspect that’s what you might have here.

Hi,
Been away for a while. That doesn’t mean the problem is solved. Parallell with our conversation I also have communicated with Shelly direkt. And it’s hard to do two invesigations parallell. What I together with Shelly have discovered is that the devices are rebooting by it self every 5 min. Question is why? This investigation what made by dowload a live unit to their URL. Next step is to connect one of the devices to Hotspot on cellphone to see if it behaves in same way. However, according to Shelly it is only possible to connect to a cellphone without using their app. Have tried using a web browser and it do not work, so I gusess they are right.

As I see it following causes are possible;

  1. Firmware bug in Shelly
  2. Shelly set up issue on my network and/or HA
  3. A problem in my Network. But is so Shelly1 should not work. Later istalled Shelly HT works fine too.
  4. A bug in HA triggered by Shelly or my network.

And of casue I’m aware by setting a fixed IP has to be carefully done. I have a list of all used IP, so that is not an issue.

I mean while, can you better describe what log you are looking for. There are a few possibilities, Unit log, HA log … Please sen a picture of what log you are looking for.

I will keep you posted of the outcome of my contacts with Shelly. Might be interesting for outers too.
/Kagerja

Short additional question;
Since I’m start giving up on Shelly devices, are there other brands that can be used/added direkt on a local network without and additional netwrok like Zlink or eWeLink?
/Kagerja