Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Home Assistant

11112131416

Comments

  • Registered Users, Registered Users 2 Posts: 7,871 ✭✭✭10-10-20


    Yes, and create a third tariff then for the peak time of 5pm to 7pm (if that exists) and name it suitably.



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address




  • Registered Users, Registered Users 2 Posts: 2,556 ✭✭✭ECO_Mental


    I have done this recently and have it set up so it resets every month but you can set it up bi monthly as well

    what you need to do is Helpers there is an option at the very end for Utility Meter, just follow the instructions here and add in your main incommer sensor. You then add in the tarriffs you want Such Day, Night, Peak, EV

    You then need to set up a few Automations that select the tarriffs at certain times, make sure the name on the tarriff is what you set up in the utility meter so just keep them simpe Day, Night Peak and EV

    You can then set up what ever cards you want on the dashboard such as here

    Here is a nice card showing you what tarriff you are currently on

    6.1kWp south facing, South of Cork City



  • Registered Users, Registered Users 2 Posts: 7,871 ✭✭✭10-10-20


    Ah so it has been moved over to the GUI, didn't realise.



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    How do you add the second tarrif, is a comma separated list or something?



  • Advertisement
  • Registered Users, Registered Users 2 Posts: 2,556 ✭✭✭ECO_Mental


    When setting up the utility meter you just type them into the supported tarriff box, just type in night and enter and it will add

    them.

    It will then create these other helpers automatically by adding the Day night etc to the Utility meter name

    6.1kWp south facing, South of Cork City



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    Thanks Im up and running - just curious if i want to see 'todays' data - so the usage since midnight until now - or yesterdays usage.. whats the best way to set it up?



  • Registered Users, Registered Users 2 Posts: 7,871 ✭✭✭10-10-20


    The energy dash, I would suggest. Peak and off-peak showing here:



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    ok at the moment i have the configured to show consumption based in grid import/export.. how do you config it to show the utility meter data?



  • Registered Users, Registered Users 2 Posts: 7,871 ✭✭✭10-10-20




  • Advertisement
  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    It doesnt look like i can use the utility helper as source in the energy configuration?



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    Hi folks,

    What sensor should be used in the utility meter?

    I'm using grid power but I don't think that's right?



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    having trouble with the utility meter.. im using zappi power ct grid - i looked at the history of the sensor and it seems to track grid import.. the numbers don't look right on the meter data though



  • Registered Users, Registered Users 2 Posts: 7,871 ✭✭✭10-10-20


    It should be a cumulative energy sensor, either overall energy or daily resetting (at midnight).

    What numbers are you seeing? Maybe screenshot the helper for us?



  • Registered Users, Registered Users 2 Posts: 2,556 ✭✭✭ECO_Mental


    I think thats the problem you are using the power readings eg Watts

    You should be using the energy readings kWh

    6.1kWp south facing, South of Cork City



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    thanks yeah i think i was using a power sensor versus energy sensor.. ive switched to using Import Energy Today KWh on my givtcp integration. I'll give it a day or so and see how i get on



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    im still confused why i can't see the sensors for the tariff rates on the energy dashboard.. i can see them everywhere else.. someone suggested i need to let them collect data for a couple of days and then they would show up



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    it seems waiting indeed is in the answer… the peak sensor i added a couple of hours ago now is availabe in the energy dashboard



  • Registered Users, Registered Users 2 Posts: 2,556 ✭✭✭ECO_Mental


    I don't have my tarrif sensors on the energy dashboard as i think is a standalone dashbord. I just put a couple of cards on my main dashboard.

    6.1kWp south facing, South of Cork City



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    Looks like I'm sorted folks, I followed the speak to the geek video which is similar to what you had suggested. Took 24 hours for the sensors to be available on the energy dashboard.



  • Advertisement
  • Registered Users, Registered Users 2 Posts: 6,239 ✭✭✭championc


    Thanks for posting the link to "Speak to the Geek"'s video, which was very clear and informative. I followed it too and got it setup.

    However, it is recording all of my exporting as importing. I pointed it at my Zappi linked Grid CT clamp which will obviously record both importing and exporting. In my case, I have a constant (by design) dribble exporting (50w - 100w) to minimize grid importing.

    However, all of my export are being grabbed by this new entity as being Import

    Any ideas as to how I maybe get it to only use values > 0 ?



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    Not sure to be honest..I couldn't figure out which zappi sensor to use so ended up with one of my givenergy sensors off the inverter.

    I've started getting this in relation to my solcast integration. It's still working but what do I need to do to fix?

    Thanks

    Mick



  • Moderators, Science, Health & Environment Moderators Posts: 4,746 Mod ✭✭✭✭Tree


    Install this one over it

    https://github.com/BJReplay/ha-solcast-solar

    The original solcast maintainer got sick of people acting the maggot and removed it and deleted their github. I think they weren't wrong to do so tbh, but someone had a fork and was able to get it back up and running. AFAIK it's not yet back in core HACS but the link above should still work for you



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    Has anyone done a card like this in home assistant? It's the pinergy app which I had while with them but now I've switched to energia.. their app is still calculating stats so only have daily import amount



  • Registered Users, Registered Users 2 Posts: 7,871 ✭✭✭10-10-20




  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    Hi folks

    Has anyone come across a bathroom extractor fan with humidity sensor that integrates with home assistant?

    Thanks

    Mick



  • Registered Users, Registered Users 2 Posts: 1,750 ✭✭✭tnegun


    I looked for one years ago but found nothing I was happy with. I use a Sonoff with a regular extractor and Xiaomi humidity sensor which has worked quite well for the last 7 to 8 years predating my move to home assistant!



  • Registered Users, Registered Users 2 Posts: 2,751 ✭✭✭niallb


    Sonoff TH10 and TH16 have a socket for a humidity sensor. Haven't bought one in a long time, but it'll run independently even on stock firmware. Easier to integrate with HA if you flash it with tasmota.



  • Advertisement
  • Registered Users, Registered Users 2 Posts: 7,871 ✭✭✭10-10-20


    Jasus, that's my job for next week! I just purchased a 12V fan for my main bathroom and I was pondering how I'd connect it all into HA. The way I think I'll go at it is that I'll connect the mains transformer onto a Sonoff (or Shelly) and then use a Zigbee Sonoff temperature/humidity sensor right beside the shower to detect when it's in use. I already use this method in my ensuite to switch on a dehumidifier, and it's working really well and has been stable for 3 years now. I'm using a Derivative Sensor to rapidly detect the humidity change and then running the dehumidifier until the RH drops below the average humidity level of the rooms upstairs (as I don't want to dehumidify the room too much).

    The other option that I was looking at was using an in-line extractor with a variable fan rate; some of these use a 0v to 10v control system to control the speed, so I was thinking of using ESPHome to control an ESP32 and connect it to a PID controller on the ESP. Dunno the full in's and out's of it, but it's quite doable.



  • Registered Users, Registered Users 2 Posts: 7,871 ✭✭✭10-10-20


    I can't bear those cloud apps. My Xiaomi robot vacuum just quit on me as the app signed me out and won't take what I know to be the correct password now, seems to be forcing me to re-register by using my gmail account… which I'm not doing with some squirrely cloud account.



  • Registered Users, Registered Users 2 Posts: 6,239 ✭✭✭championc


    Hi all,

    Can someone please possibly tell me as to what is wrong with the way I have these Template Sensors

    I started with the one for "heat_power" and it works perfectly. But when I added the two more for "energy_import" and "energy_export", then it broke everything, and "heat_power" stopped working



  • Registered Users, Registered Users 2 Posts: 7,871 ✭✭✭10-10-20


    Dump it in text format in code quotes and we can have a go. 👍️



  • Registered Users, Registered Users 2 Posts: 7,801 ✭✭✭Raoul


    Why do you want to integrate it with home assistant?

    I find we can try to do too much. Just get a decent fan and set and forget it? I think there are some fans that turn on over a certain humidity level.



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    well i have one which has a humidstat.. the problem i have with it is that it doesnt turn off sometimes and stays running.. its relatively knew and in a bathroom.. its not a big deal as we usually cop it and switch it off at the wall but sometimes it will run for hours and suck all the heat out of the upstairs if the bathroom door is open.. its not on the light switch it has its own isolation switch.. i was thinking if integrated in home assistant i could have it switch off with an automation if its running for more than 30 minutes etc..

    https://www.amazon.co.uk/gp/product/B08D9DLPVY/ref%3Dppx_yo_dt_b_search_asin_title?ie=UTF8&th=1



  • Advertisement
  • Registered Users, Registered Users 2 Posts: 6,239 ✭✭✭championc


    template:
    - sensor:
    - name: "heat_power"
    unique_id: "heat_power"
    unit_of_measurement: W
    state_class: measurement
    device_class: power
    availability: |
    {{ has_value('sensor.ebusd_hmu_flowtemp') and
    has_value('sensor.ebusd_hmu_returntemp_temps2') and
    has_value('sensor.ebusd_hmu_waterthroughput') }}
    state: >
    {% set t_flow = states('sensor.ebusd_hmu_flowtemp') | float(0) %}
    {% set t_return = states('sensor.ebusd_hmu_returntemp_temps2') | float(0) %}
    {% set flow_rate = states('sensor.ebusd_hmu_waterthroughput') | float(0) %}
    {% set heat_power = flow_rate / 3600 * (t_flow - t_return) * 4186 %}
    {% if heat_power < 7500 %}
    {{ heat_power }}
    {% else %}
    {{ this.state }}
    {% endif %}



    - name: "energy_import"
    unique_id: "energy_import"
    unit_of_measurement: W
    state_class: measurement
    device_class: power
    state: >
    {% set energy_import = states('sensor.myenergi_zappi_12047048_grid_ct2') | float(0) %}
    {% if energy_import > 0 }
    {{ energy_import }}
    {% else %}
    {{ this.state }}
    {% endif %}

    - name: "energy_export"
    unique_id: "energy_export"
    unit_of_measurement: W
    state_class: measurement
    device_class: power
    state: >
    {% set energy_export = states('sensor.myenergi_zappi_12047048_grid_ct2') | float(0) %}
    {% if energy_export < 0 }
    {{ energy_export }}
    {% else %}
    {{ this.state }}
    {% endif %}



  • Registered Users, Registered Users 2 Posts: 7,871 ✭✭✭10-10-20


    I stuck that code into the validator on HA:

    Missing a % there and on the next sensor.



  • Registered Users, Registered Users 2 Posts: 6,239 ✭✭✭championc


    Thanks. Didn't even know such a feature existed



  • Registered Users, Registered Users 2 Posts: 2,234 ✭✭✭mel123


    For someone who is a newbie getting started, what's the best thing you recommend to do? What's your favourite thing that you have done?



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    it depends what you have.. for me probably seeing my energy usage, solar, battery etc is pretty nice.. ive a few automations as well like getting a notification on the phone when the postbox is open - some with lights on motion sensors as well which are handy.. probably the most useful for the house is ive an automation running which monitors the temp of the water in the hot water cylinder.. once the middle of the tank gets to a certain set point it boosts the hot water circuit from the gas boiler for 30 minutes. means there's never cold water for a shower



  • Advertisement
  • Moderators, Science, Health & Environment Moderators Posts: 4,746 Mod ✭✭✭✭Tree


    The dimmer in the en suite is probably a big one (dim at night, bright in the day, operated by normal looking switch, shelly dimmer in the fitting). I also like that my wallbox responsed to excess solar based on the inverter's export (it doesn't have a bidirectional current sensor of its own).

    I think my OH's favourite is probably that I have the lamp on his locker on a smart plug, so if he turns it on, it turns off the big light (which he always forgets). His least favourite is probably the skull of lights I put on his desk that blinks when the doorbell goes…



  • Registered Users, Registered Users 2 Posts: 6,239 ✭✭✭championc


    I possibly use the history function in HA the most. I recently self installed a Vaillant AroTherm Plus heat pump, and so there are various parameters that I am watching from time to time, as we move into the winter months.

    I also use it for looking at the individual cells of my solar battery when they are discharging and charging in the small hours.



  • Registered Users, Registered Users 2 Posts: 420 ✭✭munsterfan2


    Aside from the energy monitoring for solar etc, I have automations that have the heat pump to heat water during EV rate, turns on external socket for leaf from 2 - 6, discharge battery to grid if spare capacity at night, checks the clock on the heat pump as it seems to go haywire every few months.

    Also, the kona and zappi dont always play nice so it tries a test charge at 11pm and lets me know if I need to plug the cable in and out..



  • Moderators, Education Moderators, Home & Garden Moderators Posts: 8,251 Mod ✭✭✭✭Jonathan


    The simple ones are the best. Near sunset the sitting room blind closes and exactly 21 seconds later (the time it takes for the blind to reach the closed position) the lamp comes on. A few mins after, the hall lamp and then the outdoor porch light comes on.

    The blinds and the external porch light give a good sense that the house is occupied. Far more piece of mind compared to the plug in lamp timers of years gone by.



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address




  • Registered Users, Registered Users 2 Posts: 7,871 ✭✭✭10-10-20


    The heated door handle can now be automated by proximity and the dancing silhouettes can be triggered by a mmwave. We've come so far! 🤣



  • Registered Users Posts: 498 ✭✭lostboy75


    I agree on liking the simple ones, mainly because that's all I use so far. House is mainly still a dumb one, but excepting to begin major renovations next year that should give me a lot more options/headaches 😉.

    Have morning alarm set, it turns on bedroom light low, light beside the front door and the radio in the kitchen, lights are darkness dependant. The radio turns off when I should be leaving the house as a secondary alarm. Rest of the lights etc then turn off ten minutes later.

    Also put a sensor on the front door, if the door is opened after dark it turns on the hall light, nothing special at all, but very handy.



  • Registered Users, Registered Users 2 Posts: 8,925 ✭✭✭micks_address


    what do you use for smart blinds? i was looking at aqara as we have the roller type on chains..



  • Registered Users, Registered Users 2 Posts: 5,015 ✭✭✭paulbok


    1. Having all my devices on one app/ dashboard for control.
    2. Automations for lighting, like the sunset ones others have mentioned. Quite satisfying walking around the house at sunset and the lights come on automatically, especially if they allow them to gently brighten rather than just turn on.
    3. Being able to send messages through smart speakers, alarm alerts, bedtime routines for the kids etc

    Been using Home Assistant for around 8 years now, gets easier to use every year and if set up right, is very stable. Last 2 times it gave trouble, it was my own fault by not updating correctly. Very happy with it and I don't use enough automations to make it an even better experience.

    One main piece of advice, and I can't emphasize this enough. Back-up, Back-up, Back up.



  • Registered Users, Registered Users 2 Posts: 5,015 ✭✭✭paulbok


    I have a couple of IKEA black out blinds in my office, the are bigger than the window opening so overhang but that doesn't bother me here. In the main house I'd want them to fit inside the open, so would have to use something else like the aqara controller on a chain.



  • Advertisement
Advertisement