Giter Club home page Giter Club logo

Comments (8)

kakopappa avatar kakopappa commented on June 2, 2024

from sinric.

dti1 avatar dti1 commented on June 2, 2024

yes i have the skill and i can see it on my Alexa App

from sinric.

kakopappa avatar kakopappa commented on June 2, 2024

from sinric.

dti1 avatar dti1 commented on June 2, 2024

Worked a treat. i can now see devices with Alexa. i need to set the pins up on my board now but will have to look at that later. thanks loads for the help. will make a visit to your paypal later when i get back

once again thanks for the help 👍

from sinric.

dti1 avatar dti1 commented on June 2, 2024

I've come back to this today and i seem to be stuck again. short version i can now see everything working from a server point of view. serial monitor is saying everything i need it to day E.g "TV on" on command and TV off on command.

i've defined a relay pin below serial print

#define Relay D1

Serial.print("TV on: ");
Serial.println(deviceId);
digitalWrite(Relay, HIGH);

i've set the node up to D1 with power and i can not get the relay to trigger but the relay board has power.

i'm guessing i'm stuck at the pin selection process.

if you can help me with this it would be great.

from sinric.

kakopappa avatar kakopappa commented on June 2, 2024

from sinric.

BoriKing avatar BoriKing commented on June 2, 2024

Have you call the relay in setup ?
E.g:

void setup() {
Serial.begin(115200);
Serial.println();
pinMode(Relay, OUTPUT);
delay(10);
digitalWrite(Relay, LOW);

from sinric.

dti1 avatar dti1 commented on June 2, 2024

Guys You've both nailed it for me

I changed the Low to High and i didnt have the OUTPUT in worked 1st time

Great help lads 🥇

from sinric.

Related Issues (20)

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.