homebridge-mqttthing icon indicating copy to clipboard operation
homebridge-mqttthing copied to clipboard

state.global : sharing between services of the same custom accessory

Open FermedePommerieux opened this issue 3 years ago • 1 comments

Is there a way to share variables between services inside a "custom" accessory ("services": []) ?

state.global.* share variables between topics, I would like to share variables between services

something like state.services.*

FermedePommerieux avatar Nov 16 '21 10:11 FermedePommerieux

I found a way using codec however I still unable to find a way to use multiple sensors for a single accessory: example : securitySystem sensor 1 = ARRMED/DISARMED sensor 2 = TRIGGERING sensor 3 = Fault sensor 4 = Tampered

is there a way to request a MQTT value directly from a codec ?

FermedePommerieux avatar Nov 21 '21 20:11 FermedePommerieux