Skip to content

Commit

Permalink
rename status field in ne hearbeat msg to ne_status
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeel-nasir committed Mar 24, 2022
1 parent 046c2c9 commit 9dcb403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/send-ne-status.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ do
--arg ne_status "$ne_status" \
--arg received_time "$timestamp" \
--arg device_id "$id"\
'{device: $device, gateway_ip: $gateway_ip, status: $ne_status, _meta: {received_time: $received_time, device_id: $device_id}}' )
'{device: $device, gateway_ip: $gateway_ip, ne_status: $ne_status, _meta: {received_time: $received_time, device_id: $device_id}}' )

# publish data to the linklab influxdb mqtt topic
mosquitto_pub -t gateway-data -m "$message_json"
Expand Down

0 comments on commit 9dcb403

Please sign in to comment.