Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I added support for the BW-SHP5. It is very similar to the other BW-SHX devices but has a different pin layout, uses the CSE7766 for the sensors and has two relays. One for the power plug and another one for two USB ports.
Everything is working.
There may exist other brands of this device. (e.g. https://www.amazon.de/Gosund-USB-Anschl%C3%BCssen-%C3%BCberspannungsschutz-Stromverbrauch-Fernsteurung/dp/B07PMW88L7/ref=pd_sbs_23_2/262-8978108-0107566?_encoding=UTF8&pd_rd_i=B07PMW88L7&pd_rd_r=34e3944d-8685-48c7-a828-11e4c3305c38&pd_rd_w=OdbHi&pd_rd_wg=Ls2mu&pf_rd_p=184816e4-edb5-4587-8faf-776e0027d8d1&pf_rd_r=P80PPE7CA07MFBJ8TDNJ&psc=1&refRID=P80PPE7CA07MFBJ8TDNJ looks very similar, but I havent tested it)