Open creativeng opened 5 years ago
I suspect it is caused by intermittent i2c wiring or interference. Indeed the uncaught exception makes it worse. I am using this node on 7 Raspberry PIs with no issues. Feel free to clone and improve
ok we will further test, in your application you use more that one module in chain? we actually use more than 5..... that could make it also worse
The most I have is 5 modules (a mix of different chips) but all local to the PI (less than 300mm of cabling)
ok no we have longer cabling 5 units 9M Din....about 1000 mm
sometimes we get a
[error] [mcp23017chip:dcadd7bf.89fdc8] Error: , Remote I/O error
followed by a series of
[mcp23017output:7ebba611.d7cbb8] TypeError: Cannot read property 'setBit' of null
for each one of the configured ports.. it seems randomic, sometimes it leads to a node red crash due to uncaught exception...
which could be the problem?
thanks