Code Monkey home page Code Monkey logo

bme680-mqtt's Introduction

Robin Cole

I hold a PhD in physics from the University of Cambridge, and have significant R&D experience across academia and industry. Over the last ten years, I have been working in the space sector, applying my optical expertise in the design and manufacture of space-based telescopes, as well as specializing in Python-based image analysis and software development. I am a well-known authority in machine and deep learning techniques for processing satellite and aerial imagery, and am dedicated to education. I have created the satellite-image-deep-learning.com website, newsletter, YouTube channel, and Github organization to share my knowledge and build a community. As a strong proponent of the open-source software movement, I regularly contribute to Github and strive to make a positive impact in the developer community. I have had the opportunity to share my expertise by presenting at various Python conferences and have been invited as a guest on several podcasts, including the ZenML and Mapscaping podcasts. Through these opportunities, I am able to share my knowledge and passion for the industry, while also connecting with other like-minded individuals.

bme680-mqtt's People

Contributors

robmarkcole avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bme680-mqtt's Issues

socket.gaierror: [Errno -2] Name or service not known

Dear Robin,

When I run your script I get the following error:

Traceback (most recent call last):
File β€œbme680-air-quality-RC.py”, line 24, in
client.connect(broker)
File β€œ/home/pi/.local/lib/python2.7/site-packages/paho/mqtt/client.py”, line 941, in connect
return self.reconnect()
File β€œ/home/pi/.local/lib/python2.7/site-packages/paho/mqtt/client.py”, line 1075, in reconnect
sock = self._create_socket_connection()
File β€œ/home/pi/.local/lib/python2.7/site-packages/paho/mqtt/client.py”, line 3546, in _create_socket_connection
return socket.create_connection(addr, source_address=source, timeout=self._keepalive)
File β€œ/usr/lib/python2.7/socket.py”, line 557, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
socket.gaierror: [Errno -2] Name or service not known

I searched the internet but the error mainly has something to do with no Internet/DNS problems, which shouldn’t be possible because the Pi is connected to the internet, and the MQTT server is hosted on http://192.168.1.6:8123/ 1 (My Home Assistant Pi). Do you have any idea/solution?

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.