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

Credential type 'telldus-gateway' is not registered #1

Open
Nauticno opened this issue Apr 2, 2018 · 13 comments
Open

Credential type 'telldus-gateway' is not registered #1

Nauticno opened this issue Apr 2, 2018 · 13 comments

Comments

@Nauticno
Copy link

Nauticno commented Apr 2, 2018

I have trouble with registration. I have my Node-RED installed in a container in docker. I am able to get key when I am in the container. So there should not be a networking issue.

Trying by adding my ip for TellStick ZNet Lite v2. It will not work. What am I doing wrong?

image

@perbrage
Copy link
Owner

perbrage commented Apr 2, 2018

From your picture, did you click the button next to your filled in IP?

Also, make sure you have the latest version of this npm, there was perviously some bugs regarding this wizard.

@Nauticno
Copy link
Author

Nauticno commented Apr 2, 2018

Yes, I did click the button next to IP. Nothing happens. I have now started Nodered from scratch and installed
image

And then I run:
node-red@70a54662ea16:~$ npm install node-red-contrib-telldus-zwave-v2-local
[email protected] /usr/src/node-red
-- [email protected] +-- [email protected] | -- [email protected]
`-- [email protected]

@Nauticno
Copy link
Author

Nauticno commented Apr 2, 2018

I'm using Google Chrome. Could it be something with the browser?

@Nauticno
Copy link
Author

Nauticno commented Apr 2, 2018

I also have another problem. The Telldus palette disapear. Is this a problem with Telldus palette or is this a NodeRED trouble?

@perbrage
Copy link
Owner

perbrage commented Apr 3, 2018

1.3.3 is the latest version and I have verified the nodes UI/Wizard works with Google Chrome.

I am not sure I understand what you mean with the Telldus palette disappear? But if you have installed the nodes properly (which I assume you have, since you are posting pictures from them) they should not disappear.

Have you tried using the palette to install this package, instead of using npm? Also, if you are on a later NodeRed and have turned on projects (done in settings file), you might need to install them to the project as well as to your NodeRed installation.

@Nauticno
Copy link
Author

Nauticno commented Apr 3, 2018

Hmm. I'm using Docker and Node red is in a container. Can that be a problem?
I have recreatede my Node red container and just added the palett. What is suppose to happen when I push the button? Why is nothing happening? I user NodeRED version 0.18.4, no project (as I know of)

@perbrage
Copy link
Owner

perbrage commented Apr 3, 2018

When you push the button, you should either get a message as status right under the textbox telling you that it can not find the telldus gateway, or if the telldus gateway was found, part 2 of the wizard will be lit up with an authorize button. You should get either of these when clicking the button.

I am running 0.18.4 as well!

Are you sure you can reach the telldus gateway from within the docker container? Can you ping it? Can you use other network-related nodes?

@perbrage
Copy link
Owner

perbrage commented Apr 3, 2018

You could also try to use the link in the tip box at the bottom and manually curl a access token and fill that in with the IP in the two bottom textboxes to see if that works.

@Nauticno
Copy link
Author

I am sure that docker container can access telldus. When I use curl I get tokens. I have put them in the textboxes with no luck. Is there a logfile I can view?

@Nauticno
Copy link
Author

I'm getting :
msg : string[51]
"Credential type 'telldus-gateway' is not registered"

@perbrage
Copy link
Owner

As far as I know, that error message is coming from NodeRED, not the telldus contrib. It basically says NodeRED can not find all parts of the contrib. "telldus-gateway" is the configuration node, which would be created by using and completing the dialog you originally posted above.

My best guess is that something has gone wrong in the installation, or while updating the lib. Either it failed installing properly, or you have mixed versions in your flows. I noticed that references to old nodes sometimes gets stuck in flows, and I have to manually edit the saved files to completely remove old versions. Seems like a bug in NodeRED.

I haven't really added logging to these nodes yet, but that could be something for the next version.

@perbrage
Copy link
Owner

Depending on the your configuration, but you will find the flow files stored in ~/.node-red/ or ~/.node-red/projects//

They are named something like.. flows_.json

Uninstall the telldus contrib, edit these files and remove anything left regarding the telldus contrib. Restart and try to reinstall the contrib.

@perbrage
Copy link
Owner

Closing this soon as I haven't heard anything in a long time

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