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

fix: rgbw2 naming #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix: rgbw2 naming #2

wants to merge 1 commit into from

Conversation

Julusian
Copy link

I tried to flash a RGBW2 today, and it wasn't working. I was in color mode, and the latest firmware and the debug log reported it was rejecting the new firmware due to the name mismatch.

I also had to add the cflags as it was failing to build with a bunch of warnings about argument types in a lot of the log lines

For anyone who has the same issue, a fixed build of the rgbw2 firmware:
shelly-rgbw2.zip

@schulzh
Copy link

schulzh commented Nov 12, 2023

Worked for me 👍

@Switzerland87
Copy link

Worked for me 👍

Could you explain how you did it? Because I have tried to reset the shelly several times, setting it to factory settings and putting it in color mode. But the tasmota firmware is not downloaded. I am using the following URL

http://192.168.1.134/ota?url=http://ota.tasmota.com/tasmota/shelly/mg2tasmota-ShellyRGBW2.zip

@cap9qd
Copy link

cap9qd commented Feb 24, 2024

Worked for me 👍

Could you explain how you did it? Because I have tried to reset the shelly several times, setting it to factory settings and putting it in color mode. But the tasmota firmware is not downloaded. I am using the following URL

http://192.168.1.134/ota?url=http://ota.tasmota.com/tasmota/shelly/mg2tasmota-ShellyRGBW2.zip

You can setup a http server on your computer with python.

  1. Download the file above. I made a directory in my Downloads folder called shelly and moved the ZIP file into that folder.
  2. Run python -m http.server --directory c:\users\{PCUser}\Downloads\shelly\ , where {PCUser} is your pc username.
  3. Change the link in the OTA to http://shellyip/ota?url=http://pcip:8000/shelly-rgbw2.zip where shellyip is the IP of the RGBW2 and pcip is the IP of your PC.

Should work...just worked for me.

@azzieg
Copy link

azzieg commented May 5, 2024

You guys are awesome! Could we get this merged into the main line?

@tablatronix
Copy link

Merge please, failed for me also.

@maxlyth
Copy link

maxlyth commented Dec 4, 2024

Thanks for this.

Looks like Shelly changed their firmware version naming aound v1.12 as there are two distinct firmwares for the RGBW and 4 channel configurations. In the Shelly debug log I was getting errors like shelly will not update rgbw2-color with rgbw2

I'm on MacOS and downloaded the zip from the OP and then used:

python3 -m http.server --directory ~/Downloads/ &

After noting the process ID spawned for the Python webserver I then used ifconfig to get a list of IP address for my Mac and then chose one on the same subnet as the ShellyRGBW2 then used curl "http://<shellyIP>/ota?url=http://<MacIP>:8000/shelly-rgbw2.zip"

Make sure your ShellyRGBW is set to Color device type otherwise it will likely silently fail.

I built a firmware for ESPHome which I uploaded from the Tasmota server hosted on the Shelly. In my case I needed to install the current tasmota-minimal.bin.gz first, reboot and firmware upgrade again to free up enough space on the Shelly to upload the ESPHome image.

Finally I killed the Python webserver with killall Python or kill <PID> if you noted the python proces ID above.

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

Successfully merging this pull request may close these issues.

7 participants