iobroker-community-adapters / ioBroker.shelly

Integrate your Shelly devices into ioBroker via MQTT or CoIoT
Other
154 stars 62 forks source link

[Bug]: Devices not connecting #1002

Closed romestylez closed 3 weeks ago

romestylez commented 3 weeks ago

I'm sure that

Shelly device

Shelly Plug S

Shelly firmware version

No response

Protocol

CoAP / CoIoT

The problem

Hi guys, i have a Shelly 3PM Pro to use it with the iobroker adapter i have to use mqtt and http. I have the same username and password on all my devices and have set this in the adapter also.

When i restart the adapter no Shelly is connecting just the Shelly 3PM Pro is connecting via mqtt. When i change it to coap and http all the other shelly are sending data but the Shelly 3PM pro isnt.

Im using the latest version of the adapter

iobroker.current.log (in debug mode!)

No response

Version of nodejs

18.20.3

Version of ioBroker js-controller

9.1.2

Version of adapter

7.0.0

github-actions[bot] commented 3 weeks ago

Thanks for reporting a new issue @romestylez!

  1. Please make sure your topic is not covered in the documentation
  2. Please attach all necessary log files (in debug mode!), screenshots and other information to reproduce this issue
  3. Search for the issue topic in other/closed issues to avoid duplicates!

    Otherwise this issue will be closed.

klein0r commented 3 weeks ago

When i change it to coap ... but the Shelly 3PM pro isnt.

The Shelly 3PM Pro doesn't support CoAP / CoIoT

romestylez commented 3 weeks ago

Yes i know but at least it should then use the webinterface ?

I fixxed it now by setting up a second Shelly instance just for MQTT and the other for CoAP.

klein0r commented 3 weeks ago

I fixxed it now by setting up a second Shelly instance just for MQTT and the other for CoAP.

That's the recommended solution (see documentation)

mcm1957 commented 3 weeks ago

No. Http is NO General fallback snd thexshelly will not Annonce itself using http.

Most likely you need 2 instances. One configered to use mqtt one to use coap. Or you could change to use mqtt only. Please see docu to check whichcdevice Supports which connection Mode.

EDIT you did detect the solution anymay im meantime ...