In Germany the tax authorities have many possibilities to decide if you are a resident there or not.
If you stay there several month/year in a hotel or at a friends flat, even if it's less than 183 days, you can get in trouble because they will say that Germany is your centre of life.
Having...