Comments (5)
Hello,
Don’t the API Expectations section of the ReadMe or the working demo of the fake.js API helps you?
Thx in advance for providing specific questions that I may answer ;)
Best,
PJCzx
from homebridge-thermostat.
It does, and sorry for the basic questions - I've just never done this before so I'm stumbling my way through it! I suppose my two questions are:
-
I'm not sure what values within the fake.js file I need to update to get it functioning. Which values should I update to get the fake.js file to become a real.js and actually pull the correct data from my system?
-
Once I've updated the fake.js file, what do I do then? I'm running homebridge off an old MacBook Pro, so do I need to store the file in a specific location on my Mac and have the API URL use the IP of my Mac and the directory where the .js file is stored?
Thank you so much!
from homebridge-thermostat.
Hello,
Well, it depends on what are you using. I don’t know Infinitude not Bryant systems but I assume you can mesure température somewhere and heat somewhere else :)
Basically, you have the target values that you would like to reach and the current values that are facts. Eg
targetHeatingCoolingState = 3 (AUTO) (see [HAP|https://github.com/KhaosT/HAP-NodeJS/blob/master/lib/gen/HomeKitTypes.js] mean you want the heating to manage by itself. So if you use the app to click Auto, you will receive this in the fake.js and you will need to manage the case.
Remember this plugin is made to build something and cannot work as a standalone solution. I suggest you start both side by side and play with your Home iOS app while looking at the logs.
My setup was 2 raspberries pies, one with homeBridge and one with the heating system mechanism and temperature measurement.
I used a similar implementation of the fake.js on the hardware rPi to store temperature and give heater orders.
If you try it, you will see each time you open Home app on iOS device Homebrige will ask your Fake status, and each time you will change some settings in the app, it will call target temperature or target heating.
Hope this is useful for you, please remember the IP must be fully writen, like http://127.0.0.1, not just the numbers.
Best,
from homebridge-thermostat.
No news after >10 days. Good news ? I Close :) Best
from homebridge-thermostat.
Sorry I didn't see your reply! Thank you for all of the info - I haven't had a chance to work on it over the past week but this is helpful and gives me something to go on; I'll see how far I can get. Really appreciate your help.
from homebridge-thermostat.
Related Issues (20)
- homebridge doesnt get the data HOT 3
- dummy thermostat HOT 5
- Does thermostat support adjust the fan state? HOT 1
- Error: connect EALREADY HOT 4
- Thermostat not working with Siri, but OK with Home app HOT 3
- No Response error HOT 2
- Update status with one request HOT 4
- Pull request not merged HOT 2
- Fake.js not working HOT 2
- CurrentTemperature rounded to whole number HOT 7
- getting error message HOT 5
- Significant Variance in Temperatures in Home App HOT 3
- One click activation of thermostat devices HOT 3
- Work with Honeywell home t series thermostats HOT 1
- heatOnly option HOT 10
- pollInterval does not work HOT 5
- Cannot pair Homebridge bridge in Home app when homebridge-thermostat accessories are present in config.json HOT 1
- "heatOnly": true - ignores auto mode HOT 1
- Not working with Dantherm
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-thermostat.