Announcement

Collapse
No announcement yet.

Original Plugin for Shelly devices - Intro / Config / Screenshots [No MQTT]

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

    Original Plugin for Shelly devices - Intro / Config / Screenshots [No MQTT]

    My plugins:
    Click image for larger version  Name:	ikea_64.png Views:	0 Size:	2.1 KB ID:	1421180​​
    AK IKEA
    Click image for larger version  Name:	Square64.jpg Views:	0 Size:	2.8 KB ID:	1421181​​
    AKSquare
    Click image for larger version  Name:	Bond64.png Views:	0 Size:	5.1 KB ID:	1421176​​
    AKBond
    Click image for larger version  Name:	Sonoff64.png Views:	0 Size:	5.6 KB ID:	1421182​​
    AKSonoff
    Click image for larger version  Name:	Shelly64.png Views:	0 Size:	6.5 KB ID:	1421184​​
    AKShelly
    Click image for larger version  Name:	gates  - 3.jpg Views:	0 Size:	93.7 KB ID:	1423325
    AKRemootio
    Click image for larger version  Name:	AKEnphaseEnvoy64.png Views:	0 Size:	8.7 KB ID:	1421179​​
    AKEnphaseEnvoy
    Click image for larger version  Name:	AKGoogleCast64.png Views:	0 Size:	1.5 KB ID:	1421178​​
    AKGoogleCast
    Click image for larger version  Name:	AKGoogleCalendar64.png Views:	0 Size:	3.4 KB ID:	1421177​​
    AKGoogleCalendar
    Click image for larger version  Name:	AKSmartDevice64.png Views:	0 Size:	6.0 KB ID:	1421183​​
    AKSmartDevice
    Click image for larger version  Name:	AKHeatmiserNeo64.jpg Views:	0 Size:	2.1 KB ID:	1421185​​
    AKHeatmiserNeo
    Click image for larger version  Name:	AKTracdown500 - New.png Views:	0 Size:	300.3 KB ID:	1423326
    AKTracdown
    .
    .
    Shelly 1/Shelly 1PM Shelly Dimmer Shelly 2.5 Shelly RGBW2

    1 relay switch
    ​Power Monitor relay switch
    Smallest WiFi-operated
    immer in the world
    2 relay switch and roller shutter controller 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:	1317327Click image for larger version  Name:	image_83316.png Views:	978 Size:	120.8 KB ID:	1339680 Click image for larger version  Name:	dimmer_400.png Views:	0 Size:	87.0 KB ID:	1345003 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 Gas Shelly EM SHELLY 3EM Shelly Button1
    A smart gas sensor that can detect
    Natural Gas or Liquefied petroleum gas, monitoring your household’s safety
    Click image for larger version  Name:	shelly_gasCNG_unit.png Views:	0 Size:	332.6 KB ID:	1426393
    WiFi-operated Energy Meter and Contactor Control
    Click image for larger version  Name:	shelly_em_x1_50t.png Views:	0 Size:	239.8 KB ID:	1345004
    The professional 3-phase energy meter.
    2-way consumption: produced and used energy for each phase
    Click image for larger version  Name:	shelly3em-product.png Views:	0 Size:	149.4 KB ID:	1426033
    Click image for larger version  Name:	button1_unit.png Views:	0 Size:	119.9 KB ID:	1414065
    Shelly Bulb Duo Shelly Bulb RGB Shelly Bulb Vintage Shelly HT
    Click image for larger version  Name:	duo_250.png Views:	0 Size:	28.4 KB ID:	1414055 Click image for larger version  Name:	BulbRGB.jpg Views:	0 Size:	13.6 KB ID:	1414064 Click image for larger version  Name:	shelly-vintage-a60.jpg Views:	0 Size:	69.5 KB ID:	1414059 Humidity and temperature sensor
    Click image for larger version  Name:	Shelly-ht_white_black_usb.png Views:	0 Size:	90.8 KB ID:	1414056
    Shelly UNI Implant Shelly i3 Shelly Flood
    Two digital inputs,
    two relay outputs,
    1 ADC input (up to 30V).
    One Wire sensors.
    Click image for larger version  Name:	shelly_uni_x1-1200x1200.jpg Views:	0 Size:	83.2 KB ID:	1426580
    Sensor with 3 inputs
    Click image for larger version  Name:	shelly_i3_x1-1200x1200.jpg Views:	16 Size:	44.0 KB ID:	1426581
    Leakage detector with built-in temperature sensor
    Click image for larger version  Name:	Shelly_Flood.png Views:	0 Size:	166.6 KB ID:	1428214
    .
    Plugin for Shelly automation devices.

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

    Oz Smart Things
    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:	Oz Smart Things.png Views:	3 Size:	18.4 KB ID:	1421717
    Official Shelly Support Resources:
    .
    Screenshots:

    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
    Attached Files

    #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: the main Shelly Config page has 2 sec timer (to detect Shelly status change, i.e. when changing IP address) - which makes it difficult to change the polling interval for the devices. But each individual device config page does not have this issue.


    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 (requires pugin restart)

    * 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:	198 Size:	71.0 KB ID:	1365485 Click image for larger version  Name:	HS_Config.jpg Views:	195 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 3.0.0.57 Added Shelly Button 1

          It receives events from the button (Short Push, Double Push, Triple Push, Long Push):

          Click image for larger version

Name:	ShellyButton1 Screenshot1.png
Views:	141
Size:	27.5 KB
ID:	1411864

          When the event received - after configurable time the state automatically resets - i.e. after 3500 ms in this config:

          Click image for larger version  Name:	ShellyButton1 Config.jpg Views:	0 Size:	48.9 KB ID:	1411863

          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:	1087
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