Giter Club home page Giter Club logo

pi-somfy-hassio's Introduction

Pi-Somfy HomeAssistant add-on

This repository contains minimal implementation allowing to run Pi-Somfy as a HASSIO add-on.

  1. Connect to your raspberry hassio host over ssh
  2. git clone https://github.com/korrix/pi-somfy-hassio.git addons/somfy
  3. Navigate to https://YOUR_HASSIO/hassio/store
  4. Enter the hidden menu in top right corner and choose Refresh. You should see "Local add-ons" section with "Somfy shutters" plugin
  5. Install the plugin
  6. Disable the protection mode
  7. Start the plugin
  8. Navigate to https://YOUR_HASSIO:9909 and configure the shutters (configuration is persisted in /config/shutters.conf)

TODO

  • Make plugin less privileged (maybe pigpio could be ran without full access to everything)
  • Debug MQTT connection

Credits

Big thanks to https://github.com/Nickduino/Pi-Somfy for implementing the hard part (protocol and everything around)

pi-somfy-hassio's People

Contributors

korrix avatar

Stargazers

Steph avatar

Watchers

 avatar  avatar

pi-somfy-hassio's Issues

Addon not showing

Hi

I'm very interested by your addon.
I tried to add it on my HA OS instance.
I cloned the repo, but when I tried to refresh the addons list, it does not show up.
Looking at the supervisor logs, it appears that your config file prevents HA to list the addon:

23-02-05 01:06:43 WARNING (SyncWorker_1) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Somfy shutters

System Information

version core-2023.2.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.7
os_name Linux
os_version 5.15.84-v8
arch aarch64
timezone Europe/Paris
config_dir /config
Home Assistant Supervisor
host_os Home Assistant OS 9.5
update_channel stable
supervisor_version supervisor-2023.01.1
agent_version 1.4.1
docker_version 20.10.22
disk_total 116.7 GB
disk_used 3.1 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Mosquitto broker (6.1.3), Duck DNS (1.15.0), File editor (5.5.0), NGINX Home Assistant SSL proxy (3.2.0), SSH & Web Terminal (13.0.2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.