question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Home Assistant Addon Implementation

See original GitHub issue

Describe the solution you’d like Being able to run RaspberryMatic on Home Assistant OS (https://github.com/home-assistant/operating-system) as an installable Addon

cf. https://github.com/home-assistant/addons/issues/1751

Add-on status

Installation/Test HOWTO

!! The following HOWTO is highly experimental. Use at your own risk !!

Please find here a short howto for installing the latest developer versions of Home-Assistant OS for testing the RaspberryMatic HomeAssistant Add-on integration and functionality related to a RPI-RF-MOD or HM-MOD-RPI-PCB connected either via GPIO on a RaspberryPi/Tinkerboard or via a HB-RF-USB-2/HB-RF-ETH.

Installation HOWTO:

  1. Download the latest haos_XXXX-6.0.. file for your hardware platform from https://github.com/home-assistant/operating-system/releases
  2. Perform a fresh install on microSD card (via Etcher) or import fresh OVA in your virtual environment
  3. If you use a RaspberryPi, Tinkerboard or ODROID and want to use a RPI-RF-MOD/HM-MOD-RPI-PCB directly connected to the GPIO bus, make sure to…
    • either mount the flashed sd card locally to be able to access the config.txt file located on the boot partition.
    • or use a SSH Login later on to log in via SSH remotely
    • or connect a HDMI Monitor+keyboard and login in the console
    • On RaspberryPi: edit the /mnt/boot/config.txt file and uncomment the following lines at the bottom:
    # Uncomment this to enable GPIO support for RPI-RF-MOD/HM-MOD-RPI-PCB
    enable_uart=1
    dtparam=i2c_arm=on
    dtoverlay=miniuart-bt
    dtoverlay=rpi-rf-mod
    
    • On Tinkerboard or ORDOID: edit the /mnt/boot/haos-config.txt file and uncomment the following lines at the bottom:
    # Uncomment this to enable GPIO support for RPI-RF-MOD/HM-MOD-RPI-PCB
    overlays=rpi-rf-mod
    
  4. Boot-up HAos and wait until basic installation is finished and the system is accessible via http://homeassistant.local:8123/
  5. Switch to Supervisor -> Add-on store and select Repositories by clicking on the three vertical dots on the top right corner.
  6. Add the URL https://github.com/jens-maus/ha-addon-raspmatic as a new experimental add-on store
  7. Scroll down and make sure to install the normal (non-strict) version of RaspberryMatic HA add-on
  8. Enable the sidebar
  9. Make sure you disable protection mode to allow the add-on to access all necessary hardware resources
  10. If you want to use a HB-RF-USB or HB-RF-USB-2 to connect your HomeMatic RF module via USB connect it now.
  11. Start the add-on and monitor the bootup messages where during the Identifying Homematic RF-Hardware... step it should identify the RPI-RF-MOD/HM-MOD-RPI-PCB rf module accordingly.
  12. If you want to use a HB-RF-ETH to connect your Homematic RF-Hardware via Ethernet make sure to follow the documentation here: https://github.com/jens-maus/RaspberryMatic/wiki/Experten-Features#hb-rf-eth-anbindung
  13. Enjoy full HomeMatic/homematicIP dualstack support.
  14. Give some feedback!

Tasks

Latest Screenshot

109651634-12a75d80-7b5f-11eb-9711-cbf448ae7ef7

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:197 (86 by maintainers)

github_iconTop GitHub Comments

4reactions
jens-mauscommented, May 25, 2021

Now that 3.57.5.20210525 has been released and seems to run significantly stable enough with recent HAos 6.0rc versions I am going to close this issue and would like to ask anyone to open up new dedicated issues in case problems / enhancement ideas might arise for the ha-addon platform.

And of course thanks to anyone having contributed to the overall success of the ha-addon integration of RaspberryMatic. Special thanks have to go to @angelnu for the initial work on converting RaspberryMatic into a docker container which paved the way to get the ha-addon story going. But of course also thanks to all testers in here! Hope you all have a great HomeAssistant experience with RaspberryMatic as an add-on!

3reactions
jens-mauscommented, May 20, 2021

@chillje As we lack some own detailed documentation on the homematic integration part here, would you please be so kind in addition the necessary documentation steps to https://github.com/jens-maus/RaspberryMatic/wiki/Installation-HomeAssistant#home-assistant-integration-setup so that users can follow your steps in getting the homematic integration going without having to wade through this issue ticket? thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tutorial: Making your first add-on
Open the Home Assistant frontend · Go to "Configuration" · Click on "Add-ons, backups & Supervisor" · Click "add-on store" in the bottom...
Read more >
Developing an add-on | Home Assistant Developer Docs
Add-ons for Home Assistant allow the user to extend the functionality around Home Assistant. This can be running an application that Home ...
Read more >
Home Assistant Add-ons
Add-ons allow the user to extend the functionality around Home Assistant by installing additional applications. This can be running an application that Home ......
Read more >
Add-On Configuration | Home Assistant Developer Docs
Key Type Default machine list url url startup string application
Read more >
Local add-on testing | Home Assistant Developer Docs
The fastest and recommended way to develop add-ons is using a local Visual Studio Code devcontainer. We maintain a devcontainer for this purpose ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found