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

Blinds implementation #283

Closed
ageorgios opened this issue Mar 25, 2017 · 4 comments
Closed

Blinds implementation #283

ageorgios opened this issue Mar 25, 2017 · 4 comments
Labels
help needed Action - Asking for help from the community

Comments

@ageorgios
Copy link

Hello,

I would like to implement a blinds system using a sonoff th16 with 2 relays, 1=moveup 2=movedown.
I can use the PulseTime to have each relay start and stop automatically after X seconds that the blinds take to fully close/open.

  1. But blinds need a way to get this information:
  • getPercentagePosititon()
    where I need to get the state where the blinds are for example 60% closed.
  1. There is also a need to have hardware switches that change also the state

Has anybody implemented something similar?

Is there a roadmap to implement a variable that saves the percentage of opening/closing blinds?

Thank you for your great work.

@davidelang
Copy link
Collaborator

davidelang commented Mar 25, 2017 via email

@arendst arendst added the help needed Action - Asking for help from the community label Mar 25, 2017
@goncalvesdiogo
Copy link

I would like to suggest an idea. If you are using blind rollers, you can reset the starting position using infrared proximity sensors. Knowing the zero point(blinds openned) you can count how many turns the servo motor is needed to close your blind. So your comands are always the "RESET"(open) and the "CLOSE" maybe an STOP one so you can partially close or open the blinds. In case of a module reset due a energy loss.... always starts your programm with a RESET comand so you have the positions reseted.

@davidelang
Copy link
Collaborator

see #288 for a full writeup of what I think is desired

@davidelang
Copy link
Collaborator

closing this in favor of the more general outline in #288

vicfergar pushed a commit to vicfergar/Sonoff-Tasmota that referenced this issue Jul 17, 2017
3.9.3 20170127
* Add confirmation before Restart via webpage
* Expand Domoticz Configuration webpage with Key, Switch and Sensor
Index and
*   add commands DomoticzSwitchIdx and DomoticzSensorIdx
* Fix default DHT11 sensor driver selection
* Fix LedPower status after button press (arendst#279)
* Add command Sleep 0 - 250 mSec for optional light sleep mode to lower
energy consumption (arendst#272)
*   (Expect overall button/key/switch misses and wrong values on Sonoff
Pow)
* Add Hue brightness extension (arendst#281)
* Fix Hue brightness and change to call by reference (arendst#283)
vicfergar pushed a commit to vicfergar/Sonoff-Tasmota that referenced this issue Jul 17, 2017
3.2.13 20170127
* Prep for 4.0: Remove Legacy Info, Warning, Commands and Status
messages
* Add sleep status to StatusPRM message
* Fix Hue brightness and change to call by reference (arendst#283)
vicfergar pushed a commit to vicfergar/Sonoff-Tasmota that referenced this issue Jul 17, 2017
3.9.3 20170127
* Add confirmation before Restart via webpage
* Expand Domoticz Configuration webpage with Key, Switch and Sensor
Index and
*   add commands DomoticzSwitchIdx and DomoticzSensorIdx (arendst#86) (arendst#174)
(arendst#219)
* Fix default DHT11 sensor driver selection
* Fix LedPower status after button press (arendst#279)
* Add command Sleep 0 - 250 mSec for optional light sleep mode to lower
energy consumption (arendst#272)
*   (Expect overall button/key/switch misses and wrong values on Sonoff
Pow)
* Add Hue brightness extension (arendst#281)
* Fix Hue brightness and change to call by reference (arendst#283)
vicfergar pushed a commit to vicfergar/Sonoff-Tasmota that referenced this issue Jul 17, 2017
3.9.3 20170127
* Add confirmation before Restart via webpage
* Expand Domoticz Configuration webpage with Key, Switch and Sensor
Index and
*   add commands DomoticzSwitchIdx and DomoticzSensorIdx (arendst#86) (arendst#174)
(arendst#219)
* Fix default DHT11 sensor driver selection
* Fix LedPower status after button press (arendst#279)
* Add command Sleep 0 - 250 mSec for optional light sleep mode to lower
energy consumption (arendst#272)
*   (Expect overall button/key/switch misses and wrong values on Sonoff
Pow)
* Add Hue brightness extension (arendst#281)
* Fix Hue brightness and change to call by reference (arendst#283)
vicfergar pushed a commit to vicfergar/Sonoff-Tasmota that referenced this issue Jul 17, 2017
3.2.13 20170127
* Prep for 4.0: Remove Legacy Info, Warning, Commands and Status
messages
* Add sleep status to StatusPRM message
* Fix Hue brightness and change to call by reference (arendst#283)
vicfergar pushed a commit to vicfergar/Sonoff-Tasmota that referenced this issue Jul 17, 2017
3.9.4 20170127
* Fix Sonoff Dual Relay switching (arendst#287)
* Add confirmation before Restart via webpage
* Expand Domoticz Configuration webpage with Key, Switch and Sensor
Index and
*   add commands DomoticzSwitchIdx and DomoticzSensorIdx (arendst#86) (arendst#174)
(arendst#219)
* Fix default DHT11 sensor driver selection
* Fix LedPower status after button press (arendst#279)
* Add command Sleep 0 - 250 mSec for optional light sleep mode to lower
energy consumption (arendst#272)
*   (Expect overall button/key/switch misses and wrong values on Sonoff
Pow)
* Add Hue brightness extension (arendst#281)
* Fix Hue brightness and change to call by reference (arendst#283)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help needed Action - Asking for help from the community
Projects
None yet
Development

No branches or pull requests

4 participants