Shelly Binding

The input for the update worked for me. With the developer version, I now also get the device#accumulatedWatts channel displayed on my Shelly Pro 3EM.

openhab> update org.openhab.binding.shelly https://github.com/markus7017/myfiles/blob/master/shelly/org.openhab.binding.shelly-4.2.0-SNAPSHOT.jar?raw=true
openhab> list -s | grep shelly
288 x Active x  80 x 4.2.0.202404071245     x org.openhab.binding.shelly

Unfortunately, device#accumulatedWTotal and device#accumulatedReturned do not work - I’ll have to look at that again.

now i change to current dev

304 x Active x  80 x 4.2.0.202404071245     x openHAB Add-ons :: Bundles :: Shelly Binding

but the phase 3 is still NULL

{channel="shelly:shellypro3em:PowerMeterMain:meter3#currentWatts"}

so data em1:2 is not availabe

I updated the DEV build to include the following fixes

  • #16736 BLU HT - sensor channels missing @Simon_B @Larsen
  • #16734 Range Extender Support is enabled by default
  • #16542 Wong model for Shelly Plus 10V
  • #16709 Shelly TRV: decimal place of target temperature is cut off @scheuerer @Larsen :white_check_mark:
  • #16735 Info events are sent to the alarm channel
  • #16655 Devices cannot be added via DNS anymore
  • #16724 Addon channels not discovered when in cover mode with Shelly Plus 2PM
  • #16750 Shelly Pro 3EM shows only 1 meter instead of 3 @MOS @eidelsburger

please verify and report results

3 Likes

The Shelly TRV works perfectly now: target values with decimal place are correctly transferred in both directions. Many Thanks for this great binding.

1 Like

you got the early bird verified award :wink:

1 Like

Hi all

Just installed the beta version today, posted a question regarding the Shelly Pro 3EM here.
I see the beta has three new channels (device@accumulatedWatts, accumulatedWTotal and accumulatedReturned) but I couldn’t figure out how to calculate the total kWh for each phase or in total.

Anyone managed to do that?

It works, with 0,5 degrees steps……

I’ve started persisting various values, DeviceAcumulatedReturned, DeviceAccumulatedWTotal, also returnedKWH for all 3 phases. I can’t make sense of it at all. :face_with_spiral_eyes:

Can someone explain what the first two stand for?
And for returnedKWH, I was under the impression that this only makes sense with PV if I feed back to the grid, but in OH I do get values for these channels.
In the Shelly App, the return values are 0 when exporting data to a CSV file.

I’m sure there’s a way to get the total consumption. Only then can I calculate the daily / YTD costs. I used to do that with the Homematic power meter and would like to do the same with the 3EM now.

Hi Markus,
thanks for the Binding, actually i cant see any Script provided by OH.

openhab> bundle:list | grep Shell
315 x Resolved x  80 x 4.1.2                  x openHAB Add-ons :: Bundles :: Shelly Binding Gen1+2
316 x Active   x  80 x 4.2.0.202405112307     x openHAB Add-ons :: Bundles :: Shelly Binding

With enabling the BT gateway function, you also need to enable to copy the script to the device in you Thing config.

1 Like

Many Thanks this is the way :slight_smile:

Dear all,
i have installed the new Shelly Mini1G3 is there a plan to implement this device, as i see this is actually not supported?
Regards
Simon

Found a nice script for the total values on GitHub, it conveniently posts the totals to a MQTT topic. Not the ideal solution, but I’m integrating that for the time being.

If anyone can explain how to interpret the DeviceAccumulatedWTotal to achieve the same result, would appreciate it.

See this README, at the bottom it’s explained what information is needed to support new devices.

Many Thanks, i have opened a new issue😀