The Black-Ice detector, a really good use case for a lorawan sensor in the smartcity and roadmanagement
By using cheap wireless long-range LoRaWAN devices and Sensor-Online built-in javascript engine it’s possible to detect if the road conditions are perfect for black Ice forming or not. By using multiple sensors in different areas, you will be notified if black ice is forming in the whole town or just in a specific area. Just pouring salt on the road where it absolutely needed one saves cost and the environment at the same time
Example Javascript syntax..
// Read ELSYS ELT2 sensor data (external temp in the road)
var outsideTemp = Data.Read(“70B3D5D72014043E”, “temperature”);
var humidity = Data.Read(“70B3D5D720140443”, “humidity”);
var roadTemp = Data.Read(“70B3D5D7201404ee”, “ext-temperature”);
// Set the conditions of black ice
if (roadTemp < 2 && humidity > 75 && outsideTemp > 3) {
Data.Write(“70B3D5D72014043E”, “black_ice”, 1);
SO.SendSMS(“46733165110”, “Black-Ice conditions in zone 17 detected”)
} else {
Data.Write(“70B3D5D72014043E”, “black_ice”, 0);
}
In summary, by using the built-in JavaScript engine it is possible to apply logic, rules, and formulas and interact with sensor values to create new valuable data. Sensor-Online javascript engine is the perfect tool for many IOT applications.
#javascript#iotsolutions#iotplatform#iotdevices#lorawan
#roadsafety#roadmanagment#lpwan#smartcity#smartinfrastructure