I finally got the last few bits working.
The Blitzwolf BW-SHP7 is a dual socket with powermonitoring, it has a button for each socket, and three controllable LED’s (one for each socket and a status).
l ordered SHP7 and then I have found this topic. I didn’t receive it yet but I am trying to prepare everything to set it up. I am doing this first time and I don’t want to break something, so I apologize in advance if I will ask something stupid
I instaled ESPHome addon in home assistant and created node for SHP7.
My first question is should I pick a “Generic ESP8266” for device type? I picked that one for testing now. Then I deleted everything in “Edit” and I pasted your script here (so here is completly and only your script).
I created secrets.yaml file and edited it with secrets until I pass validation.
Should I change anything else in your script? What about static_ip, should I change it?
Aha I see I am getting this warning in log, so I guess I will have to set a fixed IP for that device in router (when I’ll get it)?
“WARNING Initial connection failed. The ESP might not be connected to WiFi yet (Error connecting to 192.168.1.100: [Errno 113] No route to host). Re-Trying in 1 seconds”
What username and passwords are for “web_server”? Are they for home assistant (I don’t have any others)?
Sorry I don’t understand that. I see in script above platform is ESP8266.
So I assume I should pick a “Generic ESP8266” for device type in wizzard below? I believe this choice is the right one, but I still prefer to ask just in case. Thank you.
The wizard just creates a basic yaml file, that’s all it does, so it doesn’t matter at all what you choose, as you are going to overwrite that with the code you paste in from the example.
You should of course choose either to just let your router set an IP for it, or set an IP that is in your range.
As this code is going to be flashed into the plug, you of course need the plug, and thus the device inside it, or it will not be able to connect to it.
Hi
I want try flash my new SHP7 but i have a problem. I connect it with my programmer FTDI as show on this screen:
Ground to Ground programmer
VCC to VCC programmer
TX to RX Programmer
RX to TX Programmer
I00 to Ground when i connect programmer to USB. But when connected to USB any LED on SHP7 not flash and light. Nothing. And when try flash it nothoing do. Not send flash. What i done wrong ?
That is true, it’s a question of getting a cheap (secondhand?) raspberry pi 3b+ and having a cell phone.
But it’s well worth it if this is something you want to pursue for more devices.
Hi, this is a clone/copy or the other way around from a Gosund SP211. I have it flashed with ESPhome working marvelous…
BUT
If it runs for about 4 hours in a warmer environment (not hot!) in my homes fuse cabinet it starts to “flash” relays are turning on/off and it is not connected to WiFi anymore.
If I remove it from the cabinet and power it on elsewhere it stat working normal again.
According to google it says:
Working Temperature -20~45℃
I have a few questions.
Is this sounding familiar to anyone?
Is there (like in shellys) a temperature sensor in itwhich is configurable?
Is there a way to work around this? (besides not usings them :-)?
It sounds familiar to me… I’ve got 5 SHP6 and 1 SHP7, and I’ve got no problems at all with my SHP6 devices. My SHP7 is a different story, since I’ve observed sporadic reboots after random times.
One of the sides of my SHP7 becomes hotter than the environment, so I’m wondering if there’s a similar issue like this one from Shelly 2.5…
I’m currently tinkering with my device, but it would be great if someone could provide high resolution photos of the SHP7 motherboard (unfortunately I only have one and I can’t replace it, so I can’t tear it down myself).
I’m currently testing the following config and the device seems to be running warmer now…
It would be great if someone with the same issue could check if adding this to the config solves the sporadic reboots and high temperature of the device…
Hi, I have 2 SHP 7 and just 1 suffered with the above mentioned issue (warmer than usual and lots of sporadic reboots).
I noticed that they are marked with different numbers:
Blitzwolf BW-SHP7 3420 - Working fine with esphome.
Blitzwolf BW-SHP7 4905 - Warmer and sporadic reboots with esphome.
I hadn’t opportunity to open them to look for differences, but then i saw the @Noltari addition on the GPIO15_irq.
I have applied it to my ESPHome configuration and it works fine, +24h since then and 0 reboots.
I guess that there’s probably some difference on the hardware of the 2 devices revisions. If not the first time that Blitzwolf does it.
@rmrebelo many thanks for confirming that the additional config works!
I haven’t experienced any more random reboots since I added it and seems to be stable now: