Community
OpenEnergyMonitor

Community

Node-Red: register emoncms-server and wunderground

Tags: #<Tag:0x00007f87a92a2488>

Hi

I’ve installed node-red in my EmonPi, using:

bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)

Later, I’ve added node-red-contrib-telegrambot-home to the node-red server.

When I start the node-red server I get this error:

imatge

The log from node-red-log shows:

4 Sep 15:45:30 - [info] Node.js  version: v10.16.3
4 Sep 15:45:30 - [info] Linux 4.14.71-v7+ arm LE
4 Sep 15:45:31 - [info] Loading palette nodes
Wed, 04 Sep 2019 15:45:35 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
In the future, you will have to enable it yourself.
See https://github.com/yagop/node-telegram-bot-api/issues/319. at internal/modules/cjs/loader.js:778:30
4 Sep 15:45:36 - [info] Settings file  : /home/pi/.node-red/settings.js
4 Sep 15:45:36 - [info] Context store  : 'default' [module=memory]
4 Sep 15:45:36 - [info] User directory : /home/pi/.node-red
4 Sep 15:45:36 - [warn] Projects disabled : editorTheme.projects.enabled=false
4 Sep 15:45:36 - [info] Flows file     : /home/pi/.node-red/flows_emonpi.json
4 Sep 15:45:36 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
4 Sep 15:45:36 - [info] Waiting for missing types to be registered:
4 Sep 15:45:36 - [info]  - emoncms-server
4 Sep 15:45:36 - [info]  - wunderground
4 Sep 15:45:36 - [info] Server now running at http://127.0.0.1:1880/

Does anyone know how to register the emoncms-server and wunderground?

Thanks

Have you setup the flow and set the credentials, IP address in the emoncms node?

If this is your fist time with node-red I suggest finding some online tutorials and learning the basics first.

No, I didn’t know it was necessary. I will search some information about it.

It’s my first time, yes. I’d watched some tutorials, but I need a lot of information more.

Thanks!

Hello @poldom,

You might wish to change your user name to something other than your email address as this is a public forum.

I thought the weather wunderground api was no longer in service? Or at least unless you were accessing your own PWS or using a paid service.

Correct.

They did say that they were working on a plan for PWS users
and would pass that info along once the plan was finalized.

More info here: