www.homeseer.com    
 

Go Back   HomeSeer Message Board > Lighting & Primary Technology Plug-ins > Lighting & Primary Technology Discussion > JowiHue Plug-In

JowiHue Plug-In Discussion area for JowiHue plug-in by W.Vuyk

Reply
 
Thread Tools Display Modes
  #141  
Old February 21st, 2018, 02:28 AM
bdickhaus's Avatar
bdickhaus bdickhaus is offline
Super Seer
 
Join Date: Feb 2002
Location: Miami, FL
Posts: 2,091
Quote:
Originally Posted by theendisnye View Post

Is there anyway to see what is sent across to DeConz as that may help to isolate the issue?

Steve
The plugin debug log is very detailed, and includes the communication between it and deCONZ.
Reply With Quote
  #142  
Old February 21st, 2018, 08:12 AM
theendisnye theendisnye is offline
Seer Deluxe
 
Join Date: Dec 2014
Location: uk
Posts: 147
Wim, it may well be the same. When I have a spare hour I will turn on debug mode and repeat some of my tests to see what is being sent when and if there are any differences from a routine that works to one that doesn't.

Steve

Quote:
Originally Posted by w.vuyk View Post
@Steve,

I have here reactivated my Ikea color bulb as I do not see issues on the whites I am using, but they are whites and not CT devices.
I think I can see what you are seeing. If I turn off the bulb say at 50% dim and then set an even action that sends a bright 254, I see the light go up full it seems and then jump back in intensity? Are we seeing the same?

I will have to dive deep for this on, looks like an issue on the ikea bulb, but maybe the plugin sends a double bridght too that is not noticed by the other brands?

Wim
Reply With Quote
  #143  
Old February 21st, 2018, 09:50 AM
theendisnye theendisnye is offline
Seer Deluxe
 
Join Date: Dec 2014
Location: uk
Posts: 147
The log appears to show a number of these errors
Feb-21 13:47:42 JowiHue Error: (HandleWebQueue):HWQ: updating group :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

Steve
Reply With Quote
  #144  
Old February 21st, 2018, 11:21 AM
w.vuyk's Avatar
w.vuyk w.vuyk is offline
OverSeer
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 2,823
Quote:
Originally Posted by theendisnye View Post
The log appears to show a number of these errors
Feb-21 13:47:42 JowiHue Error: (HandleWebQueue):HWQ: updating group :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

Steve
Steve,

If the error is persistant, could you try to create a detailed log for me? This issue is on my annoying list for some time, but have not been able to really copy the issue. I think it is caused by the plugin trying to update a group too fast, but it does this when it is not yet fully initialised or something like that. It does not harm anything and most of the time it does not come back either, even with new restarts...

Wim
__________________
-- Wim

Plugins:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
650 devices ---- 336 events ----- 40 scripts

Last edited by w.vuyk; February 22nd, 2018 at 05:18 AM.
Reply With Quote
  #145  
Old February 22nd, 2018, 05:15 AM
w.vuyk's Avatar
w.vuyk w.vuyk is offline
OverSeer
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 2,823
Quote:
Originally Posted by theendisnye View Post
I seem to be having an issue with transition times on an ikea bulb via DeConz. I have set a 5 second transition and from off the bulb lights but does not transition to full brightness 254. If I remove the transition time then full brightness is achieved (obviously with no transition). Having played about transition between CT values seems to work as expected but not between different levels of brightness.

Steve
Steve,

Are you using a color bulb from Ikea here? I have been tracking hard on this bulb yesterday as it was not really nicely controlled by the plugin. Was able to improve a lot on this bulb now, it is now almost as smooth as a Philips color bulb now here (There is still some issue on the saturation though). So if you were testing with a color bulb, you better wait for the release before doing more testing there....

Wim
Reply With Quote
  #146  
Old February 22nd, 2018, 07:03 AM
theendisnye theendisnye is offline
Seer Deluxe
 
Join Date: Dec 2014
Location: uk
Posts: 147
Wim, unfortunately I only have the White ambiance models.

Steve
Reply With Quote
  #147  
Old February 22nd, 2018, 03:45 PM
w.vuyk's Avatar
w.vuyk w.vuyk is offline
OverSeer
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 2,823
Steve,

Ok I will find a ambiance model here too then, As far I can see it should not be handled different than another ambliance light.

