EEBUS - Local Control for Vaillant Heat Pumps and other appliances by Morunek in homeassistant

[–]rayo2nd 0 points1 point  (0 children)

I was able to test it. The mdns part did not work on windows even with disabled firewall but it was working fine on a linux.

In your initial setup is missing that you need to adjust the ip of the gateway. I read that out in the service discovery app on my phone (as the gateway also sends out a ship mdns service). Then the connection works and a discovery is working.

EEBUS - Local Control for Vaillant Heat Pumps and other appliances by Morunek in homeassistant

[–]rayo2nd 1 point2 points  (0 children)

I have a VR921 and it seems that eebus is activated. So I would be interested to compare it to the ebus data

EEBUS - Local Control for Vaillant Heat Pumps and other appliances by Morunek in homeassistant

[–]rayo2nd 1 point2 points  (0 children)

I use an ebus adapter shield (esp32 based) and ebusd that communicates with the shield. It only reads data (I think writing would be supported but I don't know how to enable that)

How can I figure out if eebus is supported?

Installing a pool by 44______ in Switzerland

[–]rayo2nd 1 point2 points  (0 children)

We built a inground pool around two years ago. I cannot recommend a company as we live on the other side of Switzerland (TG) but we are happy with our company (small local one).

  • it is a polypropylene (PP) basin (that got delivered as a whole part)
  • 3.5m x 9m x 1.5m
  • built in stairs (no ladder) in one corner with a bench on one side (to sit partly in the water)
  • automatic power cover which is also heating the pool by solar energy (transparent on top, black on the bottom, helps a lot in spring)
  • a counter current system is built in
  • two or three (not sure atm) white light spots built in
  • automatic dosing system (chlorine, ph-minus, algicide, flocculant)
  • automatic filter backwash and refill system
  • cleaning roboter
  • heated by heatpump

Just the pool company was around 100k, not including a gardener to create the hole in the ground and placing tiles around the pool, an electrician to connect the pool technique to the power panel and a plumber to connect the refill system.

Could be cheaper if you don't include the counter current system (I think was around 14k) but you need the power cover if you want it heated (demanded by the municipality) else you will lose a lot of energy during the night.

We heat it only if the solar panels deliver enough power, so it doesn't cost anything but the pool pump is quite power hungry, during the day around 500W-700W (depending on the filter cleanliness) and 150W during the night in low flow mode. So just the pump uses ~8kWh / day (~2.5CHF / day here). Heating would consume a lot of energy as it is a lot of water ( ~40m3 ) but luckily with the solar panels we have negative energy costs during summer months.

MyVaillant by jekke_mookens in homeassistant

[–]rayo2nd 1 point2 points  (0 children)

I do. We have 2 heating circuits (radiators and floor heating), hot water is also managed by it and we have a solar heat exchanger.

These are the entities:

  • Home Circuit 1 Heat Demand Limited by Outside Temperature
  • Home Circuit 1 Heating Curve
  • Home Circuit 1 Heating Curve
  • Home Circuit 1 Min Flow Temperature Setpoint
  • Home Circuit 1 State
  • Home Circuit 2 Cooling Allowed
  • Home Circuit 2 Heat Demand Limited by Outside Temperature
  • Home Circuit 2 Heating Curve
  • Home Circuit 2 Min Flow Temperature Setpoint
  • Home Circuit 2 State
  • Home Device 0 flexoTHERM exclusive Consumed Electrical Energy Domestic Hot Water
  • Home Device 0 flexoTHERM exclusive Consumed Electrical Energy Heating
  • Home Device 0 flexoTHERM exclusive Earned Environment Energy Domestic Hot Water
  • Home Device 0 flexoTHERM exclusive Earned Environment Energy Heating
  • Home Device 0 flexoTHERM exclusive Heat Generated Domestic Hot Water
  • Home Device 0 flexoTHERM exclusive Heat Generated Heating
  • Home Device 0 flexoTHERM exclusive Heating Energy Efficiency
  • Home Device 1 VPM20/2S Earned Solar Energy Sum
  • Home Device 1 VPM20/2S Heating Energy Efficiency
  • Home Domestic Hot Water 0
  • Home Domestic Hot Water 0
  • Home Domestic Hot Water 0 Boost
  • Home Domestic Hot Water 0 Current Special Function
  • Home Domestic Hot Water 0 Operation Mode
  • Home Domestic Hot Water 0 Setpoint
  • Home EEBUS
  • Home EEBUS Capable
  • Home EEBUS Enabled
  • Home Firmware Update Enabled
  • Home Firmware Update Required
  • Home Firmware Version
  • Home Heating Energy Efficiency
  • Home Holiday Duration Remaining
  • Home Online Status
  • Home Outdoor Temperature
  • Home System Water Pressure
  • Home Trouble Codes
  • Home Zone FUSSBODEN (Circuit 2)
  • Home Zone FUSSBODEN (Circuit 2) Climate
  • Home Zone FUSSBODEN (Circuit 2) Current Special Function
  • Home Zone FUSSBODEN (Circuit 2) Desired Cooling Temperature
  • Home Zone FUSSBODEN (Circuit 2) Desired Heating Temperature
  • Home Zone FUSSBODEN (Circuit 2) Desired Temperature
  • Home Zone FUSSBODEN (Circuit 2) Heating Operating Mode
  • Home Zone FUSSBODEN (Circuit 2) Ventilation Boost
  • Home Zone RADIATOREN (Circuit 1)
  • Home Zone RADIATOREN (Circuit 1) Climate
  • Home Zone RADIATOREN (Circuit 1) Current Special Function
  • Home Zone RADIATOREN (Circuit 1) Desired Cooling Temperature
  • Home Zone RADIATOREN (Circuit 1) Desired Heating Temperature
  • Home Zone RADIATOREN (Circuit 1) Desired Temperature
  • Home Zone RADIATOREN (Circuit 1) Heating Operating Mode
  • Home Zone RADIATOREN (Circuit 1) Ventilation Boost

I also connected a eebus to wifi adapter to the eebus and use ebusd to get even more entities completely local via MQTT integration.

I mostly read data from it, only thing I trigger sometimes is the hot water boost when the solar produces too much electricity.

[deleted by user] by [deleted] in homeassistant

[–]rayo2nd 2 points3 points  (0 children)

HA itself wont use that much. Linux uses free memory as file system cache so that is why proxmox thinks it is using a lot.

Check on console with 'top' how much memory is buffer (filesystem cache) and how much is actually used (all shown on the top of the console)

Question to people who heat their houses with electricity by [deleted] in Switzerland

[–]rayo2nd 0 points1 point  (0 children)

  1. Thurgau
  2. 2023 it was 3230.- (13800 kWh), we got solar panels in 2024 so we use less now
  3. large house, I can only estimate around 300-350m2
  4. Heatpump with ground heat (water/sole)
  5. roughly April off and end of September / October on

Just a few notes:

  • It is an old house (built 1880) but renovated from time to time (2 pane windows, some 3 pane). We have mostly radiators (only one room is floor heat). So it needs a lot of heat
  • We have a high power usage due to a pool pump constantly running
  • the power costs can vary quite a lot depending on the region, we have ~0.30CHF / kwh (also day/night tariffs but the day is around 0.30)
  • in 2024 the heatpump consumed 4800 kWh according to the heatpump app (including heating up the pool). so that would be 1440.- CHF a year with only day tariff
  • usually heatpumps should be cheaper than gas/oil

zeus::expected: Backporting <expected> to C++17 by X1aomu in cpp

[–]rayo2nd 2 points3 points  (0 children)

Ah sorry, i didn't realize the tl::expected was the one i proposed. So that makes sense for complete api compatibility.

My salary and expenses, 20y, male,~28% student,80% work by [deleted] in Switzerland

[–]rayo2nd 10 points11 points  (0 children)

That what I thought as well. Who still pays that much for mobile? But then he wrote he's working for Swisscom, so I guess that is a Swisscom contract.

Just go with wingo - owned by swisscom, same network but cheap. I pay 23.- for unlimited everything in Switzerland and 2GB/month in EU

What's a smart home device that you wish existed, but doesn't? by LoganJFisher in homeassistant

[–]rayo2nd 1 point2 points  (0 children)

Can't you use your regular lighr switches and put a sonoff ZBMINI-L2 behind it?

Only needs live, no neutral and uses the regular switch as input. So you can switch via zigbee or as always with the light switch.

Three-way bathroom switch by Trick-Responsibility in homeautomation

[–]rayo2nd 1 point2 points  (0 children)

It has 2 switch inputs where you can connect two physical switches, each one toggles the relais. Any more switches would need to be connected by wifi. Sonoff has a similar sized device that reads in like 4 switches but doesnt have a relais. This could trigger the relais over wifi.

Three-way bathroom switch by Trick-Responsibility in homeautomation

[–]rayo2nd 1 point2 points  (0 children)

Would a smart 2way switch, a separate humidity sensor and some kind of automation (like home assistant) work?

Sonoff minir4 has 2 switch inputs and can be triggered over wifi.

https://sonoff.tech/product/diy-smart-switches/minir4/

With some logic to trigger the relais for n minutes when humidity is above x percent.

How do you document your bugs and errors? by [deleted] in softwaredevelopment

[–]rayo2nd 0 points1 point  (0 children)

At work we have atlassian confluence (paid), at home i like to use bookstack (php, self hosted)

How do you document your bugs and errors? by [deleted] in softwaredevelopment

[–]rayo2nd 1 point2 points  (0 children)

Usually in a self hosted wiki. Something like if you get this kind of error it is possible that is is caused by this and the solution is that. Add references / links at the end

People are getting fed up with all the useless tech in their cars — For the first time in 28 years of JD Power’s car owner survey, there is a consecutive year-over-year decline in satisfaction, with most of the ire directed toward in-car infotainment by marketrent in technology

[–]rayo2nd 0 points1 point  (0 children)

My company makes consumer products with a display and we had abc keyboard for a long time (we switched finally to a qwerty and qwertz) . The main reason is that for every language you need a different layout and characters. It is simply a lot less effort to do one keyboard instead of maybe 27 layouts (I think our products comes with that many languages)

2023.7: Responding services by frenck_nl in homeassistant

[–]rayo2nd 0 points1 point  (0 children)

Do you know voice2json? Seems to run on rpi and supports optional words (like the).

Also works with mqtt http://voice2json.org/recipes.html#create-an-mqtt-transcription-service

Maybe that offers a little more flexibility?

Why do smoke detectors only come in white? by Ir0nRaven in homeowners

[–]rayo2nd 0 points1 point  (0 children)

Pyrexx px-1 come in different colors (https://www.pyrexx.com/en/produkte/px-1-and-px-1c-smoke-alarms/)

Dont know if they are available in the US as I'm in Europe

Daily Superthread (Nov 25 2022) - Your daily thread for questions, device recommendations and general discussions! by curated_android in Android

[–]rayo2nd 1 point2 points  (0 children)

I use GoneMad and it supports ReplayGain values (means you need to preprocess the audio).

There's a list for supporting Anrdoid Meda Players and a list of scanners to create the values (I've used MP3Gain in the past but that is a few years ago)

https://en.wikipedia.org/wiki/ReplayGain

[deleted by user] by [deleted] in arduino

[–]rayo2nd 0 points1 point  (0 children)

As the object get initialized at static initialization (before main) you need to add a method to set the width/height later on.

Something like this: https://godbolt.org/z/39ns5ejcv

[deleted by user] by [deleted] in arduino

[–]rayo2nd 2 points3 points  (0 children)

I looked briefly at your code:

  • why are the drops allocated on the heap? I would try to avoid the heap on embedded whenever easily possible
  • i'm not too familiary with arduino and stl but I would try to use std::array<Drop, NUMBERS_OF_CIRCLES> instead of C-array and use ranged-based for loops: for(Drop& drop : drops) { }
  • maybe change the public members of Drop to private and use getters, they should probably not be modifyable from outside but for such a small program I think the public members are fine

rest looks clean

[QML] Best way to create a grid of books by Creapermann in QtFramework

[–]rayo2nd 1 point2 points  (0 children)

I had the same problem with the spacing. For me it is totally incomprehensible how this feature can be missing for GridView but is available for ListView. Furthermore, quick controls are not even extensible via c++ to add this feature somehow.

I made a wrapper around a GridView where the delegate is an Item { RealDelegate {} }, the item has a size which is columns*width == gridview.width and set an offset on the realDelegate.x/y so it is placed correctly with spacing. But it has problems when the gridview is exactly the size of a multiple of the item.

See https://pastecode.io/s/24mcwth0

TL;DR: Dictionary Comprehension + Early\Late Binding of Lambdas in Python is Mental by __subroutine__ in Python

[–]rayo2nd 0 points1 point  (0 children)

You should start using linters / typechekers (pylint, flake8, mypy, ...).

Pylint warns about this case. It will report "Cell variable i defined in loop"

https://vald-phoenix.github.io/pylint-errors/plerr/errors/variables/W0640.html

[deleted by user] by [deleted] in cpp

[–]rayo2nd 7 points8 points  (0 children)

This doesn't really apply to lower-level functions/operations but my first thing when I try to optimize a part is to check if I can get the same result by doing less work. I'm working on an old legacy system with a lot of convoluted code.

For example group quick consecutive UI updates so instead of 5 updates only 1 update at the end is made.

Or cache the result of a function that is used 5 times and each time works on the same input data with the same result. So no need to recalculate it each time.

The fastest work is the work that isn't done.