Git Product home page Git Product logo

airthingswave-mqtt's People

Contributors

curt7000 avatar hpeyerl avatar renemarc avatar servis avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

airthingswave-mqtt's Issues

The Cron Job

Hello

your guide is great and only one which I managed to integrate and use with HA.

Struggle a little with the Cron job setup.

would this be the way to do it? In this picture the Cron should update every 5 min.

the command after python ... works by it self and it pushed data to HA.

Also I plan to change */5 yo */60 once I figure out how Cron works

image

getting this error "(CRON) info (No MTA installed, discarding output)"

Unable to run โ€“ Bluetooth command failed (code: 10)

Firstly, thanks for this project. Hoping to publish the readings from my Wave 2 to my Home Assistant over MQTT. Unfortunately I've been unable to get this working with my Wave (gen 2).

find_wave2.py works and I am able to pick up my Wave's mac/serial, so I know the bluetooth stack is up and running on my RPi3. Any ideas what might be causing this? All dependencies are installed and up-to-date. Output below:

$ python -m airthingswave-mqtt /home/pi/airthingsconfig.yaml
Config file: /home/pi/airthingsconfig.yaml
/home/pi/.local/lib/python2.7/site-packages/airthingswave-mqtt/airthingswave.py:49: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  self.config=yaml.load(f)
basement <redacted>
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/pi/.local/lib/python2.7/site-packages/airthingswave-mqtt/__main__.py", line 32, in <module>
    main()
  File "/home/pi/.local/lib/python2.7/site-packages/airthingswave-mqtt/__main__.py", line 25, in main
    r = atw.get_readings(handle)
  File "/home/pi/.local/lib/python2.7/site-packages/airthingswave-mqtt/airthingswave.py", line 96, in get_readings
    ch  = p.getCharacteristics(uuid=s.uuid)[0]
  File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 508, in getCharacteristics
    rsp = self._getResp('find')
  File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 407, in _getResp
    resp = self._waitResp(wantType + ['ntfy', 'ind'], timeout)
  File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 368, in _waitResp
    raise BTLEGattError("Bluetooth command failed", resp)
bluepy.btle.BTLEGattError: Bluetooth command failed (code: 10, error: No attribute found within the given range)`

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.