This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input_number: | |
water_counter: | |
min: 0 | |
max: 100000000 | |
step: 10 | |
unit_of_measurement: liter | |
icon: mdi:water | |
water_counter_by_on: | |
min: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
automation: | |
- id: turn_towel_rail_on | |
alias: Turn towel rail on | |
trigger: | |
- platform: state | |
entity_id: binary_sensor.somebody_at_dacha | |
to: 'on' | |
- platform: time_pattern | |
minutes: "/6" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
automation: | |
- id: turn_towel_rail_on | |
alias: Turn towel rail on | |
trigger: | |
- platform: state | |
entity_id: binary_sensor.somebody_at_dacha | |
to: 'on' | |
- platform: time_pattern | |
minutes: "/6" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- id: auto_light_desk_on | |
alias: auto_light_desk_on | |
trigger: | |
action: | |
- service: light.turn_on | |
entity_id: group.light | |
data_template: | |
brightness_pct: > | |
{% set v = ( states("sensor.0x04cf8cdf3c7727a6_illuminance_lux") | float * -0.18 + 100) | int %} | |
{{ v if v > 0 else 0 }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default_config: | |
homeassistant: | |
packages: !include_dir_named packages/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default_config: | |
timer: | |
my_timer: | |
five_sec_after_button_press: | |
one_min_after_button_press: | |
input_text: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bessarabov@u:~/vacuum$ ./builder_vacuum.sh --run-custom-script=ALL \ | |
> --timezone=Europe/Moscow \ | |
> --ntpserver=pool.ntp.org \ | |
> --public-key=/home/bessarabov/.ssh/id_rsa.pub \ | |
> --enable-greeting \ | |
> --disable-logs \ | |
> --replace-adbd \ | |
> --valetudo-path=~/Valetudo \ | |
> --replace-miio \ | |
> --enable-dns-catcher \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv) bessarabov@u:~$ mirobo --ip=192.168.31.121 --token=397343367077514f49516230634e556e status | |
Error: Got checksum error which indicates use of an invalid token. Please check your token! | |
(venv) bessarabov@u:~$ mirobo --ip=192.168.31.5 --token=397343367077514f49516230634e556e status | |
ERROR:miio.miioprotocol:Got error when receiving: timed out | |
Error: No response from the device | |
(venv) bessarabov@u:~$ mirobo --ip=192.168.31.5 --token=397343367077514f49516230634e556e info | |
ERROR:miio.miioprotocol:Got error when receiving: timed out | |
Error: No response from the device | |
(venv) bessarabov@u:~$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv) bessarabov@u:~$ mirobo --ip=192.168.8.1 --token=397343367077514f49516230634e556e update-firmware --ip 192.168.8.31 ./vacuum/output/vacuum_4004_valetudo_0_5_1.pkg | |
Going to update from ./vacuum/output/vacuum_4004_valetudo_0_5_1.pkg | |
INFO:miio.updater:Serving on 0.0.0.0:45583, timeout 10 | |
INFO:miio.updater:Using local ./vacuum/output/vacuum_4004_valetudo_0_5_1.pkg (md5: bcc8f55ff6dbf8536d3e31c96498a5b8) | |
Hosting file at http://192.168.8.31:45583/vacuum_4004_valetudo_0_5_1.pkg | |
ERROR:miio.updater:No request was made.. | |
ERROR:miio.protocol:unable to parse json '': Expecting value: line 1 column 1 (char 0) | |
Traceback (most recent call last): | |
File "/home/bessarabov/flasher/venv/lib/python3.8/site-packages/miio/miioprotocol.py", line 177, in send | |
data, addr = s.recvfrom(1024) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv) bessarabov@u:~$ mirobo --ip 192.168.8.1 --token 5352... update-firmware --ip 192.168.8.31 ./vacuum/output/vacuum_4004_valetudo_0_5_1.pkg | |
Going to update from ./vacuum/output/vacuum_4004_valetudo_0_5_1.pkg | |
INFO:miio.updater:Serving on 0.0.0.0:38663, timeout 10 | |
INFO:miio.updater:Using local ./vacuum/output/vacuum_4004_valetudo_0_5_1.pkg (md5: bcc8f55ff6dbf8536d3e31c96498a5b8) | |
Hosting file at http://192.168.8.31:38663/vacuum_4004_valetudo_0_5_1.pkg | |
ERROR:miio.updater:No request was made.. | |
ERROR:miio.protocol:unable to parse json '': Expecting value: line 1 column 1 (char 0) | |
Traceback (most recent call last): | |
File "/home/bessarabov/flasher/venv/lib/python3.8/site-packages/miio/miioprotocol.py", line 177, in send | |
data, addr = s.recvfrom(1024) |