Wim
Reply With Quote
  #148  
Old February 23rd, 2018, 04:26 AM
mk1 black limited mk1 black limited is offline
Seer Deluxe
 
Join Date: Oct 2013
Location: Norway
Posts: 148
Hm, can't find the beta in the plugins at all now?
Reply With Quote
  #149  
Old February 23rd, 2018, 05:28 AM
w.vuyk's Avatar
w.vuyk w.vuyk is offline
OverSeer
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 2,823
Weird, checked from here as well, it is not in the list anymore indeed.

Guess something went wrong at HST, have send an email on this to HST, hoping they come back soon.

Wim
Reply With Quote
  #150  
Old February 23rd, 2018, 10:39 AM
w.vuyk's Avatar
w.vuyk w.vuyk is offline
OverSeer
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 2,823
the beta is available again
Reply With Quote
  #151  
Old February 25th, 2018, 06:45 AM
theendisnye theendisnye is offline
Seer Deluxe
 
Join Date: Dec 2014
Location: uk
Posts: 147
Wim, I have continued to investigate my issue where the IKEA light works differently dependent upon the event used. In this case

Event 1: when fired it turns on the bulb to a low brightness, the brightness then increases before reducing and it then remains on the low brightness. (expected to be full brightness with no transition)

Event 2: when fired the bulb goes on as expected at full brightness.

I have managed to capture the two events in a detailed log, which is attached. Event 1 was fired at 09:58.40 and Event 2 was 09:59.09. with an off between the two at 09.58.44.

Steve
Attached Files
File Type: txt JowiHue on.off.on.off.txt (12.8 KB, 5 views)
Reply With Quote
  #152  
Old February 25th, 2018, 01:02 PM
AllanMar AllanMar is offline
Seer Deluxe
 
Join Date: Sep 2011
Location: Canada
Posts: 183
I'm not positive this is realated to the new beta although the problem is recent (originally worked).

I'm trying to control my outlet and when i send an ON/Off from Homeseer the device responds but after several seconds (polling?) Homeseer says it's off even though it remains on:
Code:
Configuration
Advanced
Status Graphics
Homekit bridge
JowiHue
Light details
Light name:	

Outlet
ID:	1 on bridge: deCONZ-GW 00212EFFFF01710C
Recovery:	
 Recover light settings after being unreachable
Purchase date:	

2/19/2018 6:22:18 PM
Hours of usage before using plugin(will be added):	

0
Light usage:	0 Days, 0 Hours, 21 minutes and 14 seconds(0.4 hours)	Expected lifetime left: -0.4 hours	Expected end date: 2/20/2018
Light has been switched:	44 times
Uniqueid:	00:0d:6f:00:0b:4f:93:b2-01
Model:	3210-L
Manufacturer:	CentraLite
Capabilities:	Dimmable
Type:	Smart plug
Software version:	20085010
technical details:	Power Usage standby: 0.4W
Power Usage Max: 0W
Lifetime : 0 Hours
Reset VSPairs:	

Rebuild device values

Smart plug

