Comments (3)
I had the same issue, after reading through the code I found that for some reason the SensorAccessory class expects a device.key property to split the results from the event.
Try adding this after the split_character line
"key": "true"
additionally you will have some issues because you have split_character set to ":" when you are using "=" on the event. So you should either change that, or remove the line in your config.
So the correct config may look something like
{
"platform": "ParticleIO",
"access_token": "<<>>",
"cloud_url": "https://api.particle.io/v1/devices/",
"devices": [
{
"name": "Home Temperature",
"type": "temperaturesensor",
"device_id": "<<>>",
"event_name": "tvalue",
"split_character": "=",
"key": "true"
}
],
"name": "Particle Devices"
}
from homebridge-particle-io.
Hey All, I am having trouble getting my sensor to read to my HomeKit app. It keeps just showing 32 degrees.
Here is what my particle console is showing
tvalue | temperature=73.
homebridge logs showing
[2019-4-3 21:50:44] [Particle Devices] temperature=73. - Home Temperature - temperaturesensor
So I know the data is coming to homebridge but doesn't seem to be transmitting to my iOS device.
here's my config
{
"platform": "ParticleIO",
"access_token": "<<>>",
"cloud_url": "https://api.particle.io/v1/devices/",
"devices": [
{
"name": "Home Temperature",
"type": "temperaturesensor",
"device_id": "<<>>",
"event_name": "tvalue",
"split_character": ":"
}
],
"name": "Particle Devices"
}
from homebridge-particle-io.
Ah that seems to fix it. I had tried the split character but not with the key:true.
Also, it only seems to use C so my house was apparently 158 degrees. :) thanks for that!
from homebridge-particle-io.
Related Issues (19)
- Fix ESLint issues in index.js HOT 1
- State and RGB-Lights HOT 16
- Hue/RGB Lightbulb changes break custom function names HOT 3
- two lightbulb accessories on one Particle device HOT 1
- a little help HOT 1
- Support for speaker accessory HOT 1
- Thousands of requests sent to particle cloud all the time
- Stateless device type? Eg, toggle
- Minus temperature: device not responding making HOT 1
- current version does not seem to run user defined particle functions HOT 3
- Implement tests
- Support for event data in proper JSON format HOT 2
- Support for new accessory HOT 1
- Support for HomeKit accessory updates HOT 2
- Can you provide code and configuration examples for dimmable and colour light accesories HOT 1
- Implement other accessory types HOT 2
- Consider using Particle.io Javascript SDK
- Add additional characteristics to Lightbulb HOT 2
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-particle-io.