homebridge-mi-air-purifier | A Xiaomi Mi air purifier plugin for Homebridge
kandi X-RAY | homebridge-mi-air-purifier Summary
kandi X-RAY | homebridge-mi-air-purifier Summary
A Xiaomi Mi air purifier plugin for Homebridge.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Creates a new BusStorer .
homebridge-mi-air-purifier Key Features
homebridge-mi-air-purifier Examples and Code Snippets
Community Discussions
Trending Discussions on Internet of Things (IoT)
QUESTION
I have js files Dashboard and Adverts. I managed to get Dashboard to list the information in one json file (advertisers), but when clicking on an advertiser I want it to navigate to a separate page that will display some data (Say title and text) from the second json file (productadverts). I can't get it to work. Below is the code for the Dashboard and next for Adverts. Then the json files
...ANSWER
Answered 2020-May-17 at 23:55The new object to get params in React Navigation 5 is:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install homebridge-mi-air-purifier
Install required packages. npm install -g homebridge-mi-air-purifier miio
Make sure your Homebridge server is same network with your air purifier, then run following command to discover the token. miio discover --sync
You may need to wait few minutes until you get the response similar to below: Device ID: 49466088 Model info: Unknown Address: 192.168.1.8 Token: 6f7a65786550386c700a6b526666744d via auto-token Support: Unknown
Record down the Address and Token values as we need it in our configuration file later.
If you are getting ?????????????? for your token value, please reset your device and connect your Homebridge server directly to the access point advertised by the device.
Then run the command again. miio discover --sync
Add following accessory to the config.json. "accessories": [ { "accessory": "MiAirPurifier", "name": "Bed Room Air Purifier", "ip": "ADDRESS_OF_THE_AIR_PURIFIER", "token": "TOKEN_FROM_STEP_3", "showTemperature": true, "showHumidity": true, "showAirQuality": true, "showLED": true, "showBuzzer": true }, { "accessory": "MiAirPurifier", "name": "Living Room Air Purifier", "ip": "ADDRESS_OF_THE_AIR_PURIFIER", "token": "TOKEN_FROM_STEP_3", "showTemperature": true, "showHumidity": true, "showAirQuality": true, "showLED": true, "showBuzzer": true } ] Notes: Set value for showTemperature, showHumidity, showAirQuality, showLED, showBuzzer to true or false to show or hide these sensors in Home app.
Restart Homebridge, and your Mi air purifier will be added to Home app.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page