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 all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
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

1235715

Comments

  • Registered Users, Registered Users 2 Posts: 1,607 ✭✭✭Newtown90


    If only I read "thecivvie" post above before I posted......


  • Registered Users, Registered Users 2 Posts: 3,061 ✭✭✭thecivvie


    Newtown90 wrote: »
    If only I read "thecivvie" post above before I posted......

    I run ecilpse mosquitto on my docker. that way I limit access to it via my vpn tunnel, also on the same docker for outside nework devices.
    mqtt:
      broker: !secret mqtt_broker
      port: 1883
      username: !secret mqtt_user
      password: !secret mqtt_pass
    

    Sonoff as a device
     - platform: mqtt
       name: "Cabinet"
       state_topic: "stat/sonoff15/POWER"
       command_topic: "cmnd/sonoff15/POWER"
       availability_topic: "tele/sonoff15/LWT"
       payload_on: "ON"
       payload_off: "OFF"
       payload_available: "Online"
       payload_not_available: "Offline"
       optimistic: false
       qos: 1
       retain: true
    

    Sensors
      - platform: mqtt
        name: "Cabinet Energy Today"
        state_topic: "tele/sonoff15/SENSOR"
        value_template: '{{ value_json["ENERGY"]["Today"] }}'
        unit_of_measurement: "kWh"
      - platform: mqtt
        name: "Cabinet Energy Yesterday"
        state_topic: "tele/sonoff15/SENSOR"
        value_template: '{{ value_json["ENERGY"]["Yesterday"] }}'
        unit_of_measurement: "kWh"
      - platform: mqtt
        name: "Cabinet Energy Total"
        state_topic: "tele/sonoff15/SENSOR"
        value_template: '{{ value_json["ENERGY"]["Total"] }}'
        unit_of_measurement: "kWh"
      - platform: mqtt
        name: "Cabinet Power"
        state_topic: "tele/sonoff15/SENSOR"
        value_template: '{{ value_json["ENERGY"]["Power"] }}'
        unit_of_measurement: "W"
      - platform: mqtt
        name: "Cabinet Voltage"
        state_topic: "tele/sonoff15/SENSOR"
        value_template: '{{ value_json["ENERGY"]["Voltage"] }}'
        unit_of_measurement: "V"
      - platform: mqtt
        name: "Cabinet Power Factor"
        state_topic: "tele/sonoff15/SENSOR"
        value_template: '{{ value_json["ENERGY"]["Factor"] }}'
    

    I graph the data using influxdb and Grafana as well

    2JhGyse.png

    Dog Bowl is my dog's water fountain. The Teckin smart socket turns it on in the morning and off at night

    I have spent many sleepless nights getting it to how I want.

    Worryingly I added my Netatmo weather station to the system and found my house has a problem

    AJk9jK7.png

    I have, so far, 17 sonoff enabled devices. I am ordering 4 more of the Teckin Smart Plugs today as they on a lightning deal

    Join Ireland Weather Network




  • Registered Users, Registered Users 2 Posts: 1,607 ✭✭✭Newtown90


    They all go in your configuration.yaml correct?


  • Registered Users, Registered Users 2 Posts: 3,061 ✭✭✭thecivvie


    Newtown90 wrote: »
    They all go in your configuration.yaml correct?

    no, mine is broken up.

    Sensors in a sensor.yaml, switches, lights and so on. I have also merge_dirs as well for heavier yaml files that get broken up, like my automations.

    But yes it is possible to put them all into configuration.yaml

    my include setup
    group: !include_dir_merge_named group
    automation: !include_dir_merge_list automations/
    script: !include scripts.yaml
    sensor: !include sensors.yaml
    light: !include_dir_merge_list light/
    switch: !include switch.yaml
    camera: !include_dir_merge_list camera
    scene: !include_dir_merge_list scene
    binary_sensor: !include  binary_sensor.yaml
    

    Join Ireland Weather Network




  • Registered Users, Registered Users 2 Posts: 1,417 ✭✭✭Dr4gul4


    Just adding this Github repo i've been recently looking at for an alarm system. works well, obv it's for a specific model / make of alarm, but i've yet to see it catered for any where else. Docker image included there also ..

    https://github.com/lucacalcaterra/risco-mqtt-bridge


  • Registered Users, Registered Users 2 Posts: 7,518 ✭✭✭matrim


    Dr4gul4 wrote: »
    Just adding this Github repo i've been recently looking at for an alarm system. works well, obv it's for a specific model / make of alarm, but i've yet to see it catered for any where else. Docker image included there also ..

    https://github.com/lucacalcaterra/risco-mqtt-bridge

    Looks good. I've recently gotten the konnected interface panel to get states from my HKC alarm. But unfortunately haven't had a chance to install yet.


  • Registered Users, Registered Users 2 Posts: 18,272 ✭✭✭✭Atomic Pineapple


    Just installed Hass on a Mac Mini and I can get the server running, create and account, and log in. However, there is a page that asks about location and when I try to click the next button on this page it pops up a dialog box saying "FAIL".

    Anyone else ever come across this? An internet search isn't throwing up anything useful. Looking at the network tab it doesn't seem to be doing anything when I click the next button.


  • Closed Accounts Posts: 4,620 ✭✭✭Roen


    Just installed Hass on a Mac Mini and I can get the server running, create and account, and log in. However, there is a page that asks about location and when I try to click the next button on this page it pops up a dialog box saying "FAIL".

    Anyone else ever come across this? An internet search isn't throwing up anything useful. Looking at the network tab it doesn't seem to be doing anything when I click the next button.

    The logs are accessible via the GUI if you're not comfortable with the CLI on the Mac.
    Clear the logs. Click the location thing, then go back to the logs again.
    Guessing it's a permissions thing.


  • Registered Users, Registered Users 2 Posts: 4,267 ✭✭✭mcgovern


    I just got some Teckin SP23s and would like to get them working in Home Assistant but seems it's a bit more complicated than I hoped.
    Can I use the Raspberry Pi I have running Hass.io to flash them? And after they are flashed can I still use them in Alexa or only in Home Assistant?
    And finally I need something like this to calibrate them afterwards?


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,417 ✭✭✭Dr4gul4


    mcgovern wrote: »
    Can I use the Raspberry Pi I have running Hass.io to flash them?

    Yes and No . You can try tuya OTA or Via Serial from a laptop / computer

    https://github.com/arendst/Sonoff-Tasmota/wiki/Teckin-SP23
    https://www.youtube.com/watch?v=7vjpcEedEBI
    mcgovern wrote: »
    And after they are flashed can I still use them in Alexa or only in Home Assistant?
    If you have the Home assistant module added to alexa you can, assuming you then have the devices in Home asssitant.
    mcgovern wrote: »
    And finally I need something like this to calibrate them afterwards?
    Possibly, but you could plug in a new 60 watt bulb and a light maybe . might provide the same info ? kinda, maybe not really tho ..


  • Registered Users, Registered Users 2 Posts: 387 ✭✭comete


    mcgovern wrote: »
    I just got some Teckin SP23s and would like to get them working in Home Assistant but seems it's a bit more complicated than I hoped.
    Can I use the Raspberry Pi I have running Hass.io to flash them? And after they are flashed can I still use them in Alexa or only in Home Assistant?
    And finally I need something like this to calibrate them afterwards?

    Depends how you want them to be integrated. If you're opposed to flashing them with custom firmware you could just use them via the tuya component.


  • Registered Users, Registered Users 2 Posts: 5,146 ✭✭✭Morrisseeee


    Folks, I got 2 * smart bulbs and was trying the OTA re-flashing of either tasmota or espurna. I followed this walkthrough: https://github.com/ct-Open-Source/tuya-convert, and I've managed (late last night!) to get to part 3: Initial Configuration (one bulb now has tasmota & the other espurna).

    On the tasmota I get the webpage 192.168.4.1 & the wifi login credentials, I presume I enter the wifi credentials I want it to connect to ?!

    And once I have that going I presume I can then control it via HA ?
    Has anyone tried this ? any yaml examples? Which is preferrable, tasmota or espurna ?


  • Registered Users, Registered Users 2 Posts: 547 ✭✭✭the merchant


    I haven't used any smart bulbs but I have a good few tasmota Sonoff's working in HASSIO.

    Once you've set it up on the correct wifi network you'll need to browse to it on it's new ip address and point it to your MQTT broker, most likely this will be the address of your home assistant.

    Although I use yaml, I think this can be avoided using the new integrations option. This video explains it well - https://www.youtube.com/watch?v=X2mlTrUVyHM&t=475s


  • Registered Users, Registered Users 2 Posts: 5,146 ✭✭✭Morrisseeee


    Cheers, my HA is at least 12 months old, ie. I was tinkering around with it back then & then other matters took over, ahem. Anyway I'm back tinkering again. Like you I'm only used to doing YAML tinkering, I'm guessing to get the 'integrations' I'll have to update or start afresh, eg. I don't have the HASS.io link in the sidebar!


  • Registered Users, Registered Users 2 Posts: 1,915 ✭✭✭bittihuduga


    has anyone integrated HA with Climote?
    i couldn't find the integration. so trying to integrate via Alexa.
    Alexa has climote skill.
    trying to send a trigger message from HA to Alexa.
    https://github.com/custom-components/alexa_media_player/wiki#triggering-a-skill-versions--270


  • Advertisement
  • Moderators, Business & Finance Moderators Posts: 6,542 Mod ✭✭✭✭Sheep Shagger


    has anyone integrated HA with Climote?
    i couldn't find the integration. so trying to integrate via Alexa.
    Alexa has climote skill.
    trying to send a trigger message from HA to Alexa.
    https://github.com/custom-components/alexa_media_player/wiki#triggering-a-skill-versions--270

    Moved into a new build house with Climote, was told while it is compatible with Alexa, it isn't with Google home :(


  • Registered Users, Registered Users 2 Posts: 1,915 ✭✭✭bittihuduga


    Moved into a new build house with Climote, was told while it is compatible with Alexa, it isn't with Google home :(

    it works well with Alexa though.
    just want to automate based on room temperature in HA.


  • Registered Users, Registered Users 2 Posts: 65 ✭✭meathenterpr


    Started playing around with it
    At the moment have
    Smartthings
    Virgin Media Broadband
    TV
    HomeSecure alarm.
    As it is a AJAX system got the custom component from here.

    https://github.com/eavanvalkenburg/sia

    If you are going to use it you will need to convert your account to hex.
    Just google ascii to hex


  • Registered Users, Registered Users 2 Posts: 1,915 ✭✭✭bittihuduga


    Started playing around with it
    At the moment have

    Virgin Media Broadband

    what integration did you do with virgin?


  • Registered Users Posts: 2,629 ✭✭✭iba


    Hi,

    I dont know if Im posting in the right thread so please direct me if I'm not as my question relates to Home Assistant and Raspberry Pi and I can't find any threads where this is currently topical and I would have thought that it is.

    I want to enter the world of Home Assistant. I have a Pi but haven't used it in a few years. First i need to upgrade the o/s on the Pi. It currently has Jessie O/S on it. I want to upgrade to the latest Raspberry O/S and install it on the Pi and I don't know how to do that.

    I believe that the best way would be to do a clean install of the o/s and I can do that by d/l it onto a sd card but how do I get that onto the Pi. How do I delete the o/s that is currently on it or how do I upgrade it.

    Thanks


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 7,518 ✭✭✭matrim


    iba wrote: »
    Hi,

    I dont know if Im posting in the right thread so please direct me if I'm not as my question relates to Home Assistant and Raspberry Pi and I can't find any threads where this is currently topical and I would have thought that it is.

    I want to enter the world of Home Assistant. I have a Pi but haven't used it in a few years. First i need to upgrade the o/s on the Pi. It currently has Jessie O/S on it. I want to upgrade to the latest Raspberry O/S and install it on the Pi and I don't know how to do that.

    I believe that the best way would be to do a clean install of the o/s and I can do that by d/l it onto a sd card but how do I get that onto the Pi. How do I delete the o/s that is currently on it or how do I upgrade it.

    Thanks

    On phone so can't link but home assistant have their own OS that installs everything you need. There are good instructions on their site about how to get up and running


  • Registered Users, Registered Users 2 Posts: 6,202 ✭✭✭emaherx


    iba wrote: »
    Hi,

    I dont know if Im posting in the right thread so please direct me if I'm not as my question relates to Home Assistant and Raspberry Pi and I can't find any threads where this is currently topical and I would have thought that it is.

    I want to enter the world of Home Assistant. I have a Pi but haven't used it in a few years. First i need to upgrade the o/s on the Pi. It currently has Jessie O/S on it. I want to upgrade to the latest Raspberry O/S and install it on the Pi and I don't know how to do that.

    I believe that the best way would be to do a clean install of the o/s and I can do that by d/l it onto a sd card but how do I get that onto the Pi. How do I delete the o/s that is currently on it or how do I upgrade it.

    Thanks

    https://www.home-assistant.io/getting-started/

    Just download the version for your Pi and balenaetcher or what ever image software you'd prefer.

    You install the balenaetcher on a pc with sd card slot and point it towards the image file. Then pop the imaged sd card in the pi to complete Install. There is no need for any other OS and the card will be overwritten as part of the process.


  • Closed Accounts Posts: 1,297 ✭✭✭Gooey Looey


    Look for the noobs image, you download it and copy it to an SD then boot this


  • Registered Users, Registered Users 2 Posts: 1,440 ✭✭✭BobbyT28


    Abov anybody on this thread got one of these? Would love to hear that people think.

    https://www.home-assistant.io/blue/

    I currently run my HA on RPi2. Hardware looks decent also,


  • Registered Users Posts: 319 ✭✭fran426ft


    BobbyT28 wrote: »
    Abov anybody on this thread got one of these? Would love to hear that people think.

    https://www.home-assistant.io/blue/

    I currently run my HA on RPi2. Hardware looks decent also,

    Isn't that just an Odroid N2+ in a custom case with Home Assistant pre installed? I've not done much looking at it but when I first saw it my thought was I didn't see the value in paying for it over buying hardware and installing yourself.


  • Registered Users Posts: 2,629 ✭✭✭iba


    BobbyT28 wrote: »
    Abov anybody on this thread got one of these? Would love to hear that people think.

    https://www.home-assistant.io/blue/

    I currently run my HA on RPi2. Hardware looks decent also,

    Saw Drzzzsss on YouTube talk about this. I could be wrong, but I think you need to buy an extra HD too.


  • Registered Users, Registered Users 2 Posts: 3,725 ✭✭✭Metric Tensor


    When I outgrew the Raspberry Pi I bought an Intel NUC. Have docker on it now and can use it for all sorts of other things as well as running HA.

    You'd get a second hand NUC with HD, wifi and ethernet already installed for not much more money and in my opinion it would be a lot more versatile and more powerful. The downside is that it will use slightly more electricity.


  • Registered Users, Registered Users 2 Posts: 7,518 ✭✭✭matrim


    When I outgrew the Raspberry Pi I bought an Intel NUC. Have docker on it now and can use it for all sorts of other things as well as running HA.

    You'd get a second hand NUC with HD, wifi and ethernet already installed for not much more money and in my opinion it would be a lot more versatile and more powerful. The downside is that it will use slightly more electricity.

    I updated to the NUC last year too and it makes a big difference for response times for the UI and some automations. Plus means you can take full advantage of things like grafana to have long term trends in the house.


  • Registered Users, Registered Users 2 Posts: 1,915 ✭✭✭bittihuduga


    i have a rpi4. bought a wyse box (3320) off adverts only to be told that it will be slower than my rpi4.
    my rpi4 with ssd is better now than it was with sd card.


  • Registered Users, Registered Users 2 Posts: 3,725 ✭✭✭Metric Tensor


    matrim wrote: »
    I updated to the NUC last year too and it makes a big difference for response times for the UI and some automations. Plus means you can take full advantage of things like grafana to have long term trends in the house.

    I love Grafana!


  • Advertisement
  • Closed Accounts Posts: 568 ✭✭✭NewMan1982


    Can you use this app direct from your iphone or windows laptop? From my quick reading it seems i need a raspberry pi.


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


    It's much more than just an app.
    There's an app you can run on your phone to talk to your Home Assistant once you have it installed.

    A raspberry pi is one option - cheap and doesn't eat electricity when it's always on.

    You can run Home Assistant on your laptop in a virtual machine, but it won't be great if you ever take the laptop away or turn it off!

    What do you think you might do with it?


  • Closed Accounts Posts: 568 ✭✭✭NewMan1982


    niallb wrote: »
    It's much more than just an app.


    What do you think you might do with it?

    I've no idea to be honest, i'm just starting to get into smart devices now and just assumed this could be ran from your phone. Sounds like it's a bit more complicated :)


  • Registered Users, Registered Users 2 Posts: 1,915 ✭✭✭bittihuduga


    in simple words, HA server is needed (its more than a server though).
    so it can be your pi or laptop or old machine


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


    Home Assistant creates a smarthome hub.
    It's able to talk to lots of different brands and make them interact with each other.
    It's not brilliant as a first introduction to smarthome stuff - people usually find it when they can't get the off-the-shelf devices they have to do something a little outside the box.


  • Registered Users Posts: 52 ✭✭rkdub


    niallb wrote: »
    Home Assistant creates a smarthome hub.
    It's able to talk to lots of different brands and make them interact with each other.
    It's not brilliant as a first introduction to smarthome stuff - people usually find it when they can't get the off-the-shelf devices they have to do something a little outside the box.

    well... maybe before long it will become an off the shelf product - see the limited run: https://www.home-assistant.io/blue


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


    rkdub wrote: »
    well... maybe before long it will become an off the shelf product - see the limited run: https://www.home-assistant.io/blue

    I don't think that'll happen just yet - it's more of a fundraising drive than anything else. They look good though!


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


    By the way, update your home assistants as soon as possible.
    There's a security issue just announced. Only affects a small set of users, but worth bringing it up to date.


  • Moderators Posts: 6,870 ✭✭✭Spocker


    niallb wrote: »
    By the way, update your home assistants as soon as possible.
    There's a security issue just announced. Only affects a small set of users, but worth bringing it up to date.

    Relevant info: https://www.home-assistant.io/blog/2021/01/14/security-bulletin/


  • Advertisement
  • Registered Users Posts: 8 acork


    When I outgrew the Raspberry Pi I bought an Intel NUC. Have docker on it now and can use it for all sorts of other things as well as running HA.

    You'd get a second hand NUC with HD, wifi and ethernet already installed for not much more money and in my opinion it would be a lot more versatile and more powerful. The downside is that it will use slightly more electricity.

    I found NUCs expensive and got an Asus PN50 instead. Cost me ca. 300 euro as I had RAM sticks lying around.

    Runs NextCloud, Home Assistant, lots of Docker containers and Netflix on a 4K TV.

    I will never buy a tower PC again - this mini PC fits on your palm and uses 10-15W max.


  • Registered Users, Registered Users 2 Posts: 8,749 ✭✭✭degsie


    acork wrote: »
    I found NUCs expensive and got an Asus PN50 instead. Cost me ca. 300 euro as I had RAM sticks lying around.

    Runs NextCloud, Home Assistant, lots of Docker containers and Netflix on a 4K TV.

    I will never buy a tower PC again - this mini PC fits on your palm and uses 10-15W max.

    Where did you get it for that price?


  • Registered Users Posts: 8 acork


    degsie wrote: »
    Where did you get it for that price?

    On Amazon before the Brexit, Ryzen 5.


  • Registered Users, Registered Users 2 Posts: 3,725 ✭✭✭Metric Tensor


    acork wrote: »
    I found NUCs expensive and got an Asus PN50 instead. Cost me ca. 300 euro as I had RAM sticks lying around.

    Runs NextCloud, Home Assistant, lots of Docker containers and Netflix on a 4K TV.

    I will never buy a tower PC again - this mini PC fits on your palm and uses 10-15W max.

    The NUCs were pricey when I was looking too but I got a good black friday discount on an already discounted amazon warehouse one so it wasn't too bad. This was back when amazon actually discounted things people wanted rather than tat from ali express


  • Registered Users, Registered Users 2 Posts: 4,267 ✭✭✭mcgovern


    My Hassio installation seems to be broken and only solution is to re-install.
    Does anything know what files I'd need to copy to keep my automations etc? Just everything from the config folder maybe?


  • Registered Users, Registered Users 2 Posts: 6,202 ✭✭✭emaherx


    mcgovern wrote: »
    My Hassio installation seems to be broken and only solution is to re-install.
    Does anything know what files I'd need to copy to keep my automations etc? Just everything from the config folder maybe?

    Everything from the config folder would be a good start. You will probably still be missing your Lovelace config though.

    Had you made any snapshots? As they would contain all you need to recover.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 4,267 ✭✭✭mcgovern


    No snapshots, I'm pretty terrible at anything related to backup.
    Not worried about Lovelace as I didn't do much with it.
    Thanks!


  • Registered Users, Registered Users 2 Posts: 6,202 ✭✭✭emaherx


    mcgovern wrote: »
    No snapshots, I'm pretty terrible at anything related to backup.
    Not worried about Lovelace as I didn't do much with it.
    Thanks!

    Well apart from Lovelace, I think everything else like automations, configurations and even any custom components should be in the config folder if you can still access it.

    If you can do the new build on a new SD it may leave you with the option of trying to recover anything else that you find you are missing from the fresh install.


  • Registered Users Posts: 195 ✭✭WEST


    mcgovern wrote: »
    No snapshots, I'm pretty terrible at anything related to backup.
    Not worried about Lovelace as I didn't do much with it.
    Thanks!

    There is an addon called 'Google Drive Backup' which will automate backups for you. More info can be found at: https://github.com/sabeechen/hassio-google-drive-backup


  • Registered Users, Registered Users 2 Posts: 387 ✭✭comete


    Got the keys to a new house yesterday which presents the opportunity to start all over with my smart home ecosystem.

    Will of course use homeassistant to manage everything, but are there any preferred smart doorbells? Had a ring doorbell in the previous house as there was no wiring for a doorbell and we needed the battery. It was fine, but we now have existing wiring for a doorbell which opens up more possibilities. Does nest integrate well into HA? The intention is to use the native doorbell app for viewing notifications etc, but using the exposed sensors to trigger other automations in HA.

    We would also like to get a smart thermostat, any recommendations on this?


  • Registered Users, Registered Users 2 Posts: 2,393 ✭✭✭Grassey


    I'm using a ring2 which is grand so far in HA and it could use the existing wring without any further messing about, and some cheap stats you can get on Aliexpress/Amazon [brand is MOESHOUSE but they are all similar, use the TUYA/SMARTLIFE app], and add to google home, and then get picked up in HA.


  • Advertisement
Advertisement