Witty: Porovnání verzí
Skočit na navigaci
Skočit na vyhledávání
Bez shrnutí editace |
Bez shrnutí editace |
||
| (Nejsou zobrazeny 3 mezilehlé verze od stejného uživatele.) | |||
| Řádek 1: | Řádek 1: | ||
ESP8266 Witty HW546 nebo wemos D1 UNO | |||
[[Soubor:IBM_IoT_101.png|600px|witty]] | [[Soubor:IBM_IoT_101.png|600px|witty]] | ||
| Řádek 8: | Řádek 10: | ||
https://www.instructables.com/search/?q=Witty&projects=all | https://www.instructables.com/search/?q=Witty&projects=all | ||
kde koupit? např. hadex , [https://dratek.cz/arduino-platforma/1351-esp8266-esp-12f-vyvojovy-modul-s-ch340-zakladnou-a-tlacitky.html?gad_source=1&gad_campaignid=21656222776&gclid=CjwKCAiA55rJBhByEiwAFkY1QOROQCXpShjIQaAt1F0bR87nHNi1_q7zrkwU6cKgCmLe2wdwVY7wAhoCMKEQAvD_BwE drátek] apod. | |||
[[Soubor:ESP8266-witty-wemos-D1-UNO.png|600px|ESP8266-witty-wemos-D1-UNO]] | |||
ESPHome: | |||
<source lang="yaml"> | |||
# pro WITTY níže dopsat pod "captive_portal" a provést UPDATE | |||
# Example configuration entry | |||
one_wire: | |||
- platform: gpio | |||
pin: GPIO14 | |||
sensor: | |||
- platform: dallas_temp | |||
address: 0x1003159779abcd28 | |||
name: temperature | |||
update_interval: 120s | |||
- platform: adc | |||
pin: A0 | |||
name: "LDR" | |||
update_interval: 5s | |||
unit_of_measurement: "%" | |||
filters: | |||
- multiply: 100 | |||
binary_sensor: | |||
- platform: gpio | |||
pin: GPIO4 | |||
name: "Button" | |||
device_class: "connectivity" | |||
filters: | |||
- invert: | |||
output: | |||
- platform: gpio | |||
pin: GPIO12 | |||
id: led_output_G | |||
- platform: gpio | |||
pin: GPIO15 | |||
id: led_output_R | |||
- platform: gpio | |||
pin: GPIO13 | |||
id: led_output_B | |||
switch: | |||
- platform: output | |||
name: "LED Green" | |||
output: led_output_G | |||
- platform: output | |||
name: "LED Red" | |||
output: led_output_R | |||
- platform: output | |||
name: "LED Blue" | |||
output: led_output_B | |||
</source> | |||
Aktuální verze z 26. 11. 2025, 15:41
ESP8266 Witty HW546 nebo wemos D1 UNO
https://www.instructables.com/ESP8266ESP12-Witty-Cloud-Arduino-Powered-SmartThin/
https://www.instructables.com/ESP8266ESP12-Witty-Cloud-Arduino-Powered-SmartThin-1/
https://randomnerdtutorials.com/stepper-motor-esp8266-websocket/
https://www.instructables.com/search/?q=Witty&projects=all
kde koupit? např. hadex , drátek apod.
ESPHome:
# pro WITTY níže dopsat pod "captive_portal" a provést UPDATE
# Example configuration entry
one_wire:
- platform: gpio
pin: GPIO14
sensor:
- platform: dallas_temp
address: 0x1003159779abcd28
name: temperature
update_interval: 120s
- platform: adc
pin: A0
name: "LDR"
update_interval: 5s
unit_of_measurement: "%"
filters:
- multiply: 100
binary_sensor:
- platform: gpio
pin: GPIO4
name: "Button"
device_class: "connectivity"
filters:
- invert:
output:
- platform: gpio
pin: GPIO12
id: led_output_G
- platform: gpio
pin: GPIO15
id: led_output_R
- platform: gpio
pin: GPIO13
id: led_output_B
switch:
- platform: output
name: "LED Green"
output: led_output_G
- platform: output
name: "LED Red"
output: led_output_R
- platform: output
name: "LED Blue"
output: led_output_B