# Is there any way to copy Tellstick-devices to another setup?

**URL:** <https://discourse.nodered.org/t/is-there-any-way-to-copy-tellstick-devices-to-another-setup/1052>\
**Category:** General\
**Created:** [25 June 2018 10:26 UTC](https://discourse.nodered.org/t/is-there-any-way-to-copy-tellstick-devices-to-another-setup/1052 "2018-06-25T10:26:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mastiff](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Post date:** [25 June 2018 10:26 UTC](https://discourse.nodered.org/t/is-there-any-way-to-copy-tellstick-devices-to-another-setup/1052/1 "2018-06-25T10:26:31Z")

</div>

Simple as that, or difficult as that. I have tried to copy the full node directory under /home/pi/.node-red/node\_modules/node-red-contrib-tellstick but that messed up permissions and I had to uninstall the node and reinstall it. I have tried to find the info whereever I could think of in the system, but nothing. So is there a way?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [25 June 2018 13:46 UTC](https://discourse.nodered.org/t/is-there-any-way-to-copy-tellstick-devices-to-another-setup/1052/2 "2018-06-25T13:46:07Z")

</div>

Copying that folder only copies the node.js dependency module, it wouldn’t copy any Node-RED flow information including settings. Certainly you can copy that to a new Node-RED userDir folder and it should be usable - though obviously, you will have to create a suitable flow for it. If you are getting permissions error, it suggests that you might be copying it between 2 systems that have different user settings. Or possibly that you used sudo or root to do the copy.

---

<div class="post-metadata">

**Author:** ![Mastiff](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Post date:** [25 June 2018 13:59 UTC](https://discourse.nodered.org/t/is-there-any-way-to-copy-tellstick-devices-to-another-setup/1052/3 "2018-06-25T13:59:45Z")

</div>

So that information is actually in the flow? I tried to copy the Tellstick specific flow from one Pi to the other, but the Tellstick controlled devices didn't come along with it. And that made me think that it was in another config directory. I'm talking about this:

 ![bilde](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/45c944a5b69e7cdc61330b47ecf75cc358b786a4.png)

It doesn't come with if I choose to export all flows to the clipboard.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 June 2018 15:31 UTC](https://discourse.nodered.org/t/is-there-any-way-to-copy-tellstick-devices-to-another-setup/1052/4 "2018-06-25T15:31:34Z")

</div>

I would ask the node author, there is a link under Issues on the npm webpage.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [25 June 2018 16:45 UTC](https://discourse.nodered.org/t/is-there-any-way-to-copy-tellstick-devices-to-another-setup/1052/5 "2018-06-25T16:45:50Z")

</div>

> [@Mastiff](#):
>
> So that information is actually in the flow

It is likely to be in a config node.

Hold on, another thought - I use an RFXtrx433E which is a similar kind of device - that has some config **in the device** - e.g. which protocols are active - do you mean that?

---

<div class="post-metadata">

**Author:** ![Mastiff](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Post date:** [25 June 2018 18:35 UTC](https://discourse.nodered.org/t/is-there-any-way-to-copy-tellstick-devices-to-another-setup/1052/6 "2018-06-25T18:35:00Z")

</div>

Colin, I think I’ll have to try that.

TotallyInformation, no I mean switches and so on with device. Tellstick and RFXtrx (which I have a few of myself) are very different. With the RFXtrx you can send any command in a message, but with the Tellstick you have to define every switch and so on as a device, that Node-RED calls. It’s the same with any system you use, like NetHomeServer. You have to define them there too, and they’re stored in a config file somewhere, not on the device. I just can’t find out where they are stored in Node-RED.

---

<div class="post-metadata">

**Author:** ![Mastiff](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Post date:** [25 June 2018 18:37 UTC](https://discourse.nodered.org/t/is-there-any-way-to-copy-tellstick-devices-to-another-setup/1052/7 "2018-06-25T18:37:31Z")

</div>

OK, embarassing… Far down in the documentation the answer lies:

`The way the Tellstick works you have to configure your devices. On Windows and Mac OS X you do this in Telldus Center, on Linux you do this in /etc/tellstick.conf.`

It didn’t occur to me that the config file was explained and opened to regular users like that. 🙂
