PV output

37 views
Skip to first unread message

Paul Hargrove

unread,
May 24, 2019, 7:46:55 AM5/24/19
to measureit
Hi,

decided to add PV Output to my Measureit Pi which has been running for years with no issues.
No data is appearing in PV output, here is the last entry in measureit.log:

2019-05-24 23:34:02,700 WARNING Sensor 0sensor_data_pvoutput_status_generate. Error: Traceback (most recent call last):
  File "/web/measureit/measureit_system_files/python/data-input.py", line 640, in sensor_data_pvoutput_status_generate
    r = urllib2.urlopen(url)
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized

any clues?

Thomas

unread,
May 24, 2019, 12:54:30 PM5/24/19
to measureit
Hi Paul,

the error is 
HTTPError: HTTP Error 401: Unauthorized

Did you check the api key, system id kombination?

It indicates that something is wrong with these setting

Paul Hargrove

unread,
May 25, 2019, 7:00:25 AM5/25/19
to measureit
Hi Thomas,

Thanks for the quick reply.

I must have missed the info about where the system ID was on the PV output page, now seems to be working!

Thanks again!

Paul
Reply all
Reply to author
Forward
0 new messages