Just got EmonPi to day and having trouble getting it going the feeds seem to be working OK locally but not in emoncms.org. The data viewer in the graphs is showing,
Request error Notice: Undefined index: time in /var/www/emoncms/Modules/feed/feed_model.php on line 362 [[1556747100000,null],[1556748000000,null],[1556748900000,null],[1556749800000,null],[1556750700000,null],[1556751600000,null],[1556752500000,null],[1556753400000,null],[1556754300000,null],[1556755200000,null],[1556756100000,null],
Hi John, as a point of note, it is easier if you simply paste PNG/JPEG directly into your post rather than attatching pdfs/images. On Windoze you can use the Snipping tool to get images then literally just paste that into the message.
Don’t know how to fix your issue - sorry. Is this error in the local emoncms or the remote?
Hi Brian thanks for the tip the error is in the remote, the screenshots show both side by side if you look in the address bar you can see local is the left one.
I purchased from the open energy shop 7 May order no 20322
<a class
It looks like the data is being logged to emoncms.org any more. Notice on your local screenshots the values are being updated every few second while on the remote server no updates are being received. The error is due to there being no data to via.
Could you check that your remote read-API key is in your emonhub config, and if still having issues please post your emonhub log file for us to take a look. See: 3. Log Remotely - Guide | OpenEnergyMonitor
Hi Glyn
Thanks for getting back to me apologies but I am pretty basic at this stuff’ The log file above in red is saying something about an error on line 32 and this same message appears in all the graphs
I have this key posted in the config file
subchannels = ToEmonCMS,
url = https://emoncms.org
apikey = 755a1
senddata = 1 # Enable sending data to Emoncms.o
The log file is saying:- /var/log/emonhub/emonhub.log does not exist & I cant see any option to change this. clicking on the View log button does nothing
I think I’ve spotted the issue, you have used the ‘read’ API key rather than the ‘write’ API key in emonhub config. Emonhub requires write access to you emoncms.org account to post data. The write APi key should end with ‘42e’.
Publishing your APIkeys - especially to emoncms.org - meant that ANYONE who noticed them could hijack your account and use it for themselves. That wouldn’t be good.
(I’d already deleted them, and you deleted my edit! Not to worry, though.)
Great, I can see you inputs from emonPi (node 5) are updating now. You just need to log them to Feeds. Unlike for local Emoncms emoncms.org uses numerical Input names to optimize bandwidth.
It looks like your Input Processes are using names rather than numerical Input ID numbers. Click the spanner icon next to the numerical Input ID’s to log them to a feed.
Hi Glyn
I am getting totally out of my depth here I have got three of the feeds logged can you tell me what names and values I should be using I am trying to get the Solar app to work (I have it working on the local machine although not properly but I will post that when I get this sorted out) I enclose screenshot of input and ouputs inemoncms.org