After been struggling for a few days to get the office to install. After reading posts after the posts with no luck. I thought, that there might be an issue with the previous installation of Office. Microsoft offers a tool to automatically Uninstall Office of all versions. I managed to get the old Office to install after running the tool. I hope you all find it useful.
https://support.microsoft.com/en-us/office/uninstall-office-automatically-9ad57b43-fa12-859a-9cf0-b694637b3b05
It's unable to do anything as a smart home device should do, apart from telling me that it hasn't got internet connection right now.