I think I found the accessory that caused all the issues. I have remove the definition and then prune the dummy accessories, everything on my main bridge is online now. However I don’t understand what’s wrong with the accessory. Maybe @yfre appreciate your input on this (sorry to ping you). The below definition worked fine for more than 1 month, and there has been no change made since:
Group gRiceCookerHomekit
"Rice Cooker"
(gRiceCooker)
{homekit="IrrigationSystem"}
String riceCookerProgramMode
(gRiceCookerHomekit)
{homekit="ProgramMode"}
Switch riceCookerEnabled
(gRiceCookerHomekit)
{homekit="Active,InUseStatus"}
Number riceCookerTotalRemaining
(gRiceCookerHomekit)
{homekit="RemainingDuration"}
Group gSlowCook
"Slow Cook Rice"
(gRiceCookerHomekit)
{homekit="Valve"[ServiceIndex=1]}
Switch slowCookActive
(gSlowCook)
{homekit="ActiveStatus,InUseStatus"}
Number slowCookDuration
(gSlowCook)
{homekit="Duration"}
Number slowCookRemainingDuration
(gSlowCook)
{homekit="RemainingDuration"}
Group gFastCook
"Fast Cook Rice"
(gRiceCookerHomekit)
{homekit="Valve"[ServiceIndex=2]}
Switch fastCookActive
(gFastCook)
{homekit="ActiveStatus, InUseStatus"}
Number fastCooktDuration
(gFastCook)
{homekit="Duration"}
Number fastCookRemainingDuration
(gFastCook)
{homekit="RemainingDuration"}
Group gWarmUp
"Warm Up Rice"
(gRiceCookerHomekit)
{homekit="Valve"[ServiceIndex=3]}
Switch warmUpActive
(gWarmUp)
{homekit="ActiveStatus,InUseStatus"}
Number warmUpDuration
(gWarmUp)
{homekit="Duration"}
Number warmUpRemainingDuration
(gWarmUp)
{homekit="RemainingDuration"}
The services:
Services:
Service Type: AccessoryInformationService (0000003E-0000-1000-8000-0026BB765291)
Characteristics:
IdentifyCharacteristic: {"iid":0,"type":"14","perms":["pw"],"format":"bool"}
ManufacturerCharacteristic: {"iid":0,"type":"20","perms":["pr"],"format":"string","value":"none","maxLen":255}
ModelCharacteristic: {"iid":0,"type":"21","perms":["pr"],"format":"string","value":"none","maxLen":255}
NameCharacteristic: {"iid":0,"type":"23","perms":["pr"],"format":"string","value":"Rice Cooker","maxLen":255}
SerialNumberCharacteristic: {"iid":0,"type":"30","perms":["pr"],"format":"string","value":"gRiceCookerHomekit","maxLen":255}
FirmwareRevisionCharacteristic: {"iid":0,"type":"52","perms":["pr"],"format":"string","value":"none","maxLen":255}
Service Type: IrrigationSystemService (000000CF-0000-1000-8000-0026BB765291)
Characteristics:
ActiveCharacteristic: {"iid":0,"type":"B0","perms":["pr","pw","ev"],"format":"int","value":0,"valid-values":[0,1]}
InUseCharacteristic: {"iid":0,"type":"D2","perms":["pr","ev"],"format":"int","value":0,"valid-values":[0,1]}
ProgramModeCharacteristic: {"iid":0,"type":"D1","perms":["pr","ev"],"format":"int","value":0,"valid-values":[0,1,2]}
RemainingDurationCharacteristic: {"iid":0,"type":"D4","perms":["pr","ev"],"format":"int","value":17,"minValue":0,"maxValue":3600,"minStep":1,"unit":"s"}
Linked Services:
Service Type: ValveService (000000D0-0000-1000-8000-0026BB765291)
Characteristics:
ActiveCharacteristic: {"iid":0,"type":"B0","perms":["pr","pw","ev"],"format":"int","value":0,"valid-values":[0,1]}
InUseCharacteristic: {"iid":0,"type":"D2","perms":["pr","ev"],"format":"int","value":0,"valid-values":[0,1]}
ValveTypeCharacteristic: {"iid":0,"type":"D5","perms":["pr","ev"],"format":"int","value":1,"valid-values":[0,1,2,3]}
RemainingDurationCharacteristic: {"iid":0,"type":"D4","perms":["pr","ev"],"format":"int","value":3,"minValue":0,"maxValue":3600,"minStep":1,"unit":"s"}
ServiceLabelIndexCharacteristic: {"iid":0,"type":"CB","perms":["pr"],"format":"int","value":2,"minValue":0,"maxValue":100,"minStep":1,"unit":"%"}
SetDurationCharacteristic: {"iid":0,"type":"D3","perms":["pr","pw","ev"],"format":"int","value":1800,"minValue":0,"maxValue":3600,"minStep":1,"unit":"s"}
NameCharacteristic: {"iid":0,"type":"23","perms":["pr"],"format":"string","value":"Fast Cook Rice","maxLen":255}
Service Type: ValveService (000000D0-0000-1000-8000-0026BB765291)
Characteristics:
ActiveCharacteristic: {"iid":0,"type":"B0","perms":["pr","pw","ev"],"format":"int","value":0,"valid-values":[0,1]}
InUseCharacteristic: {"iid":0,"type":"D2","perms":["pr","ev"],"format":"int","value":0,"valid-values":[0,1]}
ValveTypeCharacteristic: {"iid":0,"type":"D5","perms":["pr","ev"],"format":"int","value":1,"valid-values":[0,1,2,3]}
RemainingDurationCharacteristic: {"iid":0,"type":"D4","perms":["pr","ev"],"format":"int","value":-7,"minValue":0,"maxValue":3600,"minStep":1,"unit":"s"}
ServiceLabelIndexCharacteristic: {"iid":0,"type":"CB","perms":["pr"],"format":"int","value":1,"minValue":0,"maxValue":100,"minStep":1,"unit":"%"}
SetDurationCharacteristic: {"iid":0,"type":"D3","perms":["pr","pw","ev"],"format":"int","value":3600,"minValue":0,"maxValue":3600,"minStep":1,"unit":"s"}
NameCharacteristic: {"iid":0,"type":"23","perms":["pr"],"format":"string","value":"Slow Cook Rice","maxLen":255}
Service Type: ValveService (000000D0-0000-1000-8000-0026BB765291)
Characteristics:
ActiveCharacteristic: {"iid":0,"type":"B0","perms":["pr","pw","ev"],"format":"int","value":0,"valid-values":[0,1]}
InUseCharacteristic: {"iid":0,"type":"D2","perms":["pr","ev"],"format":"int","value":0,"valid-values":[0,1]}
ValveTypeCharacteristic: {"iid":0,"type":"D5","perms":["pr","ev"],"format":"int","value":1,"valid-values":[0,1,2,3]}
RemainingDurationCharacteristic: {"iid":0,"type":"D4","perms":["pr","ev"],"format":"int","value":17,"minValue":0,"maxValue":3600,"minStep":1,"unit":"s"}
ServiceLabelIndexCharacteristic: {"iid":0,"type":"CB","perms":["pr"],"format":"int","value":3,"minValue":0,"maxValue":100,"minStep":1,"unit":"%"}
SetDurationCharacteristic: {"iid":0,"type":"D3","perms":["pr","pw","ev"],"format":"int","value":1800,"minValue":0,"maxValue":3600,"minStep":1,"unit":"s"}
NameCharacteristic: {"iid":0,"type":"23","perms":["pr"],"format":"string","value":"Warm Up Rice","maxLen":255}
Service Type: ServiceLabelService (000000CC-0000-1000-8000-0026BB765291)
Characteristics:
ServiceLabelNamespaceCharacteristic: {"iid":0,"type":"CD","perms":["pr"],"format":"int","value":1,"valid-values":[0,1]}
It creates only 1 accessory however in Home app it’s not there. I have now moved this to a new instance to be sure it’s not due to some cache issue. If I add the accessory before pairing, it complain the bridge is not compliant. If I pair first, then add the accessory it’s not visible in Home app. The strange thing is I made it to work 5-6 weeks ago and it worked very well, and then suddenly it stops working