The address of the DS3231 isn’t changeable – it’s permanently set when the chip is manufactured. Is there any other way your sensor can communicate? Does it have a physical addressing method? Many I2C sensors have an “addr” pin that you can set to be high or low to change the address. Can it communicate via SPI or UART so you can use one of those to change the address?