mijia-homie | Homie MQTT bridge for the Xiaomi Mijia 2 hygrometer
kandi X-RAY | mijia-homie Summary
kandi X-RAY | mijia-homie Summary
This is a project for capturing BLE data from a Xiaomi Mijia 2 hygrometer-thermometer and publishing it. The repository includes a number of related crates:. The project originated from a blog post, and some ideas came from a Python utility for talking to the same sensors, especially this issue thread. If you want a bit more back-story, there is also a slide deck.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mijia-homie
mijia-homie Key Features
mijia-homie 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 mijia-homie
Some Xiaomi Mijia version 2 Bluetooth temperature and humidity sensors.
A working Rust toolchain and Docker on your laptop.
An MQTT broker to connect to (test.mosquitto.org works okay for testing, but you will want to deploy your own if you're monitoring your house).
Something to read the measurements from MQTT. Homie Device Discovery is probably easiest for debugging.
Start by finding out which sensors you have: TARGET_SSH=pi@raspberrypi.local EXAMPLE=list-sensors ./run.sh
Add each of the sensors to /home/pi/sensor-names.toml on the Raspberry Pi. Each line should be of the form: "A4:C1:38:D7:21:17"="Landing" If you don't know the sensor names yet, just make some names up for now.
You will also want to copy mijia-homie/mijia-homie.example.toml to /home/pi/mijia-homie.example.toml and edit it to suit your needs.
You should then be able to run the publisher using run.sh with default arguments: TARGET_SSH=pi@raspberrypi.local ./run.sh This will start the publisher under systemd and show you the logs.
It takes a while to connect to all of the sensors and start getting readings. Once everything is running, you can use HoDD to see your readings.
If everything is visible in HoDD then you can add other integrations. Anything that understands Homie should be able to read your sensors. OpenHAB is what we're using, but take a look at the Homie Implementations page and see if anything inspires you.
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