GithubHelp home page GithubHelp logo

anovamaster's People

Contributors

balk77 avatar cy8s avatar jshridha avatar mikeage avatar phardy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

anovamaster's Issues

Disconnect after exactly 4mn35

I have an Anova Precision Cooker Bluetooth and a Raspberry Pi Zero 2 W.
I managed to have a connection but unfortunately the connection is dropped each time after between 4mn36 and 4mn 34:

Feb 12 14:43:02 Trying to connect to B4:99:4C:67:D6:BA
Feb 12 14:43:03 Start connection timeout monitor. Will idle timeout in 299.998309 seconds.
Feb 12 14:43:03 Already connected, skipping connect()
Feb 12 14:43:12 Already connected, skipping connect()
Feb 12 14:43:20 Already connected, skipping connect()
[...]
Feb 12 14:47:29 Already connected, skipping connect()
Feb 12 14:47:32 Connection error (TypeError), disconnecting.
Feb 12 14:47:37 Trying to connect to B4:99:4C:67:D6:BA
Feb 12 14:47:38 Start connection timeout monitor. Will idle timeout in 299.99836 seconds.
Feb 12 14:47:38 Already connected, skipping connect()
Feb 12 14:47:38 Unknown status:
Feb 12 14:55:37 AnovaMaster starting...
Feb 12 14:55:37 Setting up connection
Feb 12 14:55:37 Trying to connect to B4:99:4C:67:D6:BA
Feb 12 14:55:38 Start connection timeout monitor. Will idle timeout in 299.999025 seconds.
Feb 12 14:55:38 Already connected, skipping connect()
Feb 12 14:55:38 MQTT connected with result code 0
Feb 12 14:55:40 Running main loop
Feb 12 14:55:45 Already connected, skipping connect()
Feb 12 14:55:52 Already connected, skipping connect()
[...]
Feb 12 14:59:58 Start connection timeout monitor. Will idle timeout in 298.681718 seconds.
Feb 12 15:00:02 Already connected, skipping connect()
Feb 12 15:00:05 Connection error (TypeError), disconnecting.
Feb 12 15:00:10 Trying to connect to B4:99:4C:67:D6:BA
Feb 12 15:00:10 Start connection timeout monitor. Will idle timeout in 299.998588 seconds.
Feb 12 15:00:10 Already connected, skipping connect()
Feb 12 15:00:11 Unknown status:

The log stopped after the "Unknow status" line until I restart the service.
If I restart the service, it connects again without any issue.
When it is connected, it is working perfectly (I can change the temperature and start/stop).
The regular time for disconnection (4mn35 = 275 seconds) is somehow suspicious.
Do you have an idea what could be the issue ?
Thanks

Possible docker support?

Hey this is super awesome! I'm doing some reading about what it would take to get this up in a docker container on Unraid since my mobo has a bluetooth adapter that's begging to be put to good use.

Any chance you could point me in the right direction on how to do that? Thanks!

BLE or NormalBluetooth

Hey,

I just started playing with this, and was trying to work out if it depends on ble or bluetooth? i was looking to run it on a pizero, but i already have them running bluetooth classic for room-assistant

Python3 issues

Hi Jay,

Looking at python3 now.
did this on a fresh git clone (with a copy of my config):

  $ virtualenv venv
  $ . venv/bin/activate
  $ pip3 install -r requirements.txt
  $ python3 run.py

and I get this error:

Traceback (most recent call last):
  File "run.py", line 29, in <module>
    main()
  File "run.py", line 14, in main
    my_anova = AnovaMaster(config)
  File "/home/cctv/Anova/anova_old/anovamaster/AnovaMaster/AnovaMaster.py", line 32, in __init__
    self._anova = RESTAnovaController(self._config.get('anova', 'mac'), connect = False)
  File "/home/cctv/Anova/anova_old/anovamaster/AnovaMaster/RESTAnovaController.py", line 24, in __init__
    super(RESTAnovaController, self).__init__(mac_address, connect=connect)
TypeError: __init__() got an unexpected keyword argument 'connect'

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.