**************************** Object info *****************************
{
"etag": "54f0c293a6f538422b3c8b9a3bf51fa1",
"hascolor": false,
"reset": null,
"type": "Smart plug",
"name": "Outlet",
"modelid": "3210-L",
"swversion": "20085010",
"uniqueid": "00:0d:6f:00:0b:4f:93:b2-01",
"manufacturername": "CentraLite",
"BridgeSerial": null,
"id": null,
"ref": 0,
"RefBri": 0,
"RefHue": 0,
"RefSat": 0,
"RefCT": 0,
"RecoverUnreachable": false,
"SuspectAfterDeRegistration": false,
"state": {
"on": true,
"bri": null,
"hue": null,
"sat": null,
"xy": null,
"ct": null,
"alert": "none",
"effect": null,
"all_on": null,
"any_on": null,
"colormode": null,
"reachable": true,
"x": null,
"y": null,
"power": 230
}
}
************************* End Object info ***************************
Quote:
Reference ID 2074
Technology Address 3210-L-1
Status 0 = OFF
Value 0 = "Off"
String
Supports Status True
Dimmable True
Interface JowiHue
Extra Data Store 7 Named entries, 0 UnNamed entries.
Device Type Internal Plug-In API, Type: Plug-In Type 0, SubType: Light
Device Type (String)
3210-L
Misc Settings Show Values
Device Image File images/JowiHue/ZLL_Light_large.png
Thumbnail Image File images/JowiHue/ZLL_Light_off.png
Relationship Status Parent Root
Quote:
13:04:30.6018994 -- (plugin.SetIOMulti) triggering by user request: 2/25/2018 1:04:30 PM ref:2074 value:255 Type:5 string:
13:04:30.6058997 -- (HueTools.SetDeviceByUserRequest) Debug: SetDeviceByUserRequest:Start ref=2074 Action:255
13:04:30.6068997 -- (BridgeCommander.EnQueue) Queuing new command: type Light current queue size is 1 on 00212EFFFF01710C
13:04:30.6068997 -- (BridgeCommander.HandleCommandQueue) Dequeue command: type Light new queue size is 0 on 00212EFFFF01710C
13:04:30.6078998 -- (BridgeCommander.HandleCommandQueue) sending command http://192.168.1.64:80/api/EDXXXXXXX...lights/1/state to 00212EFFFF01710C
13:04:30.6078998 -- (HueTools.SetDeviceByUserRequest) Debug: :End
13:04:30.6088999 -- (BridgeCommander.HandleCommandQueue) HandleCommandQueue took 1
13:04:30.6088999 -- (BridgeApi.SendJsonCommand) SendJsonCommand: Sending command PUT 1:04:30 PM
13:04:30.6088999 -- (BridgeApi.SendJsonCommand) SendJsonCommand: http://192.168.1.64:80/api/ED4XXXXXXX19/lights/1/state
{"on":true,"transitiontime":8}
13:04:30.6098999 -- (BridgeApi.SendRequest) PUT total took 0
13:04:30.6589027 -- (BridgeApi.SendJsonCommand) Sendrequest total 49 Thread:0
13:04:30.6589027 -- (BridgeApi.CheckJsonResult) [{"success":{"/lights/1/state/on":true}}]
13:04:30.6589027 -- (BridgeApi.SendJsonCommand) 0
13:04:30.6589027 -- (BridgeApi.SendJsonCommand) SendJsonCommand: ready Sending command PUT 2/25/2018 1:04:30 PM
13:04:30.7259065 -- (HueTools.EnergyProcessThread) 2/25/2018 1:04:30 PM Started usage for Outlet
13:04:30.7329069 -- (SQLiteFunctions.UpdateUsage) Usage rows updated: 1
13:04:39.4714068 -- (Mylights.UpdateLight) UpdateLight setting device 2074 On/off To 0
Reply With Quote
  #153  
Old February 26th, 2018, 09:50 AM
w.vuyk's Avatar
w.vuyk w.vuyk is offline
OverSeer
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 2,823
Allan,

What type of device is this? An outlet, but what brand/type? As I am seeing here a type mentioned "smart plug", model 3210-L.

Plugs are supported, but need to be known by the plugin as being a plug and not a light. I guess this one is not known by the plugin and becuase of that it might send dimming commands where you do not want this.

If you go to the properties of the device, JowiHue tab, there should be extra information on the bottom, regarding the bridge information. Posting this might help me in getting the extra info I need?

Wim
Reply With Quote
  #154  
Old February 26th, 2018, 09:53 AM
AllanMar AllanMar is offline
Seer Deluxe
 
Join Date: Sep 2011
Location: Canada
Posts: 183
I can post it when I get home but it is an IRIS 3210-L (rebranded CentraLite by Lowe’s)
Reply With Quote
  #155  
Old February 26th, 2018, 10:02 AM
w.vuyk's Avatar
w.vuyk w.vuyk is offline
OverSeer
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 2,823
Quote:
Originally Posted by theendisnye View Post
Wim, I have continued to investigate my issue where the IKEA light works differently dependent upon the event used. In this case

Event 1: when fired it turns on the bulb to a low brightness, the brightness then increases before reducing and it then remains on the low brightness. (expected to be full brightness with no transition)

Event 2: when fired the bulb goes on as expected at full brightness.

I have managed to capture the two events in a detailed log, which is attached. Event 1 was fired at 09:58.40 and Event 2 was 09:59.09. with an off between the two at 09.58.44.

Steve
Steve,

