Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scsgate con Home Assistant in Docker container #7

Open
alspad75 opened this issue May 1, 2021 · 7 comments
Open

Scsgate con Home Assistant in Docker container #7

alspad75 opened this issue May 1, 2021 · 7 comments

Comments

@alspad75
Copy link

alspad75 commented May 1, 2021

Ciao Flavio.
E' possibile usare scsgate con Home Assistant installato in Docker su un raspberry?
Se ciò è possibile, potresti dirmi come fare?
Io via ssh ho istallato tramite pip3 scsgate e mi dice che l'installazione ha avuto successo. Dopo di che non so dove andare a trovare i file di configurazione,nè so come farli riconoscere a Home Assistant.

@flavio
Copy link
Owner

flavio commented May 2, 2021

La versione USB di SCS Gate crea un device sotto /dev, stile /dev/ttyUSB0. Puoi vedere quale controllando l'output di dmesg. Questo device deve essere reso accessibile al container tramite la direttiva run --device /dev/ttyUSB0.

Una volta fatto questo penso che basti creare una configurazione di scsgate per home-assistant, il quale provvedera' ad installare il modulo python di scsgate e le sue dipendenze.

Mai fatto onestamente, quindi queste sono indicazioni "a naso"

@alspad75
Copy link
Author

alspad75 commented May 2, 2021

Grazie mille Flavio per la cortese e rapida risposta. Provo e ti faccio sapere l'esito.

@flavio
Copy link
Owner

flavio commented May 3, 2021

Ottimo. Tra la altre cose... e' da un paio di anni che ho preso il nuovo modello di SCSGate, quello basato so esp8266. Ne ho riscritto il firware per renderlo piu' sicuro rispetto all'implementazione originale. Sto continuando a procrastinarne il rilascio... 😓

@ivanovd
Copy link

ivanovd commented Oct 19, 2022

Hi @flavio I am looking into implementing some BTicino Living Now smart light switches to my Home Assistant setup and was wondering if this integration still works as I see it hasn't been updated in a while.

From what I see in the Living Now docs, it can work with WiFi and with SCS BUS messages. I am guessing that this integration deals only with the scs bus messages. Would it work with the WiFi version, or this is just related to the way the switches communicate with the gateway.

image

@flavio
Copy link
Owner

flavio commented Oct 24, 2022

Sorry for the late response, this home-assistant integration works only with the SCS bus. Moreover, it works only with a special circuit board that was built by someone who reverse engineered the whole communication protocol. This is not done against any kind of official API provided by BTCino.

The link to the "special device" is linked inside of the REAMDE, on the first line.

@leneaspilimbergo
Copy link

Hello,
I have no info on the WiFi version of BTicino switches, but if you are willing to go with the SCS bus there is also a USB gateway called BTicino L4686SDK. I developed a python application to publish on MQTT status for lights, covers and temperature sensors. It was running as a docker application on previous versions of HA but now I had to rewrite it as an appdaemon application [https://appdaemon.readthedocs.io/en/latest/]. I'm free to share it if you want to give it a try...

@ivanovd
Copy link

ivanovd commented Oct 25, 2022

Thanks to both of you! I will definitely report back if I decide to go with BTicino switches. For now, I am researching if they can be integrated into Home Assistant as this is a deal breaker for me if I can't get them integrated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants