bbostock / switchbot_py_meter Goto Github PK
View Code? Open in Web Editor NEWPython script to read temperature and humidity from Switchbot Meter and send via MQTT (for Home Assistant etc)
Python script to read temperature and humidity from Switchbot Meter and send via MQTT (for Home Assistant etc)
This is awesome, just picked up some of these meters, along with the hub. Have not been able to find any documentation on the hub yet, wondering if we can pull via wifi to the hub, instead of BLE to the meters? I've got 2 so far and would love to be able to graph the temps/humidity in grafana. I've opened a ticket with Switchbot, but wondering if you have any knowledge yourself?
Thanks! Feel free to close since this isn't really an issue.
Hi I am having trouble when I run the
from bluepy import btle
I am getting the reply, No module name 'bluepy'.
Can you assist please?
Firstly, thanks for your work. This looks very promising.
I have tried setting this up on a Pi 4 running.Buster with Python 3.7.3 as well as in Docker containers running Stretch and Python versions down to 3.6.
In all configurations I've tried, bluepy crashes with a BTLE Management error shortly after lunch. Looking at the bluepy repo, quite a few people are reporting problems with various Python versions.
I read that you are using a Zero W. Which versions of Raspian and Python are you using, please?
Also have you just used an MQTT sensor for integration in HA or something more exotic?
Thanks!
Greatjob !
I'm trying to make the same type of connection from an ESP32 to a Meter but can't retrieve the "16b Service Data".
Do you have anyclue ?
Or maybe do you think it's possible ?
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.