kg666 Posted July 21, 2017 Posted July 21, 2017 hoi, i had to reinstall emoncms because it didnt update anymore... (for some wierd reason) but now when i redid the feedlogs, it doesnt work... i want to + , the gridwattskwd and the loadwattskwd, but it doesnt go good... some one can see the error i did? seems to be ok for me..but its not.. in example the sum must be : 19.42 + 4.64 and thats not 4014.64 !!!! P.S. i did change the log to feed from position 1 - 2 - 3 ,nothing works Quote
Sidewinder Posted July 21, 2017 Posted July 21, 2017 kg666, I'm no EmonCMS expert, but i can see where you are going wrong, but how to fix.... When you say + feed, the last defined feed is GridWatts, hence it does 4010 + 4.64 So I would think to fix, after you do the 19.42 result cals, may try a log to feed (to a new field)? Quote
kg666 Posted July 21, 2017 Author Posted July 21, 2017 edit.. BUT i made a virtual node.. and its working now thanks for your time... Quote
Sidewinder Posted July 21, 2017 Posted July 21, 2017 Ok , so new field = virtual node. Still learning this side!! Quote
kg666 Posted July 21, 2017 Author Posted July 21, 2017 thats how i calculate my system EFF so i can see if it was efficient that day P.S. SolarWatts, is just a "free" input , manie doesnt use , so iam happy with that Quote
kg666 Posted July 21, 2017 Author Posted July 21, 2017 and you can even put everything in Virtual so if manie delete the "free" node... you still have the stuff ;-) Quote
kg666 Posted July 21, 2017 Author Posted July 21, 2017 or not... : P.S. Manie dont delete the input Solarwatts !!! ;-) Quote
PaulF007 Posted July 21, 2017 Posted July 21, 2017 Thats the problem with Virtual feeds. At one stage I used almost a 100 of them to do various calculations within Emon. IF you make one mistake within the virtual feeds the whole thing can go belly up (My self has lost at least 2 db's that way). Now I steer clear of them as much as possible. Keep in mind that Emon writes the last value received into MySql before it goes into the .dat files. So you could always do the calculations in MySql. I prefer to do some of the calculations before I send it to Emon and only use it for data logging. Quote
PaulF007 Posted July 21, 2017 Posted July 21, 2017 O ja seeing that you have a "spare" field you could also use that multiple times over. Just set to Zero and then Add the new input Quote
Sidewinder Posted July 21, 2017 Posted July 21, 2017 Manie's ICC ver 2 now logs to Node 0, vs ver 1's Node 1. Quote
PaulF007 Posted July 21, 2017 Posted July 21, 2017 2 hours ago, Sidewinder said: Manie's ICC ver 2 now logs to Node 0, vs ver 1's Node 1. That's a bit of bummer , you could change the nodeid in the input table from a 1 to 0 with the following query or 0 to 1 UPDATE`input`SET `nodeid` = replace(`nodeid`, 0, 1 ) and then update the feeds table with UPDATE`feeds`SET `tag` = replace(`tag`, "Node 0", "Node 1") Now if you are not sure what this is first make a backup of the sql table en do at your own risk!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.