Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

Hassbian Wishlist #33

Closed
13 of 19 tasks
Landrash opened this issue May 8, 2017 · 47 comments
Closed
13 of 19 tasks

Hassbian Wishlist #33

Landrash opened this issue May 8, 2017 · 47 comments

Comments

@Landrash
Copy link
Collaborator

Landrash commented May 8, 2017

Wish list for functionality that we want to add to Hassbian. Pull requests welcome.

Install scripts

Other functionality

  • Iptables. Only listen to specified ports. Add exceptions with install scripts for use with Iptables.
  • IPV6 support. Adapt scripts to display ipv6 address if available. Currently not implementable due to upstream problems with only running image with ipv6.
  • MOTD. Using update-motd. Add MOTD to the Hassbian image #201
  • Hotspot if no network functionality is detected. See Turn into hotspot when not connected to internet #8 for details.
  • Aliases for commonly used functions, Implemented in Aliases for common functions. #107
  • Service control functionality for homeassistant user.
  • Power profile for wlan0 to off. Not implemented since package can be used with different hardware where this is not applicable.

Additions to base image

  • Add zip package
  • Backup and restore
  • Load config on first boot

Extended functionality of scripts

  • Add functionality for building Z-wave for older pies with limited amount of memory. Deprecated since package isn't built from source anymore.
  • Add compatibility for scripts that doesn't work with Raspberry Pi zero.
@arsaboo
Copy link
Contributor

arsaboo commented May 8, 2017

Let's Encrypt registration and renewal please 🙏

@arsaboo
Copy link
Contributor

arsaboo commented May 9, 2017

Here are couple more that would be nice to have:

  1. MySQLdb
  2. Github backup/restore

@Landrash
Copy link
Collaborator Author

Landrash commented May 9, 2017 via email

@arsaboo
Copy link
Contributor

arsaboo commented May 9, 2017

Instead of using SQLAlchemy, use MySQLdb for the recorder - https://home-assistant.io/components/recorder/

@Landrash
Copy link
Collaborator Author

Ahh. The lack of space between MYSQL & db confused me ;)

@penright
Copy link

Thank @Landrash for adding the AppDaemon to the list.
One other Hassbain install that I had to fight through was Open Zwave barrier fixed.
This link starts where I was adding a Linear garage door opener.
https://community.home-assistant.io/t/linear-ngdz00-4-garage-door/2136/220?u=penright

There was a lot of patches, that most of them I hope will be in the next Hass release.
But there was some patches to the OZW, not sure I fully understand it right now. I kind of did the monkey thing and got it working. The most relevant part to this discussion is when I asked about future patches and this was the question and the answer given.
image
image

Here is the direct link https://community.home-assistant.io/t/linear-ngdz00-4-garage-door/2136/235?u=penright

@Landrash
Copy link
Collaborator Author

@penright Problem with patch like this is that it won't be persistent between updates. If anything it's something that would need to be fixed in HA itself 🙂

@Landrash
Copy link
Collaborator Author

Appdaemon addressed in #52

@riemers
Copy link
Contributor

riemers commented Oct 29, 2017

I think its good to have a cheat sheet once you login. That is like your motd. With things like stop ha, start ha. All those shortcuts that make it easier.. perhaps add shortcuts "hastop" "hastart" "haupgrade"i do a lot of restarting (i always have to disable z-wave for instance to test new stuff) because it takes 10+ minutes to finally be ready. Also when i do log in, i want to be directly in .homeassistant folder if possible :)

@Landrash
Copy link
Collaborator Author

@riemers

  • MOTD is on my list but had forgotten to add it to this one. Adding it
  • Aliases for commonly used commands are on the list already.
  • Having the default location be the .homeassistant directory is something I'm not comfortable changing since it makes a change to something that's standard on most *nix installations.

@ludeeus
Copy link
Member

ludeeus commented Jan 8, 2018

PR #79 for homebridge is ready :)

@ardeus-ua
Copy link

Kiosk mode for connected touchscreen to automatically open Home Assistant. Maybe adaptation of https://github.com/guysoft/FullPageOS

@Landrash
Copy link
Collaborator Author

Landrash commented Feb 8, 2018

@ardeus-ua Out of scope for Hassbian since we don't ship any kind of gui.
Everything is generally done over ssh.

@ardeus-ua
Copy link

I mean the scripted installation of kiosk mode for rpi to open Home Assistant gui on device startup

@Landrash
Copy link
Collaborator Author

Reopening since this issue should not be closed.

@Landrash Landrash changed the title HASSbian Wishlist Hassbian Wishlist Feb 12, 2018
@akubak
Copy link
Contributor

akubak commented Feb 25, 2018

I'm working on a Webmin installation script for Hassbian right now - could it be added to the wishlist, or should I submit a PR first?

@riemers
Copy link
Contributor

riemers commented Feb 25, 2018

A use case for webmin would be nice too, i know you can do a lot with it, but it all depends on your needs. Are there any good examples on what you want to achieve with it? (not saying its a bad idea, just wondering)

@akubak
Copy link
Contributor

akubak commented Feb 25, 2018

@riemers Webmin makes it really easy to do lots of things you would usually use the CLI for via a GUI, so it could be really useful for beginners. I’ve used it myself in the past, and can confirm that it works fine. AFAIK, you can use it to configure programs like samba or systemd if you’re running services installed from sources other than this (hassbian config).

@Landrash
Copy link
Collaborator Author

@Antoni-K I don't think it needs to be in the tool.
It's fairly straight forward to install and the instructions are on the webmin download page.

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.760_all.deb
apt install webmin_1.760_all.deb

