I have Shelly Plus Plug S for which I can’t find example for configuration code and how to flash it on site www.esphome-devices.com . It is new Shelly device which have RGB LED ring…
Can someone help me integrate it into ESPHOME to get everything work like on older devices(Shelly Plug S)?
Im open it and there is no pins to use flashtool on it(I have VoltLink CP2102N):
Hi @mebrotus Im try this on Shelly Plus 1PM few weeks/months ago and it didn’t work so Im flash it with VoltLink …
Im try now update Plus Plug S to Tasmota and work… Now I have Tasmota on it and is detected as “ESP32-DevKit” and under information I see Chip: ESP32-U4WDH-D rev.3 Im right now flash it with esphome.
Do you maybe know some example configuration which I can use to get basic things to work(power consumption, relay, led)? Something like:
@bkbartk Im check this page. It has been my first thing to do but can’t find it on this site… Your link is for “Shelly Plug S” which is based on esp8285. I have “Shelly Plus Plug S” which is based on ESP32…
Hi,
Im sorry but no. These 3 things has been easy to find… If I will find info which chipset is used for monitoring voltage and current it will be easier… I currently don’t have to much time to research so if someone with more time and knowledge will do it will be great…
Hi Dejan, I’ve opened up one of my Shelly Plus Plug S devices to find out what the monitoring chipset is and I think it’s a BL0937. I’ve attached some more pictures. Unfortunately, my device didn’t survive but I’ve got another one to tinker with. I’m also wondering what the prefixes C, R, D and U mean that can be seen on the board. Do they somehow map to GPIO pins?
I didn’t want to destroy mine so Im open it only half way
C = Capacitor
R = Resistor
D = Diode
U = Integrated circuit
It is BL0937 so is same as it used in Shelly Plus 1PM… Now I need to find pinout for this BL0937…
Thanks for destroying your and good hint what to look
I think I’m kill my device Im try to use GPIO16 and GPIO17 as CF & CF1 pin and device is now offline and I can’t reflash it… It power on for second and turn relay on(last state) but then imediatelly turn off relay…
Im make list of all possible GPIO’s and remove already used ones. But looks like this 2 are used internaly by shelly for something…
Problem is that BL0937 is on other side of board and need to remove PCB to trace physical connections… Looks like now I can dissasemble plug by destroying plastic case and leave pcb undamaged and then I can trace connections…
For further research looks like when I set
CF = GPIO5
CF1 = GPIO10
I get in HA power usage 2,5W which can be ok but voltage and amperage has not show correct values. Also Im not sure if power has been correct because connected device can have consumption up to 12W(PSU is 12V 1A)…
Now how would we go about and figure out how to control the LED ring? GPIO3 seems to react to a monochromatic light, but only fully on or off, and only at a certain percentage
Im remove PCB from case without damage…
It for sure use ESP32-U4WDH and BL0937.
There is 4 LED’s. Im not sure if they are RGB or each have own color… Maybe they are driven by PWM …
Looks like U0TXD and U0RXD from chip is not exposed to any pins so reflashing my device looks like will not be possible…
I’ve noticed that addressing the RGB leds too soon in the boot cycles causes the device to reboot or become unresponsive. It might be the same as your issue @mebrotus. Fortunately, flashing the device was still possible in those cases. I’ve added a safeguard around this and created a PR in the esphome devices repo. I’ve got two devices running this config as stable as can be. Config for Shelly Plus Plug S by bobkersten · Pull Request #370 · esphome-devices/esphome-devices · GitHub