soumajit / TsunamiWarningSystem

0 stars 1 forks source link

Error in displaying low-alert signals #1

Closed seshagiriprabhu closed 10 years ago

seshagiriprabhu commented 10 years ago

I tried debugging a lot. But I couldn't produce the low-alert signals. The server is receiving a blank message when I send a low-alert signal from sensor-buoys.

soumajit commented 10 years ago

Are you sure you have run the activeMQ broker and tried running the buoy properly that is; node sensor-buoy.js low-alert buoy1 --config config.json alert-type and buoy-name are mandatory options.

seshagiriprabhu commented 10 years ago

Yes, high, med and regular alerts are working fine. There's some problem in the sensor-buoys for generating the low-alert values I guess

soumajit commented 10 years ago

There was a bug in checking the Richter scale condition check in the server. Updated the code. Solved it. "But an enhancement in the value generation from the buoy should be changed. Leaving that as a fix for later".