Our testing, using Ring for Android version 3.21.1, revealed PII delivery to
branch.io, mixpanel.com, appsflyer.com and facebook.com
Please explain how we know this is still happening? when they tested this on version 3.21.1 and we are at version 5.22.3.
Homebridge plugins are written in either JavaScript or TypeScript (which is an extension of JavaScript) and run under the Node.js framework.
So if you'd like to write Homebridge plugins, you'll need to learn the basics of JavaScript.
Because of this I decided to install the meross HomeKit controller because MyQ is ass.
meross Smart Garage Door Opener Remote, Compatible with Apple HomeKit, Amazon Alexa, Google Assistant, SmartThings, Multiple Notification Modes, No Hub Needed https://www.amazon.com/dp/B084Z5QZR2/ref=cm_sw_r_cp_api_glc_fabc_Gth.FbZBHTFR1
I’m wondering if you are confusing NordVPN with an actual private VPN service. NordVPN only provides essentially a tunnel directly to the NordVPN servers. It doesn’t provide a custom point to point connection.
Homebridge runs as a server on your mini on port 8581. That server uses an internal IP address to be able to be connectable on your local network. To access a service externally, you need to have an external address, then open the ports required for the service to the internet. Which, I’m sure you can imagine can be an insecure method.
A lot of users run Homebridge on a dedicated machine like a Pi, then set that up with the external address, opening the ports and allowing it through the router. To secure it, they run PiVPN which acts as a secured VPN gateway for you to connect to your local network externally from the internet.
I use this setup myself. I use a Pi4 which runs homebridge and a couple of supporting services. I use a service like DuckDNS to map my changing ISP provided IP address to a normal domain name. I also run PiVPN to provide the VPN endpoint and opened the VPN port on my router.
There is one but stopped working months ago. You can find it when you search the name in homebridge. What I have found out was since Sengled has their own Homekit compatible hub now development on the plug-in has ceased. Pretty much the route I took, it was only $13 on Prime day and its usually only $25.
Link: https://www.amazon.com/gp/product/B0828KXVGQ/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
i used the broadlink rm4 to control my IR fireplace:
​
https://www.amazon.co.uk/gp/product/B075G9HH6F/
Design seems to be new since the one I bought. I think you just need to look for any that come with an IR remote and clearly has unique buttons per input, then learn the IR commands.
After rebooting with the old node.js 14.80 I can see the same error but now it has a little more details:
(Use \node --trace-warnings ...\
to show where the warning was created)(node:900) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see[
https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode`](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode)`). (rejection id: 2)(node:900) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.``
>https://ghostbin.com/paste/6yewy Here you go. I saw you mentioned setting up Nest later so I went ahead and just added the Nest stuff to it as well.. But depending on which method you want to communicate with Nests api you may want to remove the legacy or the new oauth system...
Solved!
Thanks to u/Jaswah for the heads up on the Tuya plugin.
As I was working off my Pi, which was connected to my network via ethernet I could not successfully connect to the Medion plug. In order to get the ID and Key I had to install node.js onto my windows computer so I could run the tuya-cli link-wizard
on the same WiFi network as the Medion plug.
You just have to make sure you restart after installing npm i @tuyapi/cli -g
I then retrieved the ID and Key on my windows computer, then continued to install the Tuya plugin on my Pi!
My first homebridge success!!!
I’m using node-red, you can make a flow to check for device status, integrate http requests, make conditions, delays and more, if you don’t have issues with a little code you can do a lot with Node-Red
Try iVideon if you're looking to save to a local NAS for free. iVideon runs on Windows and has clients for multiple platforms including mobile app for Android and iOS. I have 4 Wyzecams set up with the official RTSP firmware and iVideon server running on a Windows 2012 server. That takes care of the local recording. Then with the Wyzecam's RTSP feeds, you can get the cams integrated into Homebridge quite easily using FFMPEG.
https://webflow.com/website/cards2
That’s a good overall framework that would at least illustrate the UI/Card type layout.. cards give you the ability to show a lot of different data on the same screen, it’s just a layer on top of a layer.. you can still see the background between the cards.
That UI guy will def do way better than I can describe.
I’ve used ‘flic’ buttons in the past, and they are now promising HomeKit support coming this year (we all know how that goes tho).. still, it’s a small footprint, and does its job
Try a device on your local network that provides VPN services. PiVPN is a popular solution and doesn’t require a Pi per se. You essentially phone home to your local network while it’s standard connections remain untouched.
Now, you may ask, “How do I connect?” Any VPN app that isn’t tied to a services seller (e.g., NordVPN) will be able to connect to your VPN with a little configuration work.
This is the way!
Came here to give an almost exact solution. I am an electrical engineer who works in industrial control systems and a contactor is exactly the best solution! He can use either the smart breaker he linked to or a shelly as his control for the contactor and then like what you have or something like this to control the main voltage and handle the current. Both are the same idea and Schneider makes some really good relay contactors!
I just picked up 2 Onvis Smart Motion sensors (https://www.amazon.com/dp/B07KY6747N?ref=ppx_pop_mob_ap_share) on Prime Day. They are native HomeKit and have temp, humidity, and motion.
Work great so far.
Yes I needed a new transformer as the old one was a much older and lower voltage one from the 60's. Not a difficult upgrade though.
Here's the one I bought to use. https://www.amazon.com/dp/B085WPNC29/ref=cm_sw_r_cp_apa_glt_fabc_R32G263NF182N6BB49XM?_encoding=UTF8&psc=1
Another 24v one would work just fine
My house is 110 years old, right now I just use this and a booster fan that is hooked up to a smart switch. It isn’t pretty but it works, if the rooms get too hot (summer) then the fan kicks on and brings cold air up from the basement or if the A/C is on it gives it a boost.
I would return it and get this....
Works native with HomeKit, works on wifi and is inexpensive. Bonus, the two outlets are separately controllable
How cheap? TP-Link LB100 is $20 on amazon right now. You should be able to use homebridge-tplink-lightbulb plugin.
I have mine setup through Homebridge via the Ring Alarm system and https://github.com/dgreif/ring-alarm
That being said, if you don’t have the need for zwave hub then you could but the HomeKit module for the assure lock and swap it with the zwave one you have in there now. It’s $60 on amazon right now. Yale AYR202-IM1-USA Apple iM1 HomeKit Module https://www.amazon.com/dp/B07922H5DP/ref=cm_sw_r_cp_api_i_DcqUCbE34PAMZ
Something like this?
Aeotec Heavy Duty Smart Switch, Z-Wave Plus Home Security ON/OFF controller, 40 amps record electricity consumption https://smile.amazon.com/dp/B00MBIRF5W/ref=cm_sw_r_cp_api_i_fFtyFbN7EAS7
Or this?
Migro Outdoor Smart Wi-Fi Outlet Box, Heavy Duty 50A Resistive 120VAC 40A 5HP Wireless Pump Control Timer Switch, Compatible with Smart Phone, Alexa, Google Home, IFTTT UL Listed https://smile.amazon.com/dp/B07THD8VBN/ref=cm_sw_r_cp_api_i_OItyFbNQ2F4XA
Switching 240V power with something that withstands the heat of an outdoor enclosure, connects well to your network, and is homebridge compatible may be difficult. I have no doubt it can be done, but how long before something breaks?
If you’re interested in something geared toward your application but is wifi only, I found this. I have no experience with it, just trying to help with the search!
Seems to be possible. Ill leave this post up incase anyone has some useful tips.
http://www.instructables.com/id/Install-Linux-on-your-Android-PhoneTablet-root-req/
https://play.google.com/store/apps/details?id=ru.meefik.linuxdeploy
I got these - https://www.amazon.com/gp/product/B07Z95HWGG/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
motorized custom-sized roller blinds, available in blackout, with native homekit support.
Extension board that moves all the outputs to the back of the pi! Found it on Amazon. Pretty smooth! Gonna get more of these for my other Pi’s!
This one is quite popular with the r/homelab folks - https://www.amazon.com/HP-EliteDesk-Quad-Core-Professional-Bit-Multi-Language-English/dp/B08KSGKHVS/ref=mp_s_a_1_2?crid=TPBIBG6XGQC5&keywords=hp+elitedesk+800+g3&qid=1670656531&sprefix=hp+eli%2Caps%2C179&sr=8-2
Just make sure you buy it from a reputable seller, I usually shop at amazon.de so don’t have any pointers on amazon.com.
Not quite a completely smart switch but this does have a learning smart light sensor and motion sensor... no neutral required, custom dimmer and fade settings, and it's still made by Lutron:
https://www.amazon.com/Lutron-Maestro-Single-Pole-Multi-Location-MSCL-OP153M-WH/dp/B00CAO53O2?th=1
Is this similar to what you have? Where can I find a tutorial for setting this up?
I got one of these https://smile.amazon.com/Sideclick-Universal-Remote-Attachment-Apple/dp/B0BHKPH9V3/ and it's great. My setup in everything runs through my receiver then into the Apple TV and this allows me to switch inputs between Cable/Apple TV/Nintendo/PS4 going into my receiver as I programmed the +/- buttons on it to switch inputs.
I have been using the Kasa Outdoor 2 outlet system connected through the TPLINK homebridge plugin for a couple of years now with no problems!
Why don’t you just swap your ceiling fan controller ? Generally they have almost all the same shape.
First result in Amazon : ceiling fan wifi controller
This one is great: https://www.bhphotovideo.com/c/product/1367944-REG/smith_victor_401620_slimpanel_400_watt_daylight.html/overview
I use it with this for a workshop: https://www.amazon.com/Neewer-Microphone-Heavy-Duty-Suspension-Compatible/dp/B09F644LLP
Weiser Halo Touch Fingerprint Contemporary Electronic Smart Lock WiFi, Compatible with Alexa and Google Assistant, Color: Satin Nickel, Model: 9GED30000-003 https://www.amazon.ca/dp/B097SPZHDK/ref=cm_sw_r_cp_api_i_MG5FTH89GNAS05E9W8XB there’s the lock
Vocolinc. Not sure if the connector will fit (if you order from Amazon you can always return it), but I've got a LS3 strip, 5 BR30 and 2 E26 bulbs, 6 of the wall plug bars, and a diffuser from them. The first wall bar was a bit tricky to setup but once I got it, everything since then has connected with no problem. No issues what so ever with the brand. Amazon has a sale on the LS3 strips. https://www.amazon.com/VOCOlinc-HomeKit-Assistant-Changing-LS3-16-4ft/dp/B09M3HM3LN
I used one of these dry-contact relays with a Lutron Caseta switch to replace the remote control unit on my fireplace. I installed the relay and Lutron switch in a 2 gang box which is placed under the fireplace.
I can control the fireplace with Siri, Home app and HomeKit scenes or with a Lutron Pico remote paired with the Lutron Caseta switch. If you’re doing a new build, you could have the Lutron switch and relay installed in the wall next to the fireplace. Then you wouldn’t need the Pico remote.
https://www.amazon.com/dp/B01BWFJY6C?_encoding=UTF8&psc=1&ref_=cm_sw_r_ud_dp_EQNQNXR1EB3WNK3AE4AX uxcell AC 110V Coil Power Relay 10A DPDT LY2NJ with PTF08A Socket Base
I added one of these to my beer cellar and it has been rock solid with homebridge. The app also pulls very detailed logs, which is great for me to track if everything is staying within an acceptable range. They do plan on rate limiting the API soon, but I don't think that should impact homebridge functionality.
https://www.amazon.com/gp/product/B0872ZWV8X/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
I personally use 433 MHz RF ones predominantly, ie https://www.amazon.ca/gp/product/B01BICMM1I/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
And have a rtl-sdr plugged into my raspberry pi running the homebridge-rtl plugin.
I also have some DIY esp8266’s with a bme280 temperature sensor connected, running the tasmota firmware. These use WiFi and the homebridge-tasmota plugin.
I have 3 of these in the house and probably will grab a couple of more soon.
Qingping Bluetooth Digital Thermometer Hygrometer Sensor Works with HomeKit (Only Works with iOS), Wireless Indoor Temperature and Humidity Monitor with E Ink Display for Home https://smile.amazon.com/dp/B08N64HC6B/ref=cm_sw_r_cp_api_i_BG8228PZ2JT7KMRYTH2M?_encoding=UTF8&psc=1
I’m getting ready to try out the Accurite temperature sensors for my deep freezers and using this as the receiver.
Nooelec NESDR Mini 2+ 0.5PPM TCXO RTL-SDR & ADS-B USB Receiver Set w/Antenna, Suction Mount & Female SMA Adapter. RTL2832U & R820T2 Tuner. Low-Cost Software Defined Radio https://smile.amazon.com/dp/B00VZ1AWQA/ref=cm_sw_r_cp_api_i_NN6HQHBY2MEFTZVJTXQY?_encoding=UTF8&psc=1
Zigbee to the hub is great, too many wifi devices can cause issues in both air traffic and router cpu overload.
That said, your problem is almost definitely your network. Instead of using the shitty underpowered provided modem/router, I recommend buying a separate router and turning off the router functionality in the Virgin's device. You should also look into a mesh system instead of access points--access points can create isolated networks that have difficulty communicating with each other.
I personally use the TP-Link Deco M5, which is regularly rated one of the best systems, but is also one of the cheapest mesh network options. But I'm sure there's plenty of advice floating around about mesh networks, do your own research of course.
Ya, that would be tough. I had a little issue with a Aqara door sensor on my shed. It had to go through an interior wall, external brick wall and the thin metal of the shed, which could have been the issue. Now, I know that each hue bulbs act as a repeater for their network, I’m not sure if Zigbee works the same. For sure the battery powered sensor won’t work as a repeater, but you could get something like this to extend the range: https://www.amazon.com/dp/B07SQGG8Z7/ref=cm_sw_r_cp_api_i_RZVAJPR5JEN6NGYFQR65
Hey, not really, I "cheated" opting for a smart bulb and hid the physical switch on the lamp cable behind the bed table: I used a switch on the wall of my Bticino system (which basically acts as a on-off for a physical, 220v current load on the home lighting system) and told Apple Home: "when this gets toggled, toggle that smart bulb". So basically I can toggle those bedside lamps with the switch near them on the wall, or through Apple Home.
Unfortunately if you cut the power from the lamp switch the bulb gets nothing and can not be smart anymore. I also researched smart switches like this to install on the lamp cable itself to replace the stock rocker, and those would work but really I could find one in a nice design and with a good tactile button (the one in this example is the black little button, and they were basically all like this, at least back last year when I was searching for them). Maybe you could be more lucky now on the Amazon in your country.
If you cannot find a physical smart switch to replace the one on the cable, it's mostly about finding a physical toggle that you like + smart bulb that you can both see into Apple Home and then setting an automation to link the two.
Good luck!
I found that the only thing Homebridge is good for, is if you want to control your smart devices through “Hey Siri” voice commands
And even then, not all smart devices work with Homebridge.
In my case, I have TP-Link smart LED bulbs and found IFTTT to be a much better solution than Homebridge. IFTTT can turn my lights on if I enter my driveway, turn on any scene with one click of a button, and it gives me widget support (something Apple Home somehow still doesn’t have).
But if you still want to set up Homebridge I can walk you through it. I saw you linked a RPI3 in your comment. I was able to do it with the Raspberry Pi Zero W (far cheaper! Got mine for $5 at Microcenter).
I can give you a full write up when I get home tonight, if you’d like.
Hi Ridgers65,
Thank you very much for your answer and your advice.
I have such sockets: https://www.amazon.fr/ANTELA-Intelligente-Compatible-Consommation-%C3%89lectrique/dp/B098JT64SZ?th=1 (only WiFi / not Zigbee or other compatible).
Will I be able to control these sockets from the Apple Home app only with a Synology NAS with HomeBrige + TuyaWebPlatform plugin? No need for additional devices (like Wifi adapter)? Just need to be able to install Docker on the NAS?
ConBee II The Universal Zigbee USB Gateway https://www.amazon.com/dp/B07PZ7ZHG5/ref=cm_sw_r_awdo_4GMTZG9ACSV9Q10AKR05
Think this is what you want. I plug this into my raspberry pi, and it acts as a hub for my zigbee devices such as aqara and works fantastically well. You will just need the homebridge-hue plug in.
ConBee II The Universal Zigbee USB Gateway https://www.amazon.com/dp/B07PZ7ZHG5/ref=cm_sw_r_cp_api_glt_i_87S54TA35DAZPWKCA29J
Takes some configuring and patience, but once I got it working it’s been solid. Do use the included repeaters that come with the blinds. They help response time significantly.
You could try this one. I got them a month ago. $70 after Amazon coupon. They’re really nice, but the camera looks stupid. There’s about a million posts about them on /r/Govee.
I can only find wifi ones:
​
any suggestions on zigbee ones?
It doesn’t have HomeKit (nor HomeBridge) but this is something I am able to buy in Europe. They have power surge protection and some power backup. There are various sizes of battery available.
Deal: TP-Link Tapo Mini Smart Security Camera, Indoor CCTV, Works with Alexa&Google Home, No Hub Required, 1080p, 2-Way Audio, Night Vision, SD Storage, Device Sharing (TC60) [Amazon Exclusive] https://www.amazon.co.uk/dp/B08K3LTVPD/ref=cm_sw_r_cp_api_glt_i_dl_W8D70V0WNYAN4AGVHZ42?psc=1
I recommend Smartmi/Xiaomi Evaporative humidifier if you can find it in UK.
This one is a better solution than all the ultrasonic humidifier you can buy in my humble opinion! =)
I got it working in Homebridge, but its a little tricky getting the token.
This is the Code in my Config file —> https://hastebin.com/qogayutine.json
The Homebridge booted and is now in an infinite loop of starting and ending a terminal session.
I feel like I’m missing something here... do I need some other device for this?
This is the Bulb I’m trying to connect —> https://www.amazon.de/dp/B0747VDHG3/ref=cm_sw_r_cp_api_i_Fxs0Eb6JCN5FN
Lutron Caseta.
If you don't have anything yet, I'd get the starter kit for $100.
The awesome thing about Caseta switches (the wired ones) is that they don't require a neutral wire. Then you can pair a Pico remote to the wired switch to create a three-way switch with no wiring (or replace an existing three-way switch with a pico instead of having to re-wire two switches).
I have about a dozen Caseta switches/Pico remotes and so far I've had zero issues. They always respond instantly.
The problem with using a smart plug is a lot of them require you to press a button to turn them on (and they don’t remember what they were set to when they were turned off)
This is a smart one that uses TUYA which has a homebridge plug in. Just trying to work out if it supports diffusers and on supported devices it says ‘Air purifier’ but no diffusers.
I’d probably call Mitsubishi and ask if it’s possible to calibrate the thermostat. Their tech support number: 1-800-433-4822. They have options in the phone tree for contractor or owner. If the owner rep can’t help, call back and select contractor (be prepared to make up a name of a company)
Yes you can install a humidifier on your air handler. I haven’t seen or used one, but it does exist. Here is an example https://smile.amazon.com/dp/B00R3GEJ6K/ref=cm_sw_r_cp_api_glt_i_226HRNTB8RKTVSS7Z3QS
I run them on 2 separate pi’s For me it just makes it easier, but I think you could run them on the same pi using docker.
HA supports myQ as well
As someone who has lots of wemo devices, I would suggest using something else.
Since you already have zwave devices why not add more and use a zwave scene controller?
https://inovelli.com/red-series-smart-5-button-switch/
https://www.amazon.ca/Z-Wave-Network-Scene-Controller-Required/dp/B09B6S4TSL/
Welcome!
​
>The fact that I can add the Google Nest products to my Apple Homekit is no problem.
:) I think you may have misunderstood. This doesn't make the google HomeKit Compliant. This actually bridges you homebridge accessories to google. So like, If I make a dummy switch or bridge my PS4, this would allow me to add it to the Google Home ecosystem as well.
​
>I looked at IFTTT but couldn't find a way to call up Apple HomeKit scenes.I've only found one way to create applets myself. Could you please post me a tutorial on how to use Google Voice Commands with Apple HomeKit.
Correct, because we would use a r/pushcut automation server to do it :) it has an integration with IFTTT. This would act as our bridge to IFTTT and therefore Google.
​
>I want to control the Apple HomeKit with the precision of the Google voice assistant.("Hey Google"). (Nest Mini)
Yep! So my suggestion is using bridging like Homebridge/Pushcut and also using native device integrations for GA. For example, I have Meross plugs. They are native HomeKit. But they integrate into Google Assistant via its own integration. Most HomeKit compliant accessories do this with some rare exceptions.
Ok thanks, that was helpful. I tried setting up Tuya Web but the devices do not appear in the Home app.
I have used this in the config.json
Do I need to add something under accessories or is the platform enough?
I'm not sure whether I need to use tuya
, smart_life
or jinvoo_smart
. As I said, I use the eFamilyCloud app. I already tried all three, but none of them seem to work.
>I just wish I had any skill or ability to set it up. At all.
To get your feet wet, perhaps try setting up VirtualBox (free!) on your computer and install a small Linux VM on it for HomeBridge . I've used Linux since the floppy disk days and still did this ages ago for testing because I didn't have a spare Pi.
Nice thing doing it that way is you can take a snapshot before making big changes then roll them back if things choke. It's saved me more than once.
If you have installed this package: https://nodejs.org/en/download/
And it still doesn't work, I'd recommend running homebridge on WSL or buying a dedicated device to run homebridge like a 5 or 35 dollar raspberry pi zero w/4B
Hi and thanks for your work on this.
I'm running raspberry pi w/homebridge official image:
I'm getting this error after following the instructions:
TuyaOpenAPI response: {"code":1100,"msg":"參數為空","success":false,"t":1624356286831} path = /v1.0/iot-01/associated-users/actions/authorized-login
(node:20937) UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property 'access_token' of 'res.result' as it is undefined.
at TuyaSHOpenAPI._refreshAccessTokenIfNeed (/usr/local/lib/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:46:10)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at TuyaSHOpenAPI.request (/usr/local/lib/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:126:5)
at TuyaSHOpenAPI.getDevices (/usr/local/lib/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:59:15)
at TuyaPlatform.initTuyaSDK (/usr/local/lib/node_modules/homebridge-tuya-platform/index.js:80:17)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:20937) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli\_unhandled\_rejections\_mode). (rejection id: 1)
(node:20937) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
​
Any thoughts?
I tried that - it never finds it. I get this error in my Homebridge console:
(node:6098) UnhandledPromiseRejectionWarning: Error: Request failed: https://security-app.eufylife.com/v1/passport/login -> 100028 - Failed to request.
at /homebridge/node_modules/homebridge-plugin-eufy-security/node_modules/eufy-node-client/build/http/http.utils.js:24:15
at Generator.next (<anonymous>)
at fulfilled (/homebridge/node_modules/homebridge-plugin-eufy-security/node_modules/eufy-node-client/build/http/http.utils.js:5:58)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use node --trace-warnings ...
to show where the warning was created)
(node:6098) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:6098) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Yeah sorry I totally forgot to add that into my post, I did install the plug in. From what I can tell I did edit the config correctly. This is the error that gets spit out
​
(node:24586) UnhandledPromiseRejectionWarning: Error: timeout of 2000ms exceeded
at createError (/usr/lib/node_modules/homebridge-sengled/node_modules/axios/lib/core/createError.js:16:15)
at Timeout.handleRequestTimeout [as _onTimeout] (/usr/lib/node_modules/homebridge-sengled/node_modules/axios/lib/adapters/http.js:207:16)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:24586) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:24586) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I am having similar problems. homebridge is not recognizing any of my 4 wifi plugs.
​
process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli\_unhandled\_rejections\_mode). (rejection id: 132)10/29/2020, 11:01:18 AM (node:2907) UnhandledPromiseRejectionWarning: TypeError [ERR_HTTP_INVALID_HEADER_VALUE]: Invalid value "undefined" for header "tk"10/29/2020, 11:01:18 AM at ClientRequest.setHeader (_http_outgoing.js:529:3)10/29/2020, 11:01:18 AM at new ClientRequest (_http_client.js:243:14)10/29/2020, 11:01:18 AM at Object.request (https.js:316:10)10/29/2020, 11:01:18 AM at /home/hoobs/.hoobs/node_modules/hyper-request/hrequest.js:391:7910/29/2020, 11:01:18 AM at new Promise (<anonymous>)10/29/2020, 11:01:18 AM at Object.makeRequest (/home/hoobs/.hoobs/node_modules/hyper-request/hrequest.js:270:29)10/29/2020, 11:01:18 AM at Object.doPost [as post] (/home/hoobs/.hoobs/node_modules/hyper-request/hrequest.js:163:25)10/29/2020, 11:01:18 AM at EtekCityClient.getDevices (/home/hoobs/.hoobs/node_modules/homebridge-vesync-v2/lib/client.js:48:28)10/29/2020, 11:01:18 AM at /home/hoobs/.hoobs/node_modules/homebridge-vesync-v2/index.js:65:2810/29/2020, 11:01:18 AM (node:2907) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node
This is what i get in the status:
​
[10/5/2020, 16:08:36] [SengledHub] DeviceDiscovery invoked
(node:712) UnhandledPromiseRejectionWarning: #<Object>
(node:712) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 81)
Homebridge Magichome plugin works well with these controllers:
https://www.amazon.com/dp/B07V2CB6GG/
They do need a strong 2.4 GHz WiFi signal. My Ubiquiti network controller can set a static IP for them and that is essential for the plugin to work properly. Not sure how well they handle power surges, once I came back from vacation to find two of them in "party mode" and the fix was replacement. But I've never had an issue with them and Homebrige.
If you get an aqara camera and can set it up to have a view of the porch and then you get an aqara miniswitch and set it up with only one push, and that one push activates a change in camera status, plays a tone on a homepod mini, and sends you a notification, that'd be something that works, I'm thinking. It's kinda what I was considering.
The picture on this shows a hub that's a speaker but the camera is a hub too.
Thanks for replying. I only have a 3b and the total for a pi4 with power supply case etc just doesn’t seem like it’s worth it to me. I’ll get the mini for 570 haha and sell it for $400 in a year
I have 8 Unifi cameras, and two amcrest including the fisheye I mentioned. I’ll try it out! Thanks for the reply!
I would share my login, but it would be tough to coordinate when the sensor is in use.
Let's do a different approach. If there is enough interest for it, we might just do a small fundraiser it's just $70.
https://www.amazon.com/MEATER-Thermometer-Rotisserie-Bluetooth-Connectivity/dp/B01GQMPJOC
If we get like 7-10 people interested, it would be easy.
Maybe you can help. TuyaPlatform was able to see my garage door in homebridge but tuyawebplatform wasn't. It kept saying device id is not a valid device id. It's a Moes brand, https://www.amazon.com/MOES-Controller-Anywhere-Compatible-Required/dp/B07VWNCR14
I just recently switched to a pi from a virtual machine on my Mac.
Having the dedicated hardware is a huge bonus.
There’s not much to really worry about, flash the card - some you’re using a mac use balena etcher https://www.balena.io/etcher/ and you’ll have zero issues.
I also set up from scratch. When you remove your old bridge, HomeKit will also remove any scenes that contained those items so I had to re-think some of my room scenes - I wish I’d taken screenshots.
Also; any shortcuts that reference your smart home will need set up again.
Good luck!
The same utility the Homebridge image instructions advise for flashing the SD card in the first place can be used to clone one SD card to another. I use this all the time to make back ups.
Did you try with the URL u/CHA0SMINT posted above? For your DVR that looks the most likely, according to:
https://camlytics.com/camera/hikvision/10
There are at least half a dozen different URL types for different models, so worth trying a few of the others if you cant find info on the exact model DVR you have.
I would be trying a few of the different combinations out in VLC player to confirm it is correct before I tried it in ffmpeg
For your model, the most likely is probably:
rtsp://username::554/Streaming/Channels/101
Change the 192.168.0.1 from the URL above for the IP address of your DVR. Substitute your username and passwords. The suffix shown as 101 is for the camera on channel 1, change to 201 for channel 2 etc etc.
For Pi based systems, go to this link https://nodejs.org/dist/
Based on your Architecture - Pi zero or Pi Zero W is armv6l - Pi 3+ and above armv7l
download the tar file
Untar it in /usr/local/src.
(tar -xfz <path of tar file)
Then copy over to /usr/local.
( cd <path of tar file>)
(cp -r * /usr/ local/)
restart Pi
you are done
I have 3 RM Mini 3 working on Pi Zero W. Here are the steps - install raspbian buster on sd card - install Nodejs binary for armv6l architecture from https://nodejs.org/dist/latest-v11.x/node-v11.15.0-linux-armv6l.tar.gz (this is the latest for Pi Zero W) - install homebridge “npm install -g homebridge” - install “npm install -g homebridge-broadlink-rm-tv” - setup can config.json as per plugin page - use learn mode to get IR codes (copy from terminal window) - put these codes in config.json layout (individual codes as switches or together in a “remote” part) - you are done
I have nodejs and three homebridge instances running on pi zero.
On Pi Zero W you need to manually download the nodejs distribution and move over to /usr/local.
verify node -v and npm -v
from there all straight forward ...npm install-g homebridge
then appropriate plugins
Ok, Pi setup and running as root, home bridge installed no problem however the plugin doesn't want to install because its got a permission denied to create the plugin folder within node_modules, not sure why as its running as root, I've also chmod 777 the node_modules dir but still no joy:
​
npm install -g -unsafe-perms homebridge-simple-garage-door-opener
npm WARN npm npm does not support Node.js v10.15.2
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
> install /usr/local/lib/node_modules/homebridge-simple-garage-door-opener/node_modules/rpio
> node-gyp rebuild
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/homebridge-simple-garage-door-opener/node_modules/rpio/build'
gyp ERR! System Linux 4.19.97-v7+
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/homebridge-simple-garage-door-opener/node_modules/rpio
gyp ERR! node -v v10.15.2
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-02-24T19_44_29_495Z-debug.log
My setup... - Pi Zero WH - Debian Buster Headless
running homebridge as root
Node v11.15.0
npm v6.7.0
Installed the way I suggested in this post. For me the highest Node version for Pi Zero WH ie armv6l is - https://nodejs.org/dist/latest-v11.x/node-v11.15.0-linux-armv6l.tar.gz
This worked for me. I had trouble using newer version of node
Run the command: wget https://nodejs.org/dist/latest-v11.x/node-v11.15.0-linux-armv6l.tar.gz
To download it
Then run: tar -xzf node-v11.15.0-linux-armv6l.tar.gz
To unpack it
Then run: sudo cp -r node-v11.15.0-linux-armv6l/* /usr/local/
To move it.
Node -v Npm -v To check.
>I need help creating the .json file.
{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:30", "port": 51826, "pin": "031-45-154" }, "description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.", "accessories": [ ], "platforms": [] }
There's the base config.json file. The plugin should have a config sample to put in here (It will need to be configured some though).
>...not to mess up the "syntax"
>I don't know anything about how to install a plugin
Do npm install -g {plugin name}
I held on to my Nest account for as long as possible, afraid this would get complicated. But I switched over to a Google account 4 months ago and it's stayed connected this whole time. I followed the instructions and logged in with Chrome. Based on all I'd read here I was expecting it to disconnect and get annoying but it hasn't happened yet. It's been working perfectly and authentication sessions aren't timing out. I'm on a Mac. -shrug-
Anyway, how about trying it with Chrome Canary on your primary computer, as a separate instance from your usual Google Chrome?
I have Qingping Air Monitor Lite https://www.amazon.com/dp/B092HK4BB1?ref=ppx_pop_mob_ap_share
Appears to be on sale right now and free returns until end of Jan. Try it out.
Seems to work fine and can run off USB-C continuously. Set it up in app and in HomeKit. App gives you 24hr detailed reports and 30 day trends. HomeKit will pop warnings when C02 is air quality pass pre-set thresholds.
What I’ve learned? Sleeping in a room with door closed will boost CO2 from 600 to ~1600 overnight. Opening a window or leaving the room in AM clears it out. Space heaters, candles, and humidifiers seem to increase PM2.5 and PM10 sensor activity. Temp and humidity are within a 1-2 pts of other sensors in the room so its fairly accurate, but I don’t have pro air quality sensors to test the pm2.5 and 10 readings against. I do know that if I crank my Coway air filter on high (also was on cyber Monday sale) it drops the numbers down pretty quick after burning a candle for instance. I leave the Coway running on medium 24/7 and most of the time the PM readings are between 0-2.
I was able to update firmware just fine, not sure why the other reply couldn’t.
First off, why are you passing your HomeBridge traffic out through a VPN like NordVPN?
Second off, you shouldn't be pushing the data out through a VPN. That makes no sense.
Third off, if you're trying to hide location data from these companies, they already know where your phone is and you are.
Node Red is a flow based programming platform built off of node/JavaScript with tons of plugins to extend the functionality. A lot of people use it for more complex IOT set ups.
Yup, I have it running on the same pi that homebridge is running. Works well. This is a tutorial on how to get it up and running. There are also docker containers out there if you prefer to run it that way.
Probably easiest to do in a Node-RED + homebridge-mqtt.
https://www.npmjs.com/package/homebridge-mqtt
Basically, you’ll “create” the device using an inject node with a particular payload to an mqtt outlet node, then you’ll use a separate set of nodes to grab a value from wherever (web API), pass it to a simpler function node to calculate the conversion to light value, then pass that value to an MQTT outlet to set the value on the previously created device.
Definitely still some work involved, but about 99% of what’s needed to do a homebridge plugin is eliminated.
Take a look at Node-RED. It’s a flow editor that you can use to create really interesting interactions/automations between devices, web APIs, low-level hardware stuff and a whole lot more. You can even build your own HomeKit “accessories”.
I’m currently using it to build my own adaptive lighting setup, since who tf knows how long it’s gonna take before the homebridge community is able to reverse-engineer the native version.
It's homebridge-weather-plus. I got an API key from Dark Sky and set up the config.json
just like in the example. That got me a new "temperature sensor" in HomeKit that I put in a room called Outside
.
Install FUSE for MacOS. Per the Mac Fuse wiki, ensure you install compatibility layer during during installation.
Then install EXT Fuse for Mac.
https://github.com/osxfuse/osxfuse/wiki/Ext
I would strongly advise against enabling write support in your instance. If the SD is causing issues, writing to it could cause more damage.
What version of Raspbian are you running?
cat /etc/os-release
If you're not running "Stretch" or "Buster" then you should flash the latest version of Raspbian from the Raspberry Pi website, or use the Homebridge Raspbian Image which comes with an up-to-date version of Raspbian.
If you are running "Stetch" or "Buster" can you show the output of this command?
uname -a
If you have a raspberry pi, then burning their image onto an SD card with something like Etcher is super easy and straightforward. If not, then the project GitHub page has wonderful documentation on getting you up and running on just about any platform!
As for the plugins, I’ve found it much easier to search for plugins and use the built-in deployment/configuration wizards AFTER you’ve deployed Homebridge (it takes away the uncertainty of Googling for a plug-in, figuring out the difference between the NPM page and the GitHub page, and then trying to follow the README.MD instructions)
I recommend, as does numerous others, Etcher. It's extremely easy to use.
Here's a video of it's use: https://www.youtube.com/watch?v=PijX8GDco-g
Download from here: https://www.balena.io/etcher/
Once you have your Pi up and running, if you have problems setting up Homebridge (I'm assuming that's you're end goal, as you posted here, and not the RPi subreddit), feel free make another post for help.
For audio, Airfoil for Windows should still work but it is no longer in active development: https://rogueamoeba.com/airfoil/windows/
For screen mirroring, I know you could use this: https://www.airsquirrels.com/reflector
I think /u/andrevr is answering a different question... assuming you want to just play music through speakers connected directly to your Mac, http://www.airserver.com/ or https://www.airsquirrels.com/reflector look like theyll do whst you want.
Even if your friends IP address from their ISP changes once a week, that is still too many times to keep track of it. Dynamic DNS is a service that can be free to use check Google. You would sign up for their service and install a small app that would run in the background on a client computer (could be a Mac or Windows or even on that Raspberry Pi) that would update the service as the IP changed.
I use the app Real DNS on a Mac that is always on and the Dynamic DNS service I use is FreeDNS. Which can be free but the free part in their name comes from the fact that the site/service runs FreeBSD.
https://minglebit.com/products/realdns-mobile.php
I have been doing this for years so that I can gain access to certain services on my internal network from the Internet.
HTH
To be honest I was somehow disappointed when I couldn't find the tutorial, but some tips mentioned here helped me to finally make it works, so thanks!
I'm just adding some tips that could help anyone in the future.
As you mentioned the main mistake is that the USER is not the email but the 30 character key the gave you when the Pushover account is created.
But for me the hard part was the token, this site is where you can get it: https://pushover.net/apps/build
There you only have to give a name, and it will get you back the TOKEN key.
Hope it helps!
You could use homebridge http. It calls web pages when you control devices.
You could make a device that when turned on sends you a text. And trigger that with the eve automations
There are apps that will send you notifications from web calls, It won’t be in the home app. But it will at least be on your phone.
https://pushover.net/ - that’s an app that does notifications