You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simulation System for VEN gives following error when event to /OpenADR2/Simple/2.0b/EiEvent is sent:
[01/Jul/2019 17:29:06] "POST /OpenADR2/Simple/2.0b/EiEvent HTTP/1.1" 400 933
This is exception (manually):
'oadrRequestEventType' object has no attribute 'venID'
Line 436 in volttron-applications/kisensum/openadr/openadr/api/views.py
There's work around for that, change ven_id = request.data.oadrSignedObject.oadrRequestEvent.venID
Yes, that appears to be a bug, and I agree that your fix for it is correct. I encourage you to submit the change as a volttron-applications pull request. I can’t assure you that it will be accepted soon, though — there are 7 requests in the queue already, and it was 9 months ago when a pull request was last accepted for that repository.
I sure will. Thanks, Craig! @citizen-stig, if you submit a pull request for this, would you please include a note to me in the comment, so that I'll receive a notification about it?
Simulation System for VEN gives following error when event to
/OpenADR2/Simple/2.0b/EiEvent
is sent:There's work around for that, change
ven_id = request.data.oadrSignedObject.oadrRequestEvent.venID
with:
ven_id = request.data.oadrSignedObject.oadrRequestEvent.eiRequestEvent.venID
Could you please give more details if it is a bug or am I missing something in configuration.
The text was updated successfully, but these errors were encountered: