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

opensensors.io as MQTT broker #4

Closed
tiborb opened this issue Oct 18, 2015 · 5 comments
Closed

opensensors.io as MQTT broker #4

tiborb opened this issue Oct 18, 2015 · 5 comments

Comments

@tiborb
Copy link
Contributor

tiborb commented Oct 18, 2015

Opensensors is a convenient and free way to make the particle data open/public.
The account holder can publish to a topic, topics can be public or private, a public topic can be used by anyone.

Usage in the CLI:

mosquitto_pub -h mqtt.opensensors.io -i <client_id> -t <topic> -u <dusty> -m 'measure and timestamp' -P <your password> 

Use cases:

  1. Sensors publish directly to opensensors (permissions must be reviewed)
  2. Only dusty publishes to opensensors

Public topic example:
https://opensensors.io/topics/orgs/London-Air-Quality-Network/westminster/westminster-oxford-street

@tiborb tiborb changed the title opensensors.io as mqtt broker opensensors.io as MQTT broker Oct 18, 2015
@tiborb
Copy link
Contributor Author

tiborb commented Dec 10, 2015

@mfa The MQTT client for ESP8266 is available at https://github.com/tiborb/ESP8266/blob/master/mqtt_test/mqtt_esp8266.ino

In which sensors-software (arduino) variant should I start integrating it?

@ensonic
Copy link

ensonic commented Jan 14, 2017

@ricki-z
Copy link
Member

ricki-z commented Jan 14, 2017

this is an very old issue. a new version will be published in the next days, needs some more testing by now. this version will have mqtt support.

@ensonic
Copy link

ensonic commented Jan 14, 2017

I just implemented mqtt support as well :/

ensonic@cb91260

Is this like what you have (which branch?)? Or do you want a PR for this?

It works, but I think the graph feature on opensensors.io is broken (or I haven#t figured how to get graphs from my data). As a general improvement it would be nice to store number in json as numbers and have the units as a separate field (optional).

@ricki-z
Copy link
Member

ricki-z commented Jan 15, 2017

please see #33. We will remove mqtt completely from our firmware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants