28.03.2025, 13:11 
		
	
	
		Remove JSON value path, use this Input script:
	
	
	
	
Code:
local map = {
  idle = 0,
  call = 1,
  presence = 2,
  unhooked = 3,
  assistance = 4,
  emergency = 5,
  technical = 6,
  speech = 7,
}
local msg = json.pdecode(payload)
if type(msg) == 'table' then
  local status = msg.data[1].status
  return map[ status ]
end 
 

