Changes dns name

This commit is contained in:
2022-09-14 20:45:31 +02:00
parent fca3fd401d
commit 7969f4ee86

View File

@@ -97,7 +97,7 @@ class InSyncState < StatePattern::State
# Write to EmonHub
begin
TCPSocket.open("printserver.home.local",5050){|s|
TCPSocket.open("printserver",5050){|s|
s.write(sprintf("8 %d %d\r\n", reading.current_kw_consumed*1000, reading.current_kw_produced*1000))
}
rescue