Commit graph

61 commits

Author SHA1 Message Date
Robert Strouse
b6a82e2e45 Added Invert Commands checkbox for motors 2023-06-15 15:12:54 -07:00
Robert Strouse
d91535c9ac Disconnect from MQTT and reconnect when changing settings 2023-06-10 10:03:48 -07:00
Álvaro Fernández Rojas
82afcbedc0 treewide: fix warnings 2023-06-08 16:51:50 +02:00
Robert Strouse
60f8c629bf Add Demo Mode flags for Sun/Wind sensor 2023-06-06 16:22:27 -07:00
Robert Strouse
2ecc0de36e Coding for sun and wind flag processing v1.7.0
* Added MQTT control for sunFlag and tiltTarget.
* Move my position if it is set per sun sensor instructions.
* Add sun/wind states to persistence.
* Bump restore file version
2023-06-04 13:04:57 -07:00
Álvaro Fernández Rojas
c74935aa01 Somfy: publish SunFlag, Sunny and Windy states
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-06-04 10:10:05 +02:00
Álvaro Fernández Rojas
ac4fcab029 Somfy: commit flags when they change
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-06-04 10:07:46 +02:00
Álvaro Fernández Rojas
dbff287437 Somfy: add sun/wind awning timings
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-06-03 18:01:50 +02:00
Álvaro Fernández Rojas
e55d7a4205 Somfy: add SunFlag auto movement logic
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-06-03 18:01:50 +02:00
Álvaro Fernández Rojas
1be1fe4fba Somfy: add Sun/Wind auto movement logic
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-06-03 18:01:50 +02:00
Álvaro Fernández Rojas
48545310f8 Somfy: fromJSON: add missing flags
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-06-03 18:01:50 +02:00
Álvaro Fernández Rojas
2671c5aa60 Somfy: fix Sensor validity w/o sun/wind
If there's no sun/win, the rolling code value will be 0.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-06-03 18:01:50 +02:00
Robert Strouse
f850cc0a1e Added sensor inputs from wind/sun sensors. 2023-06-01 19:31:11 -07:00
Robert Strouse
33fc37fa3d Add flags to the serialized shades. 2023-06-01 13:20:51 -07:00
Álvaro Fernández Rojas
c5e254c9a9 Fix more warnings seen with "--warnings all"
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-06-01 08:11:27 +02:00
Álvaro Fernández Rojas
a1d4a36379 Fix more warnings seen with "--warnings more"
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-06-01 08:11:18 +02:00
Robert Strouse
30473e16d3 Allow tilt target changes for integrated tilt when blind is in transit. 2023-05-31 09:58:19 -07:00
Robert Strouse
3ee5bb45c8 Add functionality for awnings and sun flag. #54 2023-05-30 19:10:57 -07:00
Robert Strouse
5313e5d249 Integrate pull request #54 2023-05-30 08:01:52 -07:00
Álvaro Fernández Rojas
17102a1a7d Somfy: improve status
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-05-29 18:33:43 +02:00
Álvaro Fernández Rojas
8ed5346992 Somfy: add Sun status command
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-05-29 16:02:26 +02:00
Álvaro Fernández Rojas
f632dc9c54 Somfy: add initial sun awnings support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-05-29 15:14:30 +02:00
Robert Strouse
5f67b99f88 v1.6.1
* Added Sao Paulo timezone
* Check for target change before movement so the shades to run to my position.
2023-05-22 19:10:02 -07:00
Robert Strouse
930348ead8 Added RTW commands for button combinations 2023-05-13 08:37:20 -07:00
Robert Strouse
65e4caf3b2 Add support for RTW protocols #38 2023-05-12 18:17:57 -07:00
Robert Strouse
ac6d6ee34d Fix setting My position for some motors #15 2023-05-12 10:23:14 -07:00
Robert Strouse
53ac717cf3 Tag v1.5.3 2023-05-08 17:14:30 -07:00
Robert Strouse
1dbb2f4434 Remove my command at the stop if we are seeking to 0 or 100% 2023-05-08 12:15:02 -07:00
Robert Strouse
e8296d3782 Rewind frame pulses whenever signal pulse is out of range
#36
#35
2023-05-03 18:40:19 -07:00
Robert Strouse
fb677dc239 Added step size for tilt wheels 2023-04-29 12:48:31 -07:00
Robert Strouse
7425a46d1a Shorten delay between lift and tilt movement. 2023-04-28 10:35:44 -07:00
Robert Strouse
22819be9be Add delay after lift movement and before tilt movment. 2023-04-28 09:16:03 -07:00
Robert Strouse
169208025f Engage my position when only the tilt position will be changing. 2023-04-26 10:07:23 -07:00
Robert Strouse
2c036f664c Issue stop command prior to issuing tilt positions. 2023-04-26 08:42:44 -07:00
Robert Strouse
8ca1957d38 Filter out repeats for tilt wheels. 2023-04-25 09:33:25 -07:00
Robert Strouse
ae87dc1d82 Beta processing for step commands algorithm 2023-04-24 18:59:05 -07:00
Robert Strouse
39c6e08ca5 v1.5.1 Bug Fixes
* Fixed issue where prog command was being filtered out #27
* Added tilt wheel commands for tilt positioning with integrated tilt motors #17
* Added tilt position visibility for Edit Shade screen
2023-04-21 14:12:28 -07:00
Robert Strouse
1174bed558 Bug Fix Prog
* Added filter for prog frame #27
* Expanded link remote json buffer #25
* Display tilt position on edit shade screen
2023-04-21 12:46:10 -07:00
Robert Strouse
5a16977ea9 v1.5.0 updates
* Support for integrated tilt types
* Increased linked remotes to 7 #25.
* Fixed issue #25 by increasing JSON buffer
* Changed software sync detection for linked remotes to better match on sync #26
2023-04-20 14:29:13 -07:00
Robert Strouse
a80b2ca97c Testing timings for Glydea motors. #16 2023-04-12 08:41:28 -07:00
Robert Strouse
ca76d01a1a Changed last pulse so it sets the final bit to 0. It only should do this if the last bit was 0. 2023-04-07 18:50:14 -07:00
Robert Strouse
b6bc57e437 Change pairing so that the command can be repeated on failure. #15. Add extra 0 to indicate there are no more bits to be read from the bitstream. 2023-04-05 14:38:11 -07:00
Robert Strouse
b1b8d1be46 Increase WiFi passphrase length to 63 + terminator. #13 2023-04-04 13:00:18 -07:00
Robert Strouse
9b8a952db9 Change timings for wakeup
* This should alleviate some issues with battery powered motors where it appears the motor goes to sleep when the delay between the wakeup pulse and the start of the hardware sync is too long.
2023-04-03 18:25:04 -07:00
Robert Strouse
209a2d7960 Fix saving MQTT port settings #12 2023-04-01 13:33:28 -07:00
Robert Strouse
d239ce857a Reduce the inter-frame silence for 80-bit protocols by 24 symbols. 2023-03-29 16:34:44 -07:00
Robert Strouse
5f5ac9fa32 Work on 80-bit protocol
* Fixes issue #11 TX Power is now persisted to NVS
* Increase timing for tilt motors from 7 to 15 beats. #1
* Add time to frame log.
* Allow RX and TX pins to be shared and multiplexed
2023-03-29 11:41:11 -07:00
Robert Strouse
ab7cdba519 Fixed issue where step up and down command bytes were reversed on receive.
* TX commands for 80-bit controllers now send the last 3 bytes as witnessed by others
* RX commands for step up/down only translate the last byte as a command byte.
* Fixed inverted step commands for the API.
2023-03-20 17:11:28 -07:00
Robert Strouse
d3acf6bb5f Add ability to send repeats via API. Tweak 80-bit timing
Add the ability to identify how many repeats you want on the API command.
Fix timing for bit output when the shade is configured for 80-bits
2023-03-19 16:54:19 -07:00
Robert Strouse
370b8f1a23 80-bit and 56-bit protocols on same transceiver
Added the ability to process 80-bit and 56-bit motors on the same ESPSomfy RTS device.
2023-03-18 18:41:04 -07:00