Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pwntus/connected-plant

Get some insight into the daily life of my LTE-M connected Monstera plant.
https://github.com/pwntus/connected-plant

arduino iot lte-m plant

Last synced: 14 days ago
JSON representation

Get some insight into the daily life of my LTE-M connected Monstera plant.

Awesome Lists containing this project

README

        

# Connected Plant

LTE-M connected Monstera plant.

:star: Credits to [@robingranqvist](https://github.com/robingranqvist) for the plant graphics.

![Preview](./preview.png)

## MIC Uplink Transform

```js
var resources = payload.toString('utf8').split(',')
var output

try {
output = {
plant: {
type: 'measurements',
soil_moisture: parseInt(resources[0]),
soil_temperature: parseFloat(resources[1]),
air_temperature: parseFloat(resources[2]),
air_humidity: parseFloat(resources[3]),
air_heat_index: parseFloat(resources[4])
}
}
} catch (e) {
output = { uplink_transform_error: e.message }
}

return output
```