Skip to content

amcc/python-node-bme280

Repository files navigation

Use Node with Python using spawn with a JSON output

Some things are quick to get going with Python - and there's a lot of python out there for the Raspberry Pi for instance, but node is great at doing other stuff.

Getting Started

Make sure that the python prints something that looks like JSON e.g.

print '{"temperature":',temperature,',"pressure":',pressure,',"humidity":',humidity,'}'

The javascript does some stuff to strip any problematic invisible characters from the string and turns it into JSON, you should then be able to use the JSON output

About

combining python and node for the BME280

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published