Commit Graph

67 Commits

Author SHA1 Message Date
Edward Firmo
e69873cab5 Create standard package 2024-12-27 01:42:41 +01:00
Edward Firmo
f3b84e9d4e Fix calls to speaker_play_click 2024-12-26 00:27:48 +01:00
Edward Firmo
81c6620fbf Split files even more 2024-12-25 23:01:33 +01:00
Edward Firmo
7aee88c38f CodeRabbitAI suggestions 2024-12-25 02:34:18 +01:00
Edward Firmo
e546fedf08 Add dump config
To help troubleshooting
2024-12-25 02:11:10 +01:00
Edward Firmo
403cdce2b5 Expose relay-indicator LEDs
The lights will be available on Home Assistant, so users will be able to set it's color and brightness, then this will be used when the relay turn on-off as the indicator for the relay status.
Resolves #57
2024-12-24 23:31:50 +01:00
Edward Firmo
93990e78c1 Merge pull request #63 from edwardtfn/button-failsafe-action
Adds "Relay n (API failsafe only)" to button's actions
2024-12-24 14:46:21 +01:00
Edward Firmo
7a5a537847 Fix swipe log messages 2024-12-24 11:57:03 +01:00
Edward Firmo
37b2e93896 Sensor is diagnostic 2024-12-24 11:17:35 +01:00
Edward Firmo
695cca07a0 Add ESPHome Version sensor
And renames the TX Firmware, which resolves #66
2024-12-24 10:32:31 +01:00
Edward Firmo
a44e486411 Add Id to Wi-Fi component 2024-12-24 01:23:29 +01:00
Edward Firmo
d77d761497 Add speaker to BLE Proxy add-on 2024-12-24 00:00:26 +01:00
Edward Firmo
f9e9243de5 Specify device when setting gang count 2024-12-23 04:31:16 +01:00
Edward Firmo
be6a4a51e2 Use set_gang_count 2024-12-23 04:24:50 +01:00
Edward Firmo
4ea7f1ee57 New event handler
This rebuild the engine to send events to Home Assistant
2024-12-23 03:55:50 +01:00
Edward Firmo
be0fc353f6 Simplify relay handler 2024-12-22 02:03:35 +01:00
Edward Firmo
f02f90c3fa Testing new versioning 2024-12-21 11:05:40 +01:00
Edward Firmo
82b6d8cb25 Lint 2024-12-20 22:38:05 +01:00
Edward Firmo
d0b8ba55ba Clean-up logs
The less the more
2024-12-20 22:32:59 +01:00
Edward Firmo
8f4a2a9402 Device name from App 2024-12-20 21:23:28 +01:00
Edward Firmo
55cde35d31 Publish device name only at boot and api connection 2024-12-20 21:00:24 +01:00
Edward Firmo
e1b8469aa5 Remove sun platform
It isn't in use yet
2024-12-20 20:51:52 +01:00
Edward Firmo
b1b1a40d5e New implementation of show_relay_status
Solves #28
I believe this also solves #21
2024-12-20 18:07:17 +01:00
Edward Firmo
b1dbda4efe Remove references to Blueprint in the README
Solves #30
2024-12-20 02:31:12 +01:00
Edward Firmo
59da9bcb96 Wait for initialization to complete before update relay status
That was crashing that method right after boot.

- Solves #28
2024-12-20 02:08:49 +01:00
Edward Firmo
62e4e3d511 More CodeRabbitAI suggestions 2024-12-19 23:52:21 +01:00
Edward Firmo
e9890c937e CodeRabbitAI suggestions 2024-12-19 23:39:32 +01:00
Edward Firmo
818c6067e0 Bump to v0.0.4 2024-12-19 20:46:19 +01:00
Edward Firmo
3f86f7dee9 Reorg led files 2024-12-19 20:11:52 +01:00
Edward Firmo
b6d9ae5a96 Split files
To improve readability and increase my chances to have more people collaborating with this project.

Solves #27
2024-12-19 19:35:46 +01:00
Edward Firmo
7e46ecb1b3 Fix led mapping on US model
Tentatively solves #29
2024-08-29 18:15:09 +02:00
Edward Firmo
2091fc4623 Do not toggle relay with multi-touch or swipe
Solves #14
2024-07-26 08:33:30 +02:00
Edward Firmo
1c8f47d508 Bump to v0.0.2 2024-06-20 00:26:34 +02:00
Edward Firmo
f1e0385f4e Lint 2024-06-19 09:29:29 +02:00
Edward Firmo
55ede52dd2 Update TX-Ultimate-Easy-ESPHome_core.yaml
Solves #20

I will use this picture as a reference:

![LED numbers from Tasmota](https://templates.blakadder.com/assets/device_images/sonoff_tx_ultimate_T5-86MAIN-V1-0-7-20221108.webp)

Currently, when using a 3-gang device, the following LEDs are currently in use:

| Button/Relay | LED<br>Bottom | LED<br>Top |
| :--: | :--: | :--: |
| 1 | 12 | 22 |
| 2 | 10 | 24 |
| 3 | 8 | 26 |

I will change to the following:
| Button/Relay | LED<br>Bottom | LED<br>Top |
| :--: | :--: | :--: |
| 1 | 13 | 21 |
| 2 | 10 | 24 |
| 3 | 7 | 27 |
2024-06-12 18:13:38 +02:00
Edward Firmo
464394e15b Fix num gangs selection on boot 2024-06-12 17:01:52 +02:00
Edward Firmo
ae922da750 Use YAML alias for light effects 2024-06-12 16:55:57 +02:00
Edward Firmo
fa9ec6aa8b Reorg boot sequence 2024-06-12 16:47:09 +02:00
Edward Firmo
e371abea5a Add relay mode (relay vs light) 2024-06-11 16:04:03 +02:00
Edward Firmo
4473b07650 Add multi-touch sensor
Solves #15
2024-06-11 09:45:19 +02:00
Edward Firmo
c5eadbbfaa User's selectable action for buttons
Solves #17
2024-06-11 09:13:26 +02:00
Edward Firmo
999a24c2cb Add improv_serial support 2024-05-31 17:20:29 +02:00
Edward Firmo
c0037c5ea4 Add build flags 2024-05-31 17:01:24 +02:00
Edward Firmo
4f76c44099 Introduce limited BLE add-on
Helps with #9
2024-05-31 16:57:41 +02:00
Edward Firmo
6395441de9 Remove debug component 2024-05-31 12:06:33 +02:00
Edward Firmo
111c4ab0b3 Add send events to Home Assistant 2024-05-30 00:39:09 +02:00
Edward Firmo
a5da9c797a Change flash size to 8MB
This enables flash memory for building Bluetooth Proxy (requires by #9), however, there are two downsides:
- The system is crashing when BLE is enabled and requires more investigation.
- User's cannot change flash size via OTA, so a serial flash will be required.
2024-05-29 22:11:05 +02:00
Edward Firmo
07c200fb19 Add support to US model 2024-05-29 20:59:57 +02:00
Edward Firmo
67390ac855 Add Swipe sensors 2024-05-29 11:53:45 +02:00
Edward Firmo
7579ba9555 Add relay light indicator 2024-05-29 01:06:13 +02:00