tube0013 / tubeszb_addons

Home Assistant add-ons for Flashing TubesZB Devices
Apache License 2.0
15 stars 4 forks source link

Configuration error Missing required option 'device' in TubesZB TI CC2652 FW Flasher #16

Open Nightstalker81 opened 1 month ago

Nightstalker81 commented 1 month ago

I can't start/configure the the addon, since it requires a 'device' which I am unable to select, since none is shown: image

When I try to use the YAML configuration and just enter any device, I get different validation errors. When using /dev/null it says the value does not match the filter: image

When I try with "tty" it says the device does not exist. image

I also tried /dev/ttyS0 to /dev/ttyS9 and /dev/USB0 to /dev/USB9 but all are giving the same error. Any suggestions how to solve this?

tube0013 commented 1 month ago

what kind of system are you running HAOS on? are there really no /dev/tty devices?

Nightstalker81 commented 1 month ago

It is installed on an RPi4 with the installation type HAOS: image

Searching for "tty" I did not find any device that matches: image

Using any other device gives me the "filter subsystem=tty!" error.

Nightstalker81 commented 3 weeks ago

Anyone ideas what else I could do? Would it be possible to skip the validation somehow, since I use network flashing anyway?

tube0013 commented 3 weeks ago

you can always use the command line tool.

I don't understand how you do not have any serial devices that show by default, every system/vm I've tried this on has had something there. I'll look at building an addon that is network only as a work around.

Nightstalker81 commented 2 weeks ago

When referring to the "command line tool" do you mean the CLI addon? https://github.com/tube0013/tubeszb_addons/blob/main/tzb-zigpy-cli-tools/DOCS.md

If so: how am I able to run an update using the tool? The documentation does not mention any update command nor is it shown in the dropdown: image

Also I am getting the same error as with the FW Flasher: image

tube0013 commented 2 weeks ago

no I mean the actual command line tool that the addon uses for flashing:

https://github.com/JelmerT/cc2538-bsl