Comments (6)
from homebridge-mi-hygrothermograph.
Thanks for the Quick Response! You can use the name + "T" and "H" for naming the accessories, for example, and you can use the BLE MAC Address as Serial number for easy recon ;)
About the battery values i will query the hygros later with gatttool and compare the values obtained with "char-read-hnd 0x0018" in interactive mode.
Regards
from homebridge-mi-hygrothermograph.
Wow just saw the wall of text in my previous reply. Sorry about that. Did reply from email so the formatting must’ve disappeared.
I don’t think it’s a good idea to add suffixes to the name and use that on the Humidity and Temperature Characteristics. The name set on those is what is recognized by Siri so you’ll want something relevant and easy to pronounce.
The best approach is probably to add new parameters in the config for setting each name.
Regarding the serial number it’s just as you’re saying a good idea to use the device address.
from homebridge-mi-hygrothermograph.
I've split up this issue into two separate issues for tracking the configuration of the characteristic names and having unique serial numbers. See #4 and #5.
If you're having trouble with the connection being cut when using gatttool you can look into the service data in the advertising packets. The battery data is in the packet with service data which has length of 15 bytes. The last byte is the battery value.
I was having lots of trouble with connections being dropped after a few seconds by these devices. It looks like they run some kind of authentication which I never could figure out.
from homebridge-mi-hygrothermograph.
About the names, in this case, temperature and humidity in homekit you don't use the sensor name for asking about the service, you use the room name for referencing like "Hey siri what is the temperature of the kichen?" or "What is the humidity in the bathroom?" you don't ask about the sensor name, you use the name of the service that provides ;)
Regards
from homebridge-mi-hygrothermograph.
Ah yes you are correct! Misread the documentation there. Anyway you can now customise the accessory names through config.json.
I'm closing this issue but if you notice any weird stuff regarding the battery levels please open a new issue.
Thank you!
from homebridge-mi-hygrothermograph.
Related Issues (20)
- 'Current Temperature': characteristic was supplied illegal value: number -21.1 exceeded minimum of -10 HOT 1
- how to install mi-hygrothermograph on the terminal HOT 1
- Homebridge restarting ENODEV error HOT 3
- Error: Error: Unsupported state or unable to authenticate data HOT 2
- ERROR INITIALIZING PLUGIN homebridge-mi-hygrothermograph HOT 2
- error installing plugin
- Fertility, Light, Moisture not shown in Apple Home Kit HOT 3
- Mac adress HOT 1
- shutting down Homebridge ?,Hygrothermograph 2 / LYWSD03MMC HOT 5
- Missing dependency 404 (nonexistent) HOT 18
- Plugin can't read data from LYWSD02MMC
- Plugin won't load after homebridge and node update HOT 3
- issues with cap_net_raw priviliges HOT 2
- No data from LYWSD03MMC HOT 5
- Error log
- Not working after updated to NodeJS 20.x version HOT 7
- LYWSDCGQ01ZM not showing in EVE rooms HOT 6
- Offset-Humidity in Advanced Configuration not working correctly
- Not receiving decimal/float temperature values in influxDB/Grafana
- LYWSDCGQ01ZM error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-mi-hygrothermograph.