Jump to content

Repeated input values in emoncms


incagarcilaso

Recommended Posts

I've set up an input from ICC to a local emoncms running on the same Raspberry Pi but I am getting pages and pages of inputs with repeated values for all the measurements. Is this correct or have I done something wrong? In ICC I used the "write" API Key to submit the data - is that the problem (should I have used the read API Key?

emoncmsinput.JPG

Link to comment
Share on other sites

2 hours ago, Manie said:

Hi

If you look at the your attached image, I don't know where that feeds is coming from. I post to node 1 and there is no issues there

 

emon.png

Hi. That's what I thought. For some reason it created the new node. All I did was put in the emoncms URL and the API keyy in ICC and then check the "Post Data" box. When I went into emoncms it had created that new node where it repeats the feeds hundreds of times. Any ideas why?

Link to comment
Share on other sites

11 minutes ago, Manie said:

What does node one shows?

Sent from my SM-G920F using Tapatalk
 

It seems to be showing as it should with no repeated data fields but posted data does not go there, it goes to the new node (that has no number and seemed to be created when I first posted to emoncms). There are some values for some fields in node 1 but I'm guessing that is just from the original Jessie/ICC image creation. All show as "inactive".

emoncmsinputnode.JPG

Link to comment
Share on other sites

Stop sending data to emon and start deleting the inputs one by one. If you delete the last input then the node will be deleted. You cant delete a note if there are still inputs in that node

Sent from my SM-G920F using Tapatalk


Link to comment
Share on other sites

20 minutes ago, Manie said:

Stop sending data to emon and start deleting the inputs one by one. If you delete the last input then the node will be deleted. You cant delete a note if there are still inputs in that node

OK, that worked - there must have been over 1,000 feeds in there all repeated, but when I deleted the last one it also deleted the node as you said. I'm going to start again and hope that this time it works. Just to check - in ICC the API key I need to use to post data is the "write" key, right? That isn't what caused the problem?

 

 

Link to comment
Share on other sites

2 minutes ago, Manie said:

yes you need the write key. Not sure because i am getting only one input as to my above attachment 

OK, I know the problem. Sorry, all my fault. The data was coming in from the old installation of AICC that I had running on Windows. I imagine that is not set up correctly to work with the new setup of the emoncms server on the RaspberryPI

Link to comment
Share on other sites

12 minutes ago, Manie said:

It can be . I don't support AICC for windows and can not comment on it. Still a great app to use for serial comms !! 

Yes it is - great app. Sorry about the mix up. I imagine that is what caused the problem in the emoncms feeds on the Raspberry Pi. I'm going to try now with the new ICC, but I've sent you a PM because the Key you sent isn't accepted.

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...