Already published the Decree-Law No. 162/2019 regulating self-consumption of renewable energy. With this, the process of installing solar panels up to 350W requires no prior control, and up to 30kW a simple prior communication will suffice.
Perhaps even more importantly, doors open to shared facilities, making it easier to install solar panels for condominiums, housing groups, etc. It remains to be clarified whether power operators really are "obliged" to buy surplus energy at market prices (my "Legalese" failed to decipher this) – which would be an excellent option that could avoid investing in batteries.
In any case, this new decree promotes micro-generation and self-consumption of energy, which will be an important strategic step towards making – in the medium and long term – each house more energy independent, and with most of its energy to be generated locally from renewable sources.
In an ideal world, every home would be able to manage all the power it needed, using the network connection only as a backup for exceptional situations. In the end, the network should serve only as a "giant battery" that could absorb excess energy and return it when needed. But we are still a long way from it, and it is important that every step we take, however small, goes in that direction.