"device is unavailable", when Favorites are configured, but reacheble via IP and cloud...

  • Good evening all,

    my Shelly 2.5 goes "offline" in Home assistant. I thought, it is, but it is not. Basically as device it is never looses it connection, but something goes wrong with REST answers. If I visit Cloud - can mange my device, if I visit it via IP address, I see this:

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    in Network analysis Firefox says: "SyntaxError: JSON.parse: bad control character in string literal at line 1 column 2838 of the JSON data". The content last part of JSON is:

    Code
    ..."favorites_enabled":false,"favorites":[{"name":"ÐÑиоÑкÑÑÑо","pos":25},{"name":"ÐакÑÑÑÑ","pos":0},{"name":"ÐÑкÑÑÑÑ","pos":100}

    At the end I find out that Favorites are causing this issue. Disabling of favorites is only possible via Cloud, I try to send command to disable them via browser or curl with no success.

    Basically Cloud also didn't help to disable favorites, I start to edit them and on a 3rd Shelly simply return no favorites more and status disabled.

    Current version: 20210115-103025/v1.9.4@e2732e05

  • Root cause is a cyrilic Symbols in name. In some cases it brakes REST API answer and you can't control shelly anymore. It helps only to user command line and rename device via direct API call.