homebridge-mqttthing
homebridge-mqttthing copied to clipboard
state.global : sharing between services of the same custom accessory
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.*
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 ?