Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Question

Posted (edited)

Here is a link to a set of QAs to control Shelly devices.

Please login or register to see this link.

 

  • It's both gen 1 and gen 2 devices. Gen 2 devices are easier to integrate with the web socket API than the gen 1 where we need to poll the device with regular interval.
  • Battery operated devices are in general a pain to support as they sleep and wake up now and then - which makes polling difficult. So, battery devices are not in focus
  • The QAs support the basic features expected from a device of that QA type so they fit into the fibaro model of handling devices. Extra features like setting timers etc that Shelly support is better handled with the pretty good mobile/cloud Shelly app.

 

There are a lot of devices that are potentially supported but not all have been tested. Please give us feedback here or in

Please login or register to see this link.

 so we can come out with an 1.1 update... ;-)   (gen 1 Shelly 1 and Shelly 1PM have issues but will be fixed in next release)

 

The suite contains 5+1 different QAs that each support different Shelly devices.

 

The devices tested, and devices not tested but we expect they could work are:

 

ShellyMultiDevice v1.0

com.fibaro.deviceController + child devices
Supported Shelly devices:
- Shelly 3EM (Gen1). Note: untested
  Children:
  - com.fibaro.binarySwitch
  - com.fibaro.energyMeter
  - com.fibaro.energyMeter
  - com.fibaro.energyMeter
- Shelly EM (Gen1). Note: tested
  Children:
  - com.fibaro.binarySwitch
  - com.fibaro.energyMeter
  - com.fibaro.energyMeter
- Shelly Plus 2PM (Switch) (Gen2). Note: tested
  Children:
  - com.fibaro.binarySwitch
  - com.fibaro.binarySwitch
- Shelly Pro 2 (Gen2). Note: untested
  Children:
  - com.fibaro.binarySwitch
  - com.fibaro.binarySwitch
- Shelly Pro 2M (Switch) (Gen2). Note: tested
  Children:
  - com.fibaro.binarySwitch
  - com.fibaro.binarySwitch
- Shelly Pro 3 (Gen2). Note: tested
  Children:
  - com.fibaro.binarySwitch
  - com.fibaro.binarySwitch
  - com.fibaro.binarySwitch
- Shelly Pro 4PM (Gen2). Note: tested
  Children:
  - com.fibaro.binarySwitch
  - com.fibaro.binarySwitch
  - com.fibaro.binarySwitch
  - com.fibaro.binarySwitch
Supported HC3 QuickAppMethods:
- <com.fibaro.binarySwitch>:turnOn()
- <com.fibaro.binarySwitch>:turnOff()
- <com.fibaro.binarySwitch>:toggle()

 

ShellySingleColor v1.0

com.fibaro.colorController
Supported Shelly devices:
- Shelly Color Bulb (Gen1). Note: tested, only color mode for now
- Shelly RGBW2 Color (Gen1). Note: tested
Supported HC3 QuickAppMethods:
- QuickApp:turnOn()
- QuickApp:turnOff()
- QuickApp:setValue(val)
- QuickApp:setColor(r,g,b,w)
- QuickApp:startLevelIncrease()
- QuickApp:startLevelDecrease()
- QuickApp:stopLevelChange()

 

ShellySingleCover v1.0

com.fibaro.rollerShutter
Supported Shelly devices:
- Shelly Plus 2PM (Cover) (Gen2). Note: tested
- Shelly Pro 2M (Cover) (Gen2). Note: tested
Supported HC3 QuickAppMethods:
- QuickApp:open()
- QuickApp:close()
- QuickApp:stop()
- QuickApp:setValue(value)

 

ShellySingleDimmer v1.0

com.fibaro.multilevelSwitch
Supported Shelly devices:
- Shelly Dimmer 1 (Gen1). Note: tested
- Shelly Dimmer 2 (Gen1). Note: tested
- Shelly Vintage (Gen1). Note: tested
Supported HC3 QuickAppMethods:
- QuickApp:turnOn()
- QuickApp:turnOff()
- QuickApp:setValue(val)
- QuickApp:startLevelIncrease()
- QuickApp:startLevelDecrease()
- QuickApp:stopLevelChange()

 

ShellySingleSwitch v1.0

com.fibaro.binarySwitch
Supported Shelly devices:
- Shelly 1 (Gen1). Note: untested
- Shelly 1L (Gen1). Note: untested
- Shelly 1PM (Gen1). Note: tested, not working yet...TBD
- Shelly Plus 1 (Gen2). Note: tested
- Shelly Plus 1 PM (Gen2). Note: tested
- Shelly Plus Plug IT (Gen2). Note: untested
- Shelly Plus Plug S (Gen2). Note: tested
- Shelly Plus Plug UK (Gen2). Note: untested
- Shelly Plus Plug US (Gen2). Note: untested
- Shelly Pro 1 (Gen2). Note: tested
- Shelly Pro 1 PM (Gen2). Note: tested

Supported HC3 QuickAppMethods:
- QuickApp:turnOn()
- QuickApp:turnOff()
- QuickApp:toggle()

 

ShellyPlusHT v1.0

com.fibaro.temperatureSensor + com.fibaro.humiditySensor child
Supported Shelly devices:
- Shelly Plus H&T (Gen2). Note: tested, experimental, only wakes up when new data is available
  Children:
  - com.fibaro.temperatureSensor
  - com.fibaro.humiditySensor
Supported HC3 QuickAppMethods:

Edited by jgab
  • Like 10

Recommended Posts

  • 0
Posted

Hi, I am wondering if there is a QuickApp for this device: Shelly GAS AddOn Manipulator. Does anyone know? Thx

  • 0
Posted
On 8/2/2023 at 5:07 PM, jakub.jezek said:

Cool. @jgab is in plan creating QA for getting sensor data, for example energy data from Shelly Pro 3 EM or from SHelly plus H&T?

 

BTW, playing with Energy data from Shelly Pro 3 EM via Modbus. It needs to be enabled via URL, e.g. http://192.168.33.1/rpc/Modbus.SetConfig?config={"enable":true}.

 

Please login or register to see this attachment.

 

Just tried this with Shelly Pro 3EM and working great! Thanks!

 

Just a little thing, on children devices, like "active power phace C" it is not displaying the "W" for watts, but only the value...but working great!

  • 0
Posted
On 4/1/2024 at 2:38 PM, calza said:

Just a little thing, on children devices, like "active power phace C" it is not displaying the "W" for watts, but only the value...but working great!

Hello @calza,

 

Thank you. Yes, it is missing there. Generic modbus QA, that I used was written for us and there is no other development unfortunatelly, so I do not know if I will be able to add units on my own.

  • 0
Posted
On 4/5/2024 at 1:05 PM, jakub.jezek said:

Hello @calza,

 

Thank you. Yes, it is missing there. Generic modbus QA, that I used was written for us and there is no other development unfortunatelly, so I do not know if I will be able to add units on my own.

 

At the moment, it is the only working way i know for gettin datas from my shelly pro 3 em... 

Not sure if Kwh count is correct or multiplied for 100x...i'm testing it a bit.

 

One more thing, i've found that if shelly is not sending datas (disconnected), datas remains the last sent and it is not going to 0.

  • 0
Posted

ok, testing a bit the modbus QA and there's something that looks wrong to me....Phase A, B, C...are showing some values that i cant find on the shelly app, active power looks pretty correct...but the total active energy looks not the correct values... anyone could help?

This seems to be the only way i can use to get datas from my solar power inverter...

 

 

Please login or register to see this attachment.

  • 0
Posted

Hi @calza,

 

I would recommend to use some tools that can read from Modbus, to see if there is issue in QA or if data are gathered correctly. I am using this: 

Please login or register to see this link.

.

 

When I set the QA, I used almost all the data. Naming scheme should be the same.

Modbus used:

  • Please login or register to see this link.

  • Please login or register to see this link.

  • 0
Posted

Hello @jgab

I use the QA to control a Shelly RGBW2. In the variables I set the debug output to false. Still I get an output with every change. What am I doing wrong?

 

Then a second question. If the Shelly is switched off, the QA shows that it is switched on. So the device is never switched off. Is there a specific reason for this that I don't understand?

 

Thanks for help :)

 

Please login or register to see this attachment.

Please login or register to see this attachment.

  • 0
  • Inquirer
  • Posted
    On 7/3/2024 at 10:28 AM, KaWi said:

    Hello @jgab

    I use the QA to control a Shelly RGBW2. In the variables I set the debug output to false. Still I get an output with every change. What am I doing wrong?

     

    Then a second question. If the Shelly is switched off, the QA shows that it is switched on. So the device is never switched off. Is there a specific reason for this that I don't understand?

     

    Thanks for help :)

     

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    It keeps its value but the state of the device is 'off' or false. That is indicated by the black ring. When turned on it will use the current values....

    Could have been done otherwise but I didn't have a device to test with when developed...

    The log variabel only controls system logs - so the user logs you get is the "minimal" log :-) 

    • Thanks 1
    • 0
    Posted

    sorry but in the link not find the quickapp for the H&T.

    • 0
    Posted
    On 8/2/2023 at 6:33 PM, jgab said:

     

    Btw, do you talk modbus with the device from the QA? Setting it in modbus state seems to disable the normal device server(?)

    No, it would give you dimming and startLevelIncrease, startLevelDecrease etc. Like a com.fibaro.multilevelSwitch that is used for dimmable white lights. and you would ge one such child QA per channel.

     

    Please login or register to see this code.

    • 0
    Posted (edited)

    Hi @jgab

    I have a shelly rgbw2 device configured to 4 channels.
    Can we change the channel in the ShellySingleColor_1_0 app?


    It would be nice if you could add a variable for the channel number/ID so I can control each channel individually.

    Edited by Jubka
    • 0
    Posted

    Hi @jgab

    II installed the ShellySingleSwitch v1.0 to control my Shelly Plus Plug S (Gen2). Everything works so far. Only I always get the following debug output:

    [28.11.2024] [09:23:00] [DEBUG] [QUICKAPP1416]: Energy table: 0xaaaaee1d29e0
    [28.11.2024] [09:23:00] [DEBUG] [QUICKAPP1417]: Energy table: 0xaaaadd6ba2a0
    [28.11.2024] [09:24:00] [DEBUG] [QUICKAPP1417]: Energy table: 0xaaaadd6c0270
    [28.11.2024] [09:24:00] [DEBUG] [QUICKAPP1416]: Energy table: 0xaaaaee1d8990
    [28.11.2024] [09:25:00] [DEBUG] [QUICKAPP1417]: Energy table: 0xaaaadd6c6240
    [28.11.2024] [09:25:00] [DEBUG] [QUICKAPP1416]: Energy table: 0xaaaaee1de940
    [28.11.2024] [09:26:00] [DEBUG] [QUICKAPP1416]: Energy table: 0xaaaaee1e48f0
    [28.11.2024] [09:26:00] [DEBUG] [QUICKAPP1417]: Energy table: 0xaaaadd6cc210
    [28.11.2024] [09:27:00] [DEBUG] [QUICKAPP1417]: Energy table: 0xaaaadd6d21e0
    [28.11.2024] [09:27:00] [DEBUG] [QUICKAPP1416]: Energy table: 0xaaaaee1ea8a0
    [28.11.2024] [09:28:00] [DEBUG] [QUICKAPP1417]: Energy table: 0xaaaadd6d81b0
    [28.11.2024] [09:28:00] [DEBUG] [QUICKAPP1416]: Energy table: 0xaaaaee1f0850
    [28.11.2024] [09:29:00] [DEBUG] [QUICKAPP1416]: Energy table: 0xaaaaee1f6800
    [28.11.2024] [09:29:00] [DEBUG] [QUICKAPP1417]: Energy table: 0xaaaadd6de180

     

    The debug comes every minute. Can I turn it off? Because they don't really give a (for me) useful statement

    Thanks 

    KaWi

    • 0
  • Inquirer
  • Posted
    7 hours ago, KaWi said:

    Hi @jgab

    II installed the ShellySingleSwitch v1.0 to control my Shelly Plus Plug S (Gen2). Everything works so far. Only I always get the following debug output:

    [28.11.2024] [09:23:00] [DEBUG] [QUICKAPP1416]: Energy table: 0xaaaaee1d29e0
    [28.11.2024] [09:23:00] [DEBUG] [QUICKAPP1417]: Energy table: 0xaaaadd6ba2a0
    [28.11.2024] [09:24:00] [DEBUG] [QUICKAPP1417]: Energy table: 0xaaaadd6c0270
    [28.11.2024] [09:24:00] [DEBUG] [QUICKAPP1416]: Energy table: 0xaaaaee1d8990
    [28.11.2024] [09:25:00] [DEBUG] [QUICKAPP1417]: Energy table: 0xaaaadd6c6240
    [28.11.2024] [09:25:00] [DEBUG] [QUICKAPP1416]: Energy table: 0xaaaaee1de940
    [28.11.2024] [09:26:00] [DEBUG] [QUICKAPP1416]: Energy table: 0xaaaaee1e48f0
    [28.11.2024] [09:26:00] [DEBUG] [QUICKAPP1417]: Energy table: 0xaaaadd6cc210
    [28.11.2024] [09:27:00] [DEBUG] [QUICKAPP1417]: Energy table: 0xaaaadd6d21e0
    [28.11.2024] [09:27:00] [DEBUG] [QUICKAPP1416]: Energy table: 0xaaaaee1ea8a0
    [28.11.2024] [09:28:00] [DEBUG] [QUICKAPP1417]: Energy table: 0xaaaadd6d81b0
    [28.11.2024] [09:28:00] [DEBUG] [QUICKAPP1416]: Energy table: 0xaaaaee1f0850
    [28.11.2024] [09:29:00] [DEBUG] [QUICKAPP1416]: Energy table: 0xaaaaee1f6800
    [28.11.2024] [09:29:00] [DEBUG] [QUICKAPP1417]: Energy table: 0xaaaadd6de180

     

    The debug comes every minute. Can I turn it off? Because they don't really give a (for me) useful statement

    Thanks 

    KaWi

    No, unfortunately not. There is no flag for turning that log off. In this case it's the plug that reports a new energy reading - and I admit that it's buggy as it is now as it doesn't show  the actual energy reading...
    The people I coded this QA for wanted to protect the source so the QA is encrypted. I'm not sure that I will or can come with an update as I don't have the Shelly stuff around anymore...

    • 0
    Posted

    First of all, thank you for the answer. I don't think the mistake is bad. The QA otherwise works without any problems.

     

    Maybe I'll write to the people for whom they wrote the QA and ask if they lift the protection. Because I don't really understand the point of encrypting a QA if I make it available for free at the same time.

     

    I read a lot of your posts and have learned a lot as a result. And I think that would be the same for many other users.

    • Like 1
    • 0
    Posted

    Does this QA support password protected devices by any chance?

    I had to remove a password from the device to make it discoverable for QA. Don't want to leave it unsecured.

    • 0
  • Inquirer
  • Posted

    No, sorry it doesn't.

    • 0
    Posted (edited)

    Hello! Just for laughs I tried using the ShellyMultiDevice v1.0 with a 

    Please login or register to see this link.

    with the

    Please login or register to see this link.

     and as I expected it crashed.

    I don't know if the following log is of any help. I can send you any more data you require and I can try debugging if you want, but I should let you know that my experience the fibaro platform and coding is very limited.

     

    Please login or register to see this code.

     

    Edited by tsaki
    • 0
    Posted

    I'm trying to download the QA from the page but all files seems to be encrypted. It is downloading .txt file.

     

    Is there any way to get the QA or it moved to paid version? If so, how I can pay?

    • 0
    Posted
    9 hours ago, Lukasz U said:

    It is downloading .txt file.

     

    Maybe just rename the extension to .fqax ?

    • 0
    Posted
    11 hours ago, SmartHomeEddy said:

     

    Maybe just rename the extension to .fqax ?

    The issue was different. 

     

    MacOS and Safari was blocking that extension, on Windows there was no problem at all.

     

    Appreciate your answer

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...