Hello,
This is an old thread but may be the best place to jump in. I have a weewx
server on my local network which sends data to my remote web page
(grattans.org/wx) and also sends data to my emoncms rpi on the local
network using the weewx extension. All has been working well for the past
couple of years. Recently, I noticed the following error message in the
weewx.log file (debug=2):
Feb 19 10:15:26 n4mrv weewx[86166] DEBUG weewx.restx: EmonCMS: Failed
upload attempt 3: Server returned '<br />#012<b>Notice</b>:
Undefined variable: jsondataLC in
<b>/var/www/emoncms/Modules/input/input_methods.php</b> on line
<b>60</b><br />#012ok'
Feb 19 10:15:26 n4mrv weewx[86166] ERROR weewx.restx: EmonCMS: Failed to
publish record 2021-02-19 10:15:00 EST (1613747700): Failed up
load after 3 tries
Not sure how long this has been going on because it *IS* uploading data to
the emoncms rpi correctly and on time (15 minute archive time). The entry
in weewx.conf is:
[[EmonCMS]]
url = http://192.168.1.103/emoncms/input/post.json
token = 3bff21xxxxxxxxxxxxc226b634
I probably should not complain as it's working but am just curious what is
going on here. I'm not a programmer and don't understand what the cause of
the error might be. I don't try to upload to emoncms.org, only to my local
rpi.
Thanks in advance if anyone can explain where my config error might be.
Bob
On Tuesday, July 17, 2018 at 5:06:25 AM UTC-4 gjr80 wrote:
> Hi,
>
> Have a look at the comments up front in emoncms.py, included in the
> commments are instructions/example settings for setting the upload units.
> Depending on your install emoncms.py will be in /usr/share/weewx/user or
> /home/weewx/bin/user.
>
> Gary
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/fb8eb73a-ccc6-4dbe-bf59-9cc8a2e419c0n%40googlegroups.com.