iobroker-community-adapters / ioBroker.shelly

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

[Bug]: Warnmeldung [mqtt controlFunction] kommt zu häufig #976

Open wilfriedleske opened 2 months ago

wilfriedleske commented 2 months ago

I'm sure that

Shelly device

Shelly PlugS

Shelly firmware version

20210909-145347/v1.11.4-DNSfix-ge6b2f6d

Protocol

MQTT

The problem

Ich verwende zwei PlugS für die Überwachung der Pumpen meiner Heizungsanlage. Die Pumpen werden von einer uralt Vaillant- Steuerung geschaltet. Bei den nun steigenden Außentemperaturen schaltet die Vaillant Steuerung die Pumpen und damit auch die Shellys zeitweise spannungsfrei. Wenn dies passiert werden die beiden Shellys vom Adapter nicht mehr erkannt und es wird eine Warnmeldung ausgegeben:
[mqtt controlFunction] Unable to perform request - device 192.168.##.## (shellyplug-s / shellyplug-s-04119D / SHPLG-S#04119D#1) is offline Dies ist erst einmal eine gute Sache. Allerdings erscheint diese Meldung ständig und füllt unnötigerweise das Log. Ich habe das Problem auch im ioBroker-Forum geschildert.

Die Meldung dürfte nur einmal erscheinen oder müsste sich für Geräte. die nicht ständig am Netz sind, abschalten lassen.

iobroker.current.log (in debug mode!)

2024-05-01 19:53:16.810 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.31 (shellyplug-s / shellyplug-s-04119D / SHPLG-S#04119D#1) is offline 2024-05-01 19:53:16.811 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.32 (shellyplug-s / shellyplug-s-4022D881C8A0 / SHPLG-S#4022D881C8A0#1) is offline 2024-05-01 19:55:44.099 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.31 (shellyplug-s / shellyplug-s-04119D / SHPLG-S#04119D#1) is offline 2024-05-01 19:55:44.102 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.32 (shellyplug-s / shellyplug-s-4022D881C8A0 / SHPLG-S#4022D881C8A0#1) is offline 2024-05-01 20:00:59.058 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.31 (shellyplug-s / shellyplug-s-04119D / SHPLG-S#04119D#1) is offline 2024-05-01 20:00:59.059 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.32 (shellyplug-s / shellyplug-s-4022D881C8A0 / SHPLG-S#4022D881C8A0#1) is offline 2024-05-01 20:03:47.089 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.31 (shellyplug-s / shellyplug-s-04119D / SHPLG-S#04119D#1) is offline 2024-05-01 20:03:47.090 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.32 (shellyplug-s / shellyplug-s-4022D881C8A0 / SHPLG-S#4022D881C8A0#1) is offline 2024-05-01 20:06:20.546 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.31 (shellyplug-s / shellyplug-s-04119D / SHPLG-S#04119D#1) is offline 2024-05-01 20:06:20.547 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.32 (shellyplug-s / shellyplug-s-4022D881C8A0 / SHPLG-S#4022D881C8A0#1) is offline 2024-05-01 20:08:39.554 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.31 (shellyplug-s / shellyplug-s-04119D / SHPLG-S#04119D#1) is offline 2024-05-01 20:08:39.555 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.32 (shellyplug-s / shellyplug-s-4022D881C8A0 / SHPLG-S#4022D881C8A0#1) is offline 2024-05-01 20:13:38.327 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.31 (shellyplug-s / shellyplug-s-04119D / SHPLG-S#04119D#1) is offline 2024-05-01 20:13:38.328 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.32 (shellyplug-s / shellyplug-s-4022D881C8A0 / SHPLG-S#4022D881C8A0#1) is offline 2024-05-01 20:16:18.065 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.31 (shellyplug-s / shellyplug-s-04119D / SHPLG-S#04119D#1) is offline 2024-05-01 20:16:18.066 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.32 (shellyplug-s / shellyplug-s-4022D881C8A0 / SHPLG-S#4022D881C8A0#1) is offline 2024-05-01 20:18:43.272 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.31 (shellyplug-s / shellyplug-s-04119D / SHPLG-S#04119D#1) is offline 2024-05-01 20:18:43.273 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.32 (shellyplug-s / shellyplug-s-4022D881C8A0 / SHPLG-S#4022D881C8A0#1) is offline 2024-05-01 20:20:54.268 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.31 (shellyplug-s / shellyplug-s-04119D / SHPLG-S#04119D#1) is offline 2024-05-01 20:20:54.268 - warn: shelly.0 (581537) [mqtt controlFunction] Unable to perform request - device 192.168.2.32 (shellyplug-s / shellyplug-s-4022D881C8A0 / SHPLG-S#4022D881C8A0#1) is offline

Version of nodejs

v18.20.2

Version of ioBroker js-controller

5.0.19

Version of adapter

6.9.0

github-actions[bot] commented 2 months ago

Thanks for reporting a new issue @wilfriedleske!

  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!
  4. Ensure that you use the latest available beta version of this adapter (not the current stable version): 7.0.0

    Otherwise this issue will be closed.

klein0r commented 2 months ago

Bei den nun steigenden Außentemperaturen schaltet die Vaillant Steuerung die Pumpen und damit auch die Shellys zeitweise spannungsfrei.

Wie im Forum schon geschrieben: Wenn Die Geräte offline sind, sollten sie nicht mehr angesteuert werden. Du führst eine Aktion durch, und diese klappt nicht. Warum ist eine Warnung darüber nicht das erwartete Ergebnis?