-
Notifications
You must be signed in to change notification settings - Fork 639
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
Support for new Gosund SP111 and SP112 #1998
Comments
I guess the existing Googling for any info on these, I found tasmota device listings with both devices present: GPIO pins are decoded through reading this enum (starting from 0 aka GPIO_NONE / unused pin): |
Thanks I found at least a solution for the SP111. It can use BLITZWOLF_BWSHPX but the pin-assignment for CF1 14 does not work, it is 4. |
Sorry, I missed the last comment. Tasmota config for SP112 uses CSE7766 connected as receive-only which we already support, Sonoff POWr2 was the first to use it |
I'm also working at this device - as additional info I found: |
it would be very helpful and extend the flexibiliy of espurna, if we could change pins after flashing such as tasmota is doing with the profiles. |
I agree, it would. ATM the planned solution is to add new cfg keys `hlw8012CF1`, `hlw8012CF` and `hlw8012SEL` with pin numbers as values, trying reading those first and then falling back to the `HLW8012_..._PIN` values. There are a couple “global” issues regarding soft configuration (see the header and v2 branch), but we could just cover one problem at a time.
|
@mcspr That is already a very good start if the 3 power monitor pins could be reassigned afterwards (if the chip is the same). The SP112 (BW-SHP6 has even changed the chip, which has serial line interface (2 pins). It might be also good if the LED and relay pins could be also soft-configured after flashing. |
What is the current status of implementing this? I have the new SP111 but can't get any power readings. |
Would you be able to check today's (Feb 9) release from here? As noted in my comment, SHPX is the .bin to try. |
Thank you for your fast reply. I have changed the pin to GPIO 4, but i couldn't get any data. The problem is that i bought the 2NICE SP111 instead of the Gosund SP111, and these plugs don't have the measuring chip inside. Someone mentioned this on another website (too late for me, i bought them 2 months ago). Thanks anyway! |
Hi, does your MQTT work ? I managed to get the plug working with that specific version and |
@PoloB12 Yep, it is working as it should. Are you using auto discovery or adding it manually? |
I'm not sure what you mean, but I've setup my broker, port, user, password and topic as I do normally but nothing arrives at my broker. My other devices still broadcast normally. Also manual testing from other Pi's for example works fine. I must have missed something somewhere. I'm using these exact devices :
|
Is your broker connected to Home Assistant or some other interface? |
I'm not using home assistant. I'm only logging the data of all my sockets to Influxdb via mosquittto to Influx bridge on my VPS. It's a regular procedure for me, also do it with a few Teckin SP23's I've been using with Espurna. I'm not sure what |
Hmm, I do see mqtt stuff happening in the debug log :
Need to investigate further whats's going on, but it really seems nothing is actually being sent although the log seems to show activity. |
It was something else, nothing related to espurna. Misconfiguration from my side on the vps. Thanks for your reply and checking mqtt ! |
Today i made an OTA flash of the Gosund SP112. Flashing and configurations seems to work quite well. But after i tested the configurations, i observed some issues. It seems the the relais is really switching, the main switch has power, but both USB-Ports are out of power. The button on the switch is also not working. -> Previously i had flashed multiple Gosund Sp1 without any issues. Has the company relased a new hardware-version of the Gosund SP112?. |
Has anybody sucess and a tested configuration for the new Gosund SP111 and or SP112?
Therey are very attractive and already working with Tasmota but I rather wanzted to have all my plugs working with Espurna.
Blitzwolf BW SHP2 does not work but SP112 is equal to a Blitzwolf BW SHP5 and Gosund SP111 = BW-SHP6?
The text was updated successfully, but these errors were encountered: