<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">If the drivers can be Python, I can take a crack at it. I’m no C programmer. 😬<br><br><div dir="ltr">Nick Ellson - from iPhone (forgive typos)<div>CCIE #20018; VCIX-NV, CNSE</div><div>Network Hobbyist</div><div>"Educating Layer 8, one user at a time."</div></div><div dir="ltr"><br><blockquote type="cite">On Nov 18, 2020, at 5:26 AM, Jim Klimov <jimklimov+nut@gmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="auto">Also for i2c specifically, you can look at examples in asem and recently pijuice drivers.<div dir="auto"><br></div><div dir="auto">Hope this helps,</div><div dir="auto">Jim Klimov</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 18, 2020, 11:25 Roger Price <<a href="mailto:roger@rogerprice.org">roger@rogerprice.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 5 Nov 2020, Nick Ellson wrote:<br>
<br>
> I searched the forum from the website and didn’t get any hits, so I thought I’d ask here.<br>
> I have an RPi 4B running Home Assistant. It has the NUT integration, and I have a Geekworm X728 UPS Hat installed.<br>
> <br>
> It has an I2C interface for reading data.<br>
> <br>
> <a href="https://raspberrypiwiki.com/X728-Software" rel="noreferrer noreferrer" target="_blank">https://raspberrypiwiki.com/X728-Software</a><br>
> <br>
> I was wondering if NUT supports that? <br>
<br>
Looking back on this thread, I think we got carried away by Python.  To go back <br>
to your question: the answer is no, but if you are interested in developing a <br>
driver for the X728, there is a driver developer guide at <br>
<a href="https://networkupstools.org/docs/developer-guide.chunked/ar01s04.html" rel="noreferrer noreferrer" target="_blank">https://networkupstools.org/docs/developer-guide.chunked/ar01s04.html</a><br>
<br>
Roger_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank" rel="noreferrer">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a></blockquote></div>
<span>_______________________________________________</span><br><span>Nut-upsuser mailing list</span><br><span>Nut-upsuser@alioth-lists.debian.net</span><br><span>https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</span></div></blockquote></body></html>