Announcement

Collapse
No announcement yet.

Plugin for Shelly devices - Intro / Config / Screenshots

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Plugin for Shelly devices - Intro / Config / Screenshots

    .
    Shelly 1 Shelly 1PM Shelly 2.5 Shelly RGBW2
    1 relay switch Power Monitor relay switch 2 relay switch and roller shutter controller Support any 12v or 24v White,
    GB, RGBW led strips
    and 2/24v led bulbs,
    with up to 288W combined power
    Click image for larger version  Name:	shelly1_new_label.png Views:	0 Size:	367.4 KB ID:	1317327 Click image for larger version  Name:	shelly_shelly_1pm.png Views:	0 Size:	120.8 KB ID:	1339680 Click image for larger version  Name:	shelly_25_250.png Views:	0 Size:	28.9 KB ID:	1316863 Click image for larger version  Name:	shelly_rgbw2_300.png Views:	0 Size:	57.5 KB ID:	1339681
    Shelly Dimmer Shelly EM Shelly Bulb Duo Shelly Bulb RGB
    Click image for larger version  Name:	dimmer_400.png Views:	0 Size:	87.0 KB ID:	1345003 WiFi-operated Energy Meter and Contactor ControlClick image for larger version  Name:	shelly_em_x1_50t.png Views:	0 Size:	239.8 KB ID:	1345004 Click image for larger version  Name:	duo_250.png Views:	30 Size:	28.4 KB ID:	1366291 Click image for larger version  Name:	shellyRGB.png Views:	59 Size:	144.0 KB ID:	1368805
    Shelly HT Humidity and temperature sensor
    Click image for larger version  Name:	Shelly-ht_white_black_usb.png Views:	0 Size:	90.8 KB ID:	1368802
    .
    I'm happy to announce my plugin for Shelly automation devices.

    https://shop.homeseer.com/products/a...lug-in-for-hs3

    Shelly is a line of home automation products, very well engineered with very flexible rich configuration options.

    Every device has:
    * Embedded Web server,
    * Wi-Fi control and connectivity,
    * Commands through HTTP and/or UDP protocol.​



    Click image for larger version  Name:	2019-12-07.png Views:	251 Size:	430.7 KB ID:	1345005
    ...
    Click image for larger version  Name:	device_config.jpg Views:	1 Size:	72.8 KB ID:	1365169

  • #2
    Installation / Configuration

    After usual plugin installation procedure the plugin will start scanning for Shelly devices on the WiFi network.

    Note 1: you must use Shelly mobile app to connect devices to the network first.
    Note 2: currently Shelly discovery is slow, so you might have to wait for a while for the device to be discovered and corresponding HS devices created.

    Also I noticed that discovering new device works better if only one device is connected at the time. I'm working with Shelly on fixing these issues.

    If device discovery doesn't work - the Shelly device can be added and configured IP address manually (Green "+" button).

    Click image for larger version  Name:	ConfigAll.PNG Views:	450 Size:	168.9 KB ID:	1339959


    All Shelly devices are listed at AK Shelly => Config Page. Then to go to device config page click on "Device" link. Also same can be achieved directly by clicking on Root device link on HS deviceutility page (i.e. BA8F94.SwitchRoot in screenshot in previous post).

    Main Device configuration is accessible via the "Webpage" link.

    Note: Shelly2.5 (SHSW-25) device can be used in two modes:

    1. "relay" - two independent relay outputs. In this mode the relays are controlled by using Relay.0 and Relay.1 HS devices. The Roller.0 HS device is not used.

    2. "roller" - as a roller/shutter controller. In this mode you should use Roller.0 HS device to control Open/Close/Stop states. The Relay.0 and Relay.1 HS devices are not used. Please read Shelly25 user manual about calibrating the device in "roller" mode.

    On the Device Configuration page you also find ShellySettings and ShellyStatus dumps which show a lot of interesting info the about device.
    I can make any setting/status variable available in HS in either config page or HS device. I.e. I plan to add a HS device for "Firmware Update". Let me know of any requirements.


    Click image for larger version  Name:	device_config_z.jpg Views:	0 Size:	17.7 KB ID:	1365171

    Each device has some specific settings. Most of Shelly devices have (screenshot above):

    * Update - how often the plugin polls Shelly state (in seconds)

    * User/Password - device access credentials if authentication is enabled via mobile app

    * Default State - after power restart, and

    * Button Type - how the button input controls the output state

    [EDIT 24 Feb 2020]

    Implemented btn_off_url and btn_on_url (etc.) setting for Shelly switches to trigger immediate plugin status update when switch status changes.

    This allows to reduce the polling frequency. The URL is generated automatically to use HS JSON interface to force the above Shelly.Control device initiate immediate status polling. Which has some requirements/limitations, i.e.
    1. This require HS JSON interface to be enabled in settings (however should be automatically enabled by the plugin)
    2. Password for Local network should be disabled (if required I could add username/password on request)
    3. Currently the "Action URLs" are read-only for information only, but may be changed to editable if required
    Click image for larger version

Name:	2020-02-24 (1).png
Views:	134
Size:	71.0 KB
ID:	1365485 Click image for larger version

Name:	HS_Config.jpg
Views:	134
Size:	112.8 KB
ID:	1365484

    Comment


    • #3
      Version 1.0.0.1 - Added Shelly RGBW2

      I added support for Shelly RGBW2 - WiFi-enabled 4-channel 12V/24V LED driver, with up to 288W combined power.

      It can control 4 PWM output channels for LED lighting in two modes:

      * as a single RGB+W installation; or
      * as 4 independently controlled output channels (not implemented, let me know if needed)
      .
      Click image for larger version  Name:	rgbw_2.jpg Views:	0 Size:	48.2 KB ID:	1318144 Click image for larger version  Name:	rgbw_led_strip_shelly.png Views:	0 Size:	94.7 KB ID:	1318143
      Click image for larger version  Name:	RGBW2.PNG Views:	0 Size:	208.0 KB ID:	1318137

      Comment


      • #4
        Version 1.0.0.3 - Added Shelly Humidity & Temperature sensor
        Added support for Shelly H&T - Humidity & Temperature sensor with battery life up to 16 months, optional micro UBS power connector.

        Configuration.

        Since the Shelly H&T is battery powered - it's normally sleeping. So to connect the device to HS and for configuration it's important to wake the device by pressing the Wake button.

        Once the device is discovered by HS - you can configure some parameters (see screenshot below) (remember to keep the device awake):
        Click image for larger version  Name:	image_80870.png Views:	4 Size:	90.8 KB ID:	1319196
        1. Temperature units C/F
        2. Temperature threshold - change in temperature which will cause the device to wake up and report to HS (1 - 5 °C)
        3. Humidity threshold - change in humidity which will cause the device to wake up and report to HS (0.5 - 50%)
        4. Sleep period - time interval to wake up the device and report to HS even if temperature/humidity doesn't change (1-24 hrs, on USB power 10 minutes)

        Note: the above settings affect balance between battery life and the data availability, i.e. the less the device wakes up - the longer the battery will last, but the data in HS will be less up-to-date.
        .
        Click image for larger version  Name:	CaptureHnT.PNG Views:	0 Size:	163.4 KB ID:	1319198


        Click image for larger version  Name:	HnTConfig.PNG Views:	0 Size:	106.3 KB ID:	1319197

        Comment


        • #5
          Ver 1.0.0.5 - Fixed Linux version

          Comment


          • #6
            I have just installed your Shelly plugin, but stucked by the plugin won't start. I have tried to reinstall, etc. but nothing seems to work.
            am I missing anything?
            please see attached screenshot.
            Click image for larger version

Name:	image_82407.jpg
Views:	720
Size:	68.8 KB
ID:	1330787

            Comment


            • #7
              Originally posted by Tbinder View Post
              I have just installed your Shelly plugin, but stucked by the plugin won't start. I have tried to reinstall, etc. but nothing seems to work.
              am I missing anything?
              I see you have "Developer Mode" already enabled - can you please check if you get any errors in the DOS window. Often it's mostly .NET version mismatch.

              Comment


              • #8
                alexbk66 Absolutely correct - that was it. Thanks.

                Comment


                • #9
                  Originally posted by Tbinder View Post
                  alexbk66 Absolutely correct - that was it. Thanks.
                  Cool.

                  Comment


                  • #10
                    I just installed the plugin and running the trial to test before purchasing. How do I manually add a shelly device by IP address if it does not discover it. I have my homeseer controller on a different network than my shelly switches so it will not find anything doing a local discovery. When I click on the config page, I do not see any options to manually add and nothing is shown.

                    Comment


                    • #11
                      Originally posted by ehinkle27 View Post
                      How do I manually add a shelly device by IP address if it does not discover it. I have my homeseer controller on a different network than my shelly switches so it will not find anything doing a local discovery.
                      I have this in my feature request list, nobody asked for it so far.

                      I will add this feature - like I did in my GooleCast plugin:

                      Comment


                      • #12
                        Originally posted by ehinkle27 View Post
                        How do I manually add a shelly device by IP address if it does not discover it.
                        I implemented the "Add" button, but need more testing - it's 2:00 AM and need to sleep, so will publish new BETA version tomorrow.

                        Click image for larger version  Name:	AddManually.jpg Views:	0 Size:	26.2 KB ID:	1339545

                        Comment


                        • #13
                          okay, I can test if you need, I currently have two different shelly types the older shelly 1 and the shelly 1 with power meter. I also have the shelly 2 but have not installed any yet.

                          Comment


                          • #14
                            Originally posted by ehinkle27 View Post
                            okay, I can test if you need, I currently have two different shelly types the older shelly 1 and the shelly 1 with power meter. I also have the shelly 2 but have not installed any yet.
                            Version 3.0.0.10 (in Beta section) has the ability to add Shelly devices manually. Please see Adding Shelly devices manually (if mDNS discovery fails) for more details.

                            Let me know how it goes.

                            Comment


                            • #15
                              Okay, the beta seems to be working was able to manually add a shelly 1 and a shelly1 pm.

                              Comment

                              Working...
                              X