Commit 56363dd1 authored by Federico Sismondi's avatar Federico Sismondi

Temporary disbled pushing device data to IoT Platform

parent f84c816a
...@@ -374,16 +374,16 @@ def post_dca_carouge_watering_sensed_data_payload(): ...@@ -374,16 +374,16 @@ def post_dca_carouge_watering_sensed_data_payload():
resp = {} resp = {}
resp.update({"fs_dump": _dump_raw_data_to_filesystem()}) resp.update({"fs_dump": _dump_raw_data_to_filesystem()})
resp.update({"update_flowerbed_entities": _update_flowerbed_entity(soil_humidity, sensor_eui)}) resp.update({"update_flowerbed_entities": _update_flowerbed_entity(soil_humidity, sensor_eui)})
resp.update({"update_device_entities": _update_device_entity( # resp.update({"update_device_entities": _update_device_entity(
deveui=request.json['deveui'], # deveui=request.json['deveui'],
comment=None, # comment=None,
longitude=None, # longitude=None,
latitude=None, # latitude=None,
last_reception=None, # last_reception=None,
dataFrame=request.json['dataFrame'], # dataFrame=request.json['dataFrame'],
dataFrame_rssi=request.json['rssi'], # dataFrame_rssi=request.json['rssi'],
dataFrame_timestamp=request.json['timestamp'] # dataFrame_timestamp=request.json['timestamp']
)}) # )})
return resp return resp
......
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