(CNN) On the first day of January 2013, as people around the world celebrated the New Year, a huge fire tore through one of South Africa's largest slums.
Sparked by a cooking flame, the blaze in Khayelitsha burned down 800 shacks, leaving at least 4,000 people homeless. Local media reported that up to five people lost their lives.
The incident is not unique -- 717 fires were recorded in Cape Town's informal settlements between November 2015 and April 2016, according to local government figures, killing 32 people and damaging nearly 4,000 homes.
Lumkani co-founders Samuel Ginsberg, Francois Petousis, Paul Mesarcik, Emily Vining, Max Basler and David Gluckman.
With the the UN estimating that roughly 1 billion people live in slums or sub-standard housing globally, the issue extends far beyond the eastern Cape.
'Be careful'
Responding to a brief from his professor, Cape Town University electrical engineering student Francois Petousis was determined to tackle this problem.
READ: The app that can call you an ambulance
Together with five co-founders, his solution was Lumkani --"the world's first networked heat-detector designed specifically for a slum environment." The word means "be careful" in Xhosa, the language of South Africa's second largest ethnic group.
The Top 10 countries to start a business in Africa
Swaziland's small size and a widespread perception that it is a difficult place to operate make it a surprising inclusion in Africa's top-10 for doing business. However, the country's close economic integration with its neighbors means that it scores disproportionately highly on the World Bank's 'Trading Across Borders' metric -- at 30th in the world. For start-ups, the cost of registering a business and in particularly getting connected to the electricity grid could be prohibitively high.
Doing Business World Rank: 105
Days to start a business: 30
Days to get electricity: 137
Days to register property: 21
Namibia rarely features on investors' radars due to its comparatively small economy and close integration with South Africa, its much-larger neighbor. However, the country still offers opportunities for entrepreneurs due to the relative ease with which start-ups can access credit and power. However, some of the bureaucratic barriers -- such as the time-consuming process to register a business or property -- remain high.
Doing Business World Rank: 101
Days to start a business: 66
Days to get electricity: 37
Days to register property: 52
With an ongoing economic crisis and a slumping currency, Zambians were urged to look to the heavens for respite in October, after the president called for a day of prayer and reflection to halt the slide. The country faces many challenges -- particularly a lack of power that has caused blackouts in the capital, Lusaka, for the first time in years. However, there are still some positives for Zambian entrepreneurs. The country is still a competitive environment for start-ups -- scoring higher on the 'Starting a Business' section of the World Bank's Doing Business ranking than South Africa, and in the global top-20 for getting credit.
Doing Business World Rank: 97
Days to start a business: 7.5
Days to get electricity: 117
Days to register property: 45
Another small Indian Ocean island nation, the Seychelles has taken a similar approach to Mauritius and attempted to set itself up as a hub for investment and administration to complement its tourism business. The country has attracted an unfortunate reputation as a tax haven, and has prioritised the need to trade across borders and resolve disputes.
Doing Business World Rank: 95
Days to start a business: 32
Days to get electricity: 137
Days to register property: 33
Although Morocco did not experience the same political upheaval as other North African economies during the 'Arab Spring' revolutions in 2010-12, the country felt many of the same social pressures of unemployment and economic inequality. The government has responded with reforms to the business environment, aimed at making it easier to start and grow enterprises.
Doing Business World Rank: 75
Days to start a business: 10
Days to get electricity: 57
Days to register property: 30
Before the turmoil of the 'Arab Spring', Tunisia had been building a modern economy, working to attract high technology manufacturing and outsourcing from Europe. The country's revolution, which unseated the autocratic regime of Zine el-Abidine Ben Ali in 2011, led to a brief upheaval in the economy. Now the dust has settled, the young, highly-educated population that took to the streets to demand change is once again the country's greatest economic resource.
Doing Business World Rank: 74
Days to start a business: 11
Days to get electricity: 65
Days to register property: 39
Now eclipsed by Nigeria as the largest economy on the continent, South Africa is still home to the most sophisticated financial sector, which in turn feeds into a dynamic start-up scene -- alongside the big banks and the mining companies -- which still dominate the corporate world. However, despite its overall sophistication, start-ups face a number of challenges -- not least the well-publicised issues with power.
Doing Business World Rank: 73
Days to start a business: 46
Days to get electricity: 226
Days to register property: 23
According to the global anti-graft watchdog Transparency International, Botswana is the least corrupt country in Africa -- an important factor for entrepreneurs and their investors, who need to be able to rely on their national institutions. The country, which has relied heavily on revenues from the diamond trade to fuel its growth over the last half-century, has also tried to make sure that the legacy of its mining industry will be a more competitive business environment.
Doing Business World Rank: 72
Days to start a business: 48
Days to get electricity: 77
Days to register property: 12
Small and landlocked Rwanda has become an unlikely -- but compelling -- economic success story due to its relentless drive to break down the barriers for entrepreneurs. Over years of reform, the country has dramatically lowered the number of steps it takes to open a business and made it far easier to get credit.
Doing Business World Rank: 62
Days to start a business: 5.5
Days to get electricity: 34
Days to register property: 32
Positioned in the Indian Ocean with strong cultural and commercial links to India, China and the east coast of Africa, Mauritius has used its geographical location and legacy as a trading waystation to become an investment hub. The country routinely tops African rankings for competitiveness and ease of doing business due to its liberal approach to regulation and taxation.
Doing Business World Rank: 32
Days to start a business: 6
Days to get electricity: 81
Days to register property: 14
In a setting where open flames are used daily to cook, heat and light homes, an ordinary smoke alarm would go off constantly, leading people to yank out the batteries and render the device pointless.
Instead, Petousis engineered a heat detector that measures the rate of temperature rise. Cooking raises the temperature of a home in minutes, whereas a dangerous fire heats the air in seconds, prompting the alarm to sound.
Text message warnings
Lumkani devices are networked to each other using radio frequency, the same technology used in garage remotes. When a fire is detected, the alarm sounds in all homes within a 40 meter radius, using a different tone to signify to users when the blaze is in a separate dwelling.
In settlements like Khayelitsha, where over 390,000 people are densely packed into a 14-square-mile space, a blaze can scorch whole blocks within minutes. Fire is definitely your neighbor's business.
"The cooking fires and heating are so high risk, with homes built so closely together, that shack fires begin and spread very quickly," said Lumkani co-founder and managing director David Gluckman.
"Within an instant, everything you've accumulated on earth is literally up in smoke."
The network is controlled by a central "smart" device that when triggered, locates the GPS coordinates of the blaze and sends a text message around the neighborhood asking if people see a fire. Only when someone responds 'Yes' are the emergency services called.
READ: This is how you charge 80 phones at once
"You've got to be really careful that you're not annoying people and alerting people when you shouldn't be," said Gluckman.
"That's the major innovation - we don't trigger when people are cooking because the device is much more sensitive."
Community response
Since founding the start-up in November 2014, Lumkani has distributed 7,000 devices to informal homes across South Africa, starting in Khayelitsha.
Within two weeks of installing the devices there, Gluckman says it prevented two significant fires from spreading.
In the time since, he adds that the start-up has prevented ten such fires from escalating. With plans to distribute further in Africa and Southeast Asia, he hopes to avert many more.
Funded through a government innovation agency and a successful crowdsourcing campaign, the start-up has also won several awards and grants, including best start-up in 2014's Global Innovation through Science & Technology competition.
Last year, it was chosen by the International Red Cross as a provider for its Fire Sensors initiative, a project that has distributed 900 of the devices along with extensive market research.
Julie Arrighi, Innovation Advisor at the American Red Cross, said that using networked heat sensors like Lumkani is crucial to mitigating the growing risk of slum fires around the world.
"Due to rapid and unplanned urbanization, the number [of people living in informal settlements] is estimated to double in the next fifteen years,"Arrighi said. "Fire risks in these areas are large, but often unrecorded."
The charity heavily subsidized the devices, selling them for a small commission fee for the residents installing them -- an approach they believe is more sustainable than giving them away for free.
But with the devices costing just $15 each, Lumkani also sells to individual users, smaller NGOs and local government bodies.
Low income, not no income
Cape Town's Mayoral Committee member for Safety & Security, Alderman JP Smith, told CNN that although the municipality does "experiment each year with a number of engineering solutions", its funding priority is getting people out of informal settlements, rather than trying to improve them.
Kenyan-based tech company BRCK developed this modem made with Africa's limited connection and power in mind.
"We asked ourselves why we're using technology designed to work in London or New York when we live in Nairobi," says BRCK CEO Erik Hersman. "This led us to create something that has true redundancies built in. It can work for a full 8-hour workday without external power and it will allow 20 devices to connect to it at one time."
In 2015, BRCK began the initiative BRCK Education to deliver reliable internet access to schools in remote areas.
Light House Grace Academy in Kawangware, Nairobi, is one of the first schools to test out BRCK's "Kio Kit" -- a tough tablet designed to provide digital education to primary school children.
Light House Grace Academy schoolmaster Pastor George Njenga says: "When the Kio Kit came to our school it changed the way learning is done in class. It's very user-friendly and makes learning interesting."
"The Kio Kit allows the learning of several subjects with ease because everything is stored in the memory of the tablet; one can switch from one topic to the next easily," says schoolmaster Pastor George.
"The Kio Kit has made the work of the teacher very easy," says George. "The teacher only needs to instruct and the students follow as they listen to the lesson through the microphones that come with the kit."
The Academy currently teaches over 600 children and the Kio Kit, with its resilient and compact design is proving successful so far. Pastor George says: "This kit is what is needed, especially here in African schools were electricity and space is a problem."
Since 2013, BRCK has sold over 2,500 devices in 54 countries. CEO Erik Hersman says: "The next generation of BRCK device will come out this year as well, and as you can imagine, there is a lot of engineering and testing being pushed into that product."
"You can't spend endless money on making people's lives more tolerable, you have to migrate them to proper formal housing, which removes much of the crisis," said Smith.
He highlighted that a separate city hall initiative has reduced the death rate of slum fires from 7.9 per 100,000 people in 2005 to 3.6 per 100,000 in 2015.
But until formal housing can be provided, what about residents whose homes and worldly possessions could potentially be at risk?
"People don't necessarily see under-served markets as opportunities, they see them as something that needs to be dealt with on a governmental level," Gluckman countered.
"Many billions, even trillions of dollars flow through informal settlements globally each year. It's 100% not a no income environment, it's just a low income environment. It's a distinction people need to make."