Jan200101 / Jan200101/ShellyPy

Shelly EM 50 PRO

Open
#20 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
31
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Hi Jan,

I am still asking for your help if possible.
This is for a 3rd generation Shelly device (EM 50 PRO).
Are you thinking of updating your library to include Gen 3 devices?

Specifically, I would like to read the active power "act_power.
From a browser I can see the device with the command http://192.168.1.XXX/rpc/Shelly.GetStatus.
{
....
,
"em1:0": {
"id": 0,
"current": 0.08,
"voltage": 234.9,
"act_power": 0,
"aprt_power": 18.7,
"pf": 0,
"freq": 50,
"calibration": "factory"
},
"em1:1": {
"id": 1,
"current": 2.598,
"voltage": 234.9,
"act_power": 501.8,
"aprt_power": 612.4,
"pf": 0.84,
"freq": 50,
"calibration": "factory"
},
.....
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing ShellyPy's existing device support and the /rpc/Shelly.GetStatus response shown for the Shelly EM 50 PRO. Determine how Gen 3 devices and the em1:0/em1:1 act_power values should be represented, then verify that active power can be read for this device.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.