profile
viewpoint
Paul Sinclair sinclairpaul Mississauga, Canada

hassio-addons/addon-nut 75

Network UPS Tools - Home Assistant Community Add-ons

hassio-addons/addon-ledfx 34

ledfx - Home Assistant Community Add-ons

hassio-addons/addon-bookstack 26

Bookstack - Home Assistant Community Add-ons

hassio-addons/addon-chrony 13

chrony - Home Assistant Community Add-ons

hassio-addons/addon-firefly-iii 13

Firefly-III - Home Assistant Community Add-ons

sinclairpaul/addon-adb 0

Android Debug Bridge - Community Hass.io Add-on for Home Assistant

sinclairpaul/addon-adguard-home 0

AdGuard Home - Home Assistant Community Add-ons

sinclairpaul/addon-base 0

Docker base images (Alpine) - Home Assistant Community Add-ons

sinclairpaul/addon-bitwarden 0

Bitwarden RS - Community Hass.io Add-on for Home Assistant

issue commenthassio-addons/addon-nut

UPS devices become unavailable every 8 - 14 hours randomly

Check the Implementation section of the linked documentation. If you need assistance in configuration, I would suggest the forums or Discord would be a better place. We use Github for tracking issues.

DanDon

comment created time in 15 hours

issue commenthassio-addons/addon-nut

UPS devices become unavailable every 8 - 14 hours randomly

I would suggest not using auto as a port for multiple device. More information can be found in the NUT documentation for that driver at https://networkupstools.org/docs/man/usbhid-ups.html

Please also capture the error from the addon log.

DanDon

comment created time in a day

issue commenthassio-addons/addon-nginx-proxy-manager

400 Bad Request when navigating to HA from domain

I would suggest checking the logs and documentation for the application you are proxying to, in this case https://www.home-assistant.io/integrations/http/#use_x_forwarded_for

crhistianramirez

comment created time in 5 days

issue commenthassio-addons/addon-bookstack

Update to BookStack v21.11.1

You are better discussing these things on Discord, which is probably the best thing to do anyway before contributing.

You need to watch the base image releases, and update when needed. You can test locally using "docker build" commands, to build the container and get more logging than building on the Supervisor provides. Also I would suggest looking at the addon Development documentation to understand the structure.

The key thing to me is not just bumping versions (we could essentially have a bot do that), but there needs to be some level of testing afterwards to see what the level of impact is.

dm82m

comment created time in 6 days

pull request commenthassio-addons/addon-tor

Fixed #104 Hidden Service V3 Client Authorization

This isn't anything to do with package caching/Home Assistant, but how alpine version packages.

Your build error is:

ERROR: unable to select packages:
  coreutils-8.32-r2:
    breaks: world[coreutils=9.0-r1]
  openssl-1.1.1l-r0:
    breaks: world[openssl=3.0.0-r2]
  tor-0.4.5.10-r0:
    breaks: world[tor=0.4.6.7-r0]

Alpine package versions can be seen at https://pkgs.alpinelinux.org/packages, the version depends on the version of base you are targetting, as a hint:

        tor=0.4.5.10-r0 \
        coreutils=8.32-r2

(I believe OpenSSL is already in the base).

Psykopear

comment created time in 6 days

push eventsinclairpaul/addon-bookstack

Paul Sinclair

commit sha 99ca3d35b4018755431244a55e95b4e370b6d84b

