Giter Site home page Giter Site logo

home-assistant-snips.ai-via-node-red's Introduction

Manage mqqt messages produced by snips.ai app with node red.

It currently supports turn_on, turn_off, color and brightness functions. The flows are capable to control more than one entity in a single intent as shown in the demos

Demo of the flows here:

https://www.youtube.com/watch?v=gdfClRixILM&t=3s

Color and dim: https://www.youtube.com/watch?v=kpdakdll3Ac

Two and three entities control: https://www.youtube.com/watch?v=YPdvFDm6lvE&t=6s

Hass_turn_all_off_except: https://www.youtube.com/watch?v=TThgrf7SYZs

Node-Red flows:

The full flow can be downloaded here:

Home_Assistant_via_Node-Red: https://gist.github.com/nikpoz/a054b991579b3dd21df2371858601110

Links to each of the flows here:

RGB_Hass_entities: https://gist.github.com/nikpoz/9a77d251e07242cc9f61b3dde4dabb83

Dim_Hass_entities: https://gist.github.com/nikpoz/8449de34c530f0a81efa85031b4a9b92

TRIPLE_Hass_entity_on/off: https://gist.github.com/nikpoz/58000df888189c41e11a925a19d655bb

Hass_turn_all_off_except: https://gist.github.com/nikpoz/f8cfdb55e0273dd997914bc4362285e1

Link to Snips app. here:

https://console.snips.ai/store/en/skill_Y7YP2w6D1B

COMING SOON

  1. Automation_trigger flow. (Flow to trigger automations)

Demo of the automation_trigger flow here: https://www.youtube.com/watch?v=SnygiXAUe9E&t=3s

home-assistant-snips.ai-via-node-red's People

Contributors

nikpoz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

andergraw

home-assistant-snips.ai-via-node-red's Issues

old Entities still being recalled

Hi There. pretty sure this is more of a snips issue than your app but thought id ask here as you may be able to help.

Ive added my own entity names and deleted yours and then re trained my assistant. However every now and then i get your entity_id's showing up in the payload despite your examples not being there anymore

Example,

In lightturnon1 slot i have a entity name called insideTemp and synomyns of Inside temperature, inside

Training examples are done and assistant has been reloaded to my snips platform.

When asking snips "whats the inside temperature", snips recognises my intent as per screen shot
inside temp

but the actual payload gets delivered with your entity_id of

data: object
entity_id: "light.secret_led_two"

and not insideTemp as expected.

Any tips on cleaning that up at all please ?

PS: I know this isn't a on / off switch.... I have created a addition to your node red flow which takes the entity id from your seperation block, changes the payload and sends it via MQTT to another flow i have

Thanks for any feedback

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.