Page 3 of 3
Re: Support For Fibro RGBWW controller
Posted:
Wed Jul 25, 2018 6:58 pm
by Colorado4Wheeler
The concept is pretty straightforward, it sends the native command through indigo. I’ll see if I can whip up a stress test script to see if it is your system or the Homebridge server. I get slight delays sometimes but I use HKB on about 20 hue lights and it works perfectly 99% of the time.
Re: Support For Fibro RGBWW controller
Posted:
Wed Jul 25, 2018 8:28 pm
by rehafer
Now that I’m back home I’ve discovered some other devices that are miss behaving. Regular switches not accepting commands or showing the right state; all working fine via Indigo touch.
I had better trouble shoot this first.
Sent from my iPhone using Tapatalk
Re: Support For Fibro RGBWW controller
Posted:
Sat Jul 28, 2018 6:46 am
by rehafer
A follow up after some experiments: erratic HomeKit behavior is fixed by restarting the Indigo server, but gets wonky again after a few days. Looks like the next step is to burn my HomeKit Bridges and rebuild them on my next day off.
Sent from my iPhone using Tapatalk
Re: Support For Fibro RGBWW controller
Posted:
Sat Jul 28, 2018 9:05 am
by Colorado4Wheeler
How many HKB server devices are you running?
HKB isn't really that needy, I haven't found that it degrades much over time but I did build an action into it to restart one or all of your HKB servers. I restart mine daily as a force of habit since BETA when they would frequently go offline and then lose their entire configs, but my dev system hasn't had HKB restarts in who-knows-when and it is still strong.
It's possible you have another plugin that is degrading over time and chewing up resources and that, in turn, slows down HKB. Nest can be a real resource hog.
Re: Support For Fibro RGBWW controller
Posted:
Sat Jul 28, 2018 9:14 am
by rehafer
I hadn’t thought of another plugin chewing resources. Things had been working fine until recently which me think for corrupt files.
Maybe I’ll try a daily restart now and start watching for hogs. I do use the Nest Home plugin.
Sent from my iPhone using Tapatalk
Re: Support For Fibro RGBWW controller
Posted:
Sat Jul 28, 2018 9:20 am
by Colorado4Wheeler
Yea, Nest has a memory leak somewhere, I've had it grow to 300MB. That's another I restart daily.
Re: Support For Fibro RGBWW controller
Posted:
Sat Jul 28, 2018 2:00 pm
by rehafer
In a related question; how do you automate reloading your Nest plugin, or do you do it manually?
Sent from my iPhone using Tapatalk
Re: Support For Fibro RGBWW controller
Posted:
Sat Jul 28, 2018 2:03 pm
by Colorado4Wheeler
Manually in a schedule's action:
- Code: Select all
# Nest Restart
plugin = indigo.server.getPlugin("com.corporatechameleon.nestplugBeta")
if plugin.isEnabled():
plugin.restart()
Re: Support For Fibro RGBWW controller
Posted:
Sat Jul 28, 2018 2:04 pm
by rehafer
Thanks!
Sent from my iPhone using Tapatalk
Support For Fibro RGBWW controller
Posted:
Sat Jul 28, 2018 3:38 pm
by rehafer
When I execute the ‘Restart All Servers’ command for HKB I don’t see anything in the log; is the expected?
Sent from my iPhone using Tapatalk
Re: Support For Fibro RGBWW controller
Posted:
Sat Jul 28, 2018 3:42 pm
by Colorado4Wheeler
Unless you are on a strange version of HKB there should be no action like that. And, yes, when that happens you should be seeing all of your HKB servers shutting down and then restarting.
Re: Support For Fibro RGBWW controller
Posted:
Sun Jul 29, 2018 3:08 pm
by rehafer
Yes it was restart all accessory servers; got that straightened out. Restarting a 4:45 every morning
Back to the original Fibaro problem. Siting where I can watch the Indigo log and the light strip. While trying to change the color via the home app I often see
- Code: Select all
Z-Wave Error chr() arg not in range(256)
which corresponds to the color change not working.
Plus simulation data
- Code: Select all
##### DEVICE DATA DUMP #####
address : 21
batteryLevel : None
blueLevel : 11.18871719
brightness : 58
buttonGroupCount : 0
configured : True
defaultBrightness : 58
description :
deviceTypeId : zwColorDimmerType
displayStateId : brightnessLevel
displayStateImageSel : DimmerOn
displayStateValRaw : 58
displayStateValUi : 58
enabled : True
energyAccumBaseTime : 2000-01-01 00:00:00
energyAccumTimeDelta : 0
energyAccumTotal : 0.04
energyCurLevel : 4.8
errorState :
folderId : 0
globalProps : MetaProps : (dict)
com.perceptiveautomation.indigoplugin.zwave : (dict)
SupportsColor : true (bool)
SupportsEnergyMeter : true (bool)
SupportsEnergyMeterCurPower : true (bool)
SupportsEnergyMeterReset : true (bool)
SupportsGasMeterReset : true (bool)
SupportsRGB : true (bool)
SupportsRGBandWhiteSimultaneously : true (bool)
SupportsTwoWhiteLevels : false (bool)
SupportsWaterMeterReset : true (bool)
SupportsWhite : true (bool)
address : 21 (integer)
indigoObjVersion : 6 (integer)
modelNameAndFirmware : RGBW Controller (FGRGBWM), firmware 25.25 (string)
propsPushTickler : 2 (string)
tempAlwaysFalse : false (bool)
userConfigVal009 : 1 (integer)
userConfigVal010 : 10 (integer)
userConfigVal012 : 255 (integer)
userConfigVal013 : 2 (integer)
userConfigVal016 : true (bool)
userPollAfterActivity : true (bool)
userPollInterval : 0 (integer)
userPollingEnabled : true (bool)
userWakeInterval : 60 (integer)
version : 25.25 (string)
zwAppVersMajor : 25 (integer)
zwAppVersMinor : 25 (integer)
zwAssociationsMap : (dict)
g1 : (list)
Item : 1 (integer)
g2 : (list)
Item : 1 (integer)
g3 : (list)
Item : 1 (integer)
g4 : (list)
Item : 1 (integer)
g5 : (list)
Item : 1 (integer)
zwAssociationsMapStr : 1:[1] 2:[1] 3:[1] 4:[1] 5:[1] (string)
zwClassCmdBase : 38 (integer)
zwClassCmdMap : (dict)
c112 : 1 (integer)
c114 : 1 (integer)
c133 : 1 (integer)
c134 : 1 (integer)
c32 : 1 (integer)
c38 : 1 (integer)
c39 : 1 (integer)
c49 : 2 (integer)
c50 : 2 (integer)
c51 : 1 (integer)
c96 : 3 (integer)
zwClassCmdMapStr : 20v1 60v3 26v1 86v1 27v1 72v1 70v1 31v2 32v2 33v1 85v1 (string)
zwClassIds : (list)
Item : 4 (integer)
Item : 17 (integer)
Item : 1 (integer)
zwClassInstanceCountMap : (dict)
zwClassInstanceCountMapStr : - none - (string)
zwClassName : Dimmable Power Switch (string)
zwConfigVals : (dict)
p10 : 10 (integer)
p12 : 255 (integer)
p13 : 2 (integer)
p16 : 1 (integer)
p8 : 0 (integer)
p9 : 1 (integer)
zwConfigValsStr : 16:1 8:0 9:1 10:10 12:255 13:2 (string)
zwDevSubIndex : 0 (integer)
zwEncryptClassCmdMap : (dict)
zwEncryptClassCmdMapStr : - none - (string)
zwEncryptionStatusStr : Not Supported (string)
zwEndpointClassMap : (dict)
e1 : (list)
Item : 38 (integer)
e2 : (list)
Item : 38 (integer)
e3 : (list)
Item : 38 (integer)
e4 : (list)
Item : 38 (integer)
e5 : (list)
Item : 38 (integer)
zwEndpointClassMapStr : 1:[26], 2:[26], 3:[26], 4:[26], 5:[26] (string)
zwEndpointDevTypeMap : (dict)
e1 : (list)
Item : 17 (integer)
Item : 1 (integer)
e2 : (list)
Item : 17 (integer)
Item : 1 (integer)
e3 : (list)
Item : 17 (integer)
Item : 1 (integer)
e4 : (list)
Item : 17 (integer)
Item : 1 (integer)
e5 : (list)
Item : 17 (integer)
Item : 1 (integer)
zwEndpointDevTypeMapStr : 1:(11 : 01), 2:(11 : 01), 3:(11 : 01), 4:(11 : 01), 5:(11 : 01) (string)
zwFeatureListStr : routing, beaming, energyMeter (string)
zwLibType : 3 (integer)
zwManufactureId : 271 (integer)
zwManufactureName : Fibaro System (string)
zwMeterSubTypeFlags : 5 (integer)
zwMeterSupportsReset : true (bool)
zwMeterType : 1 (integer)
zwModelDefnVers : 4 (integer)
zwModelId : 151003136 (integer)
zwModelName : RGBW Controller (FGRGBWM) (string)
zwNodeNeighbors : (list)
Item : 1 (integer)
Item : 2 (integer)
Item : 3 (integer)
Item : 8 (integer)
Item : 9 (integer)
Item : 12 (integer)
Item : 14 (integer)
Item : 15 (integer)
Item : 20 (integer)
zwNodeNeighborsStr : 1, 2, 3, 8, 9, 12, 14, 15, 20 (string)
zwProtoVersMajor : 3 (integer)
zwProtoVersMinor : 52 (integer)
zwShowMainUI : true (bool)
zwShowManualModifyConfigParmUI : false (bool)
zwShowPollingUI : true (bool)
zwShowSubmitModelInfoUI : false (bool)
zwShowWakeIntervalUI : false (bool)
zwWakeInterval : 0 (integer)
greenLevel : 0.0
id : 1826503808
lastChanged : 2018-07-29 16:05:04
lastSuccessfulComm : 2018-07-29 16:05:04
ledStates : []
model : RGBW Controller (FGRGBWM)
name : Color Strip
onBrightensToDefaultToggle : False
onBrightensToLast : True
onState : True
ownerProps : com.perceptiveautomation.indigoplugin.zwave : (dict)
SupportsColor : true (bool)
SupportsEnergyMeter : true (bool)
SupportsEnergyMeterCurPower : true (bool)
SupportsEnergyMeterReset : true (bool)
SupportsGasMeterReset : true (bool)
SupportsRGB : true (bool)
SupportsRGBandWhiteSimultaneously : true (bool)
SupportsTwoWhiteLevels : false (bool)
SupportsWaterMeterReset : true (bool)
SupportsWhite : true (bool)
address : 21 (integer)
indigoObjVersion : 6 (integer)
modelNameAndFirmware : RGBW Controller (FGRGBWM), firmware 25.25 (string)
propsPushTickler : 2 (string)
tempAlwaysFalse : false (bool)
userConfigVal009 : 1 (integer)
userConfigVal010 : 10 (integer)
userConfigVal012 : 255 (integer)
userConfigVal013 : 2 (integer)
userConfigVal016 : true (bool)
userPollAfterActivity : true (bool)
userPollInterval : 0 (integer)
userPollingEnabled : true (bool)
userWakeInterval : 60 (integer)
version : 25.25 (string)
zwAppVersMajor : 25 (integer)
zwAppVersMinor : 25 (integer)
zwAssociationsMap : (dict)
g1 : (list)
Item : 1 (integer)
g2 : (list)
Item : 1 (integer)
g3 : (list)
Item : 1 (integer)
g4 : (list)
Item : 1 (integer)
g5 : (list)
Item : 1 (integer)
zwAssociationsMapStr : 1:[1] 2:[1] 3:[1] 4:[1] 5:[1] (string)
zwClassCmdBase : 38 (integer)
zwClassCmdMap : (dict)
c112 : 1 (integer)
c114 : 1 (integer)
c133 : 1 (integer)
c134 : 1 (integer)
c32 : 1 (integer)
c38 : 1 (integer)
c39 : 1 (integer)
c49 : 2 (integer)
c50 : 2 (integer)
c51 : 1 (integer)
c96 : 3 (integer)
zwClassCmdMapStr : 20v1 60v3 26v1 86v1 27v1 72v1 70v1 31v2 32v2 33v1 85v1 (string)
zwClassIds : (list)
Item : 4 (integer)
Item : 17 (integer)
Item : 1 (integer)
zwClassInstanceCountMap : (dict)
zwClassInstanceCountMapStr : - none - (string)
zwClassName : Dimmable Power Switch (string)
zwConfigVals : (dict)
p10 : 10 (integer)
p12 : 255 (integer)
p13 : 2 (integer)
p16 : 1 (integer)
p8 : 0 (integer)
p9 : 1 (integer)
zwConfigValsStr : 16:1 8:0 9:1 10:10 12:255 13:2 (string)
zwDevSubIndex : 0 (integer)
zwEncryptClassCmdMap : (dict)
zwEncryptClassCmdMapStr : - none - (string)
zwEncryptionStatusStr : Not Supported (string)
zwEndpointClassMap : (dict)
e1 : (list)
Item : 38 (integer)
e2 : (list)
Item : 38 (integer)
e3 : (list)
Item : 38 (integer)
e4 : (list)
Item : 38 (integer)
e5 : (list)
Item : 38 (integer)
zwEndpointClassMapStr : 1:[26], 2:[26], 3:[26], 4:[26], 5:[26] (string)
zwEndpointDevTypeMap : (dict)
e1 : (list)
Item : 17 (integer)
Item : 1 (integer)
e2 : (list)
Item : 17 (integer)
Item : 1 (integer)
e3 : (list)
Item : 17 (integer)
Item : 1 (integer)
e4 : (list)
Item : 17 (integer)
Item : 1 (integer)
e5 : (list)
Item : 17 (integer)
Item : 1 (integer)
zwEndpointDevTypeMapStr : 1:(11 : 01), 2:(11 : 01), 3:(11 : 01), 4:(11 : 01), 5:(11 : 01) (string)
zwFeatureListStr : routing, beaming, energyMeter (string)
zwLibType : 3 (integer)
zwManufactureId : 271 (integer)
zwManufactureName : Fibaro System (string)
zwMeterSubTypeFlags : 5 (integer)
zwMeterSupportsReset : true (bool)
zwMeterType : 1 (integer)
zwModelDefnVers : 4 (integer)
zwModelId : 151003136 (integer)
zwModelName : RGBW Controller (FGRGBWM) (string)
zwNodeNeighbors : (list)
Item : 1 (integer)
Item : 2 (integer)
Item : 3 (integer)
Item : 8 (integer)
Item : 9 (integer)
Item : 12 (integer)
Item : 14 (integer)
Item : 15 (integer)
Item : 20 (integer)
zwNodeNeighborsStr : 1, 2, 3, 8, 9, 12, 14, 15, 20 (string)
zwProtoVersMajor : 3 (integer)
zwProtoVersMinor : 52 (integer)
zwShowMainUI : true (bool)
zwShowManualModifyConfigParmUI : false (bool)
zwShowPollingUI : true (bool)
zwShowSubmitModelInfoUI : false (bool)
zwShowWakeIntervalUI : false (bool)
zwWakeInterval : 0 (integer)
pluginId : com.perceptiveautomation.indigoplugin.zwave
pluginProps : com.eps.indigoplugin.homekit-bridge : (dict)
protocol : ZWave
redLevel : 57.89110065
remoteDisplay : True
states : States : (dict)
accumEnergyTimeDelta : 0 (integer)
accumEnergyTimeDelta.ui : 0 seconds (string)
accumEnergyTotal : 0.04 (real)
accumEnergyTotal.ui : 0.04 kWh (string)
blueLevel : 11.18871719 (real)
blueLevel.ui : 11 (string)
brightnessLevel : 58 (integer)
curEnergyLevel : 4.8 (real)
curEnergyLevel.ui : 4.8 W (string)
greenLevel : 0.00000000 (real)
greenLevel.ui : 0 (string)
onOffState : on (on/off bool)
redLevel : 57.89110065 (real)
redLevel.ui : 58 (string)
whiteLevel : 0.00000000 (real)
whiteLevel.ui : 0 (string)
subModel : Composite
supportsAllLightsOnOff : False
supportsAllOff : False
supportsColor : True
supportsRGB : True
supportsRGBandWhiteSimultaneously : True
supportsStatusRequest : True
supportsTwoWhiteLevels : False
supportsTwoWhiteLevelsSimultaneously : False
supportsWhite : True
supportsWhiteTemperature : False
version : 25.25
whiteLevel : 0.0
whiteLevel2 : None
whiteTemperature : None
##### DEVICE SIMULATION DATA #####
Service :
alias : Color Strip
model : Composite
subModel :
indigoType : indigo.DimmerDevice
pluginType : indigo.DimmerDevice.com.perceptiveautomation.indigoplugin.zwave.zwColorDimmerType
type : Lightbulb
desc : Lightbulb
objId : 1826503808
serverId : 697542815
invertOnState : False
convertFahrenheit : False
required : (List)
On : True
optional : (List)
Hue : 348.403692038
Saturation : 100.0
ColorTemperature : 4610
Name
Brightness : 58
native : True
requiresPlugin : (List)
actions : (List)
Action : (HomeKitAction)
Characteristic : On
When : equal
Value : False (bool)
Value2 : 0 (bool)
Command : device.turnOff
Arguments : [1826503808]
monitors : {1826503808: 'attr_onState'}
Action : (HomeKitAction)
Characteristic : On
When : equal
Value : True (bool)
Value2 : 0 (bool)
Command : device.turnOn
Arguments : [1826503808]
monitors : {1826503808: 'attr_onState'}
Action : (HomeKitAction)
Characteristic : Hue
When : between
Value : 0.0 (float)
Value2 : 100000.0 (float)
Command : homekit.commandSetDeviceColor
Arguments : [1826503808, 697542815, '=service=', 'Hue', '=value=']
monitors : {1826503808: 'attr_whiteTemperature'}
Action : (HomeKitAction)
Characteristic : Hue
When : equal
Value : STUB (str)
Value2 : 0 (str)
Command : STUB
Arguments : [1826503808, 0]
monitors : {1826503808: 'attr_redLevel'}
Action : (HomeKitAction)
Characteristic : Hue
When : equal
Value : STUB (str)
Value2 : 0 (str)
Command : STUB
Arguments : [1826503808, 0]
monitors : {1826503808: 'attr_blueLevel'}
Action : (HomeKitAction)
Characteristic : Hue
When : equal
Value : STUB (str)
Value2 : 0 (str)
Command : STUB
Arguments : [1826503808, 0]
monitors : {1826503808: 'attr_greenLevel'}
Action : (HomeKitAction)
Characteristic : Hue
When : equal
Value : STUB (str)
Value2 : 0 (str)
Command : STUB
Arguments : [1826503808, 0]
monitors : {1826503808: 'attr_whiteLevel'}
Action : (HomeKitAction)
Characteristic : Hue
When : equal
Value : STUB (str)
Value2 : 0 (str)
Command : STUB
Arguments : [1826503808, 0]
monitors : {1826503808: 'attr_whiteLevel2'}
Action : (HomeKitAction)
Characteristic : Saturation
When : between
Value : 0.0 (float)
Value2 : 100000.0 (float)
Command : homekit.commandSetDeviceColor
Arguments : [1826503808, 697542815, '=service=', 'Saturation', '=value=']
monitors : {1826503808: 'attr_whiteTemperature'}
Action : (HomeKitAction)
Characteristic : Saturation
When : equal
Value : STUB (str)
Value2 : 0 (str)
Command : STUB
Arguments : [1826503808, 0]
monitors : {1826503808: 'attr_redLevel'}
Action : (HomeKitAction)
Characteristic : Saturation
When : equal
Value : STUB (str)
Value2 : 0 (str)
Command : STUB
Arguments : [1826503808, 0]
monitors : {1826503808: 'attr_blueLevel'}
Action : (HomeKitAction)
Characteristic : Saturation
When : equal
Value : STUB (str)
Value2 : 0 (str)
Command : STUB
Arguments : [1826503808, 0]
monitors : {1826503808: 'attr_greenLevel'}
Action : (HomeKitAction)
Characteristic : Saturation
When : equal
Value : STUB (str)
Value2 : 0 (str)
Command : STUB
Arguments : [1826503808, 0]
monitors : {1826503808: 'attr_whiteLevel'}
Action : (HomeKitAction)
Characteristic : Saturation
When : equal
Value : STUB (str)
Value2 : 0 (str)
Command : STUB
Arguments : [1826503808, 0]
monitors : {1826503808: 'attr_whiteLevel2'}
Action : (HomeKitAction)
Characteristic : ColorTemperature
When : between
Value : 0.0 (float)
Value2 : 100000.0 (float)
Command : homekit.commandSetDeviceColor
Arguments : [1826503808, 697542815, '=service=', 'ColorTemperature', '=value=']
monitors : {1826503808: 'attr_whiteTemperature'}
Action : (HomeKitAction)
Characteristic : ColorTemperature
When : equal
Value : STUB (str)
Value2 : 0 (str)
Command : STUB
Arguments : [1826503808, 0]
monitors : {1826503808: 'attr_redLevel'}
Action : (HomeKitAction)
Characteristic : ColorTemperature
When : equal
Value : STUB (str)
Value2 : 0 (str)
Command : STUB
Arguments : [1826503808, 0]
monitors : {1826503808: 'attr_blueLevel'}
Action : (HomeKitAction)
Characteristic : ColorTemperature
When : equal
Value : STUB (str)
Value2 : 0 (str)
Command : STUB
Arguments : [1826503808, 0]
monitors : {1826503808: 'attr_greenLevel'}
Action : (HomeKitAction)
Characteristic : ColorTemperature
When : equal
Value : STUB (str)
Value2 : 0 (str)
Command : STUB
Arguments : [1826503808, 0]
monitors : {1826503808: 'attr_whiteLevel'}
Action : (HomeKitAction)
Characteristic : ColorTemperature
When : equal
Value : STUB (str)
Value2 : 0 (str)
Command : STUB
Arguments : [1826503808, 0]
monitors : {1826503808: 'attr_whiteLevel2'}
Action : (HomeKitAction)
Characteristic : Brightness
When : between
Value : 0 (int)
Value2 : 100 (int)
Command : dimmer.setBrightness
Arguments : [1826503808, '=value=']
monitors : {1826503808: 'attr_brightness'}
loadOptional : False
characterDict : (Dict)
On : True
Saturation : 100.0
Brightness : 58
ColorTemperature : 4610
Hue : 348.403692038
Does this tell you anything?
BTW, actions from the Flux FED plugin don't even show up in the log, so kind of iffy
Re: Support For Fibro RGBWW controller
Posted:
Sun Jul 29, 2018 3:21 pm
by Colorado4Wheeler
Please open a ticket on GitHub and follow the instructions for the log. Be sure to restart your server beforehand so all the extra junk isn't in there and then we'll want logs that show the value being sent to Indigo when you get that error so I can sample the conversion and see if it's trying to go over 256.