Comments (3)
Nice idea, I considered making this as a Homebridge plugin at first; ended up going with MQTT targeted specifically at home-assistant compatibility in the end, and I'm using Homebridge-homeassistant to get them added to HomeKit... home-assistant has native HomeKit integration now too, but I've yet to try it.
Anyway... Disconnecting and reconnecting super quickly like that seems to happen a lot if the signal strength is too low between the computer running this and the Soma device. Are they quite far apart? Possible interference?
The other thing that's worth mentioning (though you may have already figured it out), is that you have to call connect()
before any of the other actions will actually do anything.
from soma-ctrl.
Out of interest, have you tried out running somactrl by itself? Does that successfully connect?
I wonder if there's already a Homebridge plug-in that'll talk MQTT or HTTP allowing you to just wire up a plugin to somactrl (though I can see the benefit of the whole thing being in-process to Homebridge, though it'll probably be more work!)
from soma-ctrl.
ok - now I am trying to use somactrl via http but after some minutes somactrl logs this:
from soma-ctrl.
Related Issues (11)
- TypeError: Cannot read property 'subscribe' of undefined HOT 5
- Latest Soma blinds not detecting HOT 17
- Hassio
- Latest version only connect to one device HOT 3
- Command Disallowed 0xc causes a device to become unresponsive HOT 9
- Issues installing - directory not created HOT 1
- Recurrent error HOT 6
- TypeError: Cannot read property 'valueHandle' of undefined HOT 3
- βstateβ does not update HOT 5
- Somactrl throwing MTU error, stops responding HOT 3
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 soma-ctrl.