I just handled that such a message. It turns out the key (from the back of the unit) was wrong.
Apparently, the new version isn't as forgiving as the previous firmware.
Announcement
Collapse
No announcement yet.
IKEA Tradfri and HomeSeer -> TrådfriSeer!
Collapse
X
-
I have been having a few 'drop outs' which resolved if I de-initialised and then re-initialised the plugin.
I saw the updated version and installed it. Now I get;
Initializing plug-in(2): TradfriSeer Instance::Value cannot be null. Parameter name: sSTACK: Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessag e(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Mess ageData& msgData, Int32 type) at HomeSeerAPI.IPlugInAPI.InitIO(String port) at Scheduler.clsHSPI.CheckInterfaces()
Leave a comment:
-
Originally posted by mrhappy View PostThanks for the fix, all working OK here
I have to admit I was a little nervous. I've only tested the solution for 10 minutes after it was fully implemented, and only on one system!
However, it wasn't that much of a change, so I figured if it worked once, I had found the solution.
Leave a comment:
-
Originally posted by Moskus View PostYeah, that is understandable. They completely took us (the developer nerds) by surprise. A little heads up would be nice!
Anywhooo, it's fixed now (or so I hope). See version 0.0.1.5 in the first post!
Leave a comment:
-
Originally posted by mrhappy View PostMany thanks, I was reading twitter earlier before I was aware of the update and there is some considerable anger directed towards Ikea for this little change!
Anywhooo, it's fixed now (or so I hope). See version 0.0.1.5 in the first post!
Leave a comment:
-
Originally posted by Moskus View PostYeah, it IS very weird. Here's the command part of the JSON-string
Code:"3311":[{"5850":0,"5851":254,"9003":0}]
I would remove it and re-add it to the hub. I'm not sure, but I believe it will get the same ID as it had before, but do a bulb rescan anyways.
Leave a comment:
-
Yeah, it IS very weird. Here's the command part of the JSON-string
Code:"3311":[{"5850":0,"5851":254,"9003":0}]
I would remove it and re-add it to the hub. I'm not sure, but I believe it will get the same ID as it had before, but do a bulb rescan anyways.
Leave a comment:
-
Originally posted by Moskus View PostYes, the groups are re-created every time the plugin i started. I would suggest you just hide them if you don't use them, I'll see if I can add a "don't re-create groups" option.
The IP address is not stored in the hub device, only in the ini file. So far I'm not using the hub device for anything (except showing online or offline status) but I'm keeping the options open to support more than one hub.
It IS this bulb we are talking about?
Code:{"9001":"RGB Bulb","9002":1506113303,"9003":65546,"9020":1507282865,"5750 ":2,"9054":0,"9019":1,"3311":[{"5850":0,"5851":254,"9003":0,"5708":0,"5707":0,"5709":38011 ,"5710":24904,"5711":0,"5706":"e78834"}],"3":{"6":1,"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002"}}
Code:{"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1505920319,"9020":1507288330,"3311":[{"5850":0,"5851":254,"5707":0,"9003":0,"5708":0,"5709":42926,"5710":21299,"5711":0,"5706":"dc4b31"}],"9003":65543,"9054":0,"5750":2,"9019":1,"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","6":1,"3":"1.3.002"}}
This is weird!
This is the suspect device (the RGB bulb works just fine);
Code:Oct-06 12:07:42 TradfriSeer Debug GetDeviceByID, got json-string: {"9001":"Dining Table","9002":1504900111,"9003":65536,"9020":1507283492,"575 0":2,"9054":0,"9019":1,"3311":[{"5850":0,"5851":254,"9003":0}],"3":{"6":1,"0":"IKEA of Sweden","1":"TRADFRI bulb E27 WS opal 980lm","2":"","3":"1.2.217"}}
Code:GetColor() ERROR: Object reference not set to an instance of an object. --- {"9001":"Dining Table","9002":1504900111,"9003":65536,"9020":1507290693,"5750":2,"9054":0,"9019":1,"3311":[{"5850":0,"5851":254,"9003":0}],"3":{"6":1,"0":"IKEA of Sweden","1":"TRADFRI bulb E27 WS opal 980lm","2":"","3":"1.2.217"}}
Leave a comment:
-
Yes, the groups are re-created every time the plugin i started. I would suggest you just hide them if you don't use them, I'll see if I can add a "don't re-create groups" option.
The IP address is not stored in the hub device, only in the ini file. So far I'm not using the hub device for anything (except showing online or offline status) but I'm keeping the options open to support more than one hub.
It IS this bulb we are talking about?
Code:{"9001":"RGB Bulb","9002":1506113303,"9003":65546,"9020":1507282865,"5750 ":2,"9054":0,"9019":1,"3311":[{"5850":0,"5851":254,"9003":0,"5708":0,"5707":0,"5709":38011 ,"5710":24904,"5711":0,"5706":"e78834"}],"3":{"6":1,"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002"}}
Code:{"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1505920319,"9020":1507288330,"3311":[{"5850":0,"5851":254,"5707":0,"9003":0,"5708":0,"5709":42926,"5710":21299,"5711":0,"5706":"dc4b31"}],"9003":65543,"9054":0,"5750":2,"9019":1,"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","6":1,"3":"1.3.002"}}
This is weird!
Leave a comment:
-
Originally posted by Moskus View PostThis seems really weird to me. If you enable debug logging and press the "Rescan bulbs" button it should display the config it receives for each bulb in JSON format. Can you post it?
No, you can change location and rename it to anything you want, it shouldn't matter to the plugin. As long as the key on the back of the hub is the same, it shouldn't matter. I'm using the key as an identifier.
Can you post screenshots of from the "Advanced" tab for both devices?
Again, not that it would matter, but the IP stays the same, right?
Earlier when I restarted the plugin it appears that it scanned and got some groups from the hub that I had deleted from inside HS (I didn't need them, I'm guessing I should be keeping the HS devices regardless?) so it created the group devices. I've kept those devices but in addition it created this new Tradfri hub device.
I deleted the old hub device as I thought the new one replaced it but now I am wondering - is the IP and key stored in this device? Reason being I have restarted the plugin again and the IP/key have now gone. They are missing from the config page, ini file however the 'new' hub device does have the key stored in it (see attached).
On the first issue I have re-scanned the bulbs and this is the debug entries as per the HS log.
Oct-06 12:07:47 TradfriSeer Debug Gettin bulbs done!
Oct-06 12:07:47 TradfriSeer Debug Device found for bulb with key: 7O84ZSH7MkAqICbi, ID=65548
Oct-06 12:07:47 TradfriSeer Debug Device found for bulb with key: 7O84ZSH7MkAqICbi, ID=65537
Oct-06 12:07:46 TradfriSeer Debug Device found for bulb with key: 7O84ZSH7MkAqICbi, ID=65541
Oct-06 12:07:46 TradfriSeer Debug Device found for bulb with key: 7O84ZSH7MkAqICbi, ID=65542
Oct-06 12:07:45 TradfriSeer Debug Device found for bulb with key: 7O84ZSH7MkAqICbi, ID=65536
Oct-06 12:07:45 TradfriSeer Debug Device found for bulb with key: 7O84ZSH7MkAqICbi, ID=65544
Oct-06 12:07:44 TradfriSeer Debug Device found for bulb with key: 7O84ZSH7MkAqICbi, ID=65539
Oct-06 12:07:44 TradfriSeer Debug Device found for bulb with key: 7O84ZSH7MkAqICbi, ID=65540
Oct-06 12:07:43 TradfriSeer Debug Device found for bulb with key: 7O84ZSH7MkAqICbi, ID=65546
Oct-06 12:07:43 TradfriSeer Debug Device found for bulb with key: 7O84ZSH7MkAqICbi, ID=65543
Oct-06 12:07:42 TradfriSeer Debug CheckAndCreateBulbDevices() starting...
Oct-06 12:07:42 TradfriSeer Debug GetBulbListWhenHubIsOnline() done!
Oct-06 12:07:42 TradfriSeer Debug GetBulbListWhenHubIsOnline(): Total bulbs found: 10
Oct-06 12:07:42 TradfriSeer Debug GetDeviceByID, got json-string: {"9001":"TRADFRI wireless dimmer","9002":1506956738,"9003":65547,"9020":1507218283,"15 009":[{"9003":0}],"5750":0,"9054":0,"9019":0,"3":{"6":3,"0":"IKEA of Sweden","1":"TRADFRI wireless dimmer","2":"","3":"1.2.248","9":87}}
Oct-06 12:07:42 TradfriSeer Debug GetDeviceByID, got json-string: {"9001":"Upstairs Hall Lamp","9002":1506706649,"9003":65548,"9020":1507286994,"5750 ":2,"9054":0,"9019":1,"3311":[{"5850":0,"5851":109,"9003":0}],"3":{"6":1,"0":"IKEA of Sweden","1":"TRADFRI bulb E27 opal 1000lm","2":"","3":"1.2.214"}}
Oct-06 12:07:42 TradfriSeer Debug GetDeviceByID, got json-string: {"9001":"Desk Lamp","9002":1504898088,"9003":65537,"9020":1507281406,"5750 ":2,"9054":0,"9019":1,"3311":[{"5850":0,"5851":254,"9003":0,"5708":0,"5707":0,"5709":30140 ,"5710":26909,"5711":0,"5706":"f1e0b5"}],"3":{"6":1,"0":"IKEA of Sweden","1":"TRADFRI bulb E14 WS opal 400lm","2":"","3":"1.2.217"}}
Oct-06 12:07:42 TradfriSeer Debug GetDeviceByID, got json-string: {"9001":"Bulb 2","9002":1505038592,"9003":65541,"9020":1507286555,"5750":2 ,"9054":0,"9019":1,"3311":[{"5850":0,"5851":254,"9003":0}],"3":{"6":1,"0":"IKEA of Sweden","1":"TRADFRI bulb GU10 W 400lm","2":"","3":"1.2.214"}}
Oct-06 12:07:42 TradfriSeer Debug GetDeviceByID, got json-string: {"9001":"Bulb 1","9002":1505038667,"9003":65542,"9020":1507287369,"5750":2 ,"9054":0,"9019":1,"3311":[{"5850":0,"5851":254,"9003":0}],"3":{"6":1,"0":"IKEA of Sweden","1":"TRADFRI bulb GU10 W 400lm","2":"","3":"1.2.214"}}
Oct-06 12:07:42 TradfriSeer Debug GetDeviceByID, got json-string: {"9001":"Dining Table","9002":1504900111,"9003":65536,"9020":1507283492,"575 0":2,"9054":0,"9019":1,"3311":[{"5850":0,"5851":254,"9003":0}],"3":{"6":1,"0":"IKEA of Sweden","1":"TRADFRI bulb E27 WS opal 980lm","2":"","3":"1.2.217"}}
Oct-06 12:07:42 TradfriSeer Debug GetDeviceByID, got json-string: {"9001":"Downstairs Hall Light","9002":1505145852,"9003":65544,"9020":1507283024,"575 0":2,"9054":0,"9019":1,"3311":[{"5850":0,"5851":51,"9003":0}],"3":{"6":1,"0":"IKEA of Sweden","1":"TRADFRI bulb E27 opal 1000lm","2":"","3":"1.2.214"}}
Oct-06 12:07:42 TradfriSeer Debug GetDeviceByID, got json-string: {"9001":"Left Side","9002":1505147126,"9003":65539,"9020":1507282201,"5750 ":2,"9054":0,"9019":1,"3311":[{"5850":0,"5851":1,"9003":0}],"3":{"6":1,"0":"IKEA of Sweden","1":"TRADFRI bulb E14 W op/ch 400lm","2":"","3":"1.2.214"}}
Oct-06 12:07:42 TradfriSeer Debug GetDeviceByID, got json-string: {"9001":"Right Side","9002":1505147152,"9003":65540,"9020":1507282163,"5750 ":2,"9054":0,"9019":1,"3311":[{"5850":0,"5851":1,"9003":0}],"3":{"6":1,"0":"IKEA of Sweden","1":"TRADFRI bulb E14 W op/ch 400lm","2":"","3":"1.2.214"}}
Oct-06 12:07:42 TradfriSeer Debug GetDeviceByID, got json-string: {"9001":"RGB Bulb","9002":1506113303,"9003":65546,"9020":1507282865,"5750 ":2,"9054":0,"9019":1,"3311":[{"5850":0,"5851":254,"9003":0,"5708":0,"5707":0,"5709":38011 ,"5710":24904,"5711":0,"5706":"e78834"}],"3":{"6":1,"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002"}}
Oct-06 12:07:42 TradfriSeer Debug GetDeviceByID, got json-string: {"9001":"Lounge Lamp","9002":1505145822,"9003":65543,"9020":1507288038,"5750 ":2,"9054":0,"9019":1,"3311":[{"5850":1,"5851":127,"9003":0,"5708":0,"5707":0,"5709":30140 ,"5710":26909,"5711":0,"5706":"f1e0b5"}],"3":{"6":1,"0":"IKEA of Sweden","1":"TRADFRI bulb E27 WS opal 980lm","2":"","3":"1.2.217"}}
Oct-06 12:07:42 TradfriSeer Debug GetDeviceByID, got json-string: {"9001":"Remote control","9002":1506113234,"9003":65545,"9020":1506894190,"1 5009":[{"9003":0}],"5750":0,"9054":0,"9019":1,"3":{"6":3,"0":"IKEA of Sweden","1":"TRADFRI remote control","2":"","3":"1.2.214","9":87}}
Oct-06 12:07:42 TradfriSeer Debug GetDeviceByID, got json-string: {"9001":"TRADFRI remote control","9002":1505147060,"9003":65538,"9020":1506873124,"1 5009":[{"9003":0}],"5750":0,"9054":0,"9019":1,"3":{"6":3,"0":"IKEA of Sweden","1":"TRADFRI remote control","2":"","3":"1.2.214","9":74}}
Oct-06 12:07:42 TradfriSeer Debug GetBulbListWhenHubIsOnline(): GetBulbs() queued...
Oct-06 12:07:42 TradfriSeer Debug GetBulbListWhenHubIsOnline(): Hub is online, getting bulbs...
Oct-06 12:07:42 TradfriSeer Debug GetBulbListWhenHubIsOnline() starting...
Oct-06 12:07:42 TradfriSeer Debug GettingBulbsAsync() starting...Last edited by mrhappy; November 6, 2017, 12:26 PM.
Leave a comment:
-
Originally posted by mrhappy View PostYeah controlling from the app works just fine in terms of warm/normal/cool, I am extremely confused with it (it is still giving me the error) and to me I just wonder is it confused that it thinks it is a RGB bulb but it isn't?
Originally posted by mrhappy View PostAlso one other minor bug appears that if I restart the plugin and have moved the Tradfri hub device (to another room possibly?) it creates a new device and uses this device for updates. Not a massive problem but thought I would mention it.
Can you post screenshots of from the "Advanced" tab for both devices?
Again, not that it would matter, but the IP stays the same, right?
Leave a comment:
-
Also one other minor bug appears that if I restart the plugin and have moved the Tradfri hub device (to another room possibly?) it creates a new device and uses this device for updates. Not a massive problem but thought I would mention it.
Leave a comment:
-
Yeah controlling from the app works just fine in terms of warm/normal/cool, I am extremely confused with it (it is still giving me the error) and to me I just wonder is it confused that it thinks it is a RGB bulb but it isn't?
Leave a comment:
Leave a comment: