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 12v or 24v RGBW strips
    up to 288W 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:	image_92835.jpg Views:	169 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:	image_80870.png Views:	169 Size:	90.8 KB ID:	1414056
    Shelly UNI Implant Shelly i3 Shelly Flood Shelly Plug/PlugS
    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:	image_94539.jpg Views:	68 Size:	44.0 KB ID:	1426581
    Leakage detector with built-in temperature sensor Click image for larger version  Name:	image_94773.png Views:	158 Size:	166.6 KB ID:	1428211

    Click image for larger version  Name:	shelly_plug_s.png Views:	1 Size:	188.6 KB ID:	1441226Click image for larger version  Name:	plug_us_banner.png Views:	1 Size:	63.1 KB ID:	1441227
    .
    Plugin for Shelly automation devices.

    HS4: https://shop.homeseer.com/products/a...plugin-for-hs4
    HS3: 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:	GridView.jpg
Views:	1197
Size:	135.9 KB
ID:	1447839
    Click image for larger version  Name:	MainScreenshot.jpg Views:	6 Size:	207.7 KB ID:	1447239
    Click image for larger version  Name:	MyDevices.jpg Views:	6 Size:	74.6 KB ID:	1447240
    ...

    #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).
    All Shelly devices are listed at Plugins => AKShelly => MyDevices. Then to go to device config page click on device Name 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).

    Note: Main Device configuration webpage 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.​​
    Click image for larger version  Name:	DeviceConfig.png Views:	0 Size:	55.1 KB ID:	1589602
    Each device has some device 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​
    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. If Password for Local network is enabled - username/password should be also set on the device config page
    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:	DeviceDump.jpg Views:	0 Size:	72.8 KB ID:	1447242

    Comment


      #3
      Note on Shelly devices with digital inputs (Gen1)

      Shelly Gen1 (Not Shelly Plus) devices which have digital inputs (Shelly Button, Shelly IX3, Shelly Uni, Shelly Dimmer, Shelly 1/2.5) require to have controls in HS to receive real time notifications when input state changes.

      These controls don't do anything if you click on them, but they are only needed for the Shelly device to report the state change.

      To verify if it works - see the end of this post.

      Click image for larger version  Name:	image.png Views:	0 Size:	60.9 KB ID:	1589612

      You can check the URLs created for these controls for Shelly devices to trigger the state change.

      If you click on the link in the device settings - it will display the list of URLs:

      Click image for larger version  Name:	image.png Views:	0 Size:	32.9 KB ID:	1589613

      Click image for larger version  Name:	image.png Views:	0 Size:	49.4 KB ID:	1589614

      To verify if real time notifications work, I suggest to set "Update Rate" in HS device settings to something long, i.e. 60 sec, and toggle the input (i.e. press the button on Shelly Button1). Then you should see the HS device state change.

      Without the real time notifications​ the HS device state will still be updated from the regular status poll (i.e. 5 sec default) - but then you may miss the short status change events, i.e. pressing the button briefly.

      Comment


        #4
        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)
        .
        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:	1451
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:	2395
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