Shelly Binding

So I have to update the Shelly Plus Plug S to 1.0beta and then go back to 0.14 (this firmware is installed right now)?
How do I get and install the DEV build? Sorry, I’m not much into those things.

BTW: my Shelly Plug S is running perfectly!

Thanks for the support!

Do you have Shelly Plus Plug?

I’m using 2 Shelly Plug S and 1 Shelly Plus Plug S.
Shelly Plug Plug S:

Shelly Plug S:

I have the same issue but with the Humidity of a Shelly H&T.
Battery level however seems working…

I tried to reconnect it but this also does not help.
Any ideas what I do wrong?
(Issue was also after updating from 4.0.0 to 4.0.0.M3 and i did not set a state description for this item)

Meanwhile I tried two more things:
#1: add 4.0.0-DEV.jar to my ‘add ons’-folder. Before that I removed the binding via openHAB UI. Unfortunately I wasn’t able to see the ‘new’ shelly binding (nothing was shown under ‘Things’ nor ‘Bindings’).

#2: install ‘Shelly Beta with Plus/Pro Support’ from @markus7017 via openHAB UI - didn’t work, I always get the message ‘Installation of add-on marketplace:139554 failed’.

you need to follow readmeBeta

3.4.5-DEV Gen1/Plus/Pro | 4.0.0-DEV Gen1/Plus/Pro | README | READMEbeta
Avdanced Users - Shelly Manager - Bugs/Features - API Doc | Firmware Index - Firmware Archive

Note: The DEV build is always newer than the version in the official Distro or Milestone builds

1 Like

I did everything according your READMEbeta but apperently I’m not getting an ‘Active’ binding but ‘Installed’ only.
Not sure to run ‘openhab-cli clean-cache’ when OH is stopped (terminal is not available on my Synology Diskstation when OH is stopped).

Thanks for the support!

I have updated my Testsystem under Openhabian now to 4.0.0-1 The good news is that it has worked. There is only one problem. All my HT and the HT plus shows me not more the humidity in e.g. 60%. It shows me only “0.6 one” What went wrong during the update?

Temperature value is shown right……

In my productive system under 3.4.4 everything works perfectly….

Addtional to the HT Problem, my logfile tells me also issuse with an Shelly 1PM:

2023-07-25 08:37:10.180 [WARN ] [penhab.core.library.items.NumberItem] - Failed to update item 'ZentralschalterKeller_SchnittletzteMin' because '124.34 W' could not be converted to the item unit 'kWh'

and also an other one, an Plug S:

2023-07-25 08:42:14.023 [WARN ] [penhab.core.library.items.NumberItem] - Failed to update item 'OutdoorCameraSteckdoseBalkon_SchnittletzteMin' because '2.17 W' could not be converted to the item unit 'kWh'
1 Like

I suppose you did not installed the Californium components
do bundle:list on OH console, get binding id
issue
bundle:stop id
bundle:start id
It will show you missing dependencies

1 Like

Thanks for the help. I was just able to update my OH in ‘Container Manager’ (Docker) to 4.0.0 - and it’s working! I was now able to add all my Shelly Plus Plug S without any issues so far.

Again, thanks! Awesome work!

@markus7017 I might discovered a bug or it’s just me again: both Shelly Plus Plug S are not showing the ‘Power Consumption’. Both are returning ‘NULL’ as value. When I analyze the Power Consumption the unit is ‘%unit%’ iso ‘W’.
Both Shelly Plug S are working as expected.

which device, there is no Plug Plug S, we have Shelly Plug-S or Shelly Plus Plug (2nd gen)

Shelly Plus Plug S.

Hi,
yesterday I updated to OH 4 and was hoping that it would have a rather recent version of the binding. But at first glance it misses channels like the accumulated* ones which are not quite recent actually.
In the binding documentation they are referenced though. I’m not sure why they are missing in the thing (Shelly 3EM)? Is there probably something wrong in my setup or is the 4.0.0 binding not up to date?

While I’m in principle happy to run a DEV build I’m wondering a bit about the update strategy in the official package since the DEV build is quite cumbersome for every minor update.

Hi,

I just upgraded to OH 4 Major release and have followinf error in openhab.log:

“2023-07-26 11:25:02.693 [WARN ] [core.thing.internal.ThingManagerImpl] - Failed to normalize configuration for thing ‘shelly:shellymotion:bd33ecc15a’: {thing/channel=Type description shelly:vibration for shelly:shellymotion:bd33ecc15a:sensors#vibration not found, although we checked the presence before.}”

I remember that this error was also in my previos version which was probably M4.

How I can correct this ?

The official package should be up-to-date. All PRs have been merged except the Auth Fix for Plus/Pro. Check the README it it lists the Shelly Plus Mini series or Shelly BLU devices.

Option B: It’s a bug we need to investigate. At least there was no intend to remove the accumulated channels, but I made a change to differ between 3EM, Pro 3EM and Pro EM-50, which have different numbers of meters. I need to check with the 3EM.

Hello,

with the version OH4.0 the thing/item don’t received the target temperature from the Shelly TRV anymore. All other items like battery state or current temperature are not affected.

The target temperature can be changed in OH, the value will transmitted, but changed on the device are not available in OH anymore.

Is that an known issue in the latest OH version or addon version?

I have references to Shelly BLU devices in the README and very sorry for being stupid. The “missing” channels are hidden behind the advanced option. So no issues here.

I have once again the problem where the shellies are not initializing properly.
Only after removing and adding the file multiple times the control channel appears.

@markus7017
Would it be possible to always add the “control” channel if the thing is a *-roller thing?
I think it’s safe to assume that such a thing has a control channel to move the shutter.


Thing   shelly:shellyplus2pm-roller:AAAAAAAAAAAA  "ShellyPlus2PM: Rollladen" @ "Room" [deviceIp="192.168.X.XX"]

Channels after reboot / openhab restart

Channels after removing/adding the file multiple times:

It’s a very annoying bug since 3.3 because I only realize there is an issue when there are shutters which don’t move in the evening.

Hey, i am using a thing file for 2pm+ devices but it is only working if I disable password on the device. are there specific characters not allowed for password? (using special character “!”)

The binding shows it correctly in the web ui of openhab, yet device will not connect and stay red in shelly manager.

edit: never mind, I found the post above mentioning the password option in the binding. Setting the “binding” password to be used with any device works.