Victron has made the software for their range of controllers, Venus, CGX, Cerbo etc open source and it runs on a raspberry
I myself use the rasp berry for ...
automation of the engine room and electric room blowers, turn the 1st set on at a Delta of 10 F and the 2nd set at 25 F
Keeping the bilges totally clean
by making an additional controller for the bilge pump. normally activated by the float, BUT if there is just a 1/6 or 1/8 if an inch the float won't activate. so the bilge goes on for a few seconds, if there is no water it rests for a period like 5 minutes, then it tries again. once it has tried twice and not discovered any water, t makes the wait interval 10 minutes etc...until it only checks once every 24 hrs.
IF it detected water more than once in succession it halves the rest period. so my bilges are always totally dry.