At the MCP-ports is an optucupler connected, with a 1,5k resistor, second side of the optocupler is connected to ground.
But at irregular intervals the signal on the 6 devices is change to 1 for less than 1sec, always a different port alternately.
Is it a problem to use the MCP-port as output (control the valve) & input (to publish the actual state) at the same time?
Should I use another configuration ?
In my opinion, the same configuration worked with firmware from last year without any problems.
I've also already provided the inputs with an additional pull-down resistor, no changes.
Here's the part from the log:
Code: Select all
80253494: EVENT: Clock#Time=Mon,11:11 80253698: EVENT: Clock#Time=Mon,11:11 Processing time:204 milliSeconds 80282040: WD : Uptime 1338 ConnectFailures 0 FreeMem 15672 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init 80282933: LoopStats: shortestLoop: 922 longestLoop: 896405 avgLoopDuration: 1430.00 loopCounterMax: 32537 loopCounterLast: 20784 80282933: Scheduler stats: (called/tasks/max_length/idle%) 20784/1889/16/66.73 80288287: MCP : Port=5 State=1 Output value=1 80288300: MQTT : Bewaesserung/Ventil5/Status 1 80288306: EVENT: Ventil5#Status=1 80288515: EVENT: Ventil5#Status=1 Processing time:209 milliSeconds 80288532: MCP : Port=5 State=0 Output value=0 80288544: MQTT : Bewaesserung/Ventil5/Status 0 80288551: EVENT: Ventil5#Status=0 80288843: EVENT: Ventil5#Status=0 Processing time:292 milliSeconds