Openhab shelly i4dc addon channels missing

Hi all,

I connected Shelly Plus Add-On to Shelly Plus i4 DC (FW: 1.0.0-gaec0744).
The device has been discovered by the binding but no Add-On channels, like sensors, configured to the thing (i4DC’s ones are OK). However, OH Shelly Binding docs completely missing this scenario - attaching Shelly Plus Add-On to Shelly Plus i4 DC. So, my question is if this is something that could be easily added as supported binding feature? Also, how can I create manually the channels … if possible at all or this could be supported via binding only?

I’m new to the Shelly items and apologise if my questions are stupid.
10x

Edited: I’m running OH v 4.0.2

You better ask this question in this thread

This is where the maintainer answers questions

Thanks @Oliver2, as recommended I created new post.

Hi, have you solved the problem with the temperature probes on ADDON? because I also have the same problem…thank you

@Riccardo1979,

After waiting couple of months for the binding to get supported the i4DC I decided to use http binding to retrieve the values out of the addon.

http.items

...
Number DS18B20_Temp1 "Temp [%.1f °]"  <temperature> (gTempSensors) ["Measurement", "Temperature"] {
    channel="http:url:<id>:http101"
}
Number Power_Supply "Power Supply [%.1f V]" <energy> (Sensors) ["Measurement", "Voltage"] {
    channel="http:url:<id>:http100"
}
...

http thing sample (configured via UI)

UID: http:url:<id>
label: Shelly AddOn HTTP
thingTypeUID: http:url
configuration:
  authMode: DIGEST
  ignoreSSLErrors: true
  baseURL: http://<shelly_ip>
  password: '<your_shelly_password>'
  delay: 5
  stateMethod: GET
  refresh: 60
  commandMethod: GET
  contentType: text/plain
  timeout: 9000
  bufferSize: 2048
  username: <shelly_login_user>
channels:
  - id: http101
    channelTypeUID: http:number
    label: AddOn Channel 101
    description: http:shelly:sensor:temperature:101
    configuration:
      mode: READONLY
      stateExtension: /rpc/Temperature.GetStatus?id=101
      stateTransformation: REGEX:.*\"tC\":(\d*.\d*).*
  - id: http100
    channelTypeUID: http:number
    label: AddOn Channel 100
    description: Get Shelly Voltage via HTTP
    configuration:
      mode: READONLY
      stateExtension: /rpc/Voltmeter.GetStatus?id=100
      stateTransformation: REGEX:.*\"voltage\":(\d*.\d*).*
...

Not sure but I think the shelly binding still doesn’t support i4dc with addon.

1 Like

Hello Dimitar,
I have been using several temperature sensors via Shelly 1 add-ons for several years. All integrated without any problems via the Shelly Binding. With the new Shelly Plus1 PM with addon, I don’t see any temperature values either. I spended hours to test and update and finally I coppied your code to the http thing and I was ready within 5 Minutes.
Looking out of the box can be quite helpful.
Thanks for your solution!

UID: http:url:test
label: Shelly temp http
thingTypeUID: http:url
configuration:
  authMode: DIGEST
  ignoreSSLErrors: true
  baseURL: http://xxx.yyy.zzz.iii
  delay: 5
  stateMethod: GET
  refresh: 60
  commandMethod: GET
  contentType: text/plain
  timeout: 9000
  bufferSize: 2048
channels:
  - id: http101
    channelTypeUID: http:number
    label: AddOn Channel 101
    description: http:shelly:sensor:temperature:101
    configuration:
      mode: READONLY
      stateExtension: /rpc/Temperature.GetStatus?id=101
      stateTransformation: REGEX:.*\"tC\":(\d*.\d*).*
  - id: http102
    channelTypeUID: http:number
    label: AddOn Channel 102
    description: http:shelly:sensor:temperature:102
    configuration:
      mode: READONLY
      stateExtension: /rpc/Temperature.GetStatus?id=102
      stateTransformation: REGEX:.*\"tC\":(\d*.\d*).*
  - id: http103
    channelTypeUID: http:number
    label: AddOn Channel 103
    description: http:shelly:sensor:temperature:103
    configuration:
      mode: READONLY
      stateExtension: /rpc/Temperature.GetStatus?id=103
      stateTransformation: REGEX:.*\"tC\":(\d*.\d*).*
  - id: http100
    channelTypeUID: http:number
    label: AddOn Channel 100
    description: http:shelly:sensor:temperature:100
    configuration:
      mode: READONLY
      stateExtension: /rpc/Temperature.GetStatus?id=100
      stateTransformation: REGEX:.*\"tC\":(\d*.\d*).*