jshridha / anovamaster Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 2-Clause "Simplified" License
License: BSD 2-Clause "Simplified" License
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
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!
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
Hi,
I'm just starting using your repo and wanted to check a few things.
I've got my anova connected and I can user it as a "sensor" for now, in that Home Assistant displays the Anova's status correctly.
I don't seem able to send commands though.
Are you still using the anova with your repo?
By the way I'm also working on a docker container version of your code.
https://github.com/lolouk44/anovamaster
and
https://hub.docker.com/repository/docker/lolouk44/anovamaster
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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.