GithubHelp home page GithubHelp logo

isabella232 / snips-app-sht31 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from snipsco/snips-app-sht31

0.0 0.0 0.0 25 KB

Get temperature and humidity from SHT31 (I2C protocol) by using your voice.

License: MIT License

Shell 6.89% Python 93.11%

snips-app-sht31's Introduction

snips-app-sht31

MIT License

Action code for the Temperature & Humidity [SHT31] bundle. It can reply you the current temperature and humidity.

Usage

"Hey snips, please tell me the current temperature?"

"The current temperature is 24.4 degree."

OR

"Hey snips, what's the humidity in the room?"

"The current humidity is 53.25% "

Installation

Install with assistant

  1. Create a Snips account here
  2. Create an English assistant in Snips console
  3. Add APP Temperature & Humidity [SHT31] (Available soon)
  4. Deploy assistant by Sam
  5. (On Pi) Add permission to _snips-skill user to access i2c: sudo usermod -a -G i2c,spi,gpio,audio _snips-skills
  6. (On Pi) Restart snips-skill-server: sudo systemctl restart snips-skill-server
  7. Have fun ;-)

Install only action

sam install actions -g https://github.com/snipsco/snips-app-sht31.git

Configuration

MQTT

Config Description Value Default
mqtt_host MQTT host name <ip address>/<hostname> localhost
mqtt_port MQTT port number <mqtt port> 1883

To make satellite work correctly, please change here

Device Info

Config Description Value Default
site_id Snips device ID Refering to the actual snips.toml default

To make satellite work correctly, please change here

Temperature Unit

Config Description Value Default
if_fahrenheit If convert to fahrenheit value true , false false

Contributing

Please see the Contribution Guidelines.

Copyright

This library is provided by Snips as Open Source software. See LICENSE for more information.

snips-app-sht31's People

Contributors

coorfun avatar

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.