|
|
@ -13,7 +13,7 @@ define stream raspberrypi (meta_owner string, meta_deviceId string, meta_time lo
|
|
|
|
define stream temperature (meta_owner string, meta_deviceType string, meta_deviceId string, meta_time long, temperature float);
|
|
|
|
define stream temperature (meta_owner string, meta_deviceType string, meta_deviceId string, meta_time long, temperature float);
|
|
|
|
|
|
|
|
|
|
|
|
from raspberrypi
|
|
|
|
from raspberrypi
|
|
|
|
select meta_owner, 'raspberrypi' as meta_deviceType, meta_deviceId, meta_time * 1000 as meta_time, temperature
|
|
|
|
select meta_owner, 'raspberrypi' as meta_deviceType, meta_deviceId, time:timestampInMilliseconds() as meta_time, temperature
|
|
|
|
insert into temperature;
|
|
|
|
insert into temperature;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|