Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible (but near) to flash firmware using DIY Tools under Ubuntu 18.04 #21

ThierryM opened this issue Jul 29, 2019 · 3 comments


Copy link

commented Jul 29, 2019

Here my experience in intending flashing Tasmota firmware with Sonoff_Devices_DIY_Tools under Ubuntu 18.04 (I think, that this DIY mode should interest many people working with GNU/Linux and not only these under Windows...). You can find more informations (in french) here :
As the tools are python programs, I think that they could work for GNU/Linux... Almost but not.
When I try to flash, the progression bar stay at 0% and I have this error message:

Server initialization complete
Traceback (most recent call last):
  File "/perso_ssd/Thierry/Electronique/Domotique/Tasmota/Sonoff_DIY_Tools/Sonoff_Devices_DIY_Tools/code/", line 623, in start_root
    server_port=myport, server_ip=myaddr)
  File "/perso_ssd/Thierry/Electronique/Domotique/Tasmota/Sonoff_DIY_Tools/Sonoff_Devices_DIY_Tools/code/", line 30, in __init__
PermissionError: [Errno 13] Permission non accordée

So it seems that this is an access denied problem but I don't know how to solve it. I add that I succeeded to flash with the same local WLAN network with a Windows 10 laptop.
Thanks for your help, regards


This comment has been minimized.

Copy link

commented Aug 5, 2019

Now the error is that the expression tool cannot get to the IP address of the local machine, so the port cannot be bound.If you need to run under LINUX, change the tool code to get the IP address under LINUX.
I can talk to you about the upgrade process.


This comment has been minimized.

Copy link

commented Aug 5, 2019

Hi, thanks for your reply.
I made some searches but I'm not able to modify the tool code ;-).
Under Ubuntu when I launched, nothing happened. It seems in this topic that there is a problem with zeroconf and ESP8266.


This comment has been minimized.

Copy link

commented Aug 8, 2019

This needs to be investigated!

@ZZLinvec could you please assist get your DIY Tools running with linux? Thank's a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.