Lights turn on and off randomly (deCONZ, IKEA)

I have the problem that bulbs and switches randomly turn on but especially off. Especially this is noticeable with IKEA bulbs and power plugs.

I use deConz, everything on the latest version (version: 6.10.0 and Firmware 26720700)

In the logbook it also looks weird:

Bildschirmfoto 2021-09-13 um 22.13.20
I actually do everything with NodeRed, so Supervised but I can’t explain the middle entry.

anyone have an idea where I can get more info on why the switch was turned off?

Or what it could be?

1 Like

Do you have any automations defined which are triggered?
And what kind of NodeRed code are you running?

No, I do all my automation through NodeRed, no scene either.

For example, in NodeRed this entity is only turned on at sunset and turned off at 11:00 in the evening:

[
    {
        "id": "5ebf57f6.9234b8",
        "type": "bigtimer",
        "z": "6d2ca11a8f25ed5e",
        "outtopic": "",
        "outpayload1": "",
        "outpayload2": "",
        "name": "Turn on at Sunset, Off at Sunrise",
        "comment": "",
        "lat": "1.488629500221606",
        "lon": "1.411415457725527",
        "starttime": "5004",
        "endtime": "5003",
        "startoff": "-20",
        "endoff": 0,
        "startoff2": "",
        "endoff2": "",
        "offs": 0,
        "outtext1": "on",
        "outtext2": "off",
        "timeout": 1440,
        "sun": true,
        "mon": true,
        "tue": true,
        "wed": true,
        "thu": true,
        "fri": true,
        "sat": true,
        "jan": true,
        "feb": true,
        "mar": true,
        "apr": true,
        "may": true,
        "jun": true,
        "jul": true,
        "aug": true,
        "sep": true,
        "oct": true,
        "nov": true,
        "dec": true,
        "day1": 0,
        "month1": 0,
        "day2": 0,
        "month2": 0,
        "day3": 0,
        "month3": 0,
        "day4": 0,
        "month4": 0,
        "day5": 0,
        "month5": 0,
        "day6": "",
        "month6": "",
        "day7": "",
        "month7": "",
        "day8": "",
        "month8": "",
        "day9": "",
        "month9": "",
        "day10": "",
        "month10": "",
        "day11": "",
        "month11": "",
        "day12": "",
        "month12": "",
        "d1": 0,
        "w1": 0,
        "d2": 0,
        "w2": 0,
        "d3": 0,
        "w3": 0,
        "d4": 0,
        "w4": 0,
        "d5": 0,
        "w5": 0,
        "d6": "",
        "w6": "",
        "xday1": "",
        "xmonth1": "",
        "xday2": "",
        "xmonth2": "",
        "xday3": "",
        "xmonth3": "",
        "xday4": "",
        "xmonth4": "",
        "xday5": "",
        "xmonth5": "",
        "xday6": "",
        "xmonth6": "",
        "xday7": "",
        "xmonth7": "",
        "xday8": "",
        "xmonth8": "",
        "xday9": "",
        "xmonth9": "",
        "xday10": "",
        "xmonth10": "",
        "xday11": "",
        "xmonth11": "",
        "xday12": "",
        "xmonth12": "",
        "xd1": "",
        "xw1": "",
        "xd2": "",
        "xw2": "",
        "xd3": "",
        "xw3": "",
        "xd4": "",
        "xw4": "",
        "xd5": "",
        "xw5": "",
        "xd6": "",
        "xw6": "",
        "suspend": false,
        "random": false,
        "randon1": false,
        "randoff1": false,
        "randon2": false,
        "randoff2": false,
        "repeat": false,
        "atstart": false,
        "odd": false,
        "even": false,
        "x": 490,
        "y": 900,
        "wires": [
            [],
            [],
            [
                "cd78ec6b.f6aad"
            ]
        ]
    },
    {
        "id": "45b6e1dc5ac40389",
        "type": "inject",
        "z": "6d2ca11a8f25ed5e",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 210,
        "y": 900,
        "wires": [
            [
                "5ebf57f6.9234b8"
            ]
        ]
    },
    {
        "id": "cd78ec6b.f6aad",
        "type": "switch",
        "z": "6d2ca11a8f25ed5e",
        "name": "Switch",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "eq",
                "v": "on",
                "vt": "str"
            },
            {
                "t": "eq",
                "v": "off",
                "vt": "str"
            }
        ],
        "checkall": "false",
        "repair": false,
        "outputs": 2,
        "x": 770,
        "y": 900,
        "wires": [
            [
                "f0368994c61f6149"
            ],
            []
        ]
    },
    {
        "id": "f0368994c61f6149",
        "type": "api-call-service",
        "z": "6d2ca11a8f25ed5e",
        "name": "",
        "server": "855d6ace.7d8788",
        "version": 3,
        "debugenabled": false,
        "service_domain": "switch",
        "service": "turn_on",
        "entityId": "switch.livingroom_01",
        "data": "",
        "dataType": "jsonata",
        "mergecontext": "",
        "mustacheAltTags": false,
        "outputProperties": [],
        "queue": "none",
        "x": 1110,
        "y": 900,
        "wires": [
            []
        ]
    },
    {
        "id": "bd45430443b4e638",
        "type": "api-call-service",
        "z": "6d2ca11a8f25ed5e",
        "name": "",
        "server": "855d6ace.7d8788",
        "version": 3,
        "debugenabled": false,
        "service_domain": "switch",
        "service": "turn_off",
        "entityId": "switch.livingroom_01",
        "data": "",
        "dataType": "jsonata",
        "mergecontext": "",
        "mustacheAltTags": false,
        "outputProperties": [],
        "queue": "none",
        "x": 1110,
        "y": 980,
        "wires": [
            []
        ]
    },
    {
        "id": "b176b964bd75714a",
        "type": "inject",
        "z": "6d2ca11a8f25ed5e",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "00 23 * * *",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payloadType": "date",
        "x": 190,
        "y": 980,
        "wires": [
            [
                "bd45430443b4e638"
            ]
        ]
    },
    {
        "id": "855d6ace.7d8788",
        "type": "server",
        "name": "X Home Assistant",
        "version": 1,
        "legacy": false,
        "addon": true,
        "rejectUnauthorizedCerts": true,
        "ha_boolean": "y|yes|true|on|home|open",
        "connectionDelay": true,
        "cacheJson": true
    }
]

also it is switched via a button.

But as I said, as soon as NodeRed switches something I see “Supervised” in the log, but here is neither the user nor “Supervised”.

Bildschirmfoto 2021-09-14 um 01.01.32
it was just turned on again before

The exact same behaviour started for me I updated from 2021.06 to 2021.09, and from deconz 6.09 to 6.10 (same time, so no idea which on is the problem). I’ve turned off all automations and other things that could interfere, but everything else is the same.

I still can’t explain it, but I also think it’s related to either deCONZ or Home Assistant itself, I don’t have a single automation or similar on a lamp which it happened now (Philips Hue)… very strange.

today again the same problem, does not seem to be fixed yet.

1 Like

Yep. Same here… I cannot find any logical reason for it, it’s just random whem it occurs.

1 Like