Jump to content

node-red


MWareman

Recommended Posts

Posted

Anyone played with this?

 

Seems to be a system much like IFTTT, but can be run on a Rpi - with a whole bunch of input and output plugins. Built with Node.js.

 

Got it running this morning, now trying to get the websocket input to connect to ISY (without much success so far). I was wondering if anyone has tried or used this before...

Posted

That writeup looks very good. It’s getting the data via periodic calls to the REST API. That has a lot of good utility as well.

 

I’m trying to use the websocket input so node-red can work with real-time events. I have an Apache instance proxying the websocket interface (to allow unauthenticated requests) but it’s still not working. More debugging to do I think...

Posted

I guess searching without the - would have helped.. THANKS!

 

Have the title of the other post with "Node" instead of "Note" would make it easier as well :-P

Posted

That writeup looks very good. It’s getting the data via periodic calls to the REST API. That has a lot of good utility as well.

 

I’m trying to use the websocket input so node-red can work with real-time events. I have an Apache instance proxying the websocket interface (to allow unauthenticated requests) but it’s still not working. More debugging to do I think...

Thanks... Tell me your ideas and I may have already developed something to make it work. Actually my Node RED is doing a lot of different stuffs including bring back to my graphs data I provide to Weather Underground through my AcuRite weather station. In fact I give up on use ISY for charts, all my charts are now on Node RED.

 

Have the title of the other post with "Node" instead of "Note" would make it easier as well :-P

Sorry for my typo there.. I tried to fix it but the forum don't allow to change the topic.

Posted

 

 

Sorry for my typo there.. I tried to fix it but the forum don't allow to change the topic.

After you click on "Edit" you have to click "Use Full Editor" to edit the Topic.

 

Sent from my SM-G955U1 using Tapatalk

Posted

Thanks... Tell me your ideas and I may have already developed something to make it work. Actually my Node RED is doing a lot of different stuffs including bring back to my graphs data I provide to Weather Underground through my AcuRite weather station. In fact I give up on use ISY for charts, all my charts are now on Node RED.

 

Sorry for my typo there.. I tried to fix it but the forum don't allow to change the topic.

 

Hi All,

 

I have loaded up and started working on my first RPi3 with Node-red trying to make a dashboard reading from ISY variables. 

 

I have made it pretty far, got the GET request pulling the data I need and I am trimming it to what format I need. 

 

The big problem I am running into is getting the Dashboard node loaded and running. I am following Sandy Seibert's posting from around 11-02-17 here on the forum.

 

When he said to go into the hamberger stack and load "Manage Palette", it was missing on mine. I finally got it working by updating my version. 

Now I am trying to install node-red-dashboard as he said do and I am getting lots of errors. Attached is the error from the browser client where I tried the install. 

 

I have also tried installing from the console and still get lots of errors. 

 

This shouldn't be this hard, any help? 

 

This is a fresh installed Raspbian "Jesse" OS and patched as of yesterday. 

post-7475-0-11253000-1510670509_thumb.jpg

Posted

Hi All,

 

I have loaded up and started working on my first RPi3 with Node-red trying to make a dashboard reading from ISY variables. 

 

I have made it pretty far, got the GET request pulling the data I need and I am trimming it to what format I need. 

 

The big problem I am running into is getting the Dashboard node loaded and running. I am following Sandy Seibert's posting from around 11-02-17 here on the forum.

 

When he said to go into the hamberger stack and load "Manage Palette", it was missing on mine. I finally got it working by updating my version. 

Now I am trying to install node-red-dashboard as he said do and I am getting lots of errors. Attached is the error from the browser client where I tried the install. 

 

I have also tried installing from the console and still get lots of errors. 

 

This shouldn't be this hard, any help? 

 

This is a fresh installed Raspbian "Jesse" OS and patched as of yesterday. 

If environment variable NODE_ENV is set to production, npm will ignore devDependencieswhen executing npm install.

Please check your env variable.

 

There are tons of possibilities to cause errors on this package, I had some and by following some instructions available on YouTube I could install it without more headache.

 

You can also try npm rebuild

 

Rgs

Sandry Seibert

Posted

If environment variable NODE_ENV is set to production, npm will ignore devDependencieswhen executing npm install.

