Code Monkey home page Code Monkey logo

hassosconfigurator's Introduction

Addon Repository

This an addon repository for HassOS Configurator projects. These projects perform configuration tasks.

All projects require a reboot and may be uninstalled after the first successful run. Please observe logs to determine if the run was successful.

Enables the Raspberry Pi I2C bus Bus. For support, click here.

Enables the Raspberry Pi 4 Serial Port. Instead of Device Mode, the port becomes Host Mode for utilization by the Operating System. For support click here

Places an authorized_keys file in the location required by HassOS at boot time to enable the SSH port 22222. For support click here

Installation

Within Home Assistant, click Supervisor-> Add-on Store -> … button (in top left)-> Repositories. Add this repository.

Click one of the items and install.
image

Operation

Important Note when requested to reboot, choose Supervisor->Reboot Host or pull the power plug from your machine and restart it. Hit the start button and observe the logs. You may uninstall the Add-On when complete.

hassosconfigurator's People

Contributors

adamoutler avatar alexdelprete avatar avee87 avatar chriscarini avatar dominicdejacomo avatar marciogranzotto avatar mnigbur avatar quidryan avatar ragaskar avatar sharkwipf avatar stratus-ss avatar zlywilk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hassosconfigurator's Issues

Does not find partition nvme0n1p1

I tested the I2C Configurator with a brand new RasPi 5 in an Argon One v3 Case. The system is running in on a SSD M2. When trying to configure the I2C Bus I only got the error nothing to do. Is protection mode enabled? You can't run this without disabling protection mode. Protection mode was disabled.
I have the feeling that the script is not scanning for "nvme" partitions.
I wasn't able to do it manually so I install Home Assistant on a SD instead and use the SSD only for data storage. Now it works like a charm :)
Did I do something wrong or is this a case which is not yet covered by the module?

Configurator says Protection Mode is enabled but it is disable.

I'm new at this but have followed your instructions and the "HassOS I2C Configurator" states in the log that the "Detected Protection Mode is enabled. Disable Protection Mode in Info Screen.". I have it disabled. I'm running "Home Assistant OS" core-2021.2.2 and your add-on version 0.11a. I have power cycled twice. Thanks for any help you can provide.

I don't see I2C.
no sda1 available
no sdb1 available
mount: permission denied (are you root?)
Detected Protection Mode is enabled. Disable Protection Mode in Info Screen.
no mmcblk0p1 config found
This Configurator did it's job. Perform a hard-power-off reboot now.
You will need to reboot twice total, once to place the files, and again to activate the I2C.
ls: /dev/i2c-1: No such file or directory

Seem to have to reinstall after every update of HA

Hello,

after some time my media folder, where the usbstorage is mount, is growing, my snapshot is growing too.

I noticed thant the size of my snapshot where is normaly to 1,2Go, my snapshot is 4,8Go, what is my video recors from camera, about 3,6Go for a week + 1.2Go of normal snapshot.

Then i delete all my cam records and the new daily snapshot go down to 1,2Go.

So i check and my 2nd ssd disk is not mount anymore, means my records are saved to my HA disk (where HassOs is running, nvme disk of 240Go and not on my 2nd disk SSD Crucial 2To, i have a NUC8 I5).

So i start again the add-on and plug off then restart the unplug power for the 2nd time, after that all work as expected (but i cannot access hassos on 22222 port...) : i mean my usbstorage ssd is mount and even if i had 5Go of records, my snapshot is at about 1,2Go as expected.

I am the only one with this trouble please? i mean every new update of HA break the "created authorisations key in nvme0n1p1"?

Thanks

SSH Configurator not working on hassos odroid-n2+

Hi, I'm running Hassos on a bpi-n2+ and it seems that there is a different name for the emmc here.

Here's my output:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
no sda1 config found
no sdb1 config found
no mmcblk0p1 config found
no nvme0n1p1 config found
This Configurator did it's job. Perform a hard-power-off now. This configurator only works once and is no longer needed.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

Any idea ?
P.S. Getting authorized keys onto the device using the CONFIG usb stick also did not work... :-(

fails with homeassistant container in VM

using recent latest versions of HA VM
scripts run fine in all containers (addons, supervisor etc) except for the homeassistant container
Error in logs/homeassistant.log: exec: fatal: unable to exec /tmp/homeassistant.startup.sh: no such file or directory

traced it to /tmp not being mounted with x rights, so docker exec command fails here.
using /media directory for homeassistant container as a workaroung at the moment but would be happy if you could provide a better solution.
not a unix crack myself - if i can still be of assistance or if you need more information i am happy to help
Thanks :)

addition: the docker cp command seems to fail as well as the script does not arrive at the /tmp directory. If i manually copy the script to the home assistants /tmp directory, the docker exec command still fails. If I issue a mount -o remount,exec /tmp on the homeassistant container shell I can then issue the docker exec command and the script runs. After the next reboot, the /tmp diretory is however again in the noexec nowrite status.

Failed to run startup script in HomeAssistant container

Created a startup file, and I'm seeing the following error when I run the container:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Testing Docker access.
Sleeping for Startup Delay period of 1 seconds
Listing Containers.
addon_1f3d020e_run_on_startup_addon
hassio_audio
addon_a0d7b954_nut
addon_a0d7b954_esphome
hassio_supervisor
addon_a0d7b954_vscode
addon_03cabcc9_ring_mqtt
addon_a0d7b954_nodered
addon_a0d7b954_nginxproxymanager
addon_15d21743_samba_backup
addon_a0d7b954_portainer
addon_a0d7b954_grafana
addon_core_deconz
addon_core_ssh
addon_core_mosquitto
addon_core_mariadb
hassio_cli
hassio_multicast
hassio_dns
homeassistant
hassio_observer
executing
#############################################################################
###############/config/startup/startup.d/homeassistant.sh
###############Container: c5f2dcea9ff1: tmp/homeassistant.startup.sh
#############################################################################
chmod: /tmp/homeassistant.startup.sh: No such file or directory
exec: fatal: unable to exec /tmp/homeassistant.startup.sh: No such file or directory
----DONE----  sleeping...

Looks like the docker cp might not be working?

Can’t find AddOn

I’m sorry to ask stupid questions here, but I can’t find your AddOn/repository.
I don’t see this path in my installation:
Within Home Assistant, click Supervisor-> Add-on Store -> … button (in top left)-> Repositories. Add this repository.
There is no Supervisor nor a Repository button in the top left ..
I have HACS installed but there is no AddOn with this name either. I work with a Pi4 and have the latest HA Software installed.

Thanks for your help.

SSH Configurator not working on Odroid N2+

When trying to ssh, I'm getting error "Connection Refused".

These are the log entries:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
no vda1 config found
no sda1 config found
no sdb1 config found
no mmcblk0p1 config found
no nvme0n1p1 config found
This Configurator did it's job. Perform a hard-power-off now. This configurator only works once and is no longer needed.

and these are the disk mounts:

[core-ssh mnt]$ df -aTh
Filesystem           Type            Size      Used Available Use% Mounted on
overlay              overlay        56.6G      9.5G     44.8G  18% /
proc                 proc               0         0         0   0% /proc
sysfs                sysfs              0         0         0   0% /sys
tmpfs                tmpfs           1.9G         0      1.9G   0% /sys/fs/cgroup
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/systemd
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/cpuset
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/net_cls,net_prio
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/blkio
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/pids
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/devices
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/perf_event
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/freezer
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/hugetlb
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/memory
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/cpu,cpuacct
/dev/mmcblk1p4       ext4           56.6G      9.5G     44.8G  18% /data
/dev/mmcblk1p4       ext4           56.6G      9.5G     44.8G  18% /share
/dev/mmcblk1p4       ext4           56.6G      9.5G     44.8G  18% /ssl
/dev/mmcblk1p4       ext4           56.6G      9.5G     44.8G  18% /addons
/dev/mmcblk1p4       ext4           56.6G      9.5G     44.8G  18% /backup
/dev/mmcblk1p4       ext4           56.6G      9.5G     44.8G  18% /media
devtmpfs             devtmpfs        1.7G         0      1.7G   0% /dev
tmpfs                tmpfs           1.9G         0      1.9G   0% /dev/shm
devpts               devpts             0         0         0   0% /dev/pts
hugetlbfs            hugetlbfs          0         0         0   0% /dev/hugepages
mqueue               mqueue             0         0         0   0% /dev/mqueue
/dev/mmcblk1p4       ext4           56.6G      9.5G     44.8G  18% /config
/dev/mmcblk1p4       ext4           56.6G      9.5G     44.8G  18% /run/audio
/dev/mmcblk1p4       ext4           56.6G      9.5G     44.8G  18% /etc/asound.conf
tmpfs                tmpfs         763.5M      1.4M    762.1M   0% /run/dbus
/dev/mmcblk1p4       ext4           56.6G      9.5G     44.8G  18% /etc/hosts
/dev/mmcblk1p4       ext4           56.6G      9.5G     44.8G  18% /etc/resolv.conf
/dev/mmcblk1p4       ext4           56.6G      9.5G     44.8G  18% /etc/hostname
tmpfs                tmpfs           1.9G         0      1.9G   0% /dev/shm
/dev/mmcblk1p4       ext4           56.6G      9.5G     44.8G  18% /etc/pulse/client.conf
proc                 proc               0         0         0   0% /proc/bus
proc                 proc               0         0         0   0% /proc/fs
proc                 proc               0         0         0   0% /proc/irq
proc                 proc               0         0         0   0% /proc/sys
proc                 proc               0         0         0   0% /proc/sysrq-trigger
tmpfs                tmpfs           1.9G         0      1.9G   0% /proc/asound
devtmpfs             devtmpfs        1.7G         0      1.7G   0% /proc/keys
devtmpfs             devtmpfs        1.7G         0      1.7G   0% /proc/timer_list
tmpfs                tmpfs           1.9G         0      1.9G   0% /sys/firmware

git clone "Repository Not Found"

Can't add the repository to the HA addons. Tried running the git clone command outside of HA, and get same error? However, I can access the repository thru the web browser.

git clone -v --recursive --depth=1 --shallow-submodules https://github.com/adamoutler/HassOSConfigurator/tree/main/Run
Cloning into 'Run'...
fatal: repository 'https://github.com/adamoutler/HassOSConfigurator/tree/main/Run/' not found

Is their a problem with cloning the repository? Tried this from multiple machines. They all get "repository not found"

I was able to clone multiple other git repositories as a test......just verifying my git setup seems Ok.

Running the HassOS SSH port 22222 Configurator I get "no config found" for all devices

no vda1 config found
no sda1 config found
no sdb1 config found
no mmcblk0p1 config found
no mmcblk1p1 config found
no nvme0n1p1 config found
This Configurator did it's job. Perform a hard-power-off now. This configurator only works once and is no longer needed.

This is may be because I have a USB-connected spinning hard disk and no SSD or SD on a Raspberry Pi.

How do I find what the device name should be?

Can you add support for this device? Can you add logic to run.sh so it doesn't output the "did its job" message if all devices fail?

Minor nit: there's an extraneous apostrophe - you have "it's" which should be "its".

dont get the menu on screen in the shop

Hello i have a clean installation of the full version on SSD,
I have tried the repo addon but i dont see any items underneat it.
image

Where do i go wrong?

Also tried the manual instalation of the files like in config/modules etc but also on that no response.
Raspberry Pi 4 (4GB)
Home Assistant
Core 2023.12.3
Supervisor 2023.12.0
Operating System 11.2
Frontend 20231208.2

No config found in Rpi4

I have tried to run the addon in a raspberry pi 4 but the log shows that no config is found:

[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] done.
[services.d] starting services
[services.d] done.
no vda1 config found
no sda1 config found
no sdb1 config found
no mmcblk0p1 config found
no mmcblk1p1 config found
no nvme0n1p1 config found
This Configurator did it’s job. Perform a hard-power-off now. This configurator only works once and is no longer needed.

After a host reboot nothing seems to have been done.

nvme0n1p1 not mounted, public key issue

Hi,

Was adding a public key to an SSD on a NUC supposed to be fixed? My device is similar to a NUC, using a Beelink device. Receiving: " No supported authentication methods available (server sent: public key)"

Seen changes here.....

//github.com/adamoutler/HassOSConfigurator/pull/5

My Addon log:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
no vda1 config found
no sda1 config found
no sdb1 config found
no mmcblk0p1 config found
no mmcblk1p1 config found
already added this key to nvme0n1p1
This Configurator did it's job. Perform a hard-power-off now. This configurator only works once and is no longer needed.

Disk mounts:

