Hi,
I2Cdetect had nothing to do with homegenie.
It runs directly on raspbian and displays all connected I2C devices on the bus.
If they dont display there, they will never work in homegenie.
Control every step of the tutorials again and make sure you didnt make any mistakes or writing errors.
Are you sure the address pins of the MCP23017 are grounded? (to the GND pin of the raspberry pi.) Make sure not to use a seperate voltage supply or connect the grounds together
Make sure the reset pin of the MPC23017 is always connected to the 5V or 3.3V of the raspberry pi
Make sure the I2C wires (2) are connected to the right pins of the raspberry pi (no crossing like a rx/tx serial system but straight)
Make sure the chip is not dead (wrong supply voltage to wrong pins might killid it during installation or tests)
Last solution : start from a fresh rasbian image an follow the I2c Adafruit tutorials first, before installing homegenie or other programs