Please check your env variable.

 

There are tons of possibilities to cause errors on this package, I had some and by following some instructions available on YouTube I could install it without more headache.

 

You can also try npm rebuild

 

Rgs

Sandry Seibert

 

Thanks Sandy,

 

I'll give it another shot. More than one shot, I am sure. (;

Posted

Ran the install sudo apt-get install nodered as shown on Youtube and got the error in the attached picture

post-7475-0-28977600-1510692604_thumb.jpg

 

Looking up solutions, ran the following commands, but still get the same error after rebooting:

 

sudo apt-get clean && sudo apt-get update

 

I also tried npm rebuild and reinstalled, same errors. 

 

Any pointers would be helpful.

 

 

Posted

Got it to work finally. Re ran update-nodejs-and-nodered and now dashboard is installing. :D:D

Odd, can’t find that command. Also cannot install the dashboard...

Posted

I am running Raspian, Jessie version (latest).   Node Red was running fine but the "Pallet Management" selection was missing. I tried many different things from various web sites and finally got the "Pallet Management" button to show up, but I think it was updating the version of Node Red. 

 

Then I could not get the Dashboard add on to install without errors until I ran the command in my prior entry above. I think that was the second time I rand it and rebooted inbetween and afterwards. Then the Dashboard could be added. 

 

Hope this helps. It is a bit like the blind leading the blind as I am just starting out on the RPi. 

Posted

Thanks. I got the Dashboard module to load eventually - but I’m not sure the secret sauce that got it to work... I hate that...

Posted

Thanks. I got the Dashboard module to load eventually - but I’m not sure the secret sauce that got it to work... I hate that...

When I 1st use Linux I got extremely demotivated as all my knowledge are based on MS products. I got some experience in the past year, so if you have any further issue install the TeamViewer client on your Raspberry Pi and I can help you when you wish.

 

I'm dealing with time here, daughter, wife, work, but I'm creating some new stuffs to spread what I've learned before these memories no longer be available.

Posted

When I 1st use Linux I got extremely demotivated as all my knowledge are based on MS products. I got some experience in the past year, so if you have any further issue install the TeamViewer client on your Raspberry Pi and I can help you when you wish.

 

I'm dealing with time here, daughter, wife, work, but I'm creating some new stuffs to spread what I've learned before these memories no longer be available.

 

I am right where you were Sandy. 35+ years MS. But I did get a bit of CPM and Unix on an old DEC PDP11. I am really straining to remember that, but the slight similarity to DOS helps. I seem to be slowly getting better working with the RPi. 

 

Right now I have been struggling most of the day trying to create an ongoing backup log of my dashboard charts and set a way to restore them when Node Red restarts (or crashes). It seems so much more complicated than it should be. 

Posted

I am right where you were Sandy. 35+ years MS. But I did get a bit of CPM and Unix on an old DEC PDP11. I am really straining to remember that, but the slight similarity to DOS helps. I seem to be slowly getting better working with the RPi. 

 

Right now I have been struggling most of the day trying to create an ongoing backup log of my dashboard charts and set a way to restore them when Node Red restarts (or crashes). It seems so much more complicated than it should be. 

I'm using SQL for long therm data storage, however I'm only writhing, not restoring. SQL package is quite straight forward and there are many tutorials available to just copy and paste. The only concern I have is that the dashboard is fixed on range and zoom, I mean, this will be not useful for more than a week.

 

I've not tried the restore from SQL yet just because I'm not really using Rpi, but Node Red installed on Docker at my Synology NAS, so it never crashes and even if I stop the service the Docker put it to sleep instead. 

  • 1 month later...
Posted

Node Red appears to be a great tool for folks wanting to easily extract information out of their ISY's and manipulate, display, work with it. In my scenario I'll have 4 ISYs across our large property and a tool like this would be really helpful. Getting it to pull information by polling every few minutes works really well and is easy if you have some technical skill. However establishing a websocket is either not possible or just beyond my skills. I've tried several methods and it'd be great if a more experienced coder in our community could take a look and see if it's possible and produce a wiki for it. I'm still hacking but losing hope at this point given how stale my coding is. :-)

 

Thanks!

Dave

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...