npm WARN enoent ENOENT: no such file or directory, open ‘/var/www/html/emoncms/Modules/package.json’
npm WARN Modules No description
npm WARN Modules No repository field.
npm WARN Modules No README data
npm WARN Modules No license field.
Thank you for you answer,
I have tried
with
npm install node-red-node-emoncms
The program ‘npm’ is currently not installed. You can install it by typing:
apt install npm
Then I installed nmp
after I tried again
npm install node-red-node-emoncms
/var/www/html/emoncms/Modules
└── [email protected]
npm WARN enoent ENOENT: no such file or directory, open ‘/var/www/html/emoncms/Modules/package.json’
npm WARN Modules No description
npm WARN Modules No repository field.
npm WARN Modules No README data
npm WARN Modules No license field.
Yes, but do you have node-red installed?
I’m not talking about about the node-red-node-emoncms node, I’m talking about the software package - node-red. https://nodered.org/
That’s a really old version. If you go to https://nodered.org/ and read how to update it.
Once updated, start node-red, and select ‘Manage Pallette’ from the node-red menu (hamburger top right).
You need to provide much more detail, and explain what you have already tried.
Is emoncms running on both your raspberry pi & your VPS?
Where is node-red installed & running?
I am using an Raspberry local with emonpi sd image
I send via
[[emoncmsorg]]
Type = EmonHubEmoncmsHTTPInterfacer
[[[init_settings]]]
[[[runtimesettings]]]
subchannels = ToEmonCMS, #url = http://localhost/emoncms#uncomment to save on local pi
apikey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
senddata = 1 # Enable sending data to Emoncms.org
sendstatus = 1 # Enable sending WAN IP to Emoncms.org MyIP > Emoncms - myip list
sendinterval= 30 # Bulk send interval to Emoncms.org in seconds
to my VPS and get the values
On the VPS I have now installed emoncms and node-red
I want to use node-red to alert via Mail if one of the note values is to high
I have tried to connect in the Node red via
emoncms and the API key to get the vale of the feed with id 1
But I don’t get anything.
Is there a better way to get on my vps where I have allready the data in emoncms to get it into node-red?