New local network name

This commit is contained in:
Aart van Halteren
2018-05-02 13:42:00 +02:00
parent 88b53ec89b
commit 712e62cbc4

View File

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