The things we added to Hassbian config has been tweaks and tools that are generally used with Home Assistant. There's a point to where we need to keep a balance between functionality and what goals the product is trying to accomplish or well end up creating a new packaging system.

@akubak
Copy link
Contributor

akubak commented Feb 26, 2018

@Landrash Oh, sorry, didn't see your comment. I submitted a pull request already but feel free to close it. Also, I might get started on an rsync-based backup & restore utility, if nobody else is already working on one.

@riemers
Copy link
Contributor

riemers commented Feb 26, 2018

Rsync can be cronned, same applies to webmin perhaps. If you do make something with rsync, a better place would be to make a description for it like say https://home-assistant.io/docs/ecosystem/backup/backup_usb/ , that way everybody can enjoy your work regardless of the method they used to install hass.

@akubak
Copy link
Contributor

akubak commented Feb 26, 2018

Got it. I was thinking of something similar to your USB backup script, but with rsync so it is slightly faster.

@riemers
Copy link
Contributor

riemers commented Feb 26, 2018

If you have a proper setup, it will only sync a few text files no? I would see the use case rather that you can sync it to another location. Something the USB cannot do :) perhaps link it with a ionotify tool for instant backup, sky is the limit.

@akubak
Copy link
Contributor

akubak commented Feb 26, 2018

Good idea, maybe also cloud integration (other than dropbox). I'll look into it.

@ferazambuja
Copy link

I’m Mac user and I enjoy using http://netatalk.sourceforge.net instead of samba.
It’s an AppleShare file server.
Is just more seamless and your hassbian home/pi shows automatically as another Mac. However the home assistant config folder needs to be added manually. It also handles reboots way better avoiding your Atom editor to screen errors if you have config files open.

It doesn’t exclude the need of samba. But it’s an idea to try to make Hassbian even more accessible.

@cxlwill cxlwill mentioned this issue May 21, 2018
4 tasks
@swetoast
Copy link
Contributor

swetoast commented Jul 4, 2018

motd is simple we can use neofetch for that looks like this once compiled it takes about 268 kb no need for monster bashscripts that checks everything just include the bin and stick the content below into .bashrc

clear; neofetch

https://github.com/dylanaraps/neofetch

image

image

image

@schmittx
Copy link

schmittx commented Jul 4, 2018

Any chance we could get a script for FFmpeg, ideally with hardware acceleration enabled and compiled?

@riemers
Copy link
Contributor

riemers commented Jul 4, 2018

I think the next logical step would be to have the "add-ons" as packages. Most is already like that but then have an option to do it via the GUI, like hassio does it now too. But contain it to one repo only to not get 100's of repository's.. i know i could help out with scripting part but it is the gui part that i have no skills for. Find one of those and i am more then happy to help out on that part too. Imagine a restore which includes the packages you had and it downloads those for you. (might be wanting the world here, but just giving out my thoughts)

p.s. neofetch is nice, but how often do you login into your device? Besides that all the info it shows.. i know since i bought the device. Much rather prefer a motd that does some home assistant checks "Your running version x, while xx is out. Type xx to upgrade" or one of your packages or addons is out of date etc etc.

@Landrash
Copy link
Collaborator Author

Landrash commented Jul 4, 2018

@ferazambuja
No way to test since I use a *nix only environment. Contributions welcome.

@swetoast Neofetch would be great. Minimal custom code from us and that's generally preferred.

@schmittx I'll add it to the list but nothing I've worked on before.

@riemers Logging into my Hassbian pi, daily generally.
Making packages will require some more changes to the base tools we have written but it can be considered.

@riemers
Copy link
Contributor

riemers commented Jul 4, 2018

@Landrash that you log in to your PI daily is logical :-) I don't do that so often, use also visual studio code with the yaml plugin and samba mount.

@schmittx
Copy link

How about a Python upgrade script to archive/copy the current venv, install Python, create new venv, etc.?

@ludeeus
Copy link
Member

ludeeus commented Jul 20, 2018

@schmittx
Copy link

@ludeeus Ha, I'm an idiot...disregard...

@ardeus-ua
Copy link

Is this possible to add ffmpeg with hardware decoding to the base image?

@Landrash
Copy link
Collaborator Author

@ardeus-ua Is it available as a package then we could add it as a package.

@nixme
Copy link

nixme commented Nov 5, 2018

find3. I could possibly attempt to do this.

@Landrash
Copy link
Collaborator Author

Landrash commented Nov 5, 2018

@nixme Give it a go :) What part of it do you want on the pi?

Cli-scanner

echo "Installating dependencies"
apt install wireless-tools net-tools libpcap-dev bluetooth golang
go get -u -v github.com/schollz/find3-cli-scanner
mv $GOPATH/bin/find3-cli-scanner /usr/local/bin

Should be the basics of what you need.

@ardeus-ua
Copy link

@ardeus-ua Is it available as a package then we could add it as a package.

https://www.johnvansickle.com/ffmpeg/ here are fresh precompiled binaries
built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516 configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libfribidi --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libxml2 --enable-libxvid --enable-libzimg

@ghost
Copy link

ghost commented Feb 4, 2019

hi
good will be if you add Backup and restore...

@dasb00ter
Copy link

I would like to make a request for a good reverse proxy. I am finding the install daunting but it is security related so I feel it would be valuable. If a script could get everything installed in the right places I could probably cobble together a how to wiki for it once I get it running myself. I guess Caddy or NGINX would be good candidates with the former I see being utilized in the HASS.IO addons and therefor perhaps more user friendly

@jurgenweber
Copy link

can i suggest a flag where you can tell the home assistant suite not to restart on upgrade?

@ludeeus
Copy link
Member

ludeeus commented Jul 24, 2019

If you want that use pip manually.

@Landrash
Copy link
Collaborator Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests