Wifi switch home assistant

Wifi switch home assistant

Виртуальный switch управления кон … от admin Есть у меня вот такой девайс в HA, который собственно управляет мо … Читать далее 11 месяцев назад

Виртуальный switch управления кон … от admin Есть у меня вот такой девайс в HA, который собственно управляет мо … Читать далее 11 месяцев назад

Резервное копирование снапшотов с … от admin Наверно самое оптимальное и более удобное резервное копирование ну … Читать далее 2 года назад

Последние сообщения на форуме

Виртуальный switch управления кон … от admin Есть у меня вот такой девайс в HA, который собственно управляет мо … Читать далее 11 месяцев назад

Виртуальный switch управления кон … от admin Есть у меня вот такой девайс в HA, который собственно управляет мо … Читать далее 11 месяцев назад

Резервное копирование снапшотов с … от admin Наверно самое оптимальное и более удобное резервное копирование ну … Читать далее 2 года назад

Свежие комментарии

  • admin к записи Тестируем Zigbee 4 канальное реле от modkam. Использование для гаражных ворот импульса.
  • Юрий к записи Тестируем Zigbee 4 канальное реле от modkam. Использование для гаражных ворот импульса.
  • Михаил к записи Управление протечкой в доме. Практическая реализация и рекомендации
  • Дмитрий к записи Сказ о том как я пытался починить Xiaomi Soocas X3
  • Arseniy к записи Прошиваем ESP32 на прошивку от Tasmota
  • Arsen к записи Прошиваем ESP32 на прошивку от Tasmota
  • Сергей к записи Строим видеонаблюдение в частном доме. Выбор оборудования. Часть 1
  • Егор к записи Добавление Tuya Wireless switch with 4 buttons (Zigbee) в Home Assistant
  • Владимир к записи Строим видеонаблюдение в частном доме. Видеоаналитика в дом. Часть 2
  • Sereja к записи Добавляем в умный дом wifi энергомер ZMAI-90 с подключением в Home Assistant по MQTT

Рубрики

  • Aqara (3)
  • Domoticz (23)
    • Сценарии (13)
    • Hacs (4)
    • Lovelace (10)
    • Mqtt (12)
    • Автоматизация (17)
    • Безопасность (15)
    • Кастомизация (18)
    • Освещение (1)
    • Энергомониторинг (4)
    • Сценарии (1)
    • Аксессуары (1)
    • Zyxel Keenetic (5)
    • Все для животных (8)
    • Некачественный товар (4)

    Источник

    VeSync

    The vesync integration enables you to control smart switches and outlets connected to the VeSync App.

    The devices must be added to the VeSync App before this integration can discover them.

    The following platforms are supported:

    Supported Devices

    This integration supports devices controllable by the VeSync App. The following devices are supported by this integration:

    Bulbs

    • Etekcity WiFi Dimmable LED Bulb (ESL100)
    • Etekcity WiFi Dimmable and Tunable White LED Bulb (ESL100CW)

    Wall Switches

    • Etekcity In Wall Smart Switch (EWSL01-USA)
    • Etekcity Wifi Dimmer Switch (ESD16)
    • Etekcity Wifi Dimmer Switch (ESWD16)

    Outlet Plugs

    • Etekcity 7 Amp US outlet — ESW01-USA (Round)
    • Etekcity 10 Amp US outlet — ESW10-USA (Round)
    • Etekcity 10 Amp EU outlet — ESW10-EU (Round)
    • Etekcity 15 Amp US outlet — ESW15-USA (Rectangular)
    • Etekcity 2 Plug Outdoor Outlet — ESO15-TB

    Fans

    • Core 200S: Smart True HEPA Air Purifier
    • Core 300S: Smart True HEPA Air Purifier
    • Core 400S: Smart True HEPA Air Purifier
    • Core 600S: Smart True HEPA Air Purifier
    • LEVOIT Smart Wifi Air Purifier (LV-PUR131S)

    Prerequisite

    Before you can use this integration, all devices must be registered with the VeSync App. Once registration is complete, continue with the steps described in the configuration section below.

    Configuration

    Adding VeSync to your Home Assistant instance can be done via the user interface, by using this My button:

    If the above My button doesn’t work, you can also perform the following steps manually:

    • Browse to your Home Assistant instance.
    • Go to Settings > Devices & Services.
    • In the bottom right corner, select the Add Integration button.
    • From the list, select VeSync.
    • Follow the instructions on screen to complete the setup.

    Services

    Power & Energy Sensors

    Many VeSync outlets support power & energy monitoring. This data is exposed as sensor entities alongside the outlet itself. Note that prior versions of the integration exposed these as state attributes on the outlet switch entity.

    Sensor Description Example
    sensor._current_power The present power consumption of the switch in watts 7.89
    sensor._energy_use_today The kilowatt hours used by the switch during the previous 24 hours 0.12
    sensor._voltage The present voltage of the switch in Volts as a diagnostic sensor 120.32
    sensor._energy_use_weekly Total energy usage for week starting from Monday 12:01AM in kWh 14.74
    sensor._energy_use_monthly Total energy usage for month starting from 12:01AM on the first in kWh 52.30
    sensor._energy_use_yearly Total energy usage for year start from 12:01AM on Jan 1 in kWh 105.25

    Fan & Air Quality Sensors

    All VeSync air purifiers expose the remaining filter life, and some also expose air quality measurements.

    Sensor Description Example
    filter_life Remaining percentage of the filter. (LV-PUR131S, Core200S/300s/400s/600s) 142
    air_quality The current air quality reading. (LV-PUR131S, Core300s/400s/600s) excellent
    pm2_5 The current air quality reading. (Core300s/400s/600s) 8

    Fan Exposed Attributes

    VeSync air purifiers will expose the following details depending on the features supported by the model:

    Attribute Description Example
    mode The current mode the device is in. (LV-PUR131S, Core200S/300s/400s) manual
    speed The current speed setting of the device. (LV-PUR131S, Core200S/300s/400s) high
    speed_list The available list of speeds supported by the device. (LV-PUR131S) high
    active_time The number of seconds since the device has been in a non-off mode. (LV-PUR131S) 1598
    screen_status The current status of the screen. (LV-PUR131S) on
    night_light The current status of the night light (Core200S/Core400s) off
    child_lock The current status of the child lock (Core200S/300s/400s) off

    Extracting Attribute data

    In order to get the attributes readings from supported devices, such as voltage from outlets or fan attributes, you’ll have to create a template sensor.

    In the example below, change all of the vesync_switch ‘s to match your device’s entity ID.

    template: - sensor: - name: "Vesync voltage" state: " state_attr('switch.vesync_switch', 'voltage') | float(default=0) >>" unit_of_measurement: "V" 

    Help us to improve our documentation

    The VeSync integration was introduced in Home Assistant 0.66, and it’s used by 1.2% of the active installations. Its IoT class is Cloud Polling.

    Categories

    On this page

    Источник

    myStrom

    There is currently support for the following device types within Home Assistant:

    Lights and switches

    The myStrom integration allows you to control your myStrom Wi-Fi Bulbs and Wi-Fi Switches. Make sure that you have enabled the REST API under Advanced in the web frontend of the switch.

    • Switch CH v1 (101)
    • Bulb (102)
    • LED strip (105)
    • Switch CH v2 (106)
    • Switch EU (107)

    Configuration

    Adding myStrom to your Home Assistant instance can be done via the user interface, by using this My button:

    If the above My button doesn’t work, you can also perform the following steps manually:

    • Browse to your Home Assistant instance.
    • Go to Settings > Devices & Services.
    • In the bottom right corner, select the Add Integration button.
    • From the list, select myStrom.
    • Follow the instructions on screen to complete the setup.

    Check if you are able to access the light located at IP_ADRRESS . The details about your light is provided as a JSON response.

    $ curl http://[IP_ADDRESS]/api/v1/device/[MAC_ADDRESS]  "MAC_ADDRESS":  "type": "rgblamp", "battery": false, "reachable": true, "meshroot": false, "on": true, "color": "0;0;100", "mode": "hsv", "ramp": 409, "power": 5.1, "fw_version": "2.25" > > 

    Binary Sensor

    The mystrom binary sensor platform allows you to use myStrom Wifi Buttons with Home Assistant. The myStrom Wifi Buttons support three and the myStrom WiFi Button + four different push pattern:

    • single : Short push (approx. 1/2 seconds)
    • double : 2x sequential short pushes (within 2 seconds)
    • long : Long push (approx. 2 seconds)
    • touch : Touch of the button’s surface (only affective for WiFi Button +)

    The first usage of the pattern will create the binary sensor for the pattern. If the WiFi Button is pushed one time then a binary sensor for the single pattern will be created. The same applies for the other patterns. With the second usage of the pattern the binary sensors become fully functional.

    The buttons will give you feedback with its built-in LED:

    • white then green: Pattern was submitted successfully
    • white then red: There is a problem with the communication

    To use your myStrom WiFi Button in your installation, add the following to your configuration.yaml file:

    # Example configuration.yaml entry binary_sensor: - platform: mystrom 

    The firmware version 2.56 doesn’t support TLS/SSL. This means that you are only able to use the WiFi Buttons if you are using plain-text communication between Home Assistant and the clients/entities.

    Setup of myStrom Buttons

    You need to configure every button to make it work with Home Assistant. First connect the Wifi Buttons to your wireless network. Once a button is connected you have three minutes to set the actions for the push patterns if the button is not charging. The fastest way is to use curl . Check the documentation of the WiFi Button for further details about the implementation ( http:// is replaced by get:// or post:// ). action is the name of the corresponding push pattern (see above).

    The endpoint that is receiving the data is http://[IP address Home Assistant]:8123/api/mystrom . If you have set an api_password then this needs to be included in the URL.

    curl -d "[action]=get://[IP address Home Assistant]:8123/api/mystrom?api_password%3D[api_password]%26[action]%3D[ID of the button]" \ http://[IP address of the button]/api/v1/device/[MAC address of the button] 
    $ curl -d "[action]=get://[IP address Home Assistant]:8123/api/mystrom?[action]%3D[ID of the button]" \ http://[IP address of the button]/api/v1/device/[MAC address of the button]  "[MAC address of the button]":  "type": "button", "battery": true, "reachable": true, "meshroot": false, "charge": true, "voltage": 4.292, "fw_version": "2.56", "single": "get://[IP address Home Assistant]:8123/api/mystrom?single=[id of the button]", "double": "", "long": "", "touch": "" > > 

    A complete command to set the URL for a double click could look like the example below:

    curl -d "double=get://192.168.1.3:8123/api/mystrom?double%3DButton1" http://192.168.1.12/api/v1/device/4D5F5D5CD553 
    curl -d "double=get://192.168.1.3:8123/api/mystrom?api_password%3Dapi_password%26double%3DButton1" http://192.168.1.12/api/v1/device/4D5F5D5CD553 

    The command-line tool mystrom is a helper to configure myStrom buttons.

    If you have set login_attempts_threshold and forget to include the api_password for an action and that action is triggered then after the threshold is reached will the button no longer work because it is banned. See IP filtering and banning about how to revert the banning.

    Help us to improve our documentation

    The myStrom integration was introduced in Home Assistant 0.43, and it’s used by 332 active installations. Its IoT class is Local Polling.

    Источник

    Читайте также:  Невозможно подключить сеть wifi
Оцените статью
Adblock
detector