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​​​ Click image for larger version  Name:	Square64.jpg Views:	0 Size:	2.8 KB ID:	1421181​​​ Click image for larger version  Name:	Bond64.png Views:	0 Size:	5.1 KB ID:	1421176​​​ Click image for larger version  Name:	Sonoff64.png Views:	0 Size:	5.6 KB ID:	1421182​​​ Click image for larger version  Name:	Shelly128.png Views:	0 Size:	21.5 KB ID:	1459596 ​​​ Click image for larger version  Name:	gates  - 3.jpg Views:	0 Size:	93.7 KB ID:	1423325​​
    AK IKEA AKSquare AKBond AKSonoff AKShelly AKRemootio
    Click image for larger version

Name:	icon2.jpg
Views:	102
Size:	88.2 KB
ID:	1473118 Click image for larger version  Name:	AKEnphaseEnvoy64.png Views:	0 Size:	8.7 KB ID:	1421179​​​ Click image for larger version  Name:	AKGoogleCast64.png Views:	0 Size:	1.5 KB ID:	1421178​​​ Click image for larger version  Name:	HS4500 - Copy.png Views:	0 Size:	32.0 KB ID:	1471331 Click image for larger version  Name:	Quantum128.jpg Views:	0 Size:	11.3 KB ID:	1471332​​ Click image for larger version  Name:	AKHeatmiserNeo64.jpg Views:	0 Size:	2.1 KB ID:	1421185​​​ Click image for larger version  Name:	AKTracdown500 - New.png Views:	0 Size:	300.3 KB ID:	1423326​​
    AKWeather AKEnphaseEnvoy AKGoogleCast AKGoogleCalendar AKSmartDevice AKHeatmiserNeo AKTraccar
    .
    .
    .
    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:	image_80629.png Views:	1971 Size:	367.4 KB ID:	1448085Click image for larger version  Name:	image_83316.png Views:	1235 Size:	120.8 KB ID:	1448098 Click image for larger version  Name:	image_83892.png Views:	1163 Size:	87.0 KB ID:	1448128 Click image for larger version  Name:	shelly_25_250.png Views:	0 Size:	28.9 KB ID:	1316863 Click image for larger version  Name:	image_83317.png Views:	1220 Size:	57.5 KB ID:	1448099
    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:	image_94507.png Views:	260 Size:	332.6 KB ID:	1448195
    WiFi-operated Energy Meter and Contactor Control
    Click image for larger version  Name:	image_83893.png Views:	1162 Size:	239.8 KB ID:	1448129
    The professional 3-phase energy meter.
    2-way consumption: produced and used energy for each phase
    Click image for larger version  Name:	image_94448.png Views:	275 Size:	149.4 KB ID:	1448192
    Click image for larger version  Name:	image_92836.png Views:	354 Size:	119.9 KB ID:	1448189
    Shelly Bulb Duo Shelly Bulb RGB Shelly Bulb Vintage Shelly HT
    Click image for larger version  Name:	image_86774.png Views:	355 Size:	28.4 KB ID:	1448185 Click image for larger version  Name:	image_92835.jpg Views:	364 Size:	13.6 KB ID:	1448188 Click image for larger version  Name:	image_92831.png Views:	361 Size:	69.5 KB ID:	1448187 Humidity and temperature sensor
    Click image for larger version  Name:	image_80870.png Views:	365 Size:	90.8 KB ID:	1448186
    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 - temperature and humidity.
    Click image for larger version  Name:	image_94537.jpg Views:	261 Size:	83.2 KB ID:	1448198
    Sensor with 3 inputs
    Click image for larger version  Name:	image_94539.jpg Views:	262 Size:	44.0 KB ID:	1448199
    Leakage detector with built-in temperature sensor Click image for larger version  Name:	image_94773.png Views:	243 Size:	166.6 KB ID:	1448200

    Click image for larger version  Name:	image_96501.png Views:	83 Size:	188.6 KB ID:	1448204Click image for larger version  Name:	image_96502.png Views:	83 Size:	63.1 KB ID:	1448205
    Shelly Motion
    Always connected Wi-Fi Motion Sensor with over 1 year battery life Click image for larger version  Name:	shelly-motion.png Views:	0 Size:	49.5 KB ID:	1455321
    .
    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:	image_93885.png Views:	297 Size:	18.4 KB ID:	1448191
    Official Shelly Support Resources:
    .
    Screenshots:
    .
    Click image for larger version  Name:	image_97715.jpg Views:	8 Size:	135.9 KB ID:	1448211
    Click image for larger version  Name:	image_97645.jpg Views:	17 Size:	207.7 KB ID:	1448208
    Click image for larger version  Name:	image_97646.jpg Views:	17 Size:	74.6 KB ID:	1448209
    ...

    #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: Shelly Motion is in auto discovery mode only one minute after device reboot, so to add ShellyMotion to HS automatically please reboot the sensor (via mobile app or web app)

    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:	image_98612.jpg Views:	0 Size:	49.1 KB ID:	1468177 Click image for larger version  Name:	H&T.png Views:	0 Size:	32.2 KB ID:	1468176
    ​​

    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


    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 ("No Password Required for Local (same subnet) Login" not checked) - username/password should be also set on the plugin settings 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:	1448473

    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:	image_80744.jpg
Views:	1771
Size:	48.2 KB
ID:	1448214 Click image for larger version

Name:	rgbw_led_strip_shelly.png
Views:	270
Size:	94.7 KB
ID:	1448474
      Click image for larger version

Name:	image_80741.png
Views:	1784
Size:	208.0 KB
ID:	1448212

      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:	1791
Size:	90.8 KB
ID:	1448215
        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:	image_80872.png
Views:	1739
Size:	163.4 KB
ID:	1448217


        Click image for larger version

Name:	image_80871.png
Views:	1742
Size:	106.3 KB
ID:	1448216

        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:	image_92507.png
Views:	591
Size:	27.5 KB
ID:	1448247

          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:	image_92506.jpg
Views:	583
Size:	48.9 KB
ID:	1448246

          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:	1526
Size:	68.8 KB
ID:	1448218

            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:	image_83305.jpg
Views:	1425
Size:	26.2 KB
ID:	1448220

                        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