⬆️ Update bookstack to v21.11.1 (#164)

view details

push time in 7 days

delete branch sinclairpaul/addon-bookstack

delete branch : update-bookstack

delete time in 7 days

push eventhassio-addons/addon-bookstack

Paul Sinclair

commit sha 99ca3d35b4018755431244a55e95b4e370b6d84b

⬆️ Update bookstack to v21.11.1 (#164)

view details

push time in 7 days

PR merged hassio-addons/addon-bookstack

⬆️ Update bookstack to v21.11.1 dependencies

Proposed Changes

⬆️ Update bookstack to v21.11.1

+1 -1

0 comment

1 changed file

sinclairpaul

pr closed time in 7 days

PR opened hassio-addons/addon-bookstack

⬆️ Update bookstack to v21.11.1 dependencies

Proposed Changes

⬆️ Update bookstack to v21.11.1

+1 -1

0 comment

1 changed file

pr created time in 7 days

create barnchsinclairpaul/addon-bookstack

branch : update-bookstack

created branch time in 7 days

push eventsinclairpaul/addon-bookstack

Paul Sinclair

commit sha 5c75c6d534cb89a7f2bd75b30ee9382ffb3f4dcd

✏️ Minor doc tweaks

view details

Paul Sinclair

commit sha 8bf0e5ce792bb59503498a6fa9e9368fc9f4c569

⬆️ Update base image and dependencies (#163) * ⬆️ Update base image to v10.2.3 * ⬆️ Update php to v7.4.26-r0 * ⬆️ Update ngnix to v1.20.2-r0 * ⬆️ Update mariadb-client to v10.5.13-r0 * 🔨 Remove verbose logging

view details

push time in 7 days

delete branch sinclairpaul/addon-bookstack

delete branch : update-image

delete time in 7 days

push eventhassio-addons/addon-bookstack

Paul Sinclair

commit sha 8bf0e5ce792bb59503498a6fa9e9368fc9f4c569

⬆️ Update base image and dependencies (#163) * ⬆️ Update base image to v10.2.3 * ⬆️ Update php to v7.4.26-r0 * ⬆️ Update ngnix to v1.20.2-r0 * ⬆️ Update mariadb-client to v10.5.13-r0 * 🔨 Remove verbose logging

view details

push time in 7 days

PR merged hassio-addons/addon-bookstack

⬆️ Update base image and dependencies dependencies

Proposed Changes

⬆️ Update base image and dependencies

+25 -25

0 comment

2 changed files

sinclairpaul

pr closed time in 7 days

push eventhassio-addons/addon-bookstack

Paul Sinclair

commit sha 5c75c6d534cb89a7f2bd75b30ee9382ffb3f4dcd

✏️ Minor doc tweaks

view details

push time in 7 days

PR opened hassio-addons/addon-bookstack

⬆️ Update base image and dependencies

Proposed Changes

⬆️ Update base image and dependencies

+25 -25

0 comment

2 changed files

pr created time in 7 days

push eventsinclairpaul/addon-bookstack

Paul Sinclair

commit sha b978499a7d0ea8d8085e3aa7fbf2fae21b1ca29c

⬆️ Update base image to v10.2.3

view details

Paul Sinclair

commit sha 968f72a5c5deed0452bc401dd582ef4950d410cd

⬆️ Update php to v7.4.26-r0

view details

Paul Sinclair

commit sha e3a785e166fd73eff2991ff0ec1959be873795fe

⬆️ Update ngnix to v1.20.2-r0

view details

Paul Sinclair

commit sha b261b44a8cbdf5c3a4e7c7c5f8ab2e5adf802a8c

⬆️ Update mariadb-client to v10.5.13-r0

view details

Paul Sinclair

commit sha 7cff56f4e6614ba99a670c3e352a5e5ae4222a75

🔨 Remove verbose logging

view details

push time in 7 days

create barnchsinclairpaul/addon-bookstack

branch : update-image

created branch time in 7 days

issue commenthassio-addons/addon-nut

NUT crash RaspPi3 if connected when booting

I don't see how this is related to the addon, hardware is managed by the OS and Supervisor.

I would suggest seeking help with Home Assistant itself.

MatteGary

comment created time in 7 days

issue closedhassio-addons/addon-nut

NUT crash RaspPi3 if connected when booting

Hi, I'm experiencing the following issue: if my Raspberry Pi 3 boots up with the ups connected through USB, it will not boot completely and HomeAssistant will not start. If I then unplug USB and perform a power cycle, everything works fine. What kind of info can I collect to help you in investigating this?

System info: Network UPS Tools v0.9.0 Home Assistant OS v 6.6 Core v core-2021.11.4 Supervisor v supervisor-2021.10.8

closed time in 7 days

MatteGary

issue commenthassio-addons/addon-nut

Server and client. UPS Management

The community SSH addon has some customisation that may help you.

However this is out of scope for this addon, I would suggest using the Forums or Discord to seek additional help.

DivanX10

comment created time in 7 days

PR closed hassio-addons/addon-bookstack

⬆️ Update Bookstack to v21.11.1 dependencies

Proposed Changes

  • upgrade to v21.11.1

Related Issues

+1 -1

3 comments

1 changed file

dm82m

pr closed time in 7 days

pull request commenthassio-addons/addon-bookstack

⬆️ Update Bookstack to v21.11.1

There are dependency updates, therefore this won't actually build, we also have other base image updates that need to be completed.

I will get to this at some point this week, thanks for the effort, however for now I will close this as there is more work that needs to be performed.

dm82m

comment created time in 7 days

issue closedhassio-addons/addon-nut

Server and client. UPS Management

Home Assistant OS 6.6 Core 2021.11.5 Supervisor 2021.10.8 Add-on: Network UPS Tools version: 0.9.0


This is an introduction and purely so that you understand what works for me and what I'm trying to configure in the NUT addon. First read below, so you will see that I have no problems with access to the UPS and I can manage the UPS, but I can only manage with Home Assistant on OpenWRT, and with OS Home Assistant it does not work.


For understanding, I will show you and describe below what works for me and why I want to do the same on OS Home Assistant. On the OpenWRT OS, I have a Home Assistant and there are nut packages and I can send commands to control the UPS, and I can also receive data from the UPS.

Home Assistant on OpenWRT image

List of available commands for UPS control

upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 calibrate.start
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 calibrate.stop
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 beeper.disable
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 beeper.enable
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 beeper.mute
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 beeper.off
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 beeper.on
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 load.off
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 load.off.delay
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 load.on
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 load.on.delay
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 shutdown.return
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 shutdown.stayoff
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 shutdown.stop
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 test.battery.start.deep
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 test.battery.start.quick
upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 test.battery.stop

All commands are processed and I get statuses from sensors image

I made a control panel for the UPS image

switch: 
- platform: command_line
  switches:
    ups_beeper: 
      command_on: upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 beeper.enable
      command_off: upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 beeper.disable
      command_state: upsc ups@192.168.1.200 ups.beeper.status
      value_template: '{{ is_state("sensor.ups_beeper_status","enabled") }}'
      friendly_name: 'Звуковое оповещение'

    ups_test_battery_deep:
      command_on: upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 test.battery.start.deep
      command_off: upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 test.battery.stop
      command_state: upsc ups@192.168.1.200 ups.status
      value_template: '{{ states("sensor.ups_self_test_result") == "In progress" }}'
      friendly_name: 'Полный тест батареи'

    ups_test_battery_quick:
      command_on: upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 test.battery.start.quick
      command_off: upscmd -u hassmon -p 12345678 ups@192.168.1.200:3493 test.battery.stop
      command_state: upsc ups@192.168.1.200 ups.status
      value_template: '{{ states("sensor.ups_self_test_result") == "In progress" }}'
      friendly_name: 'Быстрый тест батареи'

Added UPS via GUI NUT integration image image image


Now let's get to the heart of the problem. The UPS is connected to the Synology NAS, and the Home Assistant runs on a virtual machine in the Synology NAS and does not have access to the UPS via a USB cable. I would like to send commands from Home Assistant to control the UPS, but I can't do this because OS Home Assistant runs on Linix Alpine OS, and it doesn't have a NUT package. I can't even run this command upsc' through the terminal ups@192.168.1.200.

image

I installed the NUT addon, specified the following config and the launch was successful. I'm trying to connect via GUI integration to the NUT addon and get rejected. Tell me, how can I configure the NUT addon so that I can send commands to control the UPS and have sensors?

In the configuration , I specified the following

devices:
  - config: []
    driver: snmp-ups
    name: ups
    port: 192.168.1.200
mode: netclient
shutdown_host: 'false'
users:
  - actions: []
    instcmds:
      - all
    password: nutuser
    username: nut!user
remote_ups_host: 192.168.1.200
remote_ups_name: ups
remote_ups_user: hassmon
remote_ups_password: '12345678'

The following is displayed in the 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] nut: applying... 
[fix-attrs.d] nut: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Add-on: Network UPS Tools
 Manage battery backup (UPS) devices
-----------------------------------------------------------
 Add-on version: 0.9.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 6.6  (amd64 / qemux86-64)
 Home Assistant Core: 2021.11.5
 Home Assistant Supervisor: 2021.10.8
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nut.sh: executing... 
[15:11:51] INFO: Setting mode to netclient...
[cont-init.d] nut.sh: exited 0.
[cont-init.d] nutclient.sh: executing... 
[cont-init.d] nutclient.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[15:11:52] INFO: Starting the UPS monitor and shutdown controller...
   0.000000	fopen /run/nut/upsmon.pid: No such file or directory
   0.000287	Using power down flag file /etc/killpower
   0.000495	UPS: ups@192.168.1.200 (slave) (power value 1)
   0.000639	debug level is '1'
   0.000779	Warning: running as one big root process by request (upsmon -p)
   0.001013	Init SSL without certificate database
   0.001906	Trying to connect to UPS [ups@192.168.1.200]
   0.003780	Logged into UPS ups@192.168.1.200

I'm trying to connect to the NUT addon and I get this error image image

closed time in 7 days

DivanX10

issue commenthassio-addons/addon-nut

Server and client. UPS Management

The functionality to send commands isn't feasible for the addon, however if you have a working NUT master, you can use a client to send commands.

Although it isn't clear on your config, it appears you have a working NUT server at 192.168.1.200, which you should use for the integration (and any client related commands).

I don't believe your use case is relevant to the addon itself, but more HA in general, therefore will close this out.

DivanX10

comment created time in 7 days

pull request commenthassio-addons/addon-bookstack

⬆️ Update Bookstack to v21.11.1 and added example for SMTP config

Did you confirm that this actually builds and runs ok?

dm82m

comment created time in 7 days

push eventsinclairpaul/addon-bookstack

Franck Nijhof

commit sha 7dd6724efa5f54b8c2114bdc9bb41fbe2108842f

Switch to centralized GitHub Action Workflows (#157)

view details

push time in 7 days

issue commenthassio-addons/addon-nut

Server and client. UPS Management

You have the mode set to netclient, which means the NUT server process won't be running (this is to attach to another NUT instance). If you do have NUT running elsewhere, point the integration at that (I don't believe the integration supports sending commands however).

As for the upsc commands, it is not an addon issue, however Alpine does have a NUT package on it's edge repo.

DivanX10

comment created time in 7 days

issue closedhassio-addons/addon-grafana

Can't install plugins (connect: cannot assign requested address)

Problem/Motivation

I can't install plugins.

Expected behavior

The plugin (e.g. grafana-clock-panel) should just be installed.

Actual behavior

Using the following config

certfile: fullchain.pem
env_vars: []
keyfile: privkey.pem
plugins:
  - grafana-clock-panel
ssl: true

results in the following logs

[cont-init.d] grafana.sh: executing... 
Error: ✗ Get "https://grafana.com/api/plugins/repo/grafana-clock-panel": dial tcp [2600:1901:0:b3ea::]:443: connect: cannot assign requested address
[14:59:47] FATAL: Failed installing Grafana plugin: grafana-clock-panel
[cont-init.d] grafana.sh: exited 1.

The ipv6 address points to grafana.com, which seems to only have an ipv6 adress. Using the terminal addon, I can curl other sites which support both (ipv4 & ipv6) but not grafana.com.

In the network section of the hass settings I can see that it has an ipv4 and ipv6 address. In the terminal addon (so inside of the docker container?) I can just see 172.30.33.2, but no ipv6.

Steps to reproduce

Use the config from above? Probably it's just my network (ds-lite)...?

Proposed changes

No idea. Just hoping for some hints to fix this issue :)

closed time in 9 days

dadav
more