I am seeing values in the log that do not seem to match the events you posted before. The first event is not triggering transition time (should use default), the second is sending a transition of 0. In the posted events both had a transition time enabled....
How did the events look like when you tested? We might be on to something here.

Wim
Reply With Quote
  #156  
Old February 26th, 2018, 10:06 AM
w.vuyk's Avatar
w.vuyk w.vuyk is offline
OverSeer
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 2,823
Quote:
Originally Posted by AllanMar View Post
I can post it when I get home but it is an IRIS 3210-L (rebranded CentraLite by Lowe’s)
Would be perfect, if I have the info it can be added with the new version .
One warning, deCONZ is starting to realise it is not really good to have plugs handled like they are lights. Changes will follow lateron so plugs will be easier recognised. this will also need changes in the plugin to follow deCONZ.

Do not know yet the details, but there might be actions needed lateron.

Wim
Reply With Quote
  #157  
Old February 26th, 2018, 10:47 AM
theendisnye theendisnye is offline
Seer Deluxe
 
Join Date: Dec 2014
Location: uk
Posts: 147
Hi Wim,

I now can't reliably get a transition time to work with that bulb at all. In trying to investigate I changed the transition time period on an event and then it failed to work and has failed ever since.

I have a saved trace for alternating between an on event, off, transition event, off and on event. But because I could not get a corresponding good position on the transition event so I did not send it.

So on what i did send in;

I had just finished that test turned the bulb on and got the issue below which i had had previously. So I re-enabled trace and captured it, see how the events are set up - both appear to be the same one works and one doesn't. If it helps I can post the original test as well.

My thought process is that there are two issues, one is to do with the bulb and deConz and I think there maybe an issue when changing an event in the plug-in, where it looks the same but sends something different.

Steve


Quote:
Originally Posted by w.vuyk View Post
Steve,

I am seeing values in the log that do not seem to match the events you posted before. The first event is not triggering transition time (should use default), the second is sending a transition of 0. In the posted events both had a transition time enabled....
How did the events look like when you tested? We might be on to something here.

Wim
Attached Images
  
Reply With Quote
  #158  
Old February 26th, 2018, 03:00 PM
w.vuyk's Avatar
w.vuyk w.vuyk is offline
OverSeer
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 2,823
I agree that it might be partly deCONZ and partly the plugin. I am here seeing also some behavior issue with IKEA lights.

I will try here to take the plugin out of this equasion. I noticed in the log you send earlier that the not working event was not sending transition time and the other on was (with a value 0).
I will be releasing the plugin this week and will make sure that with an on command transition is included, either the value set in the actions of an event or the standard value. I did change this during the beta an maybe it bites us with a deCONZ bridge.

I am waiting for one user to respond to a test and will release the plugin after that, hopefully Thursday or Friday. Can we proceed from there?

Wim
Reply With Quote
  #159  
Old February 26th, 2018, 03:02 PM
ldplusse ldplusse is offline
Seer Deluxe
 
Join Date: Oct 2017
Location: Danmark
Posts: 141
Remember my ‘old’ problem with ikea spots in a group, where dim up/down with the immidiate script does not work


Sent from my iPhone using Tapatalk Pro
Reply With Quote
  #160  
Old February 26th, 2018, 04:18 PM
theendisnye theendisnye is offline
Seer Deluxe
 
Join Date: Dec 2014
Location: uk
Posts: 147
Thanks Wim, that should help to isolate the issue. Steve
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beta JowiHue: adding support for RaspBee and ConBee gateway w.vuyk JowiHue Plug-In 207 February 4th, 2018 03:35 AM
Beta JowiHue: combining on/off with Bright devices w.vuyk JowiHue Plug-In 27 July 19th, 2016 07:15 AM
JowiHue Beta 1.0.6.11 (Philips Hue Bridge V2 (Homekit)) w.vuyk JowiHue Plug-In 54 January 29th, 2016 02:33 PM
JowiHue beta release 1.0.4.8 for Linux w.vuyk JowiHue Plug-In 9 November 25th, 2014 01:45 PM
JowiHue Philips Hue control beta now available w.vuyk HS3 Plug-In Development 223 September 17th, 2014 02:01 PM


All times are GMT -4. The time now is 01:59 PM.


Copyright HomeSeer Technologies, LLC