A Forum run by Enthusiasts of MidNite Solar

The Open Source software/hardware corner => General info => Topic started by: ricardo on June 16, 2018, 10:03:43 AM

Title: My Dashboard -- KID + PC Mode
Post by: ricardo on June 16, 2018, 10:03:43 AM
Wanted to share the dashboard i put together for my shed solar project ..

CC: KID + WbJr

Using PC Mode, and a spare linux PC (a mac mini from circa 2007) i wrote the serial data to a series DB (influx) using node-red for scripting. -- The graph was made using grafana.

All software pieces are open source.

Title: Re: My Dashboard -- KID + PC Mode
Post by: Resthome on June 16, 2018, 02:11:25 PM
Nice work !!
Title: Re: My Dashboard -- KID + PC Mode
Post by: ClassicCrazy on June 17, 2018, 11:41:29 AM
Ricardo ,
Is it possible to in Node Red to copy templates or sketch of your dashboard and drop it into another Node Red ? Or does everything have to be built on the specific system ?

Thanks ,
Larry
Title: Re: My Dashboard -- KID + PC Mode
Post by: Vic on June 22, 2018, 07:56:11 PM
Looks very nice,  ricardo.

Thanks for showing us what you are doing.

Have fun with it,   Vic
Title: Re: My Dashboard -- KID + PC Mode
Post by: ricardo on June 22, 2018, 09:32:56 PM
Quote from: ClassicCrazy on June 17, 2018, 11:41:29 AM
Ricardo ,
Is it possible to in Node Red to copy templates or sketch of your dashboard and drop it into another Node Red ? Or does everything have to be built on the specific system ?

Thanks ,
Larry

You can copy-n-paste code flows in node-red.   (like i did in the other thread) -- the node-red flow was only used to get the data into influx db .. (though you can use node-red to build dashboards too) -- i chose to use grafana to build the dashboard ...
Title: Re: My Dashboard -- KID + PC Mode
Post by: Nomad1 on September 07, 2018, 08:21:22 AM
Looks nice, but I can't see the actual source ;)
Title: Re: My Dashboard -- KID + PC Mode
Post by: vincent on January 12, 2019, 07:54:53 PM
can you share your source code to us?
Title: Re: My Dashboard -- KID + PC Mode
Post by: ClassicCrazy on January 12, 2019, 08:57:59 PM
Quote from: vincent on January 12, 2019, 07:54:53 PM
can you share your source code to us?

Take a look here - if you get Node Red running on something you  just import this
http://midniteftp.com/forum/index.php?topic=4066.msg40087#msg40087

Larry
Title: Re: My Dashboard -- KID + PC Mode
Post by: vincent on January 13, 2019, 08:33:54 PM
just install node red how about the driver to communication to kid?
Title: Re: My Dashboard -- KID + PC Mode
Post by: ClassicCrazy on January 14, 2019, 10:18:39 PM
You need to make a serial connection to the Kid - there is info on one of these threads here how to do that .
I forget right now if you need TTL to 232 adapter then rs232 to usb to your computer.
I haven't been using the Kid with Node Red - I have been experimenting with Node Red to my Classic both via serial and with the Classic you can also use Modbus over IP too. But with the Kid  you are stuck with serial  and the limited output that it gives.

Larry
Title: Re: My Dashboard -- KID + PC Mode
Post by: ClassicCrazy on January 14, 2019, 10:20:56 PM
Here info on  the connections to get serial from the Kid
http://midniteftp.com/forum/index.php?topic=4069.0

I looked at your question again Vincent - do you mean the driver to get the serial data on Node Red ?

Larry