Beiträge von Alero

    hi, habe mir das Video angeschaut und soweit auch umgesetzt. Leider ist die mcu nach ca. 30 sek. nicht mehr erreichbar. erst wenn ich das usb Kabel entferne und es wieder einstecke habe ich wieder kurz kontakt. Im Iobroker ist dann auch mqtt mit einem gelben dreieck. (Verbindung fehlegschlagen)

    jemand eine Idee?

    Software ESPEasy_R120_1024.bin. Alle Einstellungen so wie im Video eingestellt.

    es scheint am MQTT zu liegen. hier ein Auszug vom iobroker debug log:

    mqtt.2 2023-07-05 08:02:03.335debugonStateChange mqtt.2.info.connection: {"val":"","ack":true,"ts":1688536923334,"q":0,"from":"system.adapter.mqtt.2","user":"system.user.admin","lc":1688536898297}
    mqtt.pngmqtt.2 2023-07-05 08:02:03.335debugstateChange mqtt.2.info.connection: {"val":"","ack":true,"ts":1688536923334,"q":0,"from":"system.adapter.mqtt.2","user":"system.user.admin","lc":1688536898297}
    mqtt.pngmqtt.2 2023-07-05 08:02:03.328infoStarting MQTT-WebSocket server on 192.168.42.15:1888
    mqtt.pngmqtt.2 2023-07-05 08:02:03.327infoStarting MQTT server on 192.168.42.15:1887
    mqtt.pngmqtt.2 2023-07-05 08:02:03.104debugSchedule restart: * * * * *
    mqtt.pngmqtt.2 2023-07-05 08:02:03.083infostarting. Version 4.1.1 in /opt/iobroker/node_modules/iobroker.mqtt, node: v16.16.0, js-controller: 4.0.24
    mqtt.pngmqtt.2 2023-07-05 08:02:02.874debugPlugin sentry Initialize Plugin (enabled=true)
    mqtt.pngmqtt.2 2023-07-05 08:02:00.528infoTerminated (START_IMMEDIATELY_AFTER_STOP): Without reason
    mqtt.pngmqtt.2 2023-07-05 08:02:00.528debugPlugin sentry destroyed
    mqtt.pngmqtt.2 2023-07-05 08:02:00.527infoterminating
    mqtt.pngmqtt.2 2023-07-05 08:02:00.007infoScheduled restart.
    mqtt.pngmqtt.2 2023-07-05 08:01:38.299debugonStateChange mqtt.2.Stromzaehler.status: {"val":"Connection Lost","ack":true,"ts":1688536898297,"q":0,"from":"system.adapter.mqtt.2","user":"system.user.admin","lc":1687952226454}
    mqtt.pngmqtt.2 2023-07-05 08:01:38.299debugstateChange mqtt.2.Stromzaehler.status: {"val":"Connection Lost","ack":true,"ts":1688536898297,"q":0,"from":"system.adapter.mqtt.2","user":"system.user.admin","lc":1687952226454}
    mqtt.pngmqtt.2 2023-07-05 08:01:38.299debugonStateChange mqtt.2.info.connection: {"val":"","ack":true,"ts":1688536898297,"q":0,"from":"system.adapter.mqtt.2","user":"system.user.admin","lc":1688536898297}
    mqtt.pngmqtt.2 2023-07-05 08:01:38.299debugstateChange mqtt.2.info.connection: {"val":"","ack":true,"ts":1688536898297,"q":0,"from":"system.adapter.mqtt.2","user":"system.user.admin","lc":1688536898297}
    mqtt.pngmqtt.2 2023-07-05 08:01:38.296debugServer received "/Stromzaehler/status" (string): "Connection Lost"
    mqtt.pngmqtt.2 2023-07-05 08:01:38.295infoClient [ESPClient1] connection closed: timeout
    mqtt.pngmqtt.2 2023-07-05 08:01:15.794debugClient [ESPClient1] send to this client "/Stromzaehler/Pulse/Time": 0
    mqtt.pngmqtt.2 2023-07-05 08:01:15.793debugonStateChange mqtt.2.Stromzaehler.Pulse.Time: {"val":0,"ack":true,"ts":1688536875791,"q":0,"from":"system.adapter.mqtt.2","user":"system.user.admin","lc":1688536875791}
    mqtt.pngmqtt.2 2023-07-05 08:01:15.793debugstateChange mqtt.2.Stromzaehler.Pulse.Time: {"val":0,"ack":true,"ts":1688536875791,"q":0,"from":"system.adapter.mqtt.2","user":"system.user.admin","lc":1688536875791}
    mqtt.pngmqtt.2 2023-07-05 08:01:15.792debugClient [ESPClient1] send to this client "/Stromzaehler/Pulse/Total": 0
    mqtt.pngmqtt.2 2023-07-05 08:01:15.790debugClient [ESPClient1] send to this client "/Stromzaehler/Pulse/Count": 0
    mqtt.pngmqtt.2 2023-07-05 08:01:15.789debugonStateChange mqtt.2.Stromzaehler.Pulse.Total: {"val":0,"ack":true,"ts":1688536875787,"q":0,"from":"system.adapter.mqtt.2","user":"system.user.admin","lc":1688536875787}
    mqtt.pngmqtt.2 2023-07-05 08:01:15.789debugstateChange mqtt.2.Stromzaehler.Pulse.Total: {"val":0,"ack":true,"ts":1688536875787,"q":0,"from":"system.adapter.mqtt.2","user":"system.user.admin","lc":1688536875787}
    mqtt.pngmqtt.2 2023-07-05 08:01:15.788debugServer received "/Stromzaehler/Pulse/Time" (number): 0
    mqtt.pngmqtt.2 2023-07-05 08:01:15.788debug Found object for topic "/Stromzaehler/Pulse/Time" = mqtt.2.Stromzaehler.Pulse.Time