MCP23008 #10
Replies: 11 comments
-
Hi @MichalBury , Addresses are indeed the same when IOCON[BANK] is set to 1 while default/reset value is 0, cfr Table 3-4 and 3-5 of MCP23017 datasheet Polling of the second port should also be disabled to avoid unecessary i2c bus timeout. I quickly modified the mcp23017/init.py file to address these differences but I can't test it Once OK, I can add clean support for mcp23008 in this integration. |
Beta Was this translation helpful? Give feedback.
-
Hello, thanks for quick change. I have tested it, but got error at start: Logger: homeassistant.components.switch |
Beta Was this translation helpful? Give feedback.
-
Could you try again with this one init.txt (fixed L255 & L274/removed a bit too much while adapting code) |
Beta Was this translation helpful? Give feedback.
-
Yuppie. it's working now. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the feedback, I'll plan to integrate clean support for mcp23008 within this integration. I will keep you posted |
Beta Was this translation helpful? Give feedback.
-
Hi @MichalBury , |
Beta Was this translation helpful? Give feedback.
-
Hi, thank you |
Beta Was this translation helpful? Give feedback.
-
👍 great/thanks |
Beta Was this translation helpful? Give feedback.
-
Hi @MichalBury, |
Beta Was this translation helpful? Give feedback.
-
Hello, sorry I was temporally out of business because of Covid. thanks |
Beta Was this translation helpful? Give feedback.
-
Thanks for checking @MichalBury. |
Beta Was this translation helpful? Give feedback.
-
Hello,
can be this addon also used with MCP23008?
registers for output A (MPC23017) have same addreses as MCP23008
I have tried it , but not working. Connection seems to be OK. No error in logs that I2C device is missing.
My expander works when I controll it with Nodemcu, so HW is OK.
Beta Was this translation helpful? Give feedback.
All reactions