Theresources gained from tax and saved on repression would allow governments to guarantee treatment to addicts a way of making legalisation more politically palatable.
The advantages of having devices connected intelligently are huge: Resources can be saved by controlling devices appropriately (taking into account environmental conditions, occupancy, and so on).