Compare commits

..

No commits in common. "main" and "main" have entirely different histories.
main ... main

3 changed files with 5 additions and 123 deletions

View file

@ -11,12 +11,12 @@ http://ir-blaster.n39.eu
``` ```
2. esphome installieren 2. esphome installieren
```bash ```bash
pip install esphome pip installv esphome
``` ```
3. `secrets.yaml` anlegen: 3. `secrets.yaml` anlegen:
```yaml ```yaml
WifiPassword: "changeme" WifiPassword: "changeme"
OtaPassword: "changeme" OtaPassword: "chamgeme"
``` ```
4. config hochladen 4. config hochladen
```bash ```bash
@ -38,15 +38,3 @@ http://ir-blaster.n39.eu
* Lauter (0x2FD58A7) * Lauter (0x2FD58A7)
* Leiser (0x2FD7887) * Leiser (0x2FD7887)
* On/Off (0x2FD48B7) * On/Off (0x2FD48B7)
## Multisync X401S
* Taste 0
* Taste 1
* Taste 2
* Taste 3
* Taste 4
* Taste 5
* Taste 6
* Taste 7
* Taste 8
* Taste 9

View file

@ -57,105 +57,12 @@ button:
on_press: on_press:
- remote_transmitter.transmit_pronto: - remote_transmitter.transmit_pronto:
data: "0000 006D 0018 0000 002E 0013 002E 0013 000E 0034 002D 0013 002E 0013 000E 0034 000D 0034 000D 0034 000D 0034 000D 0034 000D 0034 002E 0117 002E 0013 002E 0013 000E 0034 002E 0013 002E 0013 000E 0034 000D 0034 000D 0034 000D 0034 000D 0034 000D 0034 002E 0181 06C3" data: "0000 006D 0018 0000 002E 0013 002E 0013 000E 0034 002D 0013 002E 0013 000E 0034 000D 0034 000D 0034 000D 0034 000D 0034 000D 0034 002E 0117 002E 0013 002E 0013 000E 0034 002E 0013 002E 0013 000E 0034 000D 0034 000D 0034 000D 0034 000D 0034 000D 0034 002E 0181 06C3"
- platform: template
name: "MultisyncX401S Taste 0"
on_press:
- remote_transmitter.transmit_raw:
code: [7910, -4019, 448, -546, 449, -545, 448, -1540, 448, -545, 449, -1540, 448, -1540, 449, -1540, 453, -1534, 448, -4030, 456, -537, 451, -1536, 450, -545, 449, -545, 450, -1538, 449, -547, 447, -546, 448, -545, 450]
repeat:
times: 5
wait_time: 16ms
carrier_frequency: 38kHz
- platform: template
name: "MultisyncX401S Taste 1"
on_press:
- remote_transmitter.transmit_raw:
code: [7903, -4024, 453, -542, 450, -521, 470, -1545, 443, -547, 448, -1538, 450, -1539, 449, -1543, 445, -1539, 448, -4030, 447, -551, 444, -544, 449, -545, 449, -1541, 447, -547, 447, -547, 447, -545, 449, -546, 451]
repeat:
times: 5
wait_time: 16ms
carrier_frequency: 38kHz
- platform: template
name: "MultisyncX401S Taste 2"
on_press:
- remote_transmitter.transmit_raw:
code: [7901, -4024, 454, -546, 445, -543, 449, -1539, 449, -527, 469, -1537, 451, -1538, 448, -1545, 443, -1542, 445, -4029, 448, -1540, 448, -546, 449, -544, 450, -1539, 453, -541, 451, -542, 449, -546, 450, -543, 450]
repeat:
times: 5
wait_time: 16ms
carrier_frequency: 38kHz
- platform: template
name: "MultisyncX401S Taste 3"
on_press:
- remote_transmitter.transmit_raw:
code: [7957, -3970, 502, -493, 501, -493, 502, -1491, 500, -494, 497, -1491, 496, -1487, 501, -1486, 511, -1477, 500, -3977, 501, -493, 502, -1487, 503, -490, 501, -1487, 501, -494, 500, -492, 502, -493, 501, -493, 501]
repeat:
times: 5
wait_time: 16ms
carrier_frequency: 38kHz
- platform: template
name: "MultisyncX401S Taste 4"
on_press:
- remote_transmitter.transmit_raw:
code: [7905, -4023, 475, -522, 445, -547, 447, -1540, 448, -546, 448, -1541, 447, -1541, 472, -1516, 472, -1518, 445, -4028, 449, -1540, 474, -1514, 448, -546, 448, -1545, 469, -520, 476, -517, 449, -546, 448, -546, 472]
repeat:
times: 5
wait_time: 16ms
carrier_frequency: 38kHz
- platform: template
name: "MultisyncX401S Taste 5"
on_press:
- remote_transmitter.transmit_raw:
code: [7901, -4021, 473, -520, 449, -545, 474, -1514, 449, -546, 451, -1537, 453, -1534, 454, -1535, 448, -1540, 448, -4028, 449, -546, 448, -545, 449, -1539, 449, -1539, 449, -545, 449, -545, 449, -546, 448, -545, 449]
repeat:
times: 5
wait_time: 16ms
carrier_frequency: 38kHz
- platform: template
name: "MultisyncX401S Taste 6"
on_press:
- remote_transmitter.transmit_raw:
code: [7903, -4024, 450, -544, 449, -544, 477, -1512, 451, -545, 473, -1513, 449, -1538, 451, -1538, 450, -1538, 449, -4027, 451, -1538, 449, -545, 452, -1536, 472, -1515, 449, -546, 455, -538, 449, -545, 450, -545, 450]
repeat:
times: 5
wait_time: 16ms
carrier_frequency: 38kHz
- platform: template
name: "MultisyncX401S Taste 7"
on_press:
- remote_transmitter.transmit_raw:
code: [7903, -4024, 448, -546, 448, -549, 446, -1543, 444, -546, 448, -1540, 448, -1540, 448, -1543, 451, -1538, 444, -4028, 449, -545, 453, -1541, 444, -1539, 448, -1541, 447, -531, 463, -546, 448, -545, 449, -546, 453]
repeat:
times: 5
wait_time: 16ms
carrier_frequency: 38kHz
- platform: template
name: "MultisyncX401S Taste 8"
on_press:
- remote_transmitter.transmit_raw:
code: [7904, -4024, 448, -546, 449, -547, 446, -1539, 449, -546, 448, -1544, 446, -1539, 447, -1540, 449, -1540, 447, -4031, 450, -1540, 444, -1540, 448, -1539, 449, -1540, 448, -547, 447, -547, 448, -544, 449, -545, 449]
repeat:
times: 5
wait_time: 16ms
carrier_frequency: 38kHz
- platform: template
name: "MultisyncX401S Taste 9"
on_press:
- remote_transmitter.transmit_raw:
code: [7904, -4024, 449, -545, 448, -545, 450, -1540, 447, -546, 449, -1539, 448, -1547, 442, -1539, 448, -1540, 526, -3951, 448, -546, 448, -548, 446, -545, 449, -546, 448, -1541, 449, -547, 445, -549, 445, -545, 450]
repeat:
times: 5
wait_time: 16ms
carrier_frequency: 38kHz
remote_receiver: remote_receiver:
pin: pin:
number: GPIO2 number: GPIO2
inverted: True inverted: True
mode: INPUT_PULLUP
dump: all dump: all
# Change to dump: all to see all protocols, use dump: raw to see raw codes
remote_transmitter: remote_transmitter:
pin: GPIO04 pin: GPIO04

View file

@ -1,13 +0,0 @@
import requests
import time
from tqdm import tqdm
url = "http://ir-blaster.n39.eu/button/multisyncx401s_taste_%s/press"
for i in tqdm(range(0000, 10000)):
num_str = f"{i:04d}"
print(f"Sending: {num_str}")
for digit in num_str:
requests.post(url % digit)
time.sleep(0.35)
time.sleep(0.35)