@Johann_Edelmuller wrote:
I would like to use these two sensors to show the mean time in one sensor, how long until the alarm (sleep time)
How can I best do that?
Can someone help me?
Posts: 3
Participants: 2
@Johann_Edelmuller wrote:
I would like to use these two sensors to show the mean time in one sensor, how long until the alarm (sleep time)
How can I best do that?
Can someone help me?
Posts: 3
Participants: 2
@Josep wrote:
I instaled Android debug bridge add-on and it seems to work. I can read:
INFO: Connecting to device: 192.168.45.121... already connected to 192.168.45.121:5555
on add-on log. Then I wrote this code to configuration.yaml file:
media_player: - platform: androidtv name: Fire TV device_class: firetv host: 192.168.45.121 adb_server_ip: 127.0.0.1 get_sources: true
But after a restart, no firetv card is on lovelace gui. I tried to add it manually, but I am not sure what is the right card. I tried with media control card, but there is no firetv entity to select… I read the documentation about adding entities manually to configuration.yaml, and I don’t know why fire tv doesn’t appears in my entities list…
Posts: 1
Participants: 1
@onlize wrote:
Hello,
In my history I found a few new sensors and I cannot find where they are coming from. Can someone help me to identify them?
Entity State sensor.steps 1981 sensor.floors_ascended 2 sensor.floors_descended 4 sensor.distance 1259 sensor.average_active_pace 1
Posts: 7
Participants: 4
@sander.servus_ha wrote:
I successfully installed the ZoneMinder integration. The camera’s are showing up in Home Assistant and performing well. The problem is that the camera is not exposable via Google Home Assistant. Neither via the web config nor via the manual config. The same camera is exposable to Google Assistant via platform “generic”. but the performance of that stream is really poor. Is it possible to expose the ZoneMinder integrated camera to Google Assistant?
edit: I noticed that the “camera.play_stream” is not available for the camera with platform “zoneminder”.
p.s. Happy new year! And compliments to the developers!
Posts: 1
Participants: 1
@SuiRaM wrote:
Hi,
I’ve been looking for a way to do this for the last ten days, with no luck,
I’ve developed a weather card, and I’d like to use the “more-info” to display the forecast for the next days or week.I need to display dynamic html code, already done and working, just need to show it inside a “popup” div or something…
Even tryed to use pure javascript but didn’t worked.Any help would be appreciated.
Thanks in advance, and happy new year
Posts: 1
Participants: 1
@friendodevil wrote:
I’m attempting to connect two pioneer receivers media players as follows:
- platform: pioneer host: 10.0.1.204 name: Living Room AV Receiver (Pioneer VSX-933) timeout: 5 - platform: pioneer host: 10.0.1.205 name: Lounge AV Receiver (Pioneer VSX-S520D) timeout: 5
HA start up log report Pioneer Living Room AV Receiver (Pioneer VSX-933) refused connection
and does not show up as an entity. For the S520D; an entity is created, I am able to turn on the receiver with media_player.turn_on but am not able to turn the S520D off.Anyone successfully operating Pioneer receivers with HA?
Posts: 1
Participants: 1
@Aaliankhan wrote:
Hello,
I added my Wyze cams that have RTSP enabled with this setupcamera: - platform: ffmpeg name: Front Door input: -rtsp_transport udp -i rtsp://<user>:<password>@192.168.86.<XX>/live
Everything works fine and the video is really smooth
I tried to use the record and snapshot features and they worked pretty well too.
But when I tried to stream the video to my Chromecast, it connected to the device but displayed the chrome cast icon instead of the feed of the camera. I got this in my logsError handling request Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 275, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) File "aiohttp\_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: invalid HTTP method
I tried to use a different setup using the generic camera component but it didn’t work either.
My current setup uses Nginx so my base URL is not https. (I was worried it will break things so I didn’t play with it but if it does work using https I will take the risk).I also connected my cameras through google assistant by making my own app. When I ask her to show me the front door it displays a text saying
Smart home camera
.Thanks in advance for any help
Posts: 1
Participants: 1
@alexmo wrote:
Hello
I have 2 Amazon Echo devices (Dot & Input) and 2 different amplifiers - one in each room.
The Echo Dot is in the living room while the Echo Input is in the bedroom.
There is an option to say in the living room: “Alexa, play music here” to play music only in the living room (Assuming that the second device don’t here this command) ?
Means, I wants that the relevant device will “understand” that the music should be play only in my current location.
Posts: 1
Participants: 1
@22bit wrote:
Hello -
Successfully installed Home Assistant on Raspberry Pi 4 following the Home Assistant instructions (not a custom install). I have the RP4 connected to a monitor and keyboard. From that connection all I can see is a console screen (all the lines of code etc from the install).
I can see the Home Assistant UI by using another computer at http://hassio:8123. My question is:
Is there a way for me to see and use the UI from the same RP4 that home assistant is running on? And how do I do it?
Thanks in advance.
Posts: 2
Participants: 2
@jriker1 wrote:
So I thought the below was the coolest thing I’ve seen in a lock mechanism.
It only supports HomeKit though. Unfortunately not Z-Wave wouldn’t have local only access but would this work with HA?
Posts: 3
Participants: 3
@skutter wrote:
I have found in a previous post;
input_number: alarm_1_hour: name: Hours icon: mdi:timer initial: 5 min: 0 max: 23 step: 1 alarm_1_minutes: name: Minutes icon: mdi:timer initial: 40 min: 0 max: 59 step: 1 alarm_1_offset: name: Transition icon: mdi:blur-linear initial: 10 min: 0 max: 60 step: 5 input_boolean: alarm_1_enable: name: "Enable Alarm" alarm_1_mon: name: Monday icon: mdi:calendar alarm_1_tue: name: Tuesday icon: mdi:calendar alarm_1_wed: name: Wednesday icon: mdi:calendar alarm_1_thu: name: Thursday icon: mdi:calendar alarm_1_fri: name: Friday icon: mdi:calendar alarm_1_sat: name: Saturday icon: mdi:calendar alarm_1_sun: name: Sunday icon: mdi:calendar sensor: - platform: template sensors: alarm_1_time: friendly_name: 'Alarm Time' value_template: >- {{ "%0.02d:%0.02d" | format(states("input_number.alarm_1_hour") | int, states("input_number.alarm_1_minutes") | int) }} - platform: template sensors: alarm_1_time_minus_offset: friendly_name: 'Offset Time' value_template: >- {{ '%0.02d:%0.02d' | format( ((((states('input_number.alarm_1_hour') | int)*60 + (states('input_number.alarm_1_minutes') | int) - (states('input_number.alarm_1_offset'))| int)/60)| int),(((((((((states('input_number.alarm_1_hour') | int)*60 + (states('input_number.alarm_1_minutes') | int) - (states('input_number.alarm_1_offset')) | int)/60)) - ((((states('input_number.alarm_1_hour') | int)*60 + (states('input_number.alarm_1_minutes') | int) - (states('input_number.alarm_1_offset')) | int)/60)| int))*100) | int)*60/100) | round) ) }} group: alarm_1: name: Work Alarm entities: - input_boolean.alarm_1_enable - sensor.alarm_1_time - sensor.alarm_1_time_minus_offset - input_number.alarm_1_hour - input_number.alarm_1_minutes - input_number.alarm_1_offset - input_boolean.alarm_1_mon - input_boolean.alarm_1_tue - input_boolean.alarm_1_wed - input_boolean.alarm_1_thu - input_boolean.alarm_1_fri - input_boolean.alarm_1_sat - input_boolean.alarm_1_sun automation: - id: alarm_1 alias: 'Work Alarm' trigger: - platform: time_pattern minutes: '/1' seconds: 00 condition: - condition: template value_template: "{{ states.sensor.time.state == states.sensor.alarm_1_time_minus_offset.state }}" - condition: state entity_id: input_boolean.alarm_1_enable state: 'on' - condition: or conditions: - condition: and conditions: - condition: state entity_id: input_boolean.alarm_1_mon state: 'on' - condition: time weekday: - mon - condition: and conditions: - condition: state entity_id: input_boolean.alarm_1_tue state: 'on' - condition: time weekday: - tue - condition: and conditions: - condition: state entity_id: input_boolean.alarm_1_wed state: 'on' - condition: time weekday: - wed - condition: and conditions: - condition: state entity_id: input_boolean.alarm_1_thu state: 'on' - condition: time weekday: - thu - condition: and conditions: - condition: state entity_id: input_boolean.alarm_1_fri state: 'on' - condition: time weekday: - fri - condition: and conditions: - condition: state entity_id: input_boolean.alarm_1_sat state: 'on' - condition: time weekday: - sat - condition: and conditions: - condition: state entity_id: input_boolean.alarm_1_sun state: 'on' - condition: time weekday: - sun action: - data: {} service: script.bedroom_sunrise
my script.bedroom_sunrise reads;
bedroom_sunrise: alias: morning has broken sequence: - service: light.turn_on data: brightness_pct: '0' entity_id: - light.my_room_light_4 rgb_color: - 255 - 169 - 92 transition: '0' - service: mqtt.publish data: topic: homeassistant/tts/android_johns_phone_tts/tts payload: time to wake up dude the current time is "{{ 'states.sensor.time.state' }}" and alarm is set to "{{ 'states.sensor.alarm_1_time.state' }}" with an offset of "{{ 'states.input_number.alarm_1_offset.state' }}" set to "{{ 'states.sensor.alarm_1_time_minus_offset.state' }}" Weekdays ("{{ 'states.input_boolean.alarm_1_weekday.state' }}" ) and Weekends ("{{ 'states.input_boolean.alarm_1_weekend.state' }}" ) 00:"{{ 'states.input_number.alarm_1_offset.state | int' }}":00
But on alarm activation the payload reads exactly as it is written rather than returning the values of the template.
Now I am sure it is a ‘thunder-fingers’ error (read typo or misunderstanding) for the life of me I cannot see it!I have tried a couple of permutations but am as yet unable to wrap my head round it?
examples, guidance, and pointers to docs are all appreciated.
Happy New Year to you all may it gift you with the learning you need to succeed!
Posts: 3
Participants: 2
@shampeon wrote:
I have a Mitsubishi heatpump that is being controlled using MQTT. The device I’m using to control the unit handles HA MQTT autodiscovery. I’m located in California, and have set HA’s units to “imperial”:
homeassistant: unit_system: imperial
The problem is that the temperature data from the unit is in Celsius, but HA is displaying these Celsius values as Fahrenheit values.
I’ve tried setting the unit_of_measurement to “C” and “°C” using a customization, but that doesn’t change anything.
Entity state:
hvac_modes: heat_cool,cool,dry,heat,fan_only,off current_temperature: 22 min_temp: 16 max_temp: 31 target_temp_step: 1 temperature: 23 fan_mode: QUIET fan_modes: AUTO,QUIET,1,2,3,4 hvac_action: off swing_mode: AUTO swing_modes: AUTO,1,2,3,4,5,SWING friendly_name: guest_bedroom supported_features: 41 unit_of_measurement: °C
I had been using a custom component for the Mitsubishi heatpumps that, looking through the code, set the temperature_unit of the entity to TEMP_CELSIUS. I guess because of this, even though the data in MQTT is in Celsius, the custom component temperatures are correctly being converted to Fahrenheit.
MQTT:
office/ac {"power":"OFF","mode":"FAN","temperature":23.5,"fan":"3","vane":"AUTO","wideVane":"|"} office/ac/status {"roomTemperature":24,"operating":false} office/ac/timers {"mode":"NONE","onMins":0,"onRemainMins":0,"offMins":0,"offRemainMins":0}
Entity state:
hvac_modes: auto,cool,dry,heat,fan_only,off current_temperature: 75 min_temp: 45 max_temp: 95 target_temp_step: 1 temperature: 74 fan_mode: 3 fan_modes: Auto,Quiet,1,2,3,4 hvac_action: off swing_mode: Auto swing_modes: Auto,1,2,3,4,5,Swing friendly_name: Office supported_features: 41
How do you configure an autodiscovered MQTT climate device to have HA convert the temperature from Celsius to Fahrenheit?
Posts: 1
Participants: 1
@paul3 wrote:
I have some devices, notably the Zooz Z-Wave Powerstrip that like to over-share data. My database gets huge, my log-file gets huge, and any operation with these files takes forever or times out.
Right now I’m using hass.io, so I can’t see any easy way to manually trim the database. (Even after a reset, SQLite Web just returns 502: Bad Gateway.) Anyone found a good option that allows me to stay in the easier hass.io world?
Posts: 2
Participants: 2
@PostHumanGod wrote:
My GE 14294 Dimmers have the annoying property of saving the brightness level when dimmed. I came up with the following automation which “worked” leveraging the double-tap (I made the group association to enable double click). Double-tap up worked to set the light to full brightness as desired, double-tap off doesn’t work… but while annoying I can live with that unless someone has a fix.
So I’m looking for help with two things:
- How to make this also turn off the light all the way with a double click off?
- How to modify this so to be a single automation that can be applied to every dimmer switch, individually? Meaning, I don’t want to control both office_ceiling and bedroom_ceiling (e.g. two different switches, I actually have about 10) at the same time… I just want to avoid having to make 10 duplicate automations, 1 for every switch. I tried making entity_id into a list, that broke it. It would need to listen to multiple events (for different entities), determine which one actually triggered it (via a filter?) and then run the action for only the triggering entity.
Current, working* code:
- id: double_tap_office alias: Dimmer Double Tap trigger: - event_data: entity_id: zwave.office_ceiling event_type: zwave.node_event platform: event action: - data_template: brightness: 255 entity_id: light.office_ceiling service_template: {% if trigger.event.data.basic_level == 255 %} light.turn_on {% elif trigger.event.data.basic_level == 0 %} light.turn_off <--- This doesn't seem to happen. {% endif %}
Posts: 2
Participants: 1
@raychouio wrote:
I’ve recently installed with virtualbox and the instructions here: https://www.youtube.com/watch?v=vnie-PJ87Eg&t=559s
I’m not able to usehttp://<ipaddress>:8123/
and need somehelpNOTE: pihole is installed with docker on the same machine
Posts: 2
Participants: 2
@KCYeoh wrote:
Hi, i’m planning to get few Sonoff T1 or T2 3 gang switches to replace my existing switches. And I want like to try out the IFTTT to integrate with HA first before going to flash the Sonoff with Tasmota. I have few Xiaomi motion sensors that will trigger the switches on/off and i would like to know if there any significant delay if using IFTTT for HA integration?
Generally, i want to do this,
Motion detected -> IFTTT -> Sonoff switch ON
Motion not detected -> IFTTT -> Sonoff switch OFFAlso, how stable is the connectivity if using the IFTTT for HA integration? Any instances of server/ewelink down?
Please advise and thanks in advance.
Posts: 2
Participants: 2
@Serg wrote:
Hi guys,
Migrating my setup to new PI4, flashed new SD card, installed Hassio and Samba share, copied my last snapshot and trying to restore full configuration.
After I click wipe and restore it is doing something for few minutes, then I lose connectivity and after it is restored it goes back to freshly installed hassio - no previous configuration, no automations, no scripts, etc. Tried multiple times but no results - just not restoring the snapshot.
However all addons - duckdns, ssh, etc. are restored and configured.Tried reflashing and restoring multiple times, but stuck and not really sure what to do now.
Any ideas?
Posts: 1
Participants: 1
@onlize wrote:
Is there any way the HA can control Alexa devices?
For example, I have an Amazon lamp that I can control with Alexa. I cannot find the way to control it from HA.
Posts: 4
Participants: 2
@dougle03 wrote:
Hi all,
HNYI’ve followed the sample script for an automation to arm my Blink cameras when I’m away, but getting an error when checking validation. Code below:
automation: id: arm_blink_when_away alias: 'Arm Blink When Away' trigger: platform: state entity_id: device_tracker.pete_phone to: 'not_home' action: service: alarm_control_panel.alarm_arm_away entity_id: alarm_control_panel.blink_mansfield_blink_hub
I have blink added ok and can arm disarm from an overview panel. I also have tracking on my (Android phone) also displayed in a tile.
I’m sure it’s just syntax, I’m very new to programming and YAML .
Thanks in advanceFootnote: This is the error I get when validating configuration:
Configuration invalid Invalid config for [automation]: [automation] is an invalid option for [automation]. Check: automation->automation. (See /config/configuration.yaml, line 12). Please check the docs at https://home-assistant.io/integrations/automation/
Posts: 1
Participants: 1
@Josep wrote:
I have Google home integrated in home assistant, so, I can on and off the lights, etc, by ok google voice commands. Now I integrated my fire tv in home assistant too, but commands like "ok Google…play … in fire tv· don’t work… Is there any way to manage a fire tv stick with Google home voice commands with the help of home assistant?
Posts: 1
Participants: 1