Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Home Assistant

1252628303134

Comments

  • Registered Users, Registered Users 2, Paid Member Posts: 9,463 ✭✭✭10-10-20


    Watchtower is a loose cannon, watch out for it as it's a bit blunt. I have Frigate running in an LXC without docker, and then the Intel GPU passed through as well as a Coral. That took a fair bit of faffing with to get working. The key is to use tteck's script to install the Frigate LXC and then build up from there. I took rough notes, I can share.



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




  • Registered Users, Registered Users 2, Paid Member Posts: 490 ✭✭munsterfan2


    Using portainer on docker to manage all my docker containers. Currently have HA, frigate, Mosquitto, leaf2mqtt, a small nginx website running in thier own containers with a few more in planning. Have my volatile disks mounted externally, going to buy a RAID usb container and maybe also setup a mirror of the disks in the garage.

    Really like being able to redeploy HA with a few clicks when a new release is out.



  • Registered Users, Registered Users 2 Posts: 9,371 ✭✭✭micks_address


    An update on the bathroom fans. I picked up the Vent Axia PureAir sense model and it wouldn't integrate automatically with the Pax calima HACS add on.

    https://www.screwfix.ie/p/vent-axia-479460-114-3mm-4-1-2-axial-bathroom-bluetooth-extractor-fan-white-240v/454hf

    https://github.com/eriknn/ha-pax_ble

    Its app is pretty dated looking. I talked to the repo owner and they actually have a working integration ready to go but haven't released yet.

    https://github.com/eriknn/ha-pax_ble/issues/51

    Anyhow i decided to change the Pure air model for the Svara model (which after i read the ha threads seems to work out of the box with ha)

    https://www.screwfix.ie/p/vent-axia-409802-lo-carbon-3-3-4-axial-bathroom-app-controlled-extraction-fan-white-230v/8827p

    I've just wired it to a plug to test but got it up and running in home assistant. I know it probably feels like overkill for a lot of folks but the existing humidstat fan i had sometimes never stopped after coming on - and its only a few months old. Amazon are taking that back. Just need to wire the new one in place now.



  • Registered Users, Registered Users 2 Posts: 9,371 ✭✭✭micks_address


    hi folks - question on bluetooth connectivety - with the PAX integration im using above. The fan seems to drop connection after a while - basically a timeout i suppose. If i interact with the device via HA - boost fan etc a couple of times it will reconnect and work as expected. You can see this with the fan app as well - when you open it and open the device it connects the bluetooth - i guess what im asking is there a 'bluetooth reconnect' i can do on the integration if its disconnected?

    Cheers,

    Mick

    Screenshot_20241119-133125.png

    I see these In the logs

    Screenshot_20241119-133220.png


  • Advertisement
  • Registered Users, Registered Users 2, Paid Member Posts: 9,463 ✭✭✭10-10-20




  • Registered Users, Registered Users 2 Posts: 9,371 ✭✭✭micks_address


    Thanks looks like something like this might work?

    https://www.reddit.com/r/homeassistant/comments/xzqyzd/fix_for_bluetooth_integration_that_seems_to/?rdt=41906



  • Registered Users, Registered Users 2 Posts: 9,371 ✭✭✭micks_address


    I ticked this on my Bluetooth adapter and it seems more consistent now

    Screenshot_20241119-142403.png


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


    What a day!!! I've been running HA on a Pi4 for 3 years now with an SD card…and Ive noticed over the last few days it was getting slower and slower and a few things were not loading in or taking forever eg Grafana but today it got very bad. I was planning to migrate my SD card to an SSD drive that I was using for external storage on my xbox but never got around to it. Anyway after multiple restarts of HA and plugging in and out the Pi4 I decided it was the SD card and it was going to go kaput soon. Tried to get a snapshot done but that wouldn't work so then I had to go back and find the latest OneDrive backup and last backup I had was back on the 8th November.

    Anyway after a day researching of how to migrate to a SDD and boot from USB I got it done…simple enough afterwards..flash the Pi4 to tell to boot from USB, attach your USB drive with HAOS on it and then load in the recovery file…job done all im missing is 2 weeks of energy data…maybe its a small price to pay….but up until now I had 3 years of flawless energy and temp data…my fancy Grafana graphs are gone all wonky 😪😔

    Lesson learned kids….get out of SD cards as soon as you can…backup daily and save to cloud (I was doing this but I didn't notice it had stopped)

    On a good note HA is running like a dream now on the SSD, way faster…

    image.png

    6.1kWp south facing, South of Cork City



  • Registered Users, Registered Users 2 Posts: 9,371 ✭✭✭micks_address


    Hi folks,

    Inset up two restful sensors to read temperature and humidity from a govee WiFi Sensor. It worked fine, had to get the API key etc. when setup the values never updated. So I had to set up an automation to update the rest service.


    - service: homeassistant.update_entity  entity_id: sensor.bathromhumidity

    My question is around scan intervals. I run the above update entity every 30 seconds. I'm not sure how the scan interval value of 60 plays here? I've checked the govee app and the sensor in home assistant and they aren't always in sync. Ive seen some suggest that you should specify a really long scan interval in the configuration.yaml?

    I'm using the sensor to turn on and off the bathroom extractor fan which seems to be working pretty well.

    rest:

    resource: https://openapi.api.govee.com/router/api/v1/device/state

    method: POST

    headers:

    Content-Type: "application/json"

    Govee-API-Key: "REPLACE_ME_WITH_API_KEY"

    payload: '{"requestId": "uuid", "payload": {"sku": "H5179", "device": "REPLACE_ME_WITH_DEVICE_ID"}}'

    scan_interval: 60

    sensor:

    - name: "Humidity"

    value_template: "{{ value_json.payload.capabilities | selectattr('instance', 'equalto', 'sensorHumidity') | map(attribute='state.value.currentHumidity') | first }}"

    device_class: humidity

    unit_of_measurement: "% RH"

    - name: "Temperature"

    value_template: "{{ (((value_json.payload.capabilities | selectattr('instance', 'equalto', 'sensorTemperature') | map(attribute='state.value') | first) - 32) * 5 / 9) | round(2) }}"

    device_class: temperature

    unit_of_measurement: "°C"



  • Advertisement
  • Registered Users, Registered Users 2, Paid Member Posts: 9,463 ✭✭✭10-10-20


    Not sure I get the question. I don't have WiFi/Rest sensors though.

    I use a ZIgbee one and it's reporting back every 30 seconds. It's detecting RH rises and triggering the fan within around 30 seconds of the shower starting. What detection method are you using and what issue are you seeing with it?



  • Registered Users, Registered Users 2 Posts: 9,371 ✭✭✭micks_address


    I'm using a govee sensor which I can only get into ha via a rest API call. I'll probably going to get an aqara hub/temp sensor which will integrate handier. The issue is I'm not see exact same values of the sensor in ha and the govee app.



  • Registered Users, Registered Users 2, Paid Member Posts: 6,607 ✭✭✭emaherx


    Are they close, or completely different meaning they likely need some kind of conversion?



  • Registered Users, Registered Users 2 Posts: 9,371 ✭✭✭micks_address




  • Registered Users, Registered Users 2, Paid Member Posts: 9,463 ✭✭✭10-10-20


    While warming it up in hand, keep hitting it using a curl / wget query and see what the update frequency is?



  • Registered Users, Registered Users 2 Posts: 9,371 ✭✭✭micks_address


    Hi folks,

    I'm sure a few folks here have aqara M2 hubs. What power supply do they use? Is it micro usb?



  • Registered Users, Registered Users 2 Posts: 9,371 ✭✭✭micks_address


    Hi folks,

    Aqara hub arrived this evening and setup. I connected via the aqara app and configured and all good. Have a temp/humidity sensor to. I went to add in home assistant and homekit had auto discovered the sensor. My question is more around how to add the hub/sensor directly to home assistant. When i went to add the aqara integration i could chose the zigbee or matter integration - i chose zigbee and it said i don't have zigbee setup. I dont have a zigbee usb stick etc.. but im wondering why i can see philips hue in home assistant. Isnt it also zigbee? What would i need if i choose 'matter' integration?


    Cheers,

    Mick

    Post edited by micks_address on


  • Registered Users, Registered Users 2 Posts: 941 ✭✭✭WildCardDoW


    Philips Hue can also be via Bluetooth IIRC.

    I know for my bulbs to get them into HA as Zigbee I had to do a factory reset but I could have just included them as Bluetooth.

    I'd reccomend a Sonoff E Zigbee USB dongle, about €20 from AliExpress. Plug into the USB of your HomeAssistant device and you are sorted.



  • Registered Users, Registered Users 2 Posts: 755 ✭✭✭illdoit2morrow


    Has anyone set-up the Alarmo integration?

    I'm in the process of it, but its slow progress for me as a newbie.
    I'm adding sensors slowly but surely. A bit of an issue with two matter door sensors and not having a matter hub to connect them although it looks like a borrowed nest hub will sort that out for me.

    I've been looking up sirens and there doesn't seem to be a cheap ZigBee item that fits the bill. There's this https://www.develcoproducts.com/products/sensors-and-alarms/smart-siren/ but its a bit pricy. Has anyone found an alternative? The other option is to use existing Sonos speakers as as the siren. I've not come across a working example of this, has anyone here managed to implement it?

    I purchased the ring keypad thinking it would just integrate with my ZigBee controller but it needs Z-wave to work, so another USB dongle needed to progress that. I'm guessing that's the only way to get Z-wave stuff going?

    If there are any other tips or pointers for Alarmo, please let me know.



  • Registered Users, Registered Users 2 Posts: 9,371 ✭✭✭micks_address


    Question folks, if I want to try some shelleys in ha.. I've one light switch id like to put one behind. What would I need? Can you get two way two gang ones? Do you need a hub for integration in ha?



  • Advertisement
  • Registered Users, Registered Users 2, Paid Member Posts: 9,463 ✭✭✭10-10-20


    No, they are WiFi based and there is a native integration in HA.

    Two-way here:

    https://community.home-assistant.io/t/shelly-1l-wiring-for-two-way-switch-how/399263/4

    If you're only switching (and not dimming or using the energy meter) then a Shelly 1 mini (g3) will do you.

    https://www.shelly.com/products/shelly-1-mini-gen3



  • Registered Users, Registered Users 2 Posts: 9,371 ✭✭✭micks_address




  • Registered Users, Registered Users 2 Posts: 9,371 ✭✭✭micks_address




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


    Just did this a couple of weeks ago and its worked out great, I used the 1PM which as power metering as well. Good news in that the Mini 1's are only €11.70 for this week (Black Friday deal). I like these because they are wifi and are picked up by HA straight away and intergate seemlessly.

    I only put them on single swiches and only on 1 two-way switch as it can be a bit confusing. You also need a good bit of space in your light switch box becuuse you are stuffing in a few extra wires and even though the mini is tiny it can be a tight squeeze. In fact on one of my swiches I put another box over the switch to make room but it was in the garage so no one notices it.

    Oh you also need a neutral at the switch…and not all switches have this in ireland unfortunatley. I would reccommend, I have 12 on order for my heating project😎

    image.png

    6.1kWp south facing, South of Cork City



  • Registered Users, Registered Users 2, Paid Member Posts: 9,463 ✭✭✭10-10-20


    No, they are single switch only. The 2pm mini might do it, not 100% sure.



  • Registered Users, Registered Users 2 Posts: 9,371 ✭✭✭micks_address


    thanks with them - if you install behind a light switch..if someone switches off the switch can you still operate them?



  • Registered Users, Registered Users 2, Paid Member Posts: 9,463 ✭✭✭10-10-20


    Yes, you just keep it in 'attached' mode. Here's a discussion about detached mode for comparison:

    https://community.home-assistant.io/t/shelly-detached-switch/215079



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


    My Shellys are always powered on because they are connected to the neutral and the the common live, so if someone uses the wall switch that will will work also. What I found though is that if you switch a light off using the shelly and the physical light switch is on and you then want to switch back on the light using the wall switch you have to switch "off" then back "on" so double movement…maybe I have it set up wrong as I knew nothing about this detached or attached setting I need to look into that. But any light I have automated are not the busy light swiches so it does not cause any issues with the missues etc..

    6.1kWp south facing, South of Cork City



  • Registered Users, Registered Users 2, Paid Member Posts: 9,463 ✭✭✭10-10-20


    Set it to edge mode and the light will flip to the alternate state if the switch is flipped.

    image.png


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


    6.1kWp south facing, South of Cork City



Advertisement