Personal risk aside, have fun trying to get your insurance money if something goes wrong, even if it's not the fault of your home-built fire detectors or Raspberry Pi thermostat or whatever. I'd be surprised if that didn't cause problems, should you have to make a claim they find out about your tinkering.