I have not yet made the release package for 1.1.5 available, as I am still busy converting the PRs to integrate gpiod into the official system-tools addon instead of the rpi-tools addon. Until their merge, I saw no technical necessity to use 1.1.5.
[RPi] Argon ONE Control Add-on (Support Thread)
-
myshit -
July 31, 2023 at 9:01 PM -
Thread is Resolved
-
-
In preparation of the official support of gpiod with the system-tools addon...
Version 1.1.5 released:- also supports gpiod in the system tools
-
The system-tools addon PRs (libgpiod) were applied today and currently building, so it could be available in the next days. Many thanks to the kindly and helpful support of the LE maintainers.
Because I was asked several times for that and I think now it's time for, some minutes ago I opened 2 pull request to possibly add the argonforty-device addon to the LibreELEC repo.argonforty-device: add package (support for the Argon ONE cases) by HungerHa · Pull Request #9662 · LibreELEC/LibreELEC.tvDuring the continuous development of the ArgonForty Device Configuration add-on I was asked several times, like: “Why is the addon not installable…github.com[le12] argonforty-device: add package (backport of PR9662) by HungerHa · Pull Request #9663 · LibreELEC/LibreELEC.tvBackport of #9662 During the continuous development of the ArgonForty Device Configuration add-on I was asked several times, like: “Why is the addon not…github.com -
Must say a word .
Very professional 👍👍
This project was developed really fast , clean code, and the roadmap in the libreelec repo is very important.
At 8.00 a.m system tools was updated and all fully working.
This is my opinion. Must thank you for all time you spent here. 👍
-
Hi i was wondering what gpiod support could do in this app... maybe if temp is highter than xxx close some pins ?
i didint really use gpiod on raspberry i was just thinking about usage of this surly interesting part
-
In case of the Argon40 addon it is used to observe the shutdown pin GPIO4 for an incoming pulse. This pulse will be generated by the MCU at the pcb of the Argon ONE if:
- Remote control power off command signal has been detected
- The power button at the back side of the case has been double tapped
- The power button at the back side of the case has been hold for 3 seconds at least, but shorter than 5 secondsThe pulse time for double tap is 20-30ms, for the other ones is 40-50ms. If one of these is detected by the addon, KODI and therefore the operating system will be informed by the addon immediately to initiate a reboot or a shutdown, depending of the mapped event to the pulse time. The shutdown signal is the more critical moment and cannot be skipped, as the MCU starts an internal timeout of approx. 10 seconds until it switches off the power - regardless of whether KODI/the operating system is ready or not. Additionally, KODI has an internal timeout until it tries to kill running threads after 5 seconds during process stopping. But this seems counterproductive in the case of the default Python modules lgpio and gpiozero (due to some bugs) and leads to a fixed timeout of 30 seconds for the KODI process.
That is the reason to have a library which is able to fast release the resources (below the KODI 5 seconds limit) to have mostly a properly shutdown.
EDIT:
Okay, after reading again. If you're thinking in terms of extending functionality using the GPIOs, it's up to you to find some real-world applications. Like rolling or unrolling canvases, triggering an actuator for a fire extinguisher above the housing or something like that. -
Very interesting... No hopefully I don't need a fire extinguisher routine... 😂😂 But nice to hear this argument made some fun here .. lol 😂.
-
Not sure if this is the place to get help with this plugin.
I'm running LE12 on a raspberry pi 5 using an argon one v3 case with an nvme installed.
my config.txt
C
Display More# SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2009-2014 Stephan Raue ([email protected]) # Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) ################################################################################ # Bootloader configuration # config.txt version v1 (do not remove or change this line!) ################################################################################ # For more options and information see # http://rpf.io/configtxt ################################################################################ # Don't send initial active source message. # Avoids bringing CEC (enabled TV) out of standby and channel switch when # rebooting. hdmi_ignore_cec_init=1 [all] ################################################################################ # Use distroconfig-composite.txt instead of distroconfig.txt to enable # composite video output. # The composite video mode needs to be configured in cmdline.txt: # For PAL add: video=Composite-1:720x576@50ie # For NTSC add: video=Composite-1:720x480@60ie ################################################################################ include distroconfig.txt #include distroconfig-composite.txt # uncomment to enable infrared remote receiver connected to GPIO 18 #dtoverlay=gpio-ir,gpio_pin=18 dtparam=i2c=on enable_uart=1 dtoverlay=gpio-ir,gpio_pin=23 usb_max_current_enable=1 dtparam=nvme dtparam=pciex1_1=gen3 dtparam=i2c_arm=on dtparam=i2c_vc=on dtoverlay=i2c-bcm2708
The I2C isn't detected.
The link to my log
https://paste.libreelec.tv/literate-snapper.log
I was previously trying the argon one libreelec script with some modifications
https://download.argon40.com/argonone-setup-libreelec.sh
all argonone services should be stopped and removedstill no fan control
-
I can see some possible culprits in your config.txt. But it could be, that you have a general issue with I2C currently.
It's a typo in the documentation of Argon40. If you want to force the PCIe speed to Gen 3, the line should show like this.
For the troubleshooting purposes, please comment out the last 3 lines via a hashtag in your config.txt first:
Please don't forget to reboot after that changes, connect to LE via SSH and try the following:
- Stop KODI service
systemctl stop kodi - Check the current I2C state.
i2cdetect -y 1
Please post the output of the i2cdetect command. If the address 0x1a isn't populated, make the case some seconds powerless (unplug the power supply) and try again afterwards.
EDIT: Your log looks like, that you have installed some banned components which are in conflict with the forum rules. Please do not expect any further support until you come back with a fresh install without such things. - Stop KODI service
-
Hi, installed 12.02 , I notice the comment in the post with some bug with gpio .. will that harm the addon ?
-
-
Hi, installed 12.02 , I notice the comment in the post with some bug with gpio .. will that harm the addon ?
Everything perfect !
-
Hi, saw new release, but the installer .zip file is missing. just source.zip in the git... is it possible to get the addon installing zip ?
And on le 12 cant find the addon...
-
Looking at Github: it seems to be a huge update, even a namechange and the need to deinstall the old plugin. I guess we should wait until the plugin is available under the LE Repo and then install after removing the old plugin. I guess configs will get lost too when moving to the "new" plugin?
-
Looking at Github: it seems to be a huge update, even a namechange and the need to deinstall the old plugin. I guess we should wait until the plugin is available under the LE Repo and then install after removing the old plugin. I guess configs will get lost too when moving to the "new" plugin?
Yes, you will loose config as wrote in GitHub , so brand new install and new config is needed, but you can choice if you want to install the addon from LE repo or the GitHub manual installation , but in the GitHub ( untill today ) there's only the source code only and not the zip install. Surly we will see the LE addon and the installer from github in a few days. Will need time , even on other assets the source came before and later the installer ,so ..guess will have to wait.. must say thanks he did a good job making this addon and setup directly on LE repo !
-
All changes will be done in next LE release. it's at reviewing point on LE master github.
So for the moment will just have to use 1.1.5 waiting until the changes are pushed up. Just a matter of time....
-
1.1.7 released on GitHub !
-
Thanks HarryH
if i manually update to 1.1.7 via zip, will future updates via Repo be recognised? Or should i wait until it is in the repo and install from there?
-