japikas / node-red-contrib-tellstick

Node-RED input node for Tellstick Duo
Apache License 2.0
3 stars 0 forks source link

Sending with Tellstick #2

Open kleinerzwerg opened 9 years ago

kleinerzwerg commented 9 years ago

Can you add the possibility of sending with the tellstick?

japikas commented 9 years ago

Hi, There is another better maintained project which supports sending:

https://github.com/emiloberg/node-red-contrib-telldus

I'm using it also by myself instead of my own code.

BR. Jaakko

kleinerzwerg kirjoitti 2015-04-09 00:25:

Can you add the possibility of sending with the tellstick?

Reply to this email directly or view it on GitHub [1].

*

Links:

[1] https://github.com/japikas/node-red-contrib-tellstick/issues/2

kleinerzwerg commented 9 years ago

Hi, thank you for qour quick answer. I will test the other code. BR.

kleinerzwerg commented 9 years ago

Hi, sorry for asking you again, but maybe you can help me. I'm very new to all of this stuff. Could it be, that the project you suggest (node-red-contrib-telldus) is "offline"? I can't install it with "npm install node-red-contrib-telldus" and get the error "not in npm registry". BR.

japikas commented 9 years ago

Yes, the project is not yet publicly availabe in npm registry.

Here are my instructions:


Tellstick installation

Instructions: https://github.com/emiloberg/node-red-contrib-telldus

First install telldus-core driver:

Add line deb http://download.telldus.com/debian/ stable main to file /etc/apt/sources.list

$ wget -q http://download.telldus.se/debian/telldus-public.key -O- | sudo apt-key add -

$ sudo apt-get update

$ sudo apt-get install telldus-core libtelldus-core-dev

Then install telldus node.

$ cd /usr/lib/node_modules/node-red/

$ sudo npm install -g node-gyp

$ sudo npm install telldus

$ sudo npm install -g is_js

Manually install from github, as node-red-contrib-telldus is not in npm registry yet. Note: this phase differs from original instructions.

$ cd node_modules/

$ sudo git clone https://github.com/emiloberg/node-red-contrib-telldus.git

$ sudo reboot

BR Jaakko

kleinerzwerg kirjoitti 2015-04-10 08:14:

Hi, sorry for asking you again, but maybe you can help me. I'm very new to all of this stuff. Could it be, that the project you suggest (node-red-contrib-telldus) is "offline"? I can't install it with "npm install node-red-contrib-telldus" and get the error "not in npm registry". BR.

Reply to this email directly or view it on GitHub [1].

*

Links:

[1] https://github.com/japikas/node-red-contrib-tellstick/issues/2#issuecomment-91431068

emiloberg commented 9 years ago

:thumbsup:

japikas commented 9 years ago

I'm already using your code instead of my own, and have instructed people who ask about my code to use your version instead.

My company teaches programming in schools with Node-RED and we're using your node in some of the exercises like greenhouse control etc.

How shall we transfer the namespace?

Emil Öberg kirjoitti 2015-04-10 12:18:

Reply to this email directly or view it on GitHub [1].

*

Links:

[1] https://github.com/japikas/node-red-contrib-tellstick/issues/2#issuecomment-91490497

emiloberg commented 9 years ago

Writing a mail to you as we speak!

kleinerzwerg commented 9 years ago

Thank You for the instructions. Now it works, except one "little" problem: i only have the input node but missing the output node. :-/

japikas commented 9 years ago

Are you missing is_js package?

BR Jaakko

kleinerzwerg kirjoitti 2015-04-11 21:18:

Thank You for the instructions. Now it works, except one "little" problem: i only have the input node but missing the output node. :-/

Reply to this email directly or view it on GitHub [1].

*

Links:

[1] https://github.com/japikas/node-red-contrib-tellstick/issues/2#issuecomment-91894885

kleinerzwerg commented 9 years ago

No, i follow your instructions.

kleinerzwerg commented 9 years ago

ok, now its fine. is_js package was not in node-red folder.