Commit 56a92ebe authored by Cédric Crettaz's avatar Cédric Crettaz 🖥

Update historic_api_subscribe_to_device_carouge.sh to store the soil...

Update historic_api_subscribe_to_device_carouge.sh to store the soil temperature and the soil moisture EC.
parent 7d4ab9c1
......@@ -21,14 +21,14 @@ curl --location --request POST \
}
],
"condition": {
"attrs": ["controlledProperty","value","serialNumber","name","rssi","batteryLevel"]
"attrs": ["controlledProperty","value","serialNumber","name","rssi","batteryLevel","soilTemperature","soilMoistureEc"]
}
},
"notification": {
"http": {
"url": "http://172.18.1.7:8668/v2/notify"
},
"attrs": ["controlledProperty", "value","serialNumber","name","rssi","batteryLevel"],
"attrs": ["controlledProperty", "value","serialNumber","name","rssi","batteryLevel","soilTemperature","soilMoistureEc"],
"metadata": ["dateCreated", "dateModified"]
}
}'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment