uni-meter icon indicating copy to clipboard operation
uni-meter copied to clipboard

Help with geting Uni-Meter to work with Jackery Navi 2000

Open deliciousbob opened this issue 1 year ago • 99 comments

Hi Everyone! Thx for that excellent idea to emulate a Meter! I would like to connect my Jackery Navi 2000 with a simulated EverHome EcoTracker (emulated from my HA) When I try to search for one, it will be instantly found, but when I try to connect, it loads for 30 seconds, and shows "Operation failed"...

Does anyone of you manage to connect a Jackery Navi with Uni-Meter? Thank you very much! Best regards, Robert

deliciousbob avatar Nov 02 '25 13:11 deliciousbob

Sorry for the late reply, but I was busy the other days. Can you please start the uni-meter with the following logback.xml file and try to figure out which HTTP / RPC methods the Jackery Navi 2000 device is calling?

<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <encoder>
            <pattern>%d{yy-MM-dd HH:mm:ss.SSS} %-5level %-24logger - %msg%n</pattern>
        </encoder>
    </appender>

	<appender name="FILE" class="ch.qos.logback.core.FileAppender">
		<file>/var/log/uni-meter.log</file>
		<append>true</append>
		<encoder>
            <pattern>%d{yy-MM-dd HH:mm:ss.SSS} %-5level %-24logger - %msg%n</pattern>
		</encoder>
	</appender>

    <root level="INFO">
        <appender-ref ref="STDOUT" />
        <appender-ref ref="FILE" />
    </root>

    <logger name="uni-meter.output"  level="TRACE" additivity="false">
        <appender-ref ref="STDOUT" />
        <appender-ref ref="FILE" />
    </logger>

</Configuration>

If you are familar with Wireshark it would be perhaps also good to trace the traffic between the Jackery Navi 2000 device and the uni-meter. For instance the device might use Modbus TCP or so which is not yet implemented in uni-meter. That should be obvious from the Wireshark trace.

sdeigm avatar Nov 07 '25 04:11 sdeigm

I have the same problem with a Jackery Home Power 2000. I could imagine that the same technology is used here to connect to the Ecotracker.

In Wireshark, I see the following after reboot:

1 0.000000000 dc:06:75:59:b4:58 → Broadcast ARP 60 Who has 192.168.0.163? (ARP Probe) 2 1.267319237 dc:06:75:59:b4:58 → Broadcast ARP 60 Who has 192.168.0.163? (ARP Probe) 3 2.266987389 dc:06:75:59:b4:58 → Broadcast ARP 60 Who has 192.168.0.163? (ARP Probe) 4 4.301483438 dc:06:75:59:b4:58 → Broadcast ARP 60 ARP Announcement for 192.168.0.163 5 6.268252588 dc:06:75:59:b4:58 → Broadcast ARP 60 ARP Announcement for 192.168.0.163 11 8.736683627 dc:06:75:59:b4:58 → Broadcast ARP 60 Who has 192.168.0.1? Tell 192.168.0.163

6 6.505227206 192.168.0.163 → 224.0.0.251 MDNS 102 Standard query 0x0000 ANY bems_HL2B15200130HH9.local, "QU" question A 192.168.0.163 7 6.760960710 192.168.0.163 → 224.0.0.251 MDNS 102 Standard query 0x0000 ANY bems_HL2B15200130HH9.local, "QU" question A 192.168.0.163 8 7.066382739 192.168.0.163 → 224.0.0.251 MDNS 102 Standard query 0x0000 ANY bems_HL2B15200130HH9.local, "QU" question A 192.168.0.163 9 7.271236169 192.168.0.163 → 224.0.0.251 MDNS 136 Standard query response 0x0000 A, cache flush 192.168.0.163 PTR, cache flush bems_HL2B15200130HH9.local 10 8.296804167 192.168.0.163 → 224.0.0.251 MDNS 136 Standard query response 0x0000 A, cache flush 192.168.0.163 PTR, cache flush bems_HL2B15200130HH9.local

12 86.337972478 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 13 96.871999526 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 14 107.338663065 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 15 117.866206431 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 16 128.337585500 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 17 138.854895827 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 18 149.403786473 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 19 159.847120136 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 20 170.395789541 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 21 180.847974883 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 22 191.386471552 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 23 201.846775746 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 24 212.379371364 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 25 222.851116563 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 26 233.371134034 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 27 243.857533679 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 28 254.362582190 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 29 264.910674013 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 30 275.355864673 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 31 285.902810506 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 32 296.356233624 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 33 306.905091170 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 34 317.365847158 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 35 327.886043771 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 36 338.366621745 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question

`

dersparkiie avatar Dec 21 '25 06:12 dersparkiie

From that Wireshark trace I can only see mDNS queries from a device 192.168.0.163 (is that your Jackery Home Power 2000?), but no answers. Normaly there should be an answer from the uni-meter to the originator of the query: 192.168.0.163 <- 192.168.0.XYZ.

The original poster had the problem that the uni-meter was discovered by its storage but then the following operations somehow failed. Therefore I asked for logback or wireshark traces to figure out which operation failed.

What's the status in your environment: does the Jackery Home Power system discovers the EcoTracker at all and then the following operations are failing or is the uni-meter not discovered at all?

sdeigm avatar Dec 22 '25 07:12 sdeigm

I can see the EcoTracker in the Jackery Home App. Trying to connect shows an failure but it's shown as device in the app. Sometimes it's shown as online, but I can never see any house power data in the app.

79 2.278120 192.168.0.163 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question 80 2.301493 192.168.0.133 224.0.0.251 MDNS 252 Standard query response 0x0000 PTR ecotracker-000c29c033b0._everhome._tcp.local TXT, cache flush SRV, cache flush 0 0 80 sparkie.local AAAA, cache flush fd99:7c37:5ca2:9a45:992a:f7ce:1e50:b2cd A, cache flush 192.168.0.133

dersparkiie avatar Dec 22 '25 09:12 dersparkiie

Can you record a wireshark trace in exactly that moment, when you are trying to connect the App to the EcoTracker? Then there must be some communication with the uni-meter as target.

sdeigm avatar Dec 22 '25 13:12 sdeigm

69 2.686598 192.168.0.231 224.0.0.251 MDNS 110 Standard query 0x0001 PTR _everhome._tcp.local, "QU" question ANY ecotracker-000c29c033b0._everhome._tcp.local, "QU" question

101 3.081191 192.168.0.231 224.0.0.251 MDNS 610 Standard query response 0x0000 PTR, cache flush Android_4O92ZF9C.local AAAA, cache flush fe80::64f1:8eff:fe9f:ab38 PTR, cache flush Android_4O92ZF9C.local A, cache flush 192.168.0.231 PTR, cache flush Android_4O92ZF9C.local AAAA, cache flush fd99:7c37:5ca2:9a45:64f1:8eff:fe9f:ab38 PTR IzJJU0z8n14AAA._FC9F5ED42C8A._tcp.local SRV, cache flush 0 0 53601 Android_4O92ZF9C.local TXT, cache flush PTR _FC9F5ED42C8A._tcp.local NSEC, cache flush 8.3.B.A.F.9.E.F.F.F.E.8.1.F.4.6.0.0.0.0.0.0.0.0.0.0.0.0.0.8.E.F.ip6.arpa NSEC, cache flush Android_4O92ZF9C.local NSEC, cache flush 231.0.168.192.in-addr.arpa NSEC, cache flush 8.3.B.A.F.9.E.F.F.F.E.8.1.F.4.6.5.4.A.9.2.A.C.5.7.3.C.7.9.9.D.F.ip6.arpa NSEC, cache flush IzJJU0z8n14AAA._FC9F5ED42C8A._tcp.local

162 4.690652 192.168.0.231 224.0.0.251 MDNS 110 Standard query 0x0003 PTR _everhome._tcp.local, "QM" question ANY ecotracker-000c29c033b0._everhome._tcp.local, "QM" question

611 19.107496 192.168.0.231 224.0.0.251 MDNS 610 Standard query response 0x0000 PTR, cache flush Android_4O92ZF9C.local AAAA, cache flush fe80::64f1:8eff:fe9f:ab38 PTR, cache flush Android_4O92ZF9C.local A, cache flush 192.168.0.231 PTR, cache flush Android_4O92ZF9C.local AAAA, cache flush fd99:7c37:5ca2:9a45:64f1:8eff:fe9f:ab38 PTR IzJJU0z8n14AAA._FC9F5ED42C8A._tcp.local SRV, cache flush 0 0 53601 Android_4O92ZF9C.local TXT, cache flush PTR _FC9F5ED42C8A._tcp.local NSEC, cache flush 8.3.B.A.F.9.E.F.F.F.E.8.1.F.4.6.0.0.0.0.0.0.0.0.0.0.0.0.0.8.E.F.ip6.arpa NSEC, cache flush Android_4O92ZF9C.local NSEC, cache flush 231.0.168.192.in-addr.arpa NSEC, cache flush 8.3.B.A.F.9.E.F.F.F.E.8.1.F.4.6.5.4.A.9.2.A.C.5.7.3.C.7.9.9.D.F.ip6.arpa NSEC, cache flush IzJJU0z8n14AAA._FC9F5ED42C8A._tcp.local

748 23.861561 192.168.0.133 224.0.0.251 MDNS 324 Standard query 0x0000 ANY ecotracker-000c29c033b0._http._tcp.local, "QM" question ANY ecotracker-000c29c033b0._everhome._tcp.local, "QM" question SRV 0 0 80 sparkie.local TXT SRV 0 0 80 sparkie.local TXT

756 24.112410 192.168.0.133 224.0.0.251 MDNS 324 Standard query 0x0000 ANY ecotracker-000c29c033b0._http._tcp.local, "QM" question ANY ecotracker-000c29c033b0._everhome._tcp.local, "QM" question SRV 0 0 80 sparkie.local TXT SRV 0 0 80 sparkie.local TXT

767 24.362768 192.168.0.133 224.0.0.251 MDNS 324 Standard query 0x0000 ANY ecotracker-000c29c033b0._http._tcp.local, "QM" question ANY ecotracker-000c29c033b0._everhome._tcp.local, "QM" question SRV 0 0 80 sparkie.local TXT SRV 0 0 80 sparkie.local TXT

774 24.562902 192.168.0.133 224.0.0.251 MDNS 285 Standard query response 0x0000 TXT, cache flush PTR ecotracker-000c29c033b0._http._tcp.local SRV, cache flush 0 0 80 sparkie.local AAAA, cache flush fd99:7c37:5ca2:9a45:992a:f7ce:1e50:b2cd A, cache flush 192.168.0.133 PTR _http._tcp.local

775 24.573369 192.168.0.133 224.0.0.251 MDNS 245 Standard query response 0x0000 TXT, cache flush PTR ecotracker-000c29c033b0._everhome._tcp.local SRV, cache flush 0 0 80 sparkie.local PTR _everhome._tcp.local

782 24.693233 192.168.0.231 224.0.0.251 MDNS 100 Standard query 0x0004 PTR _everhome._tcp.local, "QM" question A sparkie.local, "QM" question AAAA sparkie.local, "QM" question

783 24.693233 fe80::64f1:8eff:fe9f:ab38 ff02::fb MDNS 120 Standard query 0x0004 PTR _everhome._tcp.local, "QM" question A sparkie.local, "QM" question AAAA sparkie.local, "QM" question

784 24.693673 169.254.1.1 224.0.0.251 MDNS 83 Standard query response 0x0000 A 192.168.0.133

785 24.693673 169.254.1.1 224.0.0.251 MDNS 83 Standard query response 0x0000 A 192.168.0.133

813 25.721843 192.168.0.133 224.0.0.251 MDNS 285 Standard query response 0x0000 TXT, cache flush PTR ecotracker-000c29c033b0._http._tcp.local SRV, cache flush 0 0 80 sparkie.local AAAA, cache flush fd99:7c37:5ca2:9a45:992a:f7ce:1e50:b2cd A, cache flush 192.168.0.133 PTR _http._tcp.local

814 25.731390 192.168.0.133 224.0.0.251 MDNS 245 Standard query response 0x0000 TXT, cache flush PTR ecotracker-000c29c033b0._everhome._tcp.local SRV, cache flush 0 0 80 sparkie.local PTR _everhome._tcp.local

820 25.972185 192.168.0.231 224.0.0.251 MDNS 80 Standard query 0x0002 PTR _everhome._tcp.local, "QM" question

851 26.951011 192.168.0.231 224.0.0.251 MDNS 80 Standard query 0x0003 PTR _everhome._tcp.local, "QM" question

859 27.038544 192.168.0.133 224.0.0.251 MDNS 252 Standard query response 0x0000 PTR ecotracker-000c29c033b0._everhome._tcp.local TXT, cache flush SRV, cache flush 0 0 80 sparkie.local AAAA, cache flush fd99:7c37:5ca2:9a45:992a:f7ce:1e50:b2cd A, cache flush 192.168.0.133

876 27.883282 192.168.0.133 224.0.0.251 MDNS 285 Standard query response 0x0000 TXT, cache flush PTR ecotracker-000c29c033b0._http._tcp.local SRV, cache flush 0 0 80 sparkie.local AAAA, cache flush fd99:7c37:5ca2:9a45:992a:f7ce:1e50:b2cd A, cache flush 192.168.0.133 PTR _http._tcp.local

877 27.891255 192.168.0.133 224.0.0.251 MDNS 245 Standard query response 0x0000 TXT, cache flush PTR ecotracker-000c29c033b0._everhome._tcp.local SRV, cache flush 0 0 80 sparkie.local PTR _everhome._tcp.local

1212 40.882345 192.168.0.133 224.0.0.251 MDNS 252 Standard query response 0x0000 PTR ecotracker-000c29c033b0._everhome._tcp.local TXT, cache flush SRV, cache flush 0 0 80 sparkie.local AAAA, cache flush fd99:7c37:5ca2:9a45:992a:f7ce:1e50:b2cd A, cache flush 192.168.0.133

1427 46.986681 192.168.0.231 224.0.0.251 MDNS 80 Standard query 0x0004 PTR _everhome._tcp.local, "QM" question

1434 47.071010 192.168.0.231 224.0.0.251 MDNS 168 Standard query response 0x0000 AAAA, cache flush fe80::64f1:8eff:fe9f:ab38 AAAA, cache flush fd99:7c37:5ca2:9a45:64f1:8eff:fe9f:ab38 A, cache flush 192.168.0.231 NSEC, cache flush Android_4O92ZF9C.local

1436 47.076306 192.168.0.133 224.0.0.251 MDNS 252 Standard query response 0x0000 PTR ecotracker-000c29c033b0._everhome._tcp.local TXT, cache flush SRV, cache flush 0 0 80 sparkie.local AAAA, cache flush fd99:7c37:5ca2:9a45:992a:f7ce:1e50:b2cd A, cache flush 192.168.0.133

dersparkiie avatar Dec 22 '25 14:12 dersparkiie

Hm, that's just mDNS traffic. So if there is no HTTP traffic, I guess the TXT records in uni-meters mDNS answer do not match the exact content of a real EcoTracker. Would be good to get the content of a real EcoTracker. I did not find anything by internet search yet. Perhaps we should ask someone with a real EcoTracker to trace the mDNS packets.

sdeigm avatar Dec 22 '25 14:12 sdeigm

That's what I found: Lokale REST-API

Der everHome EcoTracker stellt eine lokale REST-API zu Verfügung. Die lokale REST-API kann von allen Geräten im lokalen Netzwerk abgerufen werden und kann mittels "Lokaler HTTP-Server" in der everHome App ein und ausgeschaltet werden. Diese Option ist standardmäßig eingeschaltet. GET http://${EcoTrackerIP}/v1/json HTTP/1.1 HTTP/1.1 200 OK Content-Type: application/json { "power": 125, "powerAvg": 100, "powerPhase1": 50, "powerPhase2": 50, "powerPhase3": 25, "energyCounterIn": 145000, "energyCounterInT1": 100000, "energyCounterInT2": 45000, "energyCounterOut": 4500, }

dersparkiie avatar Dec 22 '25 14:12 dersparkiie

I asked a friend with an EcoTracker. He sent me the HTTP response from his browser:

{

"power": -1876.5,

"powerAvg": -1875,

"energyCounterOut": 23937809.7,

"energyCounterIn": 7858221.7,

"energyCounterInT1": 0,

"energyCounterInT2": 7858221.7 }

bofi99 avatar Dec 22 '25 14:12 bofi99

That's not the information I am looking for. That interface is well documented by Everhome in this document and is exactly implemented in the uni-meter.

The missing information which is not documented by Everhome is the data provided in the mDNS answer record. But if you have a friend with an EcoTracker and hopefully a Raspberry Pi, it would be good if he can execute the following command:

avahi-browse -r -t -p _http._tcp

That should list all mDNS devices in the network and should include a line for the EcoTracker. The following is an example for the Shelly in my network:

...
=;eth0;IPv4;shellypro3em-b827eb63152f;Web-Angebot;local;raspberrypi.local;192.168.178.99;80;"arch=esp8266" "gen=2" "fw_id=20241011-114455/1.4.4-g6d2a586" "id=shellypro3em-b827eb63152f"
...

If the avahi-browse command is not available your friend should install the avahi-utils by executing

sudo apt-get install avahi-utils

sdeigm avatar Dec 22 '25 18:12 sdeigm

I just bought an EcoTracker for further testing 😉

dersparkiie avatar Dec 22 '25 20:12 dersparkiie

I can't find the real EcoTracker with: avahi-browse -r -t -p _http._tcp

Starting uni-meter shows: +;ens33;IPv4;ecotracker-000c29c033b0;Web-Angebot;local

=;ens33;IPv4;ecotracker-000c29c033b0;Web-Angebot;local;sparkie.local;192.168.0.133;80;"id=ecotracker-000c29c033b0" "name=ecotracker-000c29c033b0"

tshark shows for real EcoTracker: 0.000000000 192.168.0.163 → 224.0.0.251 MDNS 80 Standard query 0x0000 PTR _everhome._tcp.local, "QM" question

0.130104005 192.168.0.190 → 224.0.0.251 MDNS 236 Standard query response 0x0000 PTR ecotracker-588C81C42374._everhome._tcp.local SRV, cache flush 0 0 80 ecotracker-588C81C42374.local TXT, cache flush A, cache flush 192.168.0.190

dersparkiie avatar Dec 24 '25 10:12 dersparkiie

Thanks for testing!! Can you please execute

avahi-browse -r -t -p _everhome._tcp

to trace the data from the real EcoTracker?

sdeigm avatar Dec 24 '25 12:12 sdeigm

Thanks for testing!! Can you please execute

avahi-browse -r -t -p _everhome._tcp

to trace the data from the real EcoTracker?

+;ens33;IPv4;ecotracker-588C81C42374;_everhome._tcp;local

=;ens33;IPv4;ecotracker-588C81C42374;_everhome._tcp;local;ecotracker-588C81C42374.local;192.168.0.190;80;"ip=192.168.0.190" "serial=293d65272268" "productid=1137"

dersparkiie avatar Dec 24 '25 12:12 dersparkiie

Ok, especially the "ip=192.168.0.190" TXT record looks promising. I will prepare a snapshot version with these TXT records.

Is anybody here in the thread using a standard installation or the docker container? Since its easier to provide a snapshot version for these targets than for HomeAssistant ...

sdeigm avatar Dec 24 '25 13:12 sdeigm

I'm using a standard installation on a debian system.

dersparkiie avatar Dec 24 '25 13:12 dersparkiie

In the Github packages section

https://github.com/sdeigm/uni-meter/packages/2336213

you can now download a 1.1.21-SNAPSHOT version

uni-meter-1.1.21-20251224.134423-1.tgz

That version provides exactly the same mDNS information as your physical device:

sdeigm@raspberrypi:~ $ avahi-browse -r -t -p _everhome._tcp
+;eth0;IPv4;ecotracker-B827EB63152F;_everhome._tcp;local
+;lo;IPv4;ecotracker-B827EB63152F;_everhome._tcp;local
=;eth0;IPv4;ecotracker-B827EB63152F;_everhome._tcp;local;raspberrypi.local;192.168.178.99;80;"serial=293d45273261" "ip=192.168.178.99" "productid=1137"
=;lo;IPv4;ecotracker-B827EB63152F;_everhome._tcp;local;raspberrypi.local;127.0.0.1;80;"serial=293d45273261" "ip=192.168.178.99" "productid=1137"

sdeigm avatar Dec 24 '25 13:12 sdeigm

That looks right: =;ens33;IPv4;ecotracker-000C29C033B0;_everhome._tcp;local;sparkie.local;192.168.0.133;80;"ip=192.168.0.133" "serial=293d45273261" "productid=1137"

=;ens33;IPv4;ecotracker-588C81C42374;_everhome._tcp;local;ecotracker-588C81C42374.local;192.168.0.190;80;"ip=192.168.0.190" "serial=293d65272268" "productid=1137"

But the app keeps trying to connect for long time and unfortunately it doesn't work. It just stops trying. The uni-meter EcoTracker ist still shown as offline.

The real EcoTracker is connected within 15 seconds and the app shows "erfolgreich verbunden".

dersparkiie avatar Dec 24 '25 14:12 dersparkiie

Hi, I think i might be able to give some further ideas:

https://github.com/ottelo9/tasmota-sml-script/issues/24

I was trying same with the Jackery Homepower 2000 but not with uni meter but with a tasmota device.

In my info post/issue you can see the real mDNS TXT infos, but they are not the problem i think. The Jackery seems to rely on an kept alive tcp connection for the http requests it makes to the ecotracker. In Tasmota this was not possible.

So it would be good to know if uni meter uses one time connections or allows to keep them alive, as the real ecotracker does (i got a real one after all my testing with tasmota).

gittyNils avatar Jan 04 '26 12:01 gittyNils

Ok, that is an interesting finding. As far as I understood the other posters in this thread, there was no http request to the uni-meter. At least it was not included in the wireshark traces. Do you have a running uni-meter and can test if there is at least one HTTP request against the uni-meter?

I would assume that uni-meter will keep the HTTP connection alive, but I will further test this. I first quick check with my browser brought up another potential problem, the Server header field might be wrong:

Image

Can you send a /v1/json request to the real EcoTracker and send me the exact response headers as in my screenshot above?

sdeigm avatar Jan 04 '26 13:01 sdeigm