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: 6 months ago
JSON representation
Get some insight into the daily life of my LTE-M connected Monstera plant.
- Host: GitHub
- URL: https://github.com/pwntus/connected-plant
- Owner: Pwntus
- Created: 2020-12-08T18:49:13.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-09T23:40:44.000Z (over 4 years ago)
- Last Synced: 2025-03-29T04:47:09.953Z (7 months ago)
- Topics: arduino, iot, lte-m, plant
- Language: C++
- Homepage: https://pwntus.github.io/connected-plant/
- Size: 14.9 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.

## MIC Uplink Transform
```js
var resources = payload.toString('utf8').split(',')
var outputtry {
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
```