PV Panel Widgets for dashboard

Hi all

In addition to the Compass, Windrose and Jgauge (2needle) Widgets I think maybe others are also interessted in my PV panel widgets. You can see them here in action (when there is sun in switzerland ;-) )

- My own Dashboard
- Dashboard of my Father

I made two variants of them, one vertical and one horizontal so that you can more or less arrange them how you have them on the roof etc.

Here is the download link

The rar has two folders. One is holding the widget background pictures. Copy that into the root of your emoncms installation.

The other folder is the Modules folder. Copy the widgets to the widget folder as in the structure of the rar.

Copy and replace the widget.css file (it holds the location of the background pictures) in the modules/dashboard/views/js/ folder.

The widgets should be than ready to use.

Let me know if you have issues.

Regards
Andi

Bramco's picture

Re: PV Panel Widgets for dashboard

Great stuff!!

To the moderators...     Is there a way you can set up a space for user defined widgets with the instructions Andi has set out for those wanting to install them?

This would be a great benefit to the community as a whole.

Maybe on the header row above as a new section under emoncms, e.g. 'user defined widgets'. You could add the Compass, Windrose etc. into there.

Simon

Robert Wall's picture

Re: PV Panel Widgets for dashboard

You produce the information, I shall check it and edit it into usable documentation, and we can then find a place for it. But unless and until the developers devote a little more time to the perspiration bit and less to the inspiration, it won't happen.

Good and accurate documentation is absolutely essential, and producing it is not time wasted, it will actually save time by reducing the workload in providing support on the forums, and it will lead to fewer disgruntled customers.

(If you don't understand, I'm referring to the comment that is attributed to Edison: "Genius is one percent inspiration, ninety-nine percent perspiration")

chaveiro's picture

Re: PV Panel Widgets for dashboard

Hi firefox, try to make the modules self contained to this folders :

\Modules\your_module_name\widget\
or
\Modules\dashboard\widget\your_widget_name\

Both formats are supported.

That widget.css outside of widget folder breaks modularization support because requires manual changes..

Nice work anyway.

firefox7518's picture

Re: PV Panel Widgets for dashboard

Hi Chaveiro

You're right maybe better to have the images directly mentioned in the widget code. I made it that way because css code is always easier to edit for others than js code :-) 

I will have a look on how to integrate them to make installation more easy....

My initial intention actually was to have like a glow effect which fills out the whole panel area and gets brighter with more power and darker with less. Does someone of the pro devs maybe have a good idea on how to that? At the moment it's just a "copy" of the bar widget with additional background img and global alpha setting :-)

Thanks
Andi

firefox7518's picture

Re: PV Panel Widgets for dashboard

I now have edited them to be independent

- Vertical PV Widget

- Horizontal PV Widget

Is it possible that someone can test them if they are working? Seems to be ok for my installation.

So copy the folders into the widget folder should be enough to run them now.

Thanks
Andi

Bramco's picture

Re: PV Panel Widgets for dashboard

OK Robert I'll give it a go. Might be a day or two....

just as an fyi, I noted in a post that the latest installation guides for 9.2 in the post from Paul were pointing to a 404.  Even worse if you go to te menu bar above and look at emoncms/installation guides then this throws a 404 as well!!

 

scubammx's picture

Re: PV Panel Widgets for dashboard

hallo, congratulations for the setup, i would like to know what hardware you are using for logging, expecially on the weather station side.

Robert Wall's picture

Re: PV Panel Widgets for dashboard

"Bramco on Sat, 05/12/2015 - 16:44.

just as an fyi, I noted in a post that the latest installation guides for 9.2 in the post from Paul were pointing to a 404. Even worse if you go to te menu bar above and look at emoncms/installation guides then this throws a 404 as well!!"

This post has only just appeared! The 404 has been cured now.

Bramco's picture

Re: PV Panel Widgets for dashboard

That gives me a bit of grace with my couple of days promise.

Although I had noticed that another post I had made seemed to have disappeared. the one above I could see btw. So maybe there's something a bit fishy about the forum of late??

Simon

awinner's picture

Re: PV Panel Widgets for dashboard

Is it possible that someone can test them if they are working? Seems to be ok for my installation.

ive just installed it on a emoncms9.3 install on a Pi,

I had to edit the line .backgroundPVH.src = path+'Modules/dashboard/widget/pvhorizontal/pv-panel-h2.png'; to backgroundPVH.src = path+'Modules/vis/widget/pvhorizontal/pv-panel-h2.png';

The location of the widgets must have changed. Works great, nice work Andi.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.