GEM not sending to new DATA POST

Ask questions about the GEM here.
Post Reply
dvl
Posts: 15
Joined: Wed Jan 19, 2022 1:22 pm

GEM not sending to new DATA POST

Post by dvl » Fri Nov 25, 2022 9:57 am

Hello,

I'm trying to get GEM to send to a new Home Assistant instance but I'm failing. The data keeps going to the old instance. I can see the data appearing in the old Home Assistant (HA) instance. tcpdump also shows the data being sent there. My current theory: I'm missing a step in telling GEM to use this new URL.

The IP addresses in question are:

Code: Select all

old HA: 10.55.0.38
new HA: 10.55.0.72
gem: 10.52.0.71
To tell GEM to use the new HA instance, I've browsed to http://gem01:8000/4 and set "URL Address" to 10.55.0.72:8000, clicked "save", then clicked "Exit Setup Mode".

tcpdump shows:

Code: Select all

14:50:31.563015 IP 10.52.0.71.1114 > 10.55.0.38.8000: Flags [P.], seq 88156:88585, ack 1, win 17376, options [nop,nop,TS val 16774323 ecr 109092075], length 429
14:50:31.604971 IP 10.55.0.38.8000 > 10.52.0.71.1114: Flags [.], ack 88585, win 1027, options [nop,nop,TS val 109097075 ecr 16774323], length 0
I have confirmed the new HA is listening on port 80:

Code: Select all

% telnet 10.55.0.72 8000
Trying 10.55.0.72...
Connected to home-assistant.example.org.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
Other details:

Code: Select all

Serial#: [redacted]
COM firmware ver: 5.39
ENG firmware ver: 1.49
RealTime Status: ON
Packet Send Interval: 5
Pri. Packet Format: 8
Sec. Packet Format: 0
Sys Status: OK
ben
Site Admin
Posts: 4266
Joined: Fri Jun 04, 2010 9:39 am

Re: GEM not sending to new DATA POST

Post by ben » Fri Nov 25, 2022 11:12 am

dvl wrote:
Fri Nov 25, 2022 9:57 am
Hello,

I'm trying to get GEM to send to a new Home Assistant instance but I'm failing. The data keeps going to the old instance. I can see the data appearing in the old Home Assistant (HA) instance. tcpdump also shows the data being sent there. My current theory: I'm missing a step in telling GEM to use this new URL.


To tell GEM to use the new HA instance, I've browsed to http://gem01:8000/4 and set "URL Address" to 10.55.0.72:8000, clicked "save", then clicked "Exit Setup Mode".
Data Post just has to do with HTTP statements, that's not the section you want.

Network is the section you're likely looking for. It tells the WiFi/Ethernet module to send to a specific server/port.
Ben
Brultech Research Inc.
E: ben(at)brultech.com
dvl
Posts: 15
Joined: Wed Jan 19, 2022 1:22 pm

Re: GEM not sending to new DATA POST

Post by dvl » Fri Nov 25, 2022 12:08 pm

And just like that, we have data.

Image

Thank you. :)
Post Reply