|
@ -61,6 +61,17 @@ func main() { |
|
|
SceneID: 7, |
|
|
SceneID: 7, |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
bus.RunEvent(events.ExternalEvent{ |
|
|
|
|
|
Kind: "weather", |
|
|
|
|
|
Values: map[string]string{ |
|
|
|
|
|
"city": "Ørland", |
|
|
|
|
|
"region": "Trøndelag", |
|
|
|
|
|
"country": "Norway", |
|
|
|
|
|
"temperature_celsius": "21.00", |
|
|
|
|
|
"precipitation_mm": "3.21", |
|
|
|
|
|
}, |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
time.Sleep(time.Second / 8) |
|
|
time.Sleep(time.Second / 8) |
|
|
|
|
|
|
|
|
log.Println("Search \"**:Hexagon {1,5,6}\"") |
|
|
log.Println("Search \"**:Hexagon {1,5,6}\"") |
|
|