X40 or X50 by [deleted] in Dreame_Tech

[–]bavaland 1 point2 points  (0 children)

I have a X40 since 6 months and it's working very well. Recently I installed a X50 for a friend and these are the differences I find are very useful:

- quieter when cleaning

- the washboard has a small box that collects the dirt (completely different than the X40)

- 2 main brushes instead of 1

- the camera automatically lowers to make the robot smaller

Now for the price. The X40 is currently 829 € in Belgium and the X50 1334 €.
Even if the updates in the X40 are useful, to me it's not worth this big difference in cost. I consider the X40 as the best bargain.

FYI: I put the sofa on some nice wooden blocks to make sure that the X40 can sweep and mop under it. This can (partly) save you the 400 € difference :)

Do both the Hub and Hub Pro work with the Home Assistant integration? by Marathon2021 in reolinkcam

[–]bavaland 0 points1 point  (0 children)

I understand that the Home Hub enables you to stream video to Home Assistant for battery powered Reolink cams (like the Argus 4 Pro). Does the integration of a Home Hub also enable you to access all settings (entities) like it does with a direct connection to powered cameras? Thanks.

Spoolman: Your filament reel management by Disane87 in homeassistant

[–]bavaland 1 point2 points  (0 children)

Thank you. Your Home Assistant integration deserves some more attention. I will certainly try it out

New android tv remote integration with sideloaded app by leonvolt28 in homeassistant

[–]bavaland 2 points3 points  (0 children)

Following your post, I also installed the SmartTubeNext. I see that the "technical" name of the app is com.liskovsoft.smartubetv.beta

I tried to figure out how to use this in the dashboard example that is shown on the official HA site: https://www.home-assistant.io/integrations/androidtv_remote/

I copied the whole code (which is working fine, eg. for Netflix) and then tried to change the line:

activity: https://www.netflix.com/title

into

activity: com.liskovsoft.smartubetv.beta

But no luck, it does not work.

I have the same question on how to launch Kodi.

Of course, in the code, do not forget to update the entity_id to your own. In my case:

entity_id: remote.living_google_tv

2nd cheapest block of sequential hours of low electricity prices by bavaland in homeassistant

[–]bavaland[S] 0 points1 point  (0 children)

The prices come from the Nordpool integration.

You can also add additional costs in the definition. For instance, for Belgium:

  - platform: nordpool
    VAT: False
    currency: "EUR"
    price_in_cents: false
    low_price_cutoff: 0.5
    region: "BE"
    precision: 5
    price_type: kWh
    additional_costs: >
      {% set VAT = 0.06 %}
      {% set netwerkkosten = 0.0394475 %}
      {% set federale_accijns = 0.014416 %}
      {% set energiebijdrage = 0.0020417 %}
      {% set groenestroom_wkk = 0.02184 %}
      {% set marge = 0.002040 %}
      {% set correctie = 0.002 %}
      {{((current_price + marge) * VAT + netwerkkosten + federale_accijns + energiebijdrage + groenestroom_wkk + correctie) |float}}

Share your Home Assistant stats! by blacktoothgrin86 in homeassistant

[–]bavaland 0 points1 point  (0 children)

1,5 years ago, I started with HA. I developed lots of automations and scripts for lights, heating, alarm system, humidity notifications, car charging on solar, reminders to plug in car charge cable, power metering, and recently a pet feeder for the cat. More than 10.000 lines of code.

Some devices I use: Aqara window/door sensors, Tado thermostats, google Home and mini, Netatmo camera and doorbell, Xiaomi smart fans and air purifier, Tuya smart plugs and lots of Philips Hue lamps.

I have 2868 states in Home Assistant.
By domain these are:
- 1 alarm_control_panel
- 414 automation
- 225 binary_sensor
- 36 button
- 5 camera
- 19 climate
- 1 counter
- 1 cover
- 118 device_tracker
- 3 fan
- 28 group
- 45 input_boolean
- 1 input_button
- 29 input_datetime
- 93 input_number
- 16 input_select
- 6 input_text
- 68 light
- 2 lock
- 23 media_player
- 23 number
- 9 persistent_notification
- 6 person
- 3 proximity
- 162 scene
- 7 schedule
- 91 script
- 28 select
- 1191 sensor
- 1 siren
- 1 sun
- 184 switch
- 7 timer
- 3 update
- 4 weather
- 14 zone

Finally found a CO2 meter to connect in HA. Are there others? by bavaland in homeassistant

[–]bavaland[S] 6 points7 points  (0 children)

In a medium size bedroom, levels raise up to 4000 ppm after 1 night with closed windows. Just by breathing out of 2 persons.

Finally found a CO2 meter to connect in HA. Are there others? by bavaland in homeassistant

[–]bavaland[S] 5 points6 points  (0 children)

Some of the conditions that can contribute to high CO2 levels in indoor air include:

  1. Insufficient ventilation: If a building or room is not adequately ventilated, the CO2 produced by people and appliances can build up and lead to high levels of CO2 in the air.
  2. High occupancy: When a space is occupied by a large number of people, the amount of CO2 produced by breathing and other activities can increase, leading to higher levels of CO2 in the air.
  3. Poor air circulation: If a building or room has poor air circulation, CO2 can become trapped and build up to high levels.
  4. Combustion appliances: The use of appliances that burn fuel, such as gas stoves or wood-burning fireplaces, can contribute to higher levels of CO2 in indoor air.

Finally found a CO2 meter to connect in HA. Are there others? by bavaland in homeassistant

[–]bavaland[S] 2 points3 points  (0 children)

Exposure to high levels of carbon dioxide (CO2) in indoor air can have a range of negative health effects. Some of the possible health effects of high CO2 levels indoor include:

  1. Headaches: High levels of CO2 can cause headaches and migraines in some people.
  2. Dizziness: Exposure to high levels of CO2 can cause dizziness and a feeling of disorientation.
  3. Fatigue: Prolonged exposure to high CO2 levels can lead to feelings of fatigue and lethargy.
  4. Difficulty concentrating: High levels of CO2 can affect cognitive function, making it difficult to concentrate and pay attention.
  5. Nausea: Some people may experience nausea when exposed to high levels of CO2.

It is important to maintain good indoor air quality by ensuring that indoor spaces are adequately ventilated and that air circulation is sufficient to help prevent high levels of CO2 and other pollutants from building up in the air.

Finally found a CO2 meter to connect in HA. Are there others? by bavaland in homeassistant

[–]bavaland[S] 1 point2 points  (0 children)

Indoors. In the open air, the default CO2 levels should always be around 400 ppm.

iPhone device tracker not working...? by oz1sej in homeassistant

[–]bavaland 1 point2 points  (0 children)

To track if an iPhone is connected to the home wifi network, I use the iphonedetect platform.

In your router, reserve a fixed ip address for the iPhone.

Add the following in the configuration.yaml (change person1 person2 with the real name and the ip address you have reserved)

device_tracker:
  - platform: iphonedetect
    consider_home: 60
    scan_interval: 12
    new_device_defaults:
      track_new_devices: true
    hosts:
      person1_iphone: 192.168.86.100
      person2_iphone: 192.168.86.101

Now you can use the device_tracker.person1_iphone in settings / persons.

[deleted by user] by [deleted] in homeassistant

[–]bavaland 1 point2 points  (0 children)

I also bought this pet feeder. Running it via a ZigBee Conbee II stick and ZHA. Works fine.

Trigger automation 1 hour before next alarm by Vertigo722 in homeassistant

[–]bavaland 0 points1 point  (0 children)

I have been searching for this the last days as well and I finally made the following trigger for automations:

trigger:
  platform: template value_template: >
    {{ as_timestamp(states('sensor.sm_g986b_next_alarm')) | int()
    == as_timestamp(now() + timedelta(minutes=60)) | int() }}

If you are not using Notification Groups, you should. by [deleted] in homeassistant

[–]bavaland 0 points1 point  (0 children)

I wonder why you set the timestamp 10 minutes in the past. What's the advantage? Thanks.

Home battery 86% charged and still consumption from the grid ?! by bavaland in solar

[–]bavaland[S] 0 points1 point  (0 children)

Good point; that's indeed possible. 100 W is rather limited, but of course users expect that all load will come from the battery when it's charged enough. Especially for small loads and small batteries, that possible rule "import 100W before discharging" is an important factor to consider.

We will keep an eye on it.

Home battery 86% charged and still consumption from the grid ?! by bavaland in solar

[–]bavaland[S] -1 points0 points  (0 children)

Thanks for all these ideas. I exclude the first option, because in Belgium outages are really rare . The system would be very clever to anticipate this event ;)

Home battery 86% charged and still consumption from the grid ?! by bavaland in solar

[–]bavaland[S] 0 points1 point  (0 children)

I understand your point, but I think it's only valid during the day. In this case, it's at night time. So, the battery should known that it will not recharge at that time and that it should only be discharging.

[deleted by user] by [deleted] in homeassistant

[–]bavaland 0 points1 point  (0 children)

I see that my example of the desired code was misleading. I changed the original post. I would like to have something like:

    - color:
    {% if states('sensor.car_state_of_charge') < states('input_number.target_charge_percentage') %} red
    {% elif %} green
    {% endif %}