Giter VIP home page Giter VIP logo

mmm-bmp-sensor's Introduction

Hello there, I'm Nicolas πŸ‘‹

Welcome to my GitHub profile !

I'm currently an SRE engineer at Hewlett Packard Enterprise and based in Grenoble, France. I do love automating ALL the things πŸš€!

Python Django Ansible Ubuntu Docker github actions git gitkraken github openshift Kubernetes VScode PyCharm

About me

  • πŸ‘·πŸ» SRE engineer
  • 🐍Python lover
  • 🀝Open source evangelist
  • 🐧Linux addict
  • πŸ€“ Geek

GitHub stats

GitHub Streak Ale's Github Stats

Top languages

Ale's Top languages

Quotes

Happiness is not something ready made. It comes from your own actions - Dalai Lama XIV

mmm-bmp-sensor's People

Contributors

sispheor avatar

Stargazers

 avatar

Watchers

 avatar  avatar

mmm-bmp-sensor's Issues

Wrong representation of the pressure on the gauge

Hello,
If you watch your example (
image
), there is an issue with the pointer

Pressure : 978 Hpa
And in the graphical representation (of the gauge), the pointer is between 985 and 990 Hpa.

And I have the same issue...

Adafruit deprecated?

Dear Sispheor,

I hope this message finds you well. Following the recent update to MagicMirror 2.25.0 and the transition to Python3, I am experiencing issues with the functionality of the module. It seems that the module is no longer working properly since these updates.

Could you please look into this matter and, if possible, provide updates or instructions to make the module function correctly again? I appreciate your efforts and expertise in this area.

If additional information is required, please let me know.
Thank you in advance for your assistance in resolving this issue.

Best regards,
Guy Swarte.

Issue with a negative value

Hello;
I have installed the sensor and your code and I have an unexpected error.

I have only update the default adress in BMP085.py

Sensor seems Ok
pi@raspberrypi:~ $ i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- 76 --

And with a small python script; it seems to work
pi@raspberrypi:~ $ python bme280.py Chip ID : 88 Version : 1 Temperature : 22.32 C Pressure : 1009.45091653 hPa Humidity : 0.0 %
But when I launch tour script, I have an error with altitude
{ Error: ValueError: negative number cannot be raised to a fractional power at PythonShell.parseError (/home/pi/MagicMirror/modules/MMM-BMP-sensor/node_modules/python-shell/index.js:184:17) at terminateIfNeeded (/home/pi/MagicMirror/modules/MMM-BMP-sensor/node_modules/python-shell/index.js:98:28) at ChildProcess.<anonymous> (/home/pi/MagicMirror/modules/MMM-BMP-sensor/node_modules/python-shell/index.js:89:9) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) ----- Python Traceback ----- File "modules/MMM-BMP-sensor/python_lib/adafruit_python_bpm.py", line 10, in <module> "altitude": "{0:0.2f}".format(sensor.read_altitude()), File "build/bdist.linux-armv7l/egg/Adafruit_BMP/BMP085.py", line 192, in read_altitude traceback: 'Traceback (most recent call last):\n File "modules/MMM-BMP-sensor/python_lib/adafruit_python_bpm.py", line 10, in <module>\n "altitude": "{0:0.2f}".format(sensor.read_altitude()),\n File "build/bdist.linux-armv7l/egg/Adafruit_BMP/BMP085.py", line 192, in read_altitude\nValueError: negative number cannot be raised to a fractional power\n', executable: 'python', options: null, script: 'modules/MMM-BMP-sensor/python_lib/adafruit_python_bpm.py', args: null, exitCode: 1 }

Can you help me ?

Thanks

Only with the original adafruit sensor?

Hi Nicolas,

Is it right that the module only works with an original Adafruit BMP085 sensor?
My issue: with a BMP180 the module isn't working... If there will be a solution it will be great!

The sensor itself is working. I can read it out with multiple python scripts.

Best regards,
Guy Swarte
the Netherlands.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.