Git Product home page Git Product logo

meaterblockmqtt's People

Contributors

floyduww avatar lkspencer avatar nailik avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

meaterblockmqtt's Issues

Meat bytes off

Because of signal strength number of bytes meat info is out of place.

crash in convertHex

At some point bad data gets sent to convertHex causing the program to crash. I was in the middle of a cook so couldn't spend time debugging. My guess is i have a byte offset wrong under some situation cause bad data to be sent.

Custom Cook Name

Add a cookName topic for mqtt. This should default to meat type if blank, or use the custom name entered on the phone.

MQTT SSl and User

Hello,

please add support when MQTT is set to require certificate and doesn't allow anonymous users.
The thing with the user is pretty easy and i got it to work but the certificate just wont work.

I tried:
mqttc.tls_set("/ssl/fullchain.pem", tls_version=ssl.PROTOCOL_TLSv1_2)

Custom Home Assistant Card

Make a custom home assistant card for this. Currently just using lots of other cards. But a custom card can make the layout better.

Use Meat Table

Use the meat table to put the meat type instead of code in mqtt

meater_block.proto needs more work

Variable names and message groupings names need to better fit what the data is. When change in here make sure to change in the code also.

Some things are still missing. So find them.

use configuration file

Read the following from a config file instead of being in code:
MQTT.HOSTNAME
meaterBlockIP
tempScale (c or f)

mqtt reconnect

Needs mqtt reconnect code. If the MeaterBlock is off for a while then the mqtt connection will disconnect due to inactivity. Currently have to restart the program to reconnect to mqtt

Cooking Step

Figure out cook steps. Find either a byte that has this or whether this is done by looking at a number of fields to calculate.

Known steps (statuses) from app:
Cooking
Pull Meat off
Resting
Enjoy

Support Meater Link

Meater Link (App) relays from bluetooth to wifi. This will allow for support of Meater and Meater+ devices.

Secondary devices send a broadcast on UDP 7878 to see if anyone has any data. If a Meater App (Meater Link) sees this it will send probe data directly on UDP 7878 to the secondary device.

Docker Container for raspberry pi

I don't have a pi to build on and I have not had time to figure out setting up how to cross compile. Anyone else able to help with this?

Use full paths

Adding a path to config because i have to set paths e.g.:
file = open("/config/python_scripts/meat_table.txt", "r") but i also need to set this for the config file.

UDP Packets from meater app cause a crash

Put in a check to make sure we are reading a UDP packet from the block and not the Meater App. A temp fix is to check if packet[1][0] matches the IP of your meater block

crash when running on pi

Traceback (most recent call last):
File "./meater_reader_buf.py", line 223, in
data = s.recvfrom(1024)
BlockingIOError: [Errno 11] Resource temporarily unavailable

check byte after signal for connection

Seems the byte after the 30 separator after the signal byte(s) shows if the block is connected to the probe. 01 is connected, 00 is disconnected. This byte could possibly be checked and sent in as a status in a new mqtt topic for a probe. Seemed that the block kept sending all other data from the last successful update from the probe, except the count which went to 00.

Add block level data to mqtt

add the battery/power status of the block to mqtt

I have not found other useful info in the block section to pass on.

Clean up this code

Clean up this train of thought code. It was written as I went while reverse engineering the data packets.

Battery Level

Show battery level better in home assistant. I think the range is 5 - 8.

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.