Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help needed for implementing #2

Open
Giaitzoglou opened this issue Feb 7, 2019 · 3 comments
Open

help needed for implementing #2

Giaitzoglou opened this issue Feb 7, 2019 · 3 comments

Comments

@Giaitzoglou
Copy link

hi beacause i new to programming is it possible to help a litllte bit how to set up the node to control an klikannuit "ac "switch make an example so i can replicate to the next switch say i want to send this AC/A1324/1 (this is how i sent it through rfxcom node )?
thanks in advance
chris

@SergiuToporjinschi
Copy link
Owner

SergiuToporjinschi commented Feb 25, 2019

Hi, Sorry for the late response; I'm not quite used with github
here is an example of my not configured
[{"id":"964c7fd2.0f58a","type":"rf-command","z":"ccef8b12.d9c338","gpioType":"BCM","gpio":"14","repeater":"5","repeaterPause":8064,"initSeq":true,"cmdLength":40,"initTimeHigh":"4117","initTimeLow":"2027","bitLongTime":"676","bitShortTime":"338","x":428,"y":96,"wires":[[]]}]

@SergiuToporjinschi
Copy link
Owner

The thing is that you need to have a string, as input, with the binary code that you want to send.
something like
return {payload: "10000101 00110001 01010010 10000001"};

@SergiuToporjinschi
Copy link
Owner

to send this AC/A1324/1 you have to translate it in binary and you need to know the initialisation sequence. And also the parameters of how the 1s and 0s are represented. for example a position from binary it has to have a specific time length and it has to have a specific time length as low and high to be considered as 1 or as 0;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants