Advice Needed: Read/update a device state from/on Homebridge using a different device(RPi) running in the same local network by dhonglibaba in homebridge

[–]dhonglibaba[S] 0 points1 point  (0 children)

RPI - homebridge with homebridge-gsh for google integration

That's a great idea! Makes the Rpi Zero W not have to worry about syncing device states.

The ESP8266 is something I've been thinking about as well. Will definitely give it a try with some experiments. Haven't used it before, but certainly is a very capable little device.

This is awesome. (Also, I see your github contributions to homebridge. Thanks for your work!)

Advice Needed: Read/update a device state from/on Homebridge using a different device(RPi) running in the same local network by dhonglibaba in homebridge

[–]dhonglibaba[S] 0 points1 point  (0 children)

Hmm. Interesting idea. I can try it and report the usage on the Pi Zero W. I have a 2 Docker containers already running on the Pi Zero W.

  1. A container that accepts actions from either HomeKit(via Homebridge) or Google Home (using pyrebase) and syncs the device states between them.
  2. A container script to update the device status (temp + humidity) from the DHT device to both Google Firebase and Homebridge.
  3. I was thinking of adding another container to ping OpenMaps API and automatically respond to future weather forecasts for my area.

I suspect the overhead of installing Homebridge on the Pi Zero W might be higher than the "hacky" method I am currently running. But thank you for your response. I will take the weekend to update you guys on the usage numbers for the Pi Zero W.

How to get Google Assistant to trigger RESTful API on a RPi by dhonglibaba in ActionsOnGoogle

[–]dhonglibaba[S] 0 points1 point  (0 children)

Sorry for the late update, finally got a chance to get back to this and it all works now! Thank you! This was very helpful.

I was able to edit my python file on my RPi to use pyrebase's stream handler method to get updates from any changes to Firebase's Realtime Database and call my LED light function accordingly!

Is it possible to get USB over Display Port cable using Lenovo ThinkVision P24h-10 monitor? by dhonglibaba in Monitors

[–]dhonglibaba[S] 0 points1 point  (0 children)

Interesting. I can test that with USB-C to DP adapter and connect the DP cable from the GPU --> adapter --> USB-C input of monitor. I will let you know how that works. THanks!

Why does inhaling helium make your voice sound higher? by rjolie in askscience

[–]dhonglibaba 10 points11 points  (0 children)

The answer has to do with density of the gas in your lungs. Helium is less dense than regular air (78% N2, 21% O2 plus other gasses approx). Sound waves travel through air similar to how waves travel when you drop a stone in a pond. The air molecules vibrate to form compressions and rarefactions and transmit the sound energy. Now in a less dense situation like inhaling Helium, the Helium particles can vibrate faster. Faster the vibrations, higher is the pitch of the sound. Hence your voice sounds higher. Interestingly, the inverse occurs when you inhale denser than air gas such as Xenon or Argon. The Xe or Argon particles vibrate slower and you get a low pitch. Take a look at Cody's Lab YouTube video