Skip to content
View in the app

A better way to browse. Learn more.

Power Forum - Renewable Energy Discussion

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Emoncms logging

Featured Replies

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 

gridandwatts.png

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)?

  • Author

site3.pngthats 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 ;)

 

 

  • Author

and you can even put everything in Virtual ;) so if manie delete the "free" node... you still have the stuff ;-)

 

site5.png

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. 

 

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!! :P

2017-07-21_172821.thumb.png.a428e340383090226c91fa90d0266e93.png2017-07-21_172843.thumb.png.0a5dbcc1b8b2600e5d6ff87a44296b6c.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.