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

Not able to flash alternative firmware on light bulb #10

Open
victormcezar opened this issue Sep 12, 2020 · 3 comments
Open

Not able to flash alternative firmware on light bulb #10

victormcezar opened this issue Sep 12, 2020 · 3 comments

Comments

@victormcezar
Copy link

I'm trying to flash an alternative firmware on my light bulb using the java tool but I always get that my connection to lightbulb was refused

java.net.ConnectException: Connection refused (Connection refused) at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403) at java.base/java.net.Socket.connect(Socket.java:609) at com.dohome.ota.Upgrade$1.run(Upgrade.java:140

Is it possible to use this tool to flash an alternative firmware on light bulbs?
Or is there any other way to flash without having to soldering?

@HoGC
Copy link
Collaborator

HoGC commented Jun 18, 2021

@victormcezar
Copy link
Author

I've tried this latest version of home assistant component, the auto discovery works fine but these are the problems I had:

  • wrong status of my lights: my lights were on and home assistant was showing that they were off
  • on/off not working: when I tried to turn off my lights, they changed to very low bright, wrong colors and still on

I'm using light bulbs with firmware 1.3.9 (DoHome app says it's updated)

@danieldabate
Copy link

danieldabate commented Mar 24, 2022

I've tried this latest version of home assistant component, the auto discovery works fine but these are the problems I had:

  • wrong status of my lights: my lights were on and home assistant was showing that they were off
  • on/off not working: when I tried to turn off my lights, they changed to very low bright, wrong colors and still on

I'm using light bulbs with firmware 1.3.9 (DoHome app says it's updated)

Hey Victor! You might not be needing this info anymore, but I was having the same issue today when trying to flash a DoHome RGBWW light bulb.

I got it solved by either one of those 2 things that you might want to try:

  1. Unbinding the light bulb from my account in the DoHome app. This is done by choosing the device inside the app -> ... -> Bind device -> Tap on your account and accept the unbind. This action gave me an error, but maybe it did something anyway.
  2. Pressing the flash button while inside the DoHome app with the light bulb selected.

I'm not sure which of those two actions fixed the issue, but the upgrade went well after that.

Then I flashed a Tasmota firmware to debug and get the right GPIO outputs and finally flashed an ESPHOME firmware with the right config.

Not sure if the config will be the same for your light bulb, for mine it's:
GPIO4 - White cold
GPIO5 - Blue
GPIO12 - Red
GPIO13 - White warm
GPIO14 - Green

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants