Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value's type in MQ "device-stats" PUB message #524

vdomos opened this issue Jul 26, 2017 · 0 comments


Copy link

commented Jul 26, 2017

Value's type in MQ "device-stats" PUB message

sensor_id value is sometime a number and sometime a string:

{u'timestamp': 1500937674, u'sensor_id': 86, u'device_id': 5, u'stored_value': u'21.3'}
{u'timestamp': 1500937674, u'sensor_id': 87, u'device_id': 5, u'stored_value': u'48'}
{u'timestamp': 1500937674, u'sensor_id': 88, u'device_id': 5, u'stored_value': u'10'}
{u'timestamp': 1500937681, u'sensor_id': u'141', u'device_id': 14, u'stored_value': u'15.4'}
{u'timestamp': 1500937689, u'sensor_id': u'139', u'device_id': 12, u'stored_value': u'19.1'}
{u'timestamp': 1500937689, u'sensor_id': u'209', u'device_id': 31, u'stored_value': u'0.0'}
{u'timestamp': 1500937689, u'sensor_id': u'208', u'device_id': 31, u'stored_value': u'148920'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.