<div dir="ltr"><div>Hi Ed Tanous,</div><div><br></div><div>Thanks for your info, </div><div>But in your platform we are using phosphor-hwmon to manage sensors.</div><div>We don't use entity-manager.</div><div>As I knew we can't use both entity-manager and phosphor-hwmon for one project.</div><div><br></div><div>Regards</div><div>Thu Nguyen.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 20, 2020 at 12:31 AM Ed Tanous <<a href="mailto:ed@tanous.net">ed@tanous.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On Sun, Oct 18, 2020 at 7:00 AM Thu Ba Nguyen <<a href="mailto:tbnguyen1985@gmail.com" target="_blank">tbnguyen1985@gmail.com</a>> wrote:<br>
><br>
> Do we have any options/solution to Enable/Disable some sensors when Host On/Off?<br>
<br>
I believe this is already supported in the entity-manager/dbus-sensors<br>
stack, with the "PowerState" parameter in the EM configuration;<br>
<br>
example:<br>
<a href="https://github.com/openbmc/entity-manager/blob/def29274907ef77187b02ae19d55bb9888413892/configurations/WFT%20Baseboard.json#L6" rel="noreferrer" target="_blank">https://github.com/openbmc/entity-manager/blob/def29274907ef77187b02ae19d55bb9888413892/configurations/WFT%20Baseboard.json#L6</a><br>
<br>
There's also mitigations for the common thresholding issues, like a<br>
power state change coming in during the sensor read.<br>
</blockquote></div></div>