mercenaruss / zigstar_addons

Home Assistant add-ons for Flashing ZigStar Devices
Apache License 2.0
55 stars 3 forks source link

Unable to update sonoff dongle-P directly connected through usb to home assistant. #34

Closed tomtom13 closed 3 months ago

tomtom13 commented 3 months ago

Here is the error log:

`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 banner: starting


Add-on: ZigStar TI CC2652P/P7 FW Flasher ZigStar TI CC2652P/P7 firmware flasher add-on

Add-on version: 0.4.0 You are running the latest version of this add-on. System: Home Assistant OS 12.2 (amd64 / qemux86-64) Home Assistant Core: 2024.4.4 Home Assistant Supervisor: 2024.04.4

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

s6-rc: info: service banner successfully started s6-rc: info: service cc2652-flasher: starting [18:56:13] INFO: Starting CC2652P flasher with Sonoff /dev/ttyUSB0 Setting filename to /root/firmware.hex sonoff Opening port /dev/ttyUSB0, baud 500000 Reading data from /root/firmware.hex Your firmware looks like an Intel Hex file Connecting to target... ERROR: device reports readiness to read but returned no data (device disconnected or multiple access on port?) [18:56:13] INFO: cc2652-flasher-up script exited with code 1 s6-rc: warning: unable to start service cc2652-flasher: command exited 1 s6-rc: info: service banner: stopping /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information. /run/s6/basedir/scripts/rc.init: fatal: stopping the container. s6-rc: info: service banner 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`

tomtom13 commented 3 months ago

Forgot to switch off Z2M