<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.geekworm.com/index.php?action=history&amp;feed=atom&amp;title=CommentStreams%3A850600a5301195888891e85c7d9a4175</id>
	<title>CommentStreams:850600a5301195888891e85c7d9a4175 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.geekworm.com/index.php?action=history&amp;feed=atom&amp;title=CommentStreams%3A850600a5301195888891e85c7d9a4175"/>
	<link rel="alternate" type="text/html" href="https://wiki.geekworm.com/index.php?title=CommentStreams:850600a5301195888891e85c7d9a4175&amp;action=history"/>
	<updated>2026-07-28T20:33:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.geekworm.com/index.php?title=CommentStreams:850600a5301195888891e85c7d9a4175&amp;diff=31471&amp;oldid=prev</id>
		<title>73.3.156.187: Migrated comment #1293</title>
		<link rel="alternate" type="text/html" href="https://wiki.geekworm.com/index.php?title=CommentStreams:850600a5301195888891e85c7d9a4175&amp;diff=31471&amp;oldid=prev"/>
		<updated>2021-01-05T15:09:07Z</updated>

		<summary type="html">&lt;p&gt;Migrated comment #1293&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;I&amp;#039;ve been playing with random registers on the i2c-1 0x36 address and I have discovered that channel 0x14 seems to behave like a sort of power consumption meter, can anyone verify this?&lt;br /&gt;
&lt;br /&gt;
While pulling around 7amps with 4 batteries, this addition to the x750ups.py script works perfectly and seems very accurate! (ymmv depending on battery quantity/quality/health and amperage you are pulling, you may need to play with the values):&lt;br /&gt;
&lt;br /&gt;
def readStatus(bus):&lt;br /&gt;
&lt;br /&gt;
     address = 0x36&lt;br /&gt;
     read = bus.read_word_data(address, 0x14)&lt;br /&gt;
     return struct.unpack(&amp;quot;&amp;lt;H&amp;quot;, struct.pack(&amp;quot;&amp;gt;H&amp;quot;, read))[0]&lt;br /&gt;
&lt;br /&gt;
# ...&lt;br /&gt;
&lt;br /&gt;
while True:&lt;br /&gt;
&lt;br /&gt;
 status = readStatus(bus)&lt;br /&gt;
&lt;br /&gt;
# ...&lt;br /&gt;
&lt;br /&gt;
 print &amp;quot;Status:%6i&amp;quot; % status&lt;br /&gt;
&lt;br /&gt;
# ...&lt;br /&gt;
&lt;br /&gt;
 if status &amp;lt; 512:&lt;br /&gt;
&lt;br /&gt;
         print &amp;quot;USB Power Connected 2A Charging&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 elif status &amp;lt; 1024:&lt;br /&gt;
&lt;br /&gt;
         print &amp;quot;AC Power Connected 3A Charging&amp;quot;&amp;lt;!-- migrated from Comments; original IP: 73.3.156.187 --&amp;gt;&lt;/div&gt;</summary>
		<author><name>73.3.156.187</name></author>
	</entry>
</feed>