Skip to content

driver: shelly_gen1: fix for Shelly Plug US Gen4#1852

Open
jiez wants to merge 1 commit intolabgrid-project:masterfrom
jiez:jiez/master
Open

driver: shelly_gen1: fix for Shelly Plug US Gen4#1852
jiez wants to merge 1 commit intolabgrid-project:masterfrom
jiez:jiez/master

Conversation

@jiez
Copy link
Copy Markdown

@jiez jiez commented Apr 14, 2026

POST is not supported by Shelly Plug US Gen4. Use GET instead.

I tried shelly_gen1 driver on a Shelly Plug US Gen4 and found that this Shelly plug does not support POST. Replacing POST with GET seems working. But I don't have other Shelly plugs to test for.

  • PR has been tested

POST is not supported by Shelly Plug US Gen4. Use GET instead.

Signed-off-by: Jie Zhang <jie.zhang@analog.com>
@gastmaier
Copy link
Copy Markdown

gastmaier commented Apr 14, 2026

Hi @rpoisel (from #1128 Gen1) @aparcar (from #1664 Gen2)! Are you able to test if with GET request still works for Shelly Plug Gen 1 and 2?

I see the file edits Gen 1 only, @jiez have you tried driver/power/shelly_gen2.py ?

@jiez
Copy link
Copy Markdown
Author

jiez commented Apr 14, 2026

I'm using the labgrid packages from Debian forky. They were created based on the latest release, which has no shelly_gen2 driver yet. I copied shelly_gen2 python file into the installation location and tried it. It has a bug. And there is already a PR for it: #1766

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.

2 participants