itead / Sonoff_Devices_DIY_Tools

BSD 3-Clause "New" or "Revised" License
553 stars 167 forks source link

DIY Tool for Linux #12

Open rradar opened 5 years ago

rradar commented 5 years ago

Please provide a linux version of the famous sonoff DIY tool.

Thank's

Jason2866 commented 5 years ago

Famous? I like your sense of humor.

ThierryM commented 5 years ago

Hi, It's possible to use the Sonoff DIY tool under GNU/Linux as it's a python application. See here, my solution (in french but the command lines are comprehensible ;-) ) for Ubuntu 18.04 : https://lofurol.fr/joomla/electronique/domotique/225-sonoff-flasher-tasmota-sur-un-module-sonoff-rf-r3 But... impossible to succeed a flash firmware... See this topic

rradar commented 5 years ago

@Jason2866 did I wrote famous? Probably I thought infamous!

SirGoodenough commented 4 years ago

Perhaps this is possible. Surely someone could take the information Michel Deslierres started here and plug this into a raspberry pi image that starts a web server, does the cURL commands, and ties it up in a pretty bow similar to the existing tool for flashing Tuya devices. This is not even an exploit, merely an implementation or extension of the manufacturers intent.
https://www.sigmdel.ca/michel/ha/sonoff/sonoff_mini_en.html

Eknem commented 4 years ago

Its possible to run the tool with wine. Don't forget to run it as su (sudo) (or as a user with right privileges)