Hi all, first time posting here. I just wanted to show you what I have been doing these past months. I have developed an emoncms module, based on the app module code. It is for PV self-consumption facilities. I just open sourced it after testing it exhaustively. It is available here:
https://github.com/jsidrach/ewatcher/
Screenshots:
Please feel free to use or leave me feedback for future versions. In the making of this module, I have encountered through the problem of automatic user creation (with predefined feeds, inputs and processes). To solve this I have also implemented an standalone (it does not install on the emoncms folder) project, available here:
https://github.com/jsidrach/ewatcher-users/
Both projects are compatible with version 9 of emoncms. Finally, and I think this is the most important part, I have rewritten from scratch the javascript modules involved in the visualizations. They are now module-friendly, and ajax calls are only asynchronous. I have documented everything here:
https://github.com/JSidrach/ewatcher/blob/master/docs/JS-Modules.md
The new js modules makes it easy to include instant values, dependent values, cumulative feeds, tables and graphics (instant or daily). Please take a look at them, at they may be useful for other modules.
This week and the next week I will try to bugfix things in the new 9.0 version (for example, the browser prompt to remember password afer login). I have been working on these modules for the past months, but unfortunately I am moving to USA in a few weeks and I won't have that much time after that (but I will continue to support EWatcher, mostly bugfixes and small features).
It is good to know this community has envolved and is very proactive (I first saw emoncms three years ago, and helped implementing multilingual support).
Re: New Module - EWatcher
Nice work! Thanks for sharing. As a PV system owner, I can put it to good use.
Thanks again,
Bill
Re: New Module - EWatcher
Hi exgosh
I'd like to invite you to try to create this 'apps' as dashboard simple widgets modules usable from dashboard editor.
See http://openenergymonitor.org/emon/node/11209
Re: New Module - EWatcher
Hi chaveiro, as I commented, I'm moving to USA in less than a week and I won't have time after that... I don't know if it is feasible in this time :(
I documented every JS widget here:
https://github.com/JSidrach/ewatcher/blob/master/docs/JS-Modules.md
I will continue contributing to the main emoncms branch, but mostly bugfixes...
Could you take a look at my docs and tell me if you need more information or I can do more concrete things?
[Duplicate posts deleted - Moderator (RW)]
Re: New Module - EWatcher
No worries exgosh. Nice job anyway !
Re: New Module - EWatcher
Wow, nice work. Just seen this now.
Would it be possible to submitt it as a pull request on the emoncms App module? We'll look at getting it merged in
https://github.com/emoncms/app
Re: New Module - EWatcher
What a great addition! Enjoy the U.S.
Re: New Module - EWatcher
I get the following error when running this module. (See attachment). Is there an easy fix?
Cheers.
Re: New Module - EWatcher
The code author moved to the US in March of 2015.
In his original post he said "I am moving to USA in a few weeks and I won't have that much time after that (but I will continue to support EWatcher, mostly bugfixes and small features)."
He mentioned to me that he would be working on an MSc. Given that, he could be strapped for time, or simply have forgotten about the post altogether.
Re: New Module - EWatcher
Hi! I am still alive, thanks for the kind reception of the module.
As Bill said, I'm now studying at USA (MSc.) + working at the university, so it gets really difficult to find some time.
- About porting the changes to app.js, I talked back in Sept. with chaveiro, and it seemed to me that app.js was taking a different direction, but maybe using the JavaScript modules I built (I don't know the current status).
- About the error, it seems that some of the modules you are using don't have the 'order' set in the left_menu variable, that emoncms uses to render the top bar. I checked the code of this module and it seems ok, may it be that the error comes from a different module? I think your issue may be similar to this one: https://github.com/emoncms/emoncms/issues/386 , and I tested every module there and already found which ones were causing the error (but I don't know if this is still the case).
I still get emails from this thread so don't worry, eventually I will reply.
Cheers!