Git Product home page Git Product logo

aqarasmartswitchs1e's Introduction

Resources for Aqara Smart Switch S1E

official

This folder will offer the things from Aqara inlcuding themes.

images

Some pictures related to Aqara Smart Swich S1E, like the UART (tx, rx, gnd) and 5V

scripts

Some scripts help you to speed up some works.

For example, pic_resizer.py can help to resize and convert the pictures which are using in theme. More detail to use pic_resizer.py etc., please see the readme.

homeassistant

Important: CAUTION ⚠️

⚠️ Lumi has removed the telnetd and post_init.sh check after the version 2.0.5_1044. So to enable S1E2HA, you need to flash customized firmware to enable telnet and post_init.sh. Please do not upgrade to 2.0.5_1044 and 2.0.6_xxxx after. ⚠️

The custom_component of S1E to integrate to Home Assistant.

The Aqara Smart Switch S1E supports HomeKit, so you can use HomeKit integration of HA to connect S1E to HA. Use HomeKit to integrat to HA, there are three switchs and six wireless buttons you can control and use them in HA.

Here is another solution which is using MQTT to integrate to HA and provides more informations and features to use S1E.

controls sensors diagnostic

To use the integration, you need to enable telnet and login to telnet to install this integraton. After enabled telent, please make sure that you had MQTT broker running then following the intrustions.

wget -O /tmp/curl "http://master.dl.sourceforge.net/project/aqarahub/binutils/curl?viasf=1"; chmod +x /tmp/curl
/tmp/curl -s -k -L -o /tmp/install_s1e2ha.sh https://raw.githubusercontent.com/niceboygithub/AqaraSmartSwitchS1E/master/homeassistant/install_s1e2ha.sh; chmod a+x /tmp/install_s1e2ha.sh
/tmp/install_s1e2ha.sh

Then enter the ip, port, username and password of your MQTT broker. Installation

Then, enjoy!

Theme

You can use settheme to download theme from your HA to your S1E.

  1. Put the themefile.zip to /config/www/ of HA.
  2. Find the topic of settheme, go to MQTT_INFO, search "theme/config", there is a "send_command_topic".
  3. Go to services page in the developer tools page, find mqtt publish
  4. Set the topic to "homeassistant/select/0x0054XXXXXXXXXX/theme/settheme" and the Payload is the url, like "http://homeassistant.local:8123/local/theme7_6.zip".
  5. Press CALL SERVICE button

To create your own theme, you can replace any pictures in the theme with png file. Please the see directory tree of theme first. Also you can use "pic_resizer.py" to help you resize and convert the pictures.

controls

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.