andremiller / pimatic-mqtt-simple

A very basic mqtt plugin for pimatic
https://www.npmjs.com/package/pimatic-mqtt-simple
2 stars 3 forks source link

How about string instead of numbers? #4

Closed sebastienvg closed 9 years ago

sebastienvg commented 9 years ago

First, thank you for the plugin works great. I would like to use it to display say GPS coordinate published from another mqtt client set up in my car on the topic location/dodge_charger

What should be the device in the config.json?

andremiller commented 9 years ago

Is it returning the GPS coordinate as a string, that you just wish to display as is?

I think there's currently a bug with displaying strings, which I'm busy l looking at for issue #5

sebastienvg commented 9 years ago

Yup, that's exactly what I meant! Thanks for looking into this.

andremiller commented 9 years ago

This should now be resolved with commit 47fe0b4 and available as v0.1.1 on NPM : https://www.npmjs.com/package/pimatic-mqtt-simple

You can install it or update it by going to your pimatic-app directory (the one with config.json and node_modules) and running npm install pimatic-mqtt-simple

sebastienvg commented 9 years ago

Yup it's working fine, thank you for your work.

On Fri, Aug 7, 2015 at 3:33 PM, Andre Miller notifications@github.com wrote:

This should now be resolved with commit 47fe0b4 https://github.com/andremiller/pimatic-mqtt-simple/commit/47fe0b4655c5f92781bf0c3f13c3cddf2783108f and available as v0.1.1 on NPM : https://www.npmjs.com/package/pimatic-mqtt-simple

You can install it or update it by going to your pimatic-app directory (the one with config.json and node_modules) and running npm install pimatic-mqtt-simple

— Reply to this email directly or view it on GitHub https://github.com/andremiller/pimatic-mqtt-simple/issues/4#issuecomment-128804396 .