Compare commits

..

9 commits

Author SHA1 Message Date
8c823c7c88 README.md aktualisiert
Fix typos
2024-07-29 22:19:44 +02:00
4464b618df Merge pull request 'feat/MultisyncX401S' (#1) from timo/netz39-ir-blaster:feat/MultisyncX401S into main
Reviewed-on: teuserer/netz39-ir-blaster#1
2024-07-29 18:23:18 +02:00
Timo Herrmann
89e51e4c0a Update README.md 2024-07-29 17:36:33 +02:00
Timo Herrmann
52f48b9ebb Add pin cracking script 2024-07-29 17:35:31 +02:00
Timo Herrmann
dfe341c5ff Add newline 2024-07-29 17:34:53 +02:00
Timo Herrmann
0c475afc43 Add config for receiver 2024-07-29 17:34:33 +02:00
Timo Herrmann
d678d95bdf Add IR-codes for MultisyncX401S 2024-07-29 17:33:45 +02:00
7224b75cfe config.yaml aktualisiert 2024-07-25 19:33:49 +02:00
98fe97d3d9 README.md aktualisiert 2024-07-25 19:25:39 +02:00
3 changed files with 32 additions and 38 deletions

View file

@ -11,12 +11,12 @@ http://ir-blaster.n39.eu
``` ```
2. esphome installieren 2. esphome installieren
```bash ```bash
pip installv esphome pip install esphome
``` ```
3. `secrets.yaml` anlegen: 3. `secrets.yaml` anlegen:
```yaml ```yaml
WifiPassword: "changeme" WifiPassword: "changeme"
OtaPassword: "chamgeme" OtaPassword: "changeme"
``` ```
4. config hochladen 4. config hochladen
```bash ```bash
@ -37,4 +37,16 @@ http://ir-blaster.n39.eu
* OK (0x2FD847B) * OK (0x2FD847B)
* 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

@ -55,39 +55,8 @@ button:
- platform: template - platform: template
name: "Ventilator An/Aus" name: "Ventilator An/Aus"
on_press: on_press:
- remote_transmitter.transmit_raw: - remote_transmitter.transmit_pronto:
code: [1212, -473, 1214, -470, 372, -1313, 1217, -473, 1214, -470, 374, -1312, 380, -1314, 370, -1310, 378, -1309, 374, -1314, 373, -1313, 1217, -7222, 1212, -475, 1212, -469, 378, -1310, 1222, -464, 1224, -466, 371, -1316, 371, -1314, 372, -1315,372, -1313, 374, -1312, 374, -1319, 1211, -7217, 1291, -397, 1218, -467, 376, -1310, 1293, -394, 1217, -470, 377, -1309, 380, -1307, 373, -1314, 373, -1314, 447, -1240, 372, -1312, 1221, -7214, 1218, -468, 1216, -471, 373, -1315, 1215, -470, 1216,-470, 375, -1315, 370, -1313, 373, -1287, 401, -1313, 372, -1320, 367, -1317, 1213] 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"
repeat:
times: 5
wait_time: 16ms
carrier_frequency: 38kHz
- platform: template
name: "Ventilator Oscil"
on_press:
- remote_transmitter.transmit_raw:
code: [1215, -470, 1223, -463, 375, -1312, 1217, -469, 1223, -465, 372, -1314, 373, -1320, 1210, -470, 373, -1314, 373, -1314, 377, -1309, 372, -8061, 1218, -468, 1217, -475, 369, -1312, 1216, -477, 1210, -470, 373, -1313, 373, -1314, 1218, -468,375, -1312, 374, -1313, 372, -1317, 370, -8061, 1215, -473, 1215, -468, 373, -1314, 1216, -475, 1212, -470, 373, -1313, 374, -1313, 1217, -470, 378, -1308, 373, -1313, 374, -1313, 373, -8060, 1221, -470, 1212, -470, 379, -1309, 1215, -470, 1219, -467,374, -1314, 372, -1314, 1216, -472, 371, -1315, 377, -1309, 374, -1311, 375, -8059, 1216, -470, 1216, -470, 374, -1313, 1218, -468, 1217, -470, 373, -1313, 376, -1312, 1216, -470, 373, -1316, 370, -1313, 373, -1314, 373, -8065, 1212, -473, 1217, -466,379, -1310, 1214, -471, 1216, -470, 378, -1308, 373, -1315, 1216, -475, 367, -1316, 371, -1313, 374, -1313, 377]
repeat:
times: 5
wait_time: 16ms
carrier_frequency: 38kHz
- platform: template
name: "Ventilator Speed"
on_press:
- remote_transmitter.transmit_raw:
code: [1220, -468, 1215, -469, 377, -1317, 1212, -468, 1217, -444, 399, -1316, 371, -1313, 376, -1311, 373, -1314, 373, -1314, 1216, -470, 374, -8060, 1217, -469, 1222, -464, 374, -1313, 1224, -463, 1217, -476, 370, -1317, 370, -1317, 366, -1317,370, -1290, 396, -1314, 1220, -466, 373, -8060, 1222, -465, 1216, -469, 374, -1312, 1218, -469, 1218, -468, 374, -1313, 381, -1306, 377, -1309, 374, -1320, 370, -1310, 1216, -471, 373, -8060, 1215, -470, 1216, -445, 398, -1317, 1213, -476, 1212, -468,376, -1311, 372, -1313, 374, -1312, 374, -1314, 380, -1309, 1213, -470, 374]
repeat:
times: 5
wait_time: 16ms
carrier_frequency: 38kHz
- platform: template
name: "Ventilator Mode"
on_press:
- remote_transmitter.transmit_raw:
code: [1217, -473, 1213, -475, 368, -1292, 1238, -470, 1217, -474, 374, -1310, 373, -1315, 371, -1319, 371, -1310, 1216, -471, 373, -1313, 373, -8062, 1215, -471, 1223, -465, 374, -1313, 1215, -471, 1214, -471, 373, -1313, 379, -1308, 373, -1321,367, -1319, 1210, -470, 374, -1320, 370, -8064, 1208, -470, 1220, -467, 373, -1290, 1241, -469, 1217, -470, 373, -1314, 372, -1314, 373, -1314, 373, -1320, 1210, -471, 372, -1316, 371, -8060, 1216, -473, 1214, -471, 372, -1313, 1217, -475, 1211, -470,373, -1318, 369, -1314, 372, -1316, 371, -1313, 1217, -470, 378, -1317, 371]
repeat:
times: 5
wait_time: 16ms
carrier_frequency: 38kHz
- platform: template - platform: template
name: "MultisyncX401S Taste 0" name: "MultisyncX401S Taste 0"
on_press: on_press:
@ -185,7 +154,7 @@ remote_receiver:
number: GPIO2 number: GPIO2
inverted: True inverted: True
mode: INPUT_PULLUP mode: INPUT_PULLUP
dump: raw dump: all
# Change to dump: all to see all protocols, use dump: raw to see raw codes # Change to dump: all to see all protocols, use dump: raw to see raw codes
remote_transmitter: remote_transmitter:
@ -199,4 +168,4 @@ sensor:
name: Uptime Sensor name: Uptime Sensor
- platform: wifi_signal - platform: wifi_signal
name: "WiFi Signal Sensor" name: "WiFi Signal Sensor"
update_interval: 60s update_interval: 60s

View file

@ -0,0 +1,13 @@
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)