<div dir="ltr">Hi Team,<br><div><br></div><div>how to update static files in bmcweb(redfish/v1) · Issue #160 · openbmc/bmcweb · GitHub                                                                                                                                                   <div class="gmail-application-main"><div><div class="gmail-container-xl gmail-clearfix gmail-new-discussion-timeline gmail-px-3 gmail-px-md-4 gmail-px-lg-5"><div class="gmail-repository-content"><div class="gmail-js-check-all-container"><div class="gmail-js-issues-results gmail-js-socket-channel gmail-js-updatable-content" id="gmail-show_issue"><div id="gmail-discussion_bucket"><div class="gmail-gutter-condensed gmail-gutter-lg gmail-flex-column gmail-flex-md-row gmail-d-flex"><div class="gmail-flex-shrink-0 gmail-col-12 gmail-col-md-9 gmail-mb-4 gmail-mb-md-0"><div class="gmail-js-quote-selection-container"><div class="gmail-js-discussion gmail-ml-0 gmail-pl-0 gmail-ml-md-6 gmail-pl-md-3"><div class="gmail-TimelineItem gmail-pt-0 gmail-js-comment-container gmail-js-socket-channel gmail-js-updatable-content"><div class="gmail-timeline-comment-group gmail-js-minimizable-comment-group gmail-js-targetable-element gmail-TimelineItem-body gmail-my-0" id="gmail-issue-732010557"><div class="gmail-ml-n3 gmail-timeline-comment gmail-unminimized-comment gmail-comment gmail-previewable-edit gmail-js-task-list-container gmail-js-comment gmail-timeline-comment--caret"><div class="edit-comment-hide"><span disabled><table class="gmail-d-block"><tbody class="gmail-d-block"><tr class="gmail-d-block"><td class="gmail-d-block gmail-comment-body gmail-markdown-body gmail-js-comment-body"><p>I am new to openbmc and need to understand the integration of the bmcweb static files(redfish/v1) with dbus.<br> My requirement is to update the static files in bmcweb with my custom sensor.</p><p>For example, I have created a custom power sensor, which is reading through the hwmon entry.<br> I can read the power metrics value using the "curl" command through the "/xyz/openbmc/" path but no value is updated in the path "/redfish/v1".</p><p>I  have the following queries:</p><ol><li>What exactly is difference between the two paths, "/xyz/openbmc" & "/redfish/v1"?</li><li>How can we update the custom sensor values to "/redfish/v1" path? Where exactly the integration is required?</li><li><div style="box-sizing:border-box;font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px">Does static means these files will not update through sys/hwmon entry? If no,, and if we can update, which file we need to modify.</div></li><li><div style="box-sizing:border-box;font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px"><div style="box-sizing:border-box">How to integrate hwmon sensor information in /redfish/v1/Chassis/ ?</div></div></li></ol><div><br></div><div>Any help or suggestions/reference on this would be really helpful.</div><div><br></div><div><br></div><div>Thanks & Regards,</div><div>Khader B Shaik</div><div><br></div></td></tr></tbody></table></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>