SmartHome-yourself / sonoff-tx-ultimate-for-esphome

ESPHome Custom Component for Sonoff TX Ultimate
https://smarthomeyourself.de/sonoff-tx-ultimate-mit-esphome-custom-component/
MIT License
96 stars 44 forks source link

ble proxy #12

Closed pablogpr closed 6 months ago

pablogpr commented 1 year ago

I want to use my tx for the bluetooth proxy functionality, but: Error: The program size (1941981 bytes) is greater than maximum allowed (1835008 bytes)

How can inprove the size of the overall firmware?, I have 1 gang switch, nothing connected to the relay, but i want to know with part of the touchpanel is used. I already try to comment some features like logger, but without success.

danielscheidler commented 1 year ago

Yes, I've tried bt proxy too. But unfortunately I had to leave it out for now. As soon as I see a way to free up enough space, I'll add the proxy back into the configuration as well. What might work would be to omit the audio component. But I haven't tested it yet because I use the voice output of the TX.

ChinHong-B commented 1 year ago

how did you use the voice output of the TX? isnt it too noisy to be used?

danielscheidler commented 1 year ago

how did you use the voice output of the TX? isnt it too noisy to be used?

Add following to the Media component Like in my current config.

    i2s_comm_fmt: lsb
brotaxt commented 1 year ago

Yes, I've tried bt proxy too. But unfortunately I had to leave it out for now. As soon as I see a way to free up enough space, I'll add the proxy back into the configuration as well. What might work would be to omit the audio component. But I haven't tested it yet because I use the voice output of the TX.

Just to confirm -> The ble proxy can be activated when omitting the audio component

danielscheidler commented 1 year ago

Just to confirm -> The ble proxy can be activated when omitting the audio component

Thank you for confirm this

robbiedehand commented 8 months ago

@pablogpr how dit you get BLE proxy working, so what code did u use?

yanirel commented 7 months ago

@brotaxt can u please explain how you deleted the audio component?

brotaxt commented 7 months ago

@robbiedehand @yanirel IIRC I removed the following part of my configuration. Thus the audio component does not get included and there is enough free space for the ble proxy.

https://github.com/SmartHome-yourself/sonoff-tx-ultimate-for-esphome/blob/7e745b3566df10d1de4fdb52c5b23442d28aa34a/tx_ultimate_cover.yaml#L526-L539

robbiedehand commented 7 months ago

thanks

Van: brotaxt @.> Verzonden: maandag 19 februari 2024 21:58 Aan: SmartHome-yourself/sonoff-tx-ultimate-for-esphome @.> CC: robbiedehand @.>; Mention @.> Onderwerp: Re: [SmartHome-yourself/sonoff-tx-ultimate-for-esphome] ble proxy (Issue #12)

@robbiedehandhttps://github.com/robbiedehand @yanirelhttps://github.com/yanirel IIRC I removed the following part of my configuration. Thus the audio component does not get included and there is enough free space for the ble proxy.

https://github.com/SmartHome-yourself/sonoff-tx-ultimate-for-esphome/blob/7e745b3566df10d1de4fdb52c5b23442d28aa34a/tx_ultimate_cover.yaml#L526-L539

- Reply to this email directly, view it on GitHubhttps://github.com/SmartHome-yourself/sonoff-tx-ultimate-for-esphome/issues/12#issuecomment-1953150790, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVE62JJB6AKLFWRHMIMMLADYUO4F3AVCNFSM6AAAAAA22DZFXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGE2TANZZGA. You are receiving this because you were mentioned.Message ID: @.**@.>>

danielscheidler commented 6 months ago

I think with the answer of @brotaxt this issue can be closed