How can I update this addon?
update your app store first
Hi,
My Argon One case is coming soon and just found this topic. I’m running Home assistant on a Rpi4 with Debian 10 as I followed this guide. Will the add ons work on this setup? Thx
Your device is not installed correctly, or you are missing drivers to recognize it. This will not operate on your device in the current state. Sorry. you have work to do elsewhere. I’ve heard of bent pins or other hardware malfunctions. In this case, there’s nothing to control. It’s missing.
I do recommend the HassOS. It’s a much more controlled and better platform to experience HA and updates. There’s too much that can go wrong with Debian. At least with HassOS only HA controls the platform.
That said, i did test yesterday with Debian 10. You can use my I2C configurator here and then come back and use the Argon One Active Cooling Addon with Debian. [Add-on] HassOS I2C Configurator
Oh shit . I have an Other argon case I will test it. Thx for the support!
I pushed an update to fix this new API issue.
Are you running Beta? I don’t see this in my logs, but the new format was accepted by my machines so no problem on my part with this upgrade.
You’re right, I’m going to switch to the HassOS. Is it possible with your plugin to see the fan speeds and temperature in a sensor?
I have an addon for Raspberry Pi Temperature and I will be including a checkbox to report fan percentage soon.
Not sure how I want to do it though. Essentially it’s a number between 0 and 100. I’d like to add a sensor for percentage but I won’t be able to register it as a device within HA, so it’s going to be a floating entity without a device. I’m researching how to make a device.
It’s coming though. Probably as a floating entity. there’s a few other things that need to be done at the same time.
No, I only have all current updates installed.
Core 2021.2.2
Supervisor 2021.02.6
HassOS 5.11
I upgraded to 0.15 and I see no messages anymore. But I didn‘t found any message from the version 0.14 before. I think the messages are from the version before.
I pushed an update to all my addons today. Even though I didn’t see the message, the new format for devices has less clutter.
Just got my Argon One case and installed a fresh HassOS on my SDcard, set my snapshot back and installed the I2C addon, rebooted twice but the logs keep giving the output.
ls: /dev/i2c-1: No such file or directory
I don't see I2C.
no sda1 available
no sdb1 available
mount: permission denied (are you root?)
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.
Edit: Fixed by disabling Protection mode. Can you maybe add this to github because i don’t find that info.
Thanks allot for this great and easy add-on(s)!
I tested many things, but I didn’t get something to work with a single press of the button. The only thing there is an reaction is the double press.
I also tested this configuration.yaml:
- platform: rpi_gpio
pull_mode: DOWN
ports:
4: Argon One Power Button
Because I found the part with the pull_mode DOWN in another thread. This is also being set in the original Argon One script.
But that also doesn’t change a thing.
So I think I will live with the double tap for shutown.
This is the wrong place for that. You should post in the proper area. I’m working on it.
It is now!
It’s disabled by default.
I’m pretty proud of how it was made using no external apks, only netcat
fanSpeedReport(){
percent=$1;
level=$2;
mode=$3;
case $level in
1)
icon=mdi:fan-speed-1;
;;
2)
icon=mdi:fan-speed-2;
;;
3)
icon=mdi:fan-speed-3;
;;
*)
icon=mdi:fan-off;
esac
reqBody='{"state": "'${percent}'", "attributes": { "unit_of_measurement": "%", "icon": "'${icon}'", "mode": "'${mode}'", "fan level": "'${level}'", "friendly_name": "Argon Fan Speed"}}'
nc -i 1 hassio 80 <<<unix2dos<<EOF
POST /homeassistant/api/states/sensor.argon_one_addon_fan_speed HTTP/1.1
Authorization: Bearer ${SUPERVISOR_TOKEN}
Content-Length: $( echo -n ${reqBody} | wc -c )
${reqBody}
EOF
Yes, it it here!
Thank you very much!