This does not sound like expected behavior from DeskPi Pro. Also the information you’re providing appears to be operating properly. Maybe screenshot a failure condition or something
Its not the Pro, its the Deskpi Lite.
But I think the hardware and its control should be similar.
Deskpi lite uses pwn instead of serial fan control. I don’t have a unit and cannot support it. However if someone wants to use this to adapt the existing code, I could accept a pull request.
Pr would need to either
- Be a separate folder displaying the name DeskPi Lite
- Detect DeskPi Pro/lite by confirming if serial port or pwm pin values are as expected
- Have a selection in the config for pro/lite
.
#1 appears to be a better way to do it. I don’t have a unit so I will not be doing this myself.
Hi , Just installed and setup HA /Rpi4B inside a DeskPi Pro case. The instructions here show editing the /boot/config.txt which is normally on a Raspberry OS system. The HA I installed was from custom images from within Raspberry Pi Imager - and is NOT a RpiOS.
Also this is running from an SSD that is plugged into the USB3.0 port.
Tried following the instructions from commandline. However, the path /mnt/config.txt does not exist.
Any HELP you can provide that would reflect a system that is being built today would be appreciated.
this is what is in the log of the AddOn:
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
could not find /dev/ttyUSB1. This addon cannot continue without a serial device. Here is a list of possible SerialDevice:
ls: /dev/ttyUSB*: No such file or directory
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
punt!
type or paste code here
Enable the front USB and serial first
OK, but I can’t even get past the installation instructions without errors, as I stated in my first post.
Login to the main terminal, then at the ha> prompt, type "login".
echo 'dtoverlay=dwc2,dr_mode=host' >> /mnt/boot/config.txt
| |__| | ___ _ __ ___ ___ / \ ___ ___ _ ___| |_ __ _ _ __ | |_
| __ |/ _ \| '_ \ _ \ / _ \ / /\ \ / __/ __| / __| __/ _\ | '_ \| __|
| | | | (_) | | | | | | __/ / ____ \\__ \__ \ \__ \ || (_| | | | | |_
|_| |_|\___/|_| |_| |_|\___| /_/ \_\___/___/_|___/\__\__,_|_| |_|\__|
Welcome to the Home Assistant command line.
System information
IPv4 addresses for wlan0:
IPv4 addresses for end0: 192.168.1.166/24
IPv6 addresses for end0: fd94:5227:a8e9:a947:1b4b:3bbf:f5a:9e3a/64, fe80::71e 2:bcbf:af73:692f/64
OS Version: Home Assistant OS 11.3
Home Assistant Core: 2024.1.2
Home Assistant URL: http://homeassistant.local:8123
Observer URL: http://homeassistant.local:4357
➜ ~ whoami
root
➜ ~ echo 'dtoverlay=dwc2,dr_mode=host' >> /mnt/boot/config.txt
zsh: no such file or directory: /mnt/boot/config.txt
➜ ~
The. Boot partition isn’t mounted. I made an addon to do this for you.
OK … could you provide that information ? name of the addon? etc…
if it is HassOS Serial Configurator - I have that installed too, but have no idea how to configure things to make anything work.
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
no sda1 config found
no sdb1 config found
no mmcblk0p1 config found
This Configurator did it's job. Perform a hard-power-off now. You can uninstall and reboot now. This configurator only works once.
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
punt!
OK … Success!
It was the protection mode switch - “If it was a snake it would have bit me!”
Thanks for a Great set of AddOns!