Comments (20)
Is it possible that you're running another instance of BigAssAPI? Although from what I've seen that doesn't cause a Address in use error, just unexpected behavior.
Do you have other accessories in homebridge that might also be binding to that same port?
Try running the following to find which processes might already be bound to the port (If you don't find anything without homebridge running, try running it without the BigAssFan in the config)
lsof -i :31415
from homebridge-bigassfans.
Already ran lsof, as root. Nothing there. No other instances. Rebooted the box as well.
I have 4 Big Ass Haiku fans, Sonos & a HarmonyHub. Nothing else on that port.
from homebridge-bigassfans.
I just realized the way this is written, it might fail spectacularly if you have more than one fan. Did you try and run just one fan? Thanks for testing this out, sorry it's not working as expected :|
from homebridge-bigassfans.
I've not tried just one fan.. I'll be back in a place where I can do that on Saturday (7/2).
from homebridge-bigassfans.
More fans on the network should be fine, as long as you're only specifying
one fan in the config file. (My setup is 3 fans visible over wifi, but
making HomeKit only work for one right now)
On Wednesday, June 29, 2016, Dan Sully [email protected] wrote:
I've not tried just one fan.. I'll be back in a place where I can do that
on Saturday (7/2).—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ACAn3Acc0QNy86BDURuXEr04FGCGtvZoks5qQnn8gaJpZM4JAHO_
.
from homebridge-bigassfans.
Ok.. ideally they would all work via HomeKit, yes?
from homebridge-bigassfans.
Haha, yup. I'm just going to have to change where the "FanMaster" is stored
so that any accessory that starts can access it. Just need to figure out
the best way to do that inside of homebridge.
Should be able to test it tonight or Thursday night, but haven't been near
my fan for a little bit
On Wednesday, June 29, 2016, Dan Sully [email protected] wrote:
Ok.. ideally they would all work via HomeKit, yes?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ACAn3DmNhj4RNIo7c7Dp668Ys1_Vb1eUks5qQoi1gaJpZM4JAHO_
.
from homebridge-bigassfans.
Or can the homebridge plugin be changed from an accessory to a platform and have it pull all fans from the FanMaster when it starts?
from homebridge-bigassfans.
Yeah, that's my current plan after talking a bit on the homebridge slack channel - I just haven't gotten a chance to start work on it. I'll assign this issue to myself when I start so that you can know that I'm working on it. My guess is that I'll be able to get to it within the next week.
from homebridge-bigassfans.
Awesome! I already love how the homebridge plugin works with my haiku. Now I might have to get more fans :)
from homebridge-bigassfans.
Hey Sean - have you had any time to work on this? Thanks
from homebridge-bigassfans.
I just installed this home bridge plugin and it works fantastically for a single fan. I would love to get it working for both of my fans though but it fails when I add 2 fans as accessories. Any progress on getting this to work with 2 fans?
Thanks!
from homebridge-bigassfans.
Hey guys - sorry for not working on this for a while.
I spent some time getting at least something kind of passable working. You can try it out here: https://github.com/sean9keenan/homebridge-bigAssFans/tree/discovery
Haven't updated the readme fully, but... jist of it is now you do this:
"platforms": [
{
"platform": "BigAssFans",
"name": "Big Ass Fan"
}
]
in the config, and it shouldn't break compatibility with the old way
two major issues I want to fix:
- Restarting doesn't work, the cached accessories are not restoring properly so you have to run
rm -rf ~/.homebridge/accessories/cachedAccessories
in between runs - You can't rename accessories that are discovered - ideally I'd have a config field that overrides any particular fan with whatever particular settings you wanted
from homebridge-bigassfans.
Also - if it wasn't clear, this now does discovery of fans on your network, so you don't have to specify the fan's IP addresses or the name.
from homebridge-bigassfans.
Ok, I just got back home from being out of town for 3 weeks. I'm confused. Do I not need the accessory section anymore? Is all that is needed is this?
"platforms": [ { "platform": "BigAssFans", "name": "Big Ass Fan" } ]
Do I need to upgrade the plugin somehow?
from homebridge-bigassfans.
That's all you need in the config in order to test this - unfortunately you need to grab the plugin from the git repo and try the discovery
branch I made.
One way of doing this is by cloning the repo:
git clone [email protected]:sean9keenan/homebridge-bigAssFans.git
git checkout discovery
and then following instructions here to run a local copy of homebridge-bigAssFans
from homebridge-bigassfans.
Thanks sean!
I was able to fix the need to clear the cachedAccessories after every run, will submit a PR
from homebridge-bigassfans.
Thanks gsxdsm!
Look forward to seeing the PR, as soon as that goes in I'll update the NPM package as well!
from homebridge-bigassfans.
It was a little more involved than I anticipated
from homebridge-bigassfans.
Merged this into master, should be all working now
from homebridge-bigassfans.
Related Issues (20)
- Array Handling Error
- Fan w/out Wall Controller HOT 1
- expose fan smart mode as HomeKit thermostat
- Haiku lights HOT 1
- homebridge crashed with this error
- lights unintentionally turn on to full brightness instead of partial brightness
- iOS 13 changed fan and light to one object HOT 1
- Enabling this platform makes homekit stall and fail to update all other devices HOT 3
- Haiku fans show up in Lutron app all in the same room duplicated HOT 3
- [FEATURE] Eve App 4.2 Issue with homebridge-bigAssFans
- [email protected] - Plugin 'homebridge-bigAssFans' tried to register with an incorrect plugin identifier: 'homebridge-bigAssFan'. Please report this to the developer! HOT 1
- Issue with homebridge >= 1.0.0 HOT 1
- i6 Fan compatibility HOT 2
- Error after configuration and installation of plugin in Homebridge
- Occupancy Sensor - Always triggered HOT 5
- Last fan speed and light level not saved HOT 1
- Plugin causes Homebridge v1.3.0 beta to crash HOT 5
- Plugin crashes Homebridge on launch HOT 2
- Duplicate Serial Numbers for all fans
- Latest firmware update to haiku fans broke compatibility HOT 12
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-bigassfans.