New local network name
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user