GithubHelp home page GithubHelp logo

romor / blind-control Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 2.0 2.83 MB

Automatically control sun blinds depending on sun radiation and temperature using a Somfy RTS remote control and a Raspberry Pi.

License: GNU General Public License v3.0

Python 100.00%

blind-control's People

Contributors

romor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jorgevila

blind-control's Issues

Same issue

If I use the raspi's 3.3 volt or one of the GPIO pins as output and set both to 0/1 and connect it to the pin on the button and then the ground on the remote or raspi nothing happens but if I use a wire and short circuit the 2 vertical pins or one of the pins and ground (see video) the blinds go up and down. Is there a solution to this or will I have to use optocouplers/isolators like this.
video

what am I doing wrong? :sweat_smile:

Hello!

First of all, thanks for sharing your project, and sorry to bother you with a n00b question. (disclaimer: I'm good at software, but very bad at electronics)

Thing is, I have this very basic setup, in which the RTS remote, with the battery removed, is powered up by the pi. Red cable is 3.3V, black is GND. I have removed the buttons.

WhatsApp Image 2020-01-10 at 18 54 12

Thing is, if I short-circuit two button pins with a cable, the blind will go up and down.

WhatsApp Image 2020-01-10 at 18 54 31

But if I short circuit GND and one of the pins (I've tried them all), nothing happens. As far as I know, what the button does is exactly short-circuiting GND and the other pin, right?

WhatsApp Image 2020-01-10 at 18 55 25

Am I doing something stupid? I'd really like being able to control the blind with the pi but...

If I cannot do this this way, I'll try the opto capacitor way, but it looks unnecessarily complex as you say in the docs, also I'm not receiving my opto capacitors until the end of the month so I'll have to wait ๐Ÿ˜„

Thanks in advance and sorry to bother!

Connection diagram

The Somfy Telis 5 RTS provides the interface to the radio signal. I use this unit as it is and just solder wires to the button lines to control them automatically. The buttons seem to be connected to pull up resistors and close contact to ground if pressed. Therefore, I soldered wires to each button and the GND connection. Notice that the Somfy Telis remote is powered by the Raspberry Pi. Its battery is removed and the contacts are connected to the 3.3 V supply of the RPi. There are 2 good places to put the supply wires on, with holes where they can easily be soldered.

Can you please provide the connection diagram on the Somfy remote - which terminals on the Somfy remote did you solder? (the picture you provided is difficult to see)

These wires are connected to the GPIO interface of a Raspberry Pi. To simulate a button press, the GPIO pin of the RPi is set to zero, to release the button again the GPIO pin is set to high impedance state (thus reconfigured as input).

Are you using limiting resistors or just connecting directly to the GPIOs?

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.