➜  ~ df -aTh
Filesystem           Type            Size      Used Available Use% Mounted on
overlay              overlay       234.0G     10.6G    213.8G   5% /
proc                 proc               0         0         0   0% /proc
sysfs                sysfs              0         0         0   0% /sys
tmpfs                tmpfs           3.8G         0      3.8G   0% /sys/fs/cgroup
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/systemd
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/cpu,cpuacct
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/hugetlb
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/perf_event
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/cpuset
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/memory
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/freezer
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/net_cls,net_prio
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/pids
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/blkio
cgroup               cgroup             0         0         0   0% /sys/fs/cgroup/devices
/dev/root            squashfs      178.1M    178.1M         0 100% /sbin/docker-init
/dev/nvme0n1p8       ext4          234.0G     10.6G    213.8G   5% /config
/dev/nvme0n1p8       ext4          234.0G     10.6G    213.8G   5% /share
/dev/nvme0n1p8       ext4          234.0G     10.6G    213.8G   5% /backup
/dev/nvme0n1p8       ext4          234.0G     10.6G    213.8G   5% /addons
/dev/nvme0n1p8       ext4          234.0G     10.6G    213.8G   5% /data
/dev/nvme0n1p8       ext4          234.0G     10.6G    213.8G   5% /ssl
devtmpfs             devtmpfs        3.8G         0      3.8G   0% /dev
tmpfs                tmpfs           3.8G         0      3.8G   0% /dev/shm
devpts               devpts             0         0         0   0% /dev/pts
hugetlbfs            hugetlbfs          0         0         0   0% /dev/hugepages
mqueue               mqueue             0         0         0   0% /dev/mqueue
/dev/nvme0n1p8       ext4          234.0G     10.6G    213.8G   5% /media
/dev/nvme0n1p8       ext4          234.0G     10.6G    213.8G   5% /run/audio
/dev/nvme0n1p8       ext4          234.0G     10.6G    213.8G   5% /etc/asound.conf
tmpfs                tmpfs           1.5G      1.4M      1.5G   0% /run/dbus
/dev/nvme0n1p8       ext4          234.0G     10.6G    213.8G   5% /etc/hosts
/dev/nvme0n1p8       ext4          234.0G     10.6G    213.8G   5% /etc/hostname
/dev/nvme0n1p8       ext4          234.0G     10.6G    213.8G   5% /etc/resolv.conf
tmpfs                tmpfs           3.8G         0      3.8G   0% /dev/shm
/dev/nvme0n1p8       ext4          234.0G     10.6G    213.8G   5% /etc/pulse/client.conf
/dev/nvme0n1p8       ext4          234.0G     10.6G    213.8G   5% /var/log/journal
tmpfs                tmpfs           1.5G      1.4M      1.5G   0% /run/log/journal
proc                 proc               0         0         0   0% /proc/bus
proc                 proc               0         0         0   0% /proc/fs
proc                 proc               0         0         0   0% /proc/irq
proc                 proc               0         0         0   0% /proc/sys
proc                 proc               0         0         0   0% /proc/sysrq-trigger
tmpfs                tmpfs           3.8G         0      3.8G   0% /proc/asound
tmpfs                tmpfs           3.8G         0      3.8G   0% /proc/acpi
devtmpfs             devtmpfs        3.8G         0      3.8G   0% /proc/kcore
devtmpfs             devtmpfs        3.8G         0      3.8G   0% /proc/keys
devtmpfs             devtmpfs        3.8G         0      3.8G   0% /proc/timer_list
tmpfs                tmpfs           3.8G         0      3.8G   0% /proc/scsi
tmpfs                tmpfs           3.8G         0      3.8G   0% /sys/firmware

Made a comment here....

//community.home-assistant.io/t/add-on-hassos-ssh-port-22222-configurator/264109/133?u=teaman

Thank you

Permission denied or other errors... (Run on Startup.d)

Hi! @adamoutler

Any idea how to pass this error? I try to mount a drive to a folder on samba, ssh and frigate addons, but no luck, only errors...

executing
#############################################################################
###############/config/startup/startup.d/addon_ccab4aaf_frigate.sh
###############Container: 6ad55af52dcb: tmp/addon_ccab4aaf_frigate.startup.sh
#############################################################################
chmod: cannot access '/tmp/addon_ccab4aaf_frigate.startup.sh': No such file or directory

exec: fatal: unable to exec /tmp/addon_ccab4aaf_frigate.startup.sh: No such file or directory

#############################################################################
###############/config/startup/startup.d/addon_a0d7b954_ssh.sh
###############Container: 5297df21dff7: tmp/addon_a0d7b954_ssh.startup.sh
#############################################################################
mount: permission denied (are you root?)

#############################################################################
###############/config/startup/startup.d/addon_core_samba.sh
###############Container: 471306e8e4c9: tmp/addon_core_samba.startup.sh
#############################################################################
mount: mounting /dev/sda1 on /media/hp-drive failed: Permission denied

Thank you in advance!

Not available on Intel Nuc

Hi, i tried to install this on my Hassio instance on an Intel Nuc, but unfortunately I get following message: This add-on is not available on your system. "

ssh key importer worked perfectly, THANKS!

After trying to login to various other ssh users, adding the authorized_keys file in /root/.ssh and nothing worked, this addon did the trick.

Really didn't want to prepare a usb drive for it.

Thanks Adam. I still remember you from the XDA days, when I just started out as a tinkerer/software developer. Got my first Android phone on my 16th birthday and signed up for XDA, and watched a lot of your videos (if I recall correctly, it's been a while). Now I work as a Software Developer ^^

Glad to see you still tinkering around 😁

install impossible on haos x86

Hello, I install haos using https://github.com/tteck/Proxmox/ on my Proxmox amd64 server.
I added the repo using this url : https://github.com/adamoutler/HassOSConfigurator
The supervisor logs show it clones properly and adds 4 new :

2-07-25 10:48:30 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/adamoutler/HassOSConfigurator repository
22-07-25 10:48:31 INFO (MainThread) [supervisor.store] Loading add-ons from store: 82 all - 4 new - 0 remove

But then I don't see it in the store and can't install it :(

Few info on my hardware :

[core-ssh] ha os info 
board : ova 
boot: A
data disk: /dev/sda8 
update_available: false 
version: "8.4" 
version latest: "8.2" 
[core-ssh] ha host info 
agent_version: I. 2.1 
apparmor_version: 3.e.3 
boot_timestamp: 1658736906390a152 
broadcast llmnr: true 
broadcast mdns: true 
chassis: vm 
cpe: 
deployrnent: production 
disk free: 24.3 
disk life time: null 
disk total : 30.8 
disk used: 5.2 
dt_synchronized: true 
dt utc 
features : 
- reboot
- shutdown 
- services
- network 
- hostname 
- timedate 
- os_agent
- haos
- resolved 
hostname: hœne 
kernel: 5.15.55 
Ilmnr hostname: homne 
operating_system: Home Assistant OS 8.4 
startup_time: I. 682889 
timezone: Etc/ UTC 
use_ntp: true 

Thanks in advance for your kind help !

Run on Startup.d Not starting

Hi!

When I try to start the addon, I get this error

Can't create container from addon_1f3d020e_run_on_startup_addon: 409 Client Error for http+docker://localhost/v1.41/containers/create?name=addon_1f3d020e_run_on_startup_addon: Conflict ("Conflict. The container name "/addon_1f3d020e_run_on_startup_addon" is already in use by container "67e60a06525e67f5a0aa0639031d89b0989834b54199f238f456561f9dfbff74". You have to remove (or rename) that container to be able to reuse that name."

First time when I start the addon, I was ok, it started, then I wanted to choose "Create example scripts in /config/startup/startup.d", it started again, all good, but after I unticked "Create example scripts in /config/startup/startup.d" and restarted the addon, all went bad. It is not starting anymore...

I have rebuilded the addon, reinstalled, restarted HA, still nothing...

In the end, after the addon will work properly, I want to achieve a mount of a drive to media folder. Can you explain me more how can I do that? All I know is that the partition I want to mount is sda1... I think I should write mount /dev/sda1 /media/hp-drive (the folder it is already created), but is this enough? And I think this shuold be in the homeassistant.sh file, right? :-D

Any idea how to solve it? I'm a newbie...

Run: run.sh line 59 logOption is unbound

It looks like the logOption variable is only ever getting defined if the Retain old logs in /config/startup/logs/ instead of deleting old log config option is true. When that option is false logOption should be set to "" when that config option is false.

[SUGGESTION] Permit manually add the i2c values

Hello friend,
I am give a sugestion to upgrade the Addon about enabling i2c

I think will be very good exists an field to manually add values.
Some people needs add more parameters like

dtparam=i2c_arm=on
dtoverlay=i2c-rtc,ds1307,addr=0x68
dtoverlay=dwc2,dr_mode=host

hope you understand what i mean.

Thank you

Repository is not showing add ons on new Hasio instalation

hi, I had 2 new installs of HasIO yesterday and decide to add the usual repositories but this one is not showing add ons.

Home Assistant 2022.9.5
Supervisor 2022.09.1
Operating System 9.0
Frontend 20220907.2 - latest

First I added the repository:
image

Then no add ons showed in the store:

image

I have tried rebooting and it does not work.
The HasIO logs are not showing errors at all.

I do not know any other debug procedure to follow.

NOTE: I have the I2C working anyway by doing it the long way, but I whant to advice of this problem in case if it is not only me.

Regards.

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.