Code Monkey home page Code Monkey logo

Comments (16)

AlCalzone avatar AlCalzone commented on September 20, 2024 1

No worries! Note that I updated my previous post.

from iobroker.tradfri.

AlCalzone avatar AlCalzone commented on September 20, 2024

I'll need the log on loglevel debug to see why its not working.

from iobroker.tradfri.

CKMartens avatar CKMartens commented on September 20, 2024

Its all what comes by Log-Level debug

from iobroker.tradfri.

AlCalzone avatar AlCalzone commented on September 20, 2024

There must be something like observeDevice > ... which includes the name of the bulb when you start the adapter

from iobroker.tradfri.

CKMartens avatar CKMartens commented on September 20, 2024

2019-11-01 19:50:55.425 - debug: tradfri.0 (16336) Redis Objects: Use Redis connection: 0.0.0.0:9001 2019-11-01 19:50:55.923 - debug: tradfri.0 (16336) objectDB connected 2019-11-01 19:50:55.927 - debug: tradfri.0 (16336) Redis States: Use Redis connection: 0.0.0.0:9000 2019-11-01 19:50:55.932 - debug: tradfri.0 (16336) Objects connected to redis: 0.0.0.0:9001 2019-11-01 19:50:56.022 - debug: tradfri.0 (16336) statesDB connected 2019-11-01 19:50:56.086 - debug: tradfri.0 (16336) States connected to redis: 0.0.0.0:9000 2019-11-01 19:50:57.303 - info: tradfri.0 (16336) starting. Version 2.4.4 in /opt/iobroker/node_modules/iobroker.tradfri, node: v10.16.3 2019-11-01 19:50:58.181 - info: tradfri.0 (16336) Discovering the gateway automatically... 2019-11-01 19:50:58.313 - info: tradfri.0 (16336) Found gateway gw-a0c9a0d66c3f at 192.168.178.10 2019-11-01 19:50:58.348 - debug: tradfri.0 (16336) Attempting connection. Identity = tradfri_1571242208858, psk = 0SS4Oi6h7oNh2f8q 2019-11-01 19:50:58.486 - debug: tradfri.0 (16336) Connection successful 2019-11-01 19:50:58.529 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.info.connection updated: ack=true; val=true 2019-11-01 19:51:06.065 - info: tradfri.0 (16336) got all devices: [65568,65554,65552,65555,65569,65546,65538,65562,65543,65544,65541,65567,65539,65564,65565,65572,65573,65575,65576,65577,65578] 2019-11-01 19:51:06.068 - debug: tradfri.0 (16336) adding devices with keys [65538,65539,65541,65543,65544,65546,65552,65554,65555,65562,65564,65565,65567,65568,65569,65572,65573,65575,65576,65577,65578] 2019-11-01 19:51:06.081 - debug: tradfri.0 (16336) removing devices with keys [] 2019-11-01 19:51:06.098 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI remote control","2":"","3":"2.3.014","6":3,"9":34},"5750":0,"9001":"TRADFRI remote control","9002":1541233728,"9003":65538,"9019":1,"9020":1572579982,"9054":0,"15009":[{"9003":0}]} 2019-11-01 19:51:06.125 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E14 WS opal 400lm","2":"","3":"1.2.221","6":1},"3311":[{"5706":"f1e0b5","5709":30138,"5710":26909,"5711":370,"5717":0,"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Leselampe","9002":1541233938,"9003":65539,"9019":1,"9020":1572609400,"9054":0} 2019-11-01 19:51:06.146 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 WS opal 980lm","2":"","3":"1.2.217","6":1},"3311":[{"5706":"f1e0b5","5709":29969,"5710":26804,"5711":370,"5717":0,"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Deckenfluter","9002":1541234199,"9003":65541,"9019":1,"9020":1572609474,"9054":0} 2019-11-01 19:51:06.164 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI remote control","2":"","3":"2.3.014","6":3,"9":16},"5750":0,"9001":"Nachttisch Elke","9002":1542299698,"9003":65543,"9019":1,"9020":1572592047,"9054":0,"15009":[{"9003":0}]} 2019-11-01 19:51:06.179 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.RC-65538.alive updated: ack=true; val=true 2019-11-01 19:51:06.180 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.RC-65538.lastSeen updated: ack=true; val=1572579982 2019-11-01 19:51:06.181 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.RC-65538.batteryPercentage updated: ack=true; val=34 2019-11-01 19:51:06.185 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E14 WS opal 400lm","2":"","3":"1.2.221","6":1},"3311":[{"5706":"efd275","5709":30138,"5710":26909,"5711":454,"5717":0,"5850":0,"5851":118,"9003":0}],"5750":2,"9001":"Nachttischlampe Elke","9002":1542299917,"9003":65544,"9019":1,"9020":1572609367,"9054":0} 2019-11-01 19:51:06.201 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65539.alive updated: ack=true; val=true 2019-11-01 19:51:06.203 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1572609400 2019-11-01 19:51:06.205 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65539.lightbulb.colorTemperature updated: ack=true; val=58.8 2019-11-01 19:51:06.210 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E14 WS opal 400lm","2":"","3":"1.2.221","6":1},"3311":[{"5706":"efd275","5709":30138,"5710":26909,"5711":454,"5717":0,"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Nachttischlampe Carsten","9002":1542301595,"9003":65546,"9019":1,"9020":1572609486,"9054":0} 2019-11-01 19:51:06.226 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=true; val=0.5 2019-11-01 19:51:06.228 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=0 2019-11-01 19:51:06.229 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=false 2019-11-01 19:51:06.230 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65539.batteryPercentage updated: ack=true; val=100 2019-11-01 19:51:06.233 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 W opal 1000lm","2":"","3":"1.2.214","6":1},"3311":[{"5850":0,"5851":0,"9003":0}],"5750":2,"9001":"Abstellraum","9002":1543651336,"9003":65552,"9019":1,"9020":1572609520,"9054":0} 2019-11-01 19:51:06.255 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI remote control","2":"","3":"2.3.014","6":3,"9":100},"5750":0,"9001":"TRADFRI remote control 4","9002":1543652487,"9003":65554,"9019":1,"9020":1572571809,"9054":0,"15009":[{"9003":0}]} 2019-11-01 19:51:06.271 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.009","6":1},"3311":[{"5706":"0","5707":23936,"5708":65279,"5709":19305,"5710":38165,"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Fernseh Licht","9002":1543652576,"9003":65555,"9019":1,"9020":1572609375,"9054":0} 2019-11-01 19:51:06.338 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 W opal 1000lm","2":"","3":"1.2.214","6":1},"3311":[{"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Flur Licht","9002":1556961864,"9003":65562,"9019":1,"9020":1572588231,"9054":0} 2019-11-01 19:51:06.356 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb GU10 W 400lm","2":"","3":"1.2.214","6":1},"3311":[{"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Eingang Licht 1","9002":1556962296,"9003":65564,"9019":1,"9020":1572609364,"9054":0} 2019-11-01 19:51:06.434 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb GU10 W 400lm","2":"","3":"1.2.214","6":1},"3311":[{"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Eingang Licht 2","9002":1556962399,"9003":65565,"9019":1,"9020":1572609458,"9054":0}

from iobroker.tradfri.

AlCalzone avatar AlCalzone commented on September 20, 2024

If the bulb in question is called "Schreibtisch" like in the screenshot above, its not included in your log excerpt.

from iobroker.tradfri.

CKMartens avatar CKMartens commented on September 20, 2024

Sorry, i wrong copy... Now its all:
2019-11-01 19:50:55.425 - debug: tradfri.0 (16336) Redis Objects: Use Redis connection: 0.0.0.0:9001 2019-11-01 19:50:55.923 - debug: tradfri.0 (16336) objectDB connected 2019-11-01 19:50:55.927 - debug: tradfri.0 (16336) Redis States: Use Redis connection: 0.0.0.0:9000 2019-11-01 19:50:55.932 - debug: tradfri.0 (16336) Objects connected to redis: 0.0.0.0:9001 2019-11-01 19:50:56.022 - debug: tradfri.0 (16336) statesDB connected 2019-11-01 19:50:56.086 - debug: tradfri.0 (16336) States connected to redis: 0.0.0.0:9000 2019-11-01 19:50:57.303 - info: tradfri.0 (16336) starting. Version 2.4.4 in /opt/iobroker/node_modules/iobroker.tradfri, node: v10.16.3 2019-11-01 19:50:58.181 - info: tradfri.0 (16336) Discovering the gateway automatically... 2019-11-01 19:50:58.313 - info: tradfri.0 (16336) Found gateway gw-a0c9a0d66c3f at 192.168.178.10 2019-11-01 19:50:58.348 - debug: tradfri.0 (16336) Attempting connection. Identity = tradfri_1571242208858, psk = 0SS4Oi6h7oNh2f8q 2019-11-01 19:50:58.486 - debug: tradfri.0 (16336) Connection successful 2019-11-01 19:50:58.529 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.info.connection updated: ack=true; val=true 2019-11-01 19:51:06.065 - info: tradfri.0 (16336) got all devices: [65568,65554,65552,65555,65569,65546,65538,65562,65543,65544,65541,65567,65539,65564,65565,65572,65573,65575,65576,65577,65578] 2019-11-01 19:51:06.068 - debug: tradfri.0 (16336) adding devices with keys [65538,65539,65541,65543,65544,65546,65552,65554,65555,65562,65564,65565,65567,65568,65569,65572,65573,65575,65576,65577,65578] 2019-11-01 19:51:06.081 - debug: tradfri.0 (16336) removing devices with keys [] 2019-11-01 19:51:06.098 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI remote control","2":"","3":"2.3.014","6":3,"9":34},"5750":0,"9001":"TRADFRI remote control","9002":1541233728,"9003":65538,"9019":1,"9020":1572579982,"9054":0,"15009":[{"9003":0}]} 2019-11-01 19:51:06.125 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E14 WS opal 400lm","2":"","3":"1.2.221","6":1},"3311":[{"5706":"f1e0b5","5709":30138,"5710":26909,"5711":370,"5717":0,"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Leselampe","9002":1541233938,"9003":65539,"9019":1,"9020":1572609400,"9054":0} 2019-11-01 19:51:06.146 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 WS opal 980lm","2":"","3":"1.2.217","6":1},"3311":[{"5706":"f1e0b5","5709":29969,"5710":26804,"5711":370,"5717":0,"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Deckenfluter","9002":1541234199,"9003":65541,"9019":1,"9020":1572609474,"9054":0} 2019-11-01 19:51:06.164 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI remote control","2":"","3":"2.3.014","6":3,"9":16},"5750":0,"9001":"Nachttisch Elke","9002":1542299698,"9003":65543,"9019":1,"9020":1572592047,"9054":0,"15009":[{"9003":0}]} 2019-11-01 19:51:06.179 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.RC-65538.alive updated: ack=true; val=true 2019-11-01 19:51:06.180 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.RC-65538.lastSeen updated: ack=true; val=1572579982 2019-11-01 19:51:06.181 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.RC-65538.batteryPercentage updated: ack=true; val=34 2019-11-01 19:51:06.185 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E14 WS opal 400lm","2":"","3":"1.2.221","6":1},"3311":[{"5706":"efd275","5709":30138,"5710":26909,"5711":454,"5717":0,"5850":0,"5851":118,"9003":0}],"5750":2,"9001":"Nachttischlampe Elke","9002":1542299917,"9003":65544,"9019":1,"9020":1572609367,"9054":0} 2019-11-01 19:51:06.201 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65539.alive updated: ack=true; val=true 2019-11-01 19:51:06.203 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1572609400 2019-11-01 19:51:06.205 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65539.lightbulb.colorTemperature updated: ack=true; val=58.8 2019-11-01 19:51:06.210 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E14 WS opal 400lm","2":"","3":"1.2.221","6":1},"3311":[{"5706":"efd275","5709":30138,"5710":26909,"5711":454,"5717":0,"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Nachttischlampe Carsten","9002":1542301595,"9003":65546,"9019":1,"9020":1572609486,"9054":0} 2019-11-01 19:51:06.226 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=true; val=0.5 2019-11-01 19:51:06.228 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=0 2019-11-01 19:51:06.229 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=false 2019-11-01 19:51:06.230 - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65539.batteryPercentage updated: ack=true; val=100 2019-11-01 19:51:06.233 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 W opal 1000lm","2":"","3":"1.2.214","6":1},"3311":[{"5850":0,"5851":0,"9003":0}],"5750":2,"9001":"Abstellraum","9002":1543651336,"9003":65552,"9019":1,"9020":1572609520,"9054":0} 2019-11-01 19:51:06.255 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI remote control","2":"","3":"2.3.014","6":3,"9":100},"5750":0,"9001":"TRADFRI remote control 4","9002":1543652487,"9003":65554,"9019":1,"9020":1572571809,"9054":0,"15009":[{"9003":0}]} 2019-11-01 19:51:06.271 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.009","6":1},"3311":[{"5706":"0","5707":23936,"5708":65279,"5709":19305,"5710":38165,"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Fernseh Licht","9002":1543652576,"9003":65555,"9019":1,"9020":1572609375,"9054":0} 2019-11-01 19:51:06.338 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 W opal 1000lm","2":"","3":"1.2.214","6":1},"3311":[{"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Flur Licht","9002":1556961864,"9003":65562,"9019":1,"9020":1572588231,"9054":0} 2019-11-01 19:51:06.356 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb GU10 W 400lm","2":"","3":"1.2.214","6":1},"3311":[{"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Eingang Licht 1","9002":1556962296,"9003":65564,"9019":1,"9020":1572609364,"9054":0} 2019-11-01 19:51:06.434 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb GU10 W 400lm","2":"","3":"1.2.214","6":1},"3311":[{"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Eingang Licht 2","9002":1556962399,"9003":65565,"9019":1,"9020":1572609458,"9054":0} 2019-11-01 19:51:06.492 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 W opal 1000lm","2":"","3":"1.2.214","6":1},"3311":[{"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Terrassen Licht","9002":1558172316,"9003":65567,"9019":1,"9020":1572609537,"9054":0} 2019-11-01 19:51:06.516 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI motion sensor","2":"","3":"1.2.214","6":3,"9":47},"3300":[{"9003":0}],"5750":4,"9001":"TRADFRI motion sensor 5","9002":1559136046,"9003":65568,"9019":1,"9020":1572614593,"9054":0} 2019-11-01 19:51:06.525 - warn: tradfri.0 (16336) Unknown accessory type 4. Please send this info to the developer with a short description of the device! 2019-11-01 19:51:06.532 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI remote control","2":"","3":"2.3.014","6":3,"9":47},"5750":0,"9001":"TRADFRI remote control 5","9002":1570128543,"9003":65569,"9019":1,"9020":1572632901,"9054":0,"15009":[{"9003":0}]} 2019-11-01 19:51:06.578 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.009","6":1},"3311":[{"5706":"4a418a","5707":47822,"5708":65279,"5709":11469,"5710":3277,"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Standlicht","9002":1572440041,"9003":65572,"9019":1,"9020":1572613075,"9054":0} 2019-11-01 19:51:06.607 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI on/off switch","2":"","3":"2.2.008","6":3,"9":60},"5750":0,"9001":"TRADFRI on/off switch","9002":1572441352,"9003":65573,"9019":1,"9020":1572441358,"9054":0,"15009":[{"9003":0}]} 2019-11-01 19:51:06.629 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI motion sensor","2":"","3":"1.2.214","6":3,"9":47},"3300":[{"9003":0}],"5750":4,"9001":"TRADFRI motion sensor 2","9002":1572447892,"9003":65575,"9019":1,"9020":1572620907,"9054":0} 2019-11-01 19:51:06.656 - warn: tradfri.0 (16336) Unknown accessory type 4. Please send this info to the developer with a short description of the device! 2019-11-01 19:51:06.674 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 WW 806lm","2":"","3":"2.1.022","6":1},"3311":[{"5850":0,"5851":127,"9003":0}],"5750":2,"9001":"Schreibtisch","9002":1572447996,"9003":65576,"9019":0,"9020":1572448005,"9054":0} 2019-11-01 19:51:06.734 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E14 WS opal 600lm","2":"","3":"2.0.022","6":1},"3311":[{"5706":"f1e0b5","5709":30015,"5710":26870,"5711":370,"5717":0,"5850":1,"5851":1,"9003":0}],"5750":2,"9001":"Couchlampe","9002":1572449551,"9003":65577,"9019":1,"9020":1572631010,"9054":0} 2019-11-01 19:51:06.754 - debug: tradfri.0 (16336) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI motion sensor","2":"","3":"2.0.022","6":3,"9":100},"3300":[{"9003":0}],"5750":4,"9001":"Bewegungsmelder Terrasse","9002":1572450026,"9003":65578,"9019":1,"9020":1572624126,"9054":0}

from iobroker.tradfri.

AlCalzone avatar AlCalzone commented on September 20, 2024

It all looks pretty normal to me. Could you send me a log where you try to control the device from ioBroker?

from iobroker.tradfri.

CKMartens avatar CKMartens commented on September 20, 2024

I switched to log-mode debug:

This part from log is while i try to switch the bulb on

tradfri.0	2019-11-07 06:58:23.481	debug	(25432) ping succeeded
tradfri.0	2019-11-07 06:58:21.571	debug	(25432) {{blue}} state with id tradfri.0.G-131088.state updated: ack=true; val=false
tradfri.0	2019-11-07 06:58:21.560	debug	(25432) {{blue}} state with id tradfri.0.G-131088.brightness updated: ack=true; val=59.8
tradfri.0	2019-11-07 06:58:21.205	debug	(25432) {{blue}} state with id tradfri.0.L-65581.batteryPercentage updated: ack=true; val=100
tradfri.0	2019-11-07 06:58:21.202	debug	(25432) {{blue}} state with id tradfri.0.L-65581.lightbulb.state updated: ack=true; val=false
tradfri.0	2019-11-07 06:58:21.190	debug	(25432) {{blue}} state with id tradfri.0.L-65581.lightbulb.brightness updated: ack=true; val=59.8
tradfri.0	2019-11-07 06:58:21.187	debug	(25432) {{blue}} state with id tradfri.0.L-65581.lightbulb.transitionDuration updated: ack=true; val=0.5
tradfri.0	2019-11-07 06:58:21.183	debug	(25432) {{blue}} state with id tradfri.0.L-65581.lastSeen updated: ack=true; val=1573106246
tradfri.0	2019-11-07 06:58:21.177	debug	(25432) {{blue}} state with id tradfri.0.L-65581.alive updated: ack=true; val=true
tradfri.0	2019-11-07 06:58:19.985	debug	(25432) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 WW 806lm","2":"","3":"2.1.022","6":1},"3311":[{"5850":0,"5851":152,"9003":0}],"5750":2,"9001":"Schreibtischlampe","9002":157263
tradfri.0	2019-11-07 06:58:17.854	debug	(25432) updateResource(15001/65581) > sending payload: {"3311":[{"5712":5,"5850":0}]}
tradfri.0	2019-11-07 06:58:17.848	debug	(25432) updateResource(15001/65581) > comparing {"isProxy":true,"options":{},"name":"Schreibtischlampe","createdAt":1572636870,"instanceId":65581,"type":2,"alive":true,"lastSeen":1573106246,"otaUpdate
tradfri.0	2019-11-07 06:58:17.825	debug	(25432) {{blue}} state with id tradfri.0.L-65581.lightbulb.state updated: ack=false; val=false

After 4-5 trys the adaper lost connetion to the gateway:

tradfri.0	2019-11-07 06:59:29.845	debug	(25432) setting next timeout in 22500
tradfri.0	2019-11-07 06:59:29.841	debug	(25432) ping failed (#2)
tradfri.0	2019-11-07 06:59:15.027	error	(25432) > stack: Error: Retransmit counter exceeded at normalizeReason (/opt/iobroker/node_modules/node-coap-client/build/lib/DeferredPromise.js:5:16) at Promise.rej [as reject] (/opt/iobroker
tradfri.0	2019-11-07 06:59:12.228	warn	(25432) Not connected to the gateway. Cannot send changes!
tradfri.0	2019-11-07 06:59:12.227	debug	(25432) {{blue}} state with id tradfri.0.L-65581.lightbulb.state updated: ack=false; val=false
tradfri.0	2019-11-07 06:59:10.103	debug	(25432) {{blue}} state with id tradfri.0.G-131088.state updated: ack=true; val=true
tradfri.0	2019-11-07 06:59:10.087	debug	(25432) {{blue}} state with id tradfri.0.G-131088.brightness updated: ack=true; val=59.8
tradfri.0	2019-11-07 06:59:09.883	debug	(25432) {{blue}} state with id tradfri.0.info.connection updated: ack=true; val=false
tradfri.0	2019-11-07 06:59:09.838	debug	(25432) setting next timeout in 15000
tradfri.0	2019-11-07 06:59:09.837	debug	(25432) 1 consecutive pings failed. The gateway is offline.
tradfri.0	2019-11-07 06:59:09.836	warn	(25432) Lost connection to gateway
tradfri.0	2019-11-07 06:59:09.835	debug	(25432) The connection was lost
tradfri.0	2019-11-07 06:59:09.833	debug	(25432) ping failed (#1)

After i restart the adaper connection wath established again. But when i tried to sitch the bullb same again.

from iobroker.tradfri.

AlCalzone avatar AlCalzone commented on September 20, 2024

The first part looks good, but it is a log where the bulb gets turned OFF, not ON.
Does that work? At least the log looks like it does.

I'm not sure why the gateway connection is lost. If it crashes and restarts, that's probably something that should be reported to IKEA.

from iobroker.tradfri.

CKMartens avatar CKMartens commented on September 20, 2024

The first part looks good, but it is a log where the bulb gets turned OFF, not ON.
Does that work? At least the log looks like it does.

No, that will not work. Neither on nor off.

I'm not sure why the gateway connection is lost. If it crashes and restarts, that's probably something that should be reported to IKEA.

Can you tell me how and where I can reach the IKEA Tradfri Support?

from iobroker.tradfri.

AlCalzone avatar AlCalzone commented on September 20, 2024

No, that will not work. Neither on nor off.

Does it work when you only adjust the brightness values? Otherwise we need to figure out how the commands are changed for that bulb.

Can you tell me how and where I can reach the IKEA Tradfri Support?

Maybe at https://www.reddit.com/r/tradfri/

But we should make sure that we're not causing this by spamming it with unsupported commands. Do you have a way to sniff the app's traffic? One option is to use an Android emulator on PC and capture the traffic on port 5684 with Wireshark.

from iobroker.tradfri.

CKMartens avatar CKMartens commented on September 20, 2024

OK. I will test it and then tell you. Thank you for your patience

from iobroker.tradfri.

CKMartens avatar CKMartens commented on September 20, 2024

Very strange. I have now deleted the On / Off switch in the Tradfri app. And now the lamp in ioBroker goes to control. It looks like the connected switch is blocking something.

from iobroker.tradfri.

CKMartens avatar CKMartens commented on September 20, 2024

And if the switch is integrated in the Tradfri app but not paired with the bulb, the buld is also controllable by the adapter

from iobroker.tradfri.

AlCalzone avatar AlCalzone commented on September 20, 2024

I don't think I can do anything here. Closing for now - feel free to reopen if necessary.

from iobroker.tradfri.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.