Giter Club home page Giter Club logo

somfy-signalduino's Introduction

somfy-signalduino

Logfile sample

Set_sendMsg, msg=P43#A38B8B786D7566#R6 2020.09.20 07:56:37 5: sduino: Set_sendMsg, Preparing manchester protocol=43, repeats=0, clock=645 data=A38B8B786D7566

Explanation

Protcol 43 = Somfy RTS C = Clock = Frequenz F= Register CC1101 2020.09.20 07:56:37 5: sduino: AddSendQueue, sduino: SC;R=6;SR;P0=-2560;P1=2560;P3=-640;D=10101010101010113;SM;C=645;D=A38B8B786D7566;F=10AB85550A;

SC = Send Combined -> SR (Send Raw) und SM( Send Manchester) abwechselnd

R = Repeat

für Raw wird mit PYX die Pulse definiert sprich P0 = für den 0 char etc

das scheint dann die Zeit in ys zu sein und - für 0 und + für 1.

D.h. laut https://pushstack.wordpress.com/somfy-rts-protocol/ verwenden sie die art für wiederholende frames mit 7 mal 10 pattern

und dann soft sync

das entspricht dem Dta des Send Raw

10 10 10 10 10 10 10 113

Protocol Data ist hier drin also P43 = Somfy RTS https://github.com/fhem/fhem-mirror/blob/master/fhem/FHEM/lib/SD_ProtocolData.pm Address 131815

enc key A1

rolling code 0101

key up

2020.09.24 15:39:30 5: sduino: Set_sendMsg, msg=P43#A2848587928A99#R6

2020.09.24 15:39:30 5: sduino: Set_sendMsg, Preparing manchester protocol=43, repeats=0, clock=645 data=A2848587928A99

2020.09.24 15:39:30 5: sduino: AddSendQueue, sduino: SC;R=6;SR;P0=-2560;P1=2560;P3=-640;D=10101010101010113;SM;C=645;D=A2848587928A99;F=10AB85550A; (1)

2020.09.24 15:39:30 4: sduino: Set_sendMsg, sending : SC;R=6;SR;P0=-2

New example

  • RC: 108
  • EC: A8
020.10.05 09:38:20 4: SOMFY_set: Light -> entering with mode :send: cmd :off:  arg1 ::  pos :200: 
2020.10.05 09:38:20 4: SOMFY_set: handled command off --> move :off:  newState :open: 
2020.10.05 09:38:20 5: SOMFY_set: handled for drive/udpate:  updateState ::  drivet :0: updatet :0: 
2020.10.05 09:38:20 4: SOMFY_sendCommand: Light -> cmd :off: 
2020.10.05 09:38:20 4: SOMFY_SENDsm message: sA8200108131815
2020.10.05 09:38:20 4: SOMFY_SENDsm data before checksum: sA8200108131815
2020.10.05 09:38:20 4: SOMFY_SENDsm data checksum: 6
2020.10.05 09:38:20 4: SOMFY_SENDsm data after crypt: A88E8F87928A99
2020.10.05 09:38:20 5: sduino: Write, sending via Set sendMsg P43#A88E8F87928A99#R6
2020.10.05 09:38:20 5: sduino: Set_sendMsg, msg=P43#A88E8F87928A99#R6
2020.10.05 09:38:20 5: sduino: Set_sendMsg, Preparing manchester protocol=43, repeats=0, clock=645 data=A88E8F87928A99

somfy-signalduino's People

Contributors

smezger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dos-ise

somfy-signalduino's Issues

A few questions

Hi,
I just found this repository and I am very excited about it because I am searching for something to control my somfy blinds with the signladuino but without FHEM. My goal would be to have something that can be included into Home Assistant.

I tried to get it working on my machine, but had no luck yet. So I have a couple of questions, if you don't mind:

  • From the example-paths like /dev/serial/by-id/usb-Unknown_radino_CC1101-if00 I am assuming you are running on Linux or Mac (with .net-core?). Currently I trying to get it working under Windows. Did you run it on Windows? If yes, did you use any "special" drivers?
  • Is there any way to get logs or debug-outputs from the signalduino, because I am seeing nothing there?

Currently the signalduino is working with FHEM and I can control the somfy blinds. I also copied the RollingCodes and the EncryptionKey from there.

It would be realy nice, if you could give some hints.
Thanks in advance,
Benjamin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.