GitHub

Staying on the right side of copyright

This project lets you back up the Sonoff firmware on a plug you own, and put it back later. Sonoff’s firmware is Sonoff’s copyright, so this page sets out what the project does, and deliberately does not do, to keep that use lawful. It is not legal advice.

The short version

What the law allows

Copyright law in most places lets the lawful user of a program make a backup copy of it, and study how it works so that other software can work with it:

None of these rights cover giving the copy to anyone else, and that is where the line is drawn below.

Right-to-repair laws mostly require manufacturers to provide parts, tools and information. They are background support for what this project does, not the grant: they do not give copyright permissions, so the project rests on the interoperability and study exceptions above. This footing is the same for every device the project works with, now or later.

What the project does

The backup stays with you and your plug

No Sonoff firmware is distributed

Nothing is circumvented

The tool does not ‘get around’ technological protection measures.

Studying and emulating the firmware

Some of the project’s work is research: reading a plug’s own firmware to learn how it stores Wi-Fi credentials and how it pairs, so a bridge firmware can keep the owner’s Wi-Fi through a conversion. This is the observing, testing and decompiling-for-interoperability the exceptions above allow, and it is written to hold for any device the project adds, not one in particular.

Names

Sonoff and eWeLink are trademarks of their owners. The project names them only to say which devices and services it works with, and states that it is independent and not an official installer (NOTICES.md).

What this project asks of you