Just got my Arduino running and reporting data to my local EmonCMS server.
What I get in:
- Voltage
- Current
- Power
I'm logging Power to my feed (works OK, exporting cvs file has all the data in it)
But can not get Power to kWh to work it's always 0.00 (even in the cvs file).
What am I doing wrong?
EDIT: and the size on the feed tab does not change from 0.00 kb but the file on my Pi is getting bigger with all the data in it.
EDIT 2: and the Updated is always at "NaNs ago" on the Input tab I get "Xs ago"...
Is the power to kWh not working because there is a time problem ?
Re: EmonCMS can't get Power to kWh to work / log...
Thank you!
Install redis and I get the PONG respons! Do I need to restart anything? My server/emoncms to get it working?
Re: EmonCMS can't get Power to kWh to work / log...
The PONG response indicates its running, but rebooting after installing is always a good idea.
Re: EmonCMS can't get Power to kWh to work / log...
Did a restart/reboot on my Pi but still have no Power to kWh feed it's at 0.00.
Re: EmonCMS can't get Power to kWh to work / log...
Depending on the power value in your feed, it will take some time. But you should see something (more than zero) after some time has passed. (it should start incrementing fairly quickly)
Re: EmonCMS can't get Power to kWh to work / log...
Still at 0.00 after 10mins. :(
Power currently at 1kW
Re: EmonCMS can't get Power to kWh to work / log...
Almost forgot - settings.php needs to be edited. Set redis_enabled = true
Re: EmonCMS can't get Power to kWh to work / log...
It's enabled by default!
Re: EmonCMS can't get Power to kWh to work / log...
Can you show us your input processing?
Have you deleted/replaced/renamed any feeds or inputs?
Paul
Re: EmonCMS can't get Power to kWh to work / log...
This is my Input tab
I delete few power to kwh feeds on the power Input and on the Feeds tab
Edit - deleted duplicate post - BT
Re: EmonCMS can't get Power to kWh to work / log...
What feed type and interval did you select?
If you click the blue "Node1: Poraba v kWh" button on your processlist and zoom in to the last hour or so is there any graphing?
I would try creating a new one to test call it TEST just to avoid mix ups and move it up above the existing one on the processing chain, make it phpfina with 5 sec interval, within a minute or 2 it should provide a value and graph, (I just tested to be sure)
Which version of emoncms are you running? and on what?
Paul
Re: EmonCMS can't get Power to kWh to work / log...
1. I get 0.00 plotted on the graph from the start of logging.
2. Created a new feed TEST still the same problem 0.00 (phpfina 5s).
3. Don't know the version but it was download on the 15th this month (8.5 in file name).
Its running on a Raspberry Pi B+ up to date.
Re: EmonCMS can't get Power to kWh to work / log...
The version is at the bottom of each page, v8.5 comes in 3 variants.
Did you download a ready-to-image, follow a guide or install from git?
Running on a Pi (without a hdd) you should be using a low-write version which will need a "feedwriter" service running, do you get a response to " sudo service feedwriter status "?
Re: EmonCMS can't get Power to kWh to work / log...
Im running a normal version on my portable HDD.
Installed it from git v8.5.0
FIXED: I had to do as described in the Upgrading instructions (sudo pecl install redis).
Now I'm getting the Updated time (Xs ago in green) and 0.02kWh and going up...)
Thx for the help!
Re: EmonCMS can't get Power to kWh to work / log...
Based on what you've told us I can't really think of any good reason for that feed not to work, you could persist and experiment with some other feed types, but I think a couple of users have found that version "buggy" although I don't recall any specific issues like this, you could try switching branches to either the stable v8.4.0 or the more widely used v8.5.2 extended version,
Re: EmonCMS can't get Power to kWh to work / log...
Fix it!
Now have a new one :) on the "My Electric" tab "Save" button does nothing!
Re: EmonCMS can't get Power to kWh to work / log...
Interesting. I never install any of the PECL modules, yet I've never had an issue with that particular feed.
Re: EmonCMS can't get Power to kWh to work / log...
The PHP-redis module is not installed via the debian packages, that needs installing via PECL,What version you running Bill? I wonder if something is different in v8.5?
Paul
Re: EmonCMS can't get Power to kWh to work / log...
I run 8.4.0 on an OVH Virtual Private Server, and 8.5.2 on a Pi at home.
But, I've not installed the PECL modules since version 8.3.x, maybe earlier, can't remember for sure.
Re: EmonCMS can't get Power to kWh to work / log...
where can I download the My Electric (app/module) can't find it on git. Nor if I download the latest build it not in the modules folder?
Re: EmonCMS can't get Power to kWh to work / log...
Simon - are you using the app module? if so did you run Admin => update & check after installing?
Re: EmonCMS can't get Power to kWh to work / log...
Where do I have to copy the app-master folder?
Re: EmonCMS can't get Power to kWh to work / log...
Just clone from within the emoncms/Modules folder
Re: EmonCMS can't get Power to kWh to work / log...
Ok but now I get "Database is up to date - Nothing to do"
Re: EmonCMS can't get Power to kWh to work / log...
@ Bill - I'm not sure either way, v8.5 may differ to v8.4 or v8.5.2XT perhaps, it's a new one on me I always install php-redis as I use a script so wouldn't be aware of any change.
Re: EmonCMS can't get Power to kWh to work / log...
@ Simon - what do you get with " ls -la /var/www/emoncms/Modules/app " (assuming that where your emoncms is)
Re: EmonCMS can't get Power to kWh to work / log...
Upps :) My mistake! Created a folder called "apps" not "app" :)
Now everthing looks to be working.
Guys you are fast in responding to posts and helped me a lot!
100x THX