iobroker-community-adapters / ioBroker.shelly

Integrate your Shelly devices into ioBroker via MQTT or CoIoT
Other
166 stars 66 forks source link

6.2.1 Restricted login warning floods log #690

Closed satisfied83 closed 2 years ago

satisfied83 commented 2 years ago

Shelly device

any

Protocol (CoAP / MQTT)

CoAP

The problem

Hi there,

Can we add a flag to config the new warning "Device is not protected via restricted login". For sure it has benefits, but right now changelog gets flooded with those messages all the time.

Thank you

Version of nodejs

v16.17.1

Version of ioBroker js-controller

4.0.23

Version of Adapter

6.2.1

Operating system running ioBroker

linux

Checklist of files to include below

Additional information & file uploads

e.g

[authEnabled] 192.168.9.164 (shelly1 / shelly1-BA60A8 / SHSW-1#BA60A8#1): This device is not protected via restricted login (see adapter documentation for details)

klein0r commented 2 years ago

You can set an empty password in the instance configuration to avoid that message:

https://github.com/iobroker-community-adapters/ioBroker.shelly/blob/746c7d712e3a8fa6291561677021d84921b86c00/lib/devices/default.js#L318

satisfied83 commented 2 years ago

Thank you @klein0r that did the trick. For me this is fine, if you like to, just close the defect.