From 82f25d8d052c6c2e08560da69f84e567ca2f7415 Mon Sep 17 00:00:00 2001 From: MadDoct <32080323+MadDoct@users.noreply.github.com> Date: Mon, 27 Aug 2018 22:44:28 +0100 Subject: [PATCH] new change to the event on rules --- MCP23008-MCP23017.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MCP23008-MCP23017.md b/MCP23008-MCP23017.md index bd5b459e..9af47ff1 100644 --- a/MCP23008-MCP23017.md +++ b/MCP23008-MCP23017.md @@ -198,7 +198,7 @@ The state of the pin captured during the interrupt is reported as Dx=y where x i In addition to the MQTT message the driver will also execute an event command in the following format: -`event MCPINTDxx=y` +`event MCPINT_Dxx=y` Where xx = the pin number from 0 through 7 (MCP23008) or 0 through 15 (MCP23017) and y the state of the pin as it was captured by the interrupt register of the MCP23008/MCP23017 chip.