Dear reader,
I have several MCP23017 connected to the GPIO via an I2C. Via dummy hardware and some code I can use both inputs and outputs.
You can also create an i2c sensor gateway in the hardware and then select the MCP23017. In devices you then have all ports of the MCP23017 available (and it works). However, these are all configured as Output. Does anyone know of a way to also use ports of the MCP23017 as input via these methods?
I'm curious about a solution.
Cheers,
Ronald.
Inputs for MCP23017
Moderator: leecollings
- waltervl
- Posts: 5369
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Inputs for MCP23017
Looking at this topic suggests that it is not possible. viewtopic.php?p=255145.
Perhaps with a python plugin it is possible.
Perhaps with a python plugin it is possible.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 11
- Joined: Tuesday 07 June 2016 10:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.4834
- Location: Netherlands
- Contact:
Re: Inputs for MCP23017
Hey Waltervl,
Thanks for your comment. I read the post and it is from 2019. I hope someone has come up with a solution in the meantime.
Cheers,
Ronald.
Thanks for your comment. I read the post and it is from 2019. I hope someone has come up with a solution in the meantime.
Cheers,
Ronald.
Who is online
Users browsing this forum: No registered users and 0 guests