Releases: black-roland/homeassistant-gsm-call
Releases · black-roland/homeassistant-gsm-call
v1.0.0-alpha.0
This alpha release introduces the highly-requested SMS feature and includes significant internal improvements. Please note: this is a pre-release version.
Added
- Initial SMS support: Experimental SMS sending capability via GSM modems.
- New
type: smsconfiguration parameter to enable SMS mode. - Support for GSM 7-bit alphabet.
Changed
- Major code refactoring: Restructured internal codebase with clear separation between call and SMS logic.
- Improved modem connection handling and error management.
Fixed
- Enhanced AT command response parsing with better timeout handling.
- Improved error handling for SMS-specific modem responses.
Warning
Breaking Changes Coming in stable v1.0.0
- The current
configuration.yamlsetup will be replaced by a GUI-based configuration flow (#16). - The action names
notify.callandnotify.smswill be changed.
Note
SMS Limitations
- Only GSM 7-bit alphabet is supported (basic Latin characters, digits, common symbols).
- This is an experimental feature - track progress and report issues in #17.
- SMS and call configurations can coexist in the same
configuration.yaml: simply add both with the same device path.
Configuration Example
notify:
- name: call
platform: gsm_call
device: /dev/serial/by-id/usb-HUAWEI_Technology_HUAWEI_Mobile-if01-port0
- name: sms
platform: gsm_call
type: sms
device: /dev/serial/by-id/usb-HUAWEI_Technology_HUAWEI_Mobile-if01-port0Full Changelog: v0.4.3...v1.0.0-alpha.0
v0.4.3
Fixed
- Added proper error handling for Huawei modems.
- Fixed incorrect call statuses: increased the call status polling interval to prevent overwhelming of some modems (like Huawei E1550), which was causing incorrect “NOT ANSWERED” statuses instead of “DECLINED”.
Full Changelog: v0.4.2...v0.4.3
v0.4.2
Changed
- Faster and more robust modem communication. The core AT command handler has been rewritten to use non-blocking, line-based async reading. This eliminates unnecessary delays, improves overall responsiveness, and provides a foundation for features like SMS support, modem state, and signal monitoring (see issues #17 and #4).
Full Changelog: v0.4.1...v0.4.2
v0.4.1
Added
- New
dial_timeout_secparameter to configure dial timeout separately from call duration (#8). - Support for the upcoming Home Assistant 2025.5.
Changed
- Slightly decreased sleep durations for the GTM382 dialer.
Добавлено
- Новый параметр
dial_timeout_secдля настройки таймаута дозвона отдельно от длительности звонка (#8). - Поддержка Home Assistant 2025.5.
Изменено
- Немного уменьшены задержки для GTM382.
Full Changelog: v0.4.0...v0.4.1
v0.4.0
Added
- Support for GTM382-based modems: Globetrotter HSUPA and compatible (#6).
Changed
- Improved modem connection handling with proper timeout safeguards: timeout for modem read operations (#7).
Fixed
- Ensure modem connection is properly terminated on exceptions.
Добавлено
- Поддержка модемов на базе GTM382: Globetrotter HSUPA и совместимые (#6).
Изменено
- Добавлен таймаут для операций чтения ответа от модема (#7).
Исправлено
- Корректное завершения соединения с модемом при возникновении исключений.
v0.3.0
Changes
- New
gsm_call_endedevent is fired, indicating whether a call was declined or answered. - Now a phone call hangs up immediately after the callee has answered.
- Call duration is now counted from the moment the called phone starts ringing.
- Now error messages are displayed when making a phone call from the developer tools UI (in other words, exceptions aren't suppressed).
gsm_call_ended automation example
automation:
- alias: "Disarm the security alarm when a call is declined"
triggers:
- trigger: event
event_type: gsm_call_ended
event_data:
phone_number: "79999999999"
reason: "declined" # declined/answered/not_answered
actions:
- action: alarm_control_panel.alarm_disarm
target:
entity_id: alarm_control_panel.securityBreaking changes
If you already have v0.3.0-beta.1 installed, please note that gsm_call_completed was renamed to gsm_call_ended and call_state was renamed to reason. Check out the example above.
Sorry for the inconvenience.
Full Changelog: v0.2.0...v0.3.0
v0.3.0-beta.1
Changes
- New experimental
gsm_call_completedevent is fired after a call is answered or declined. - Now a phone call hangs up automatically when the callee answers.
gsm_call_completed usage example
automation:
- alias: "Disarm the security alarm when a call is declined"
triggers:
- trigger: event
event_type: "gsm_call_completed"
event_data:
phone_number: "79999999999"
call_state: declined # declined/answered/timedout
actions:
- action: alarm_control_panel.alarm_disarm
target:
entity_id: alarm_control_panel.securityFull Changelog: v0.2.0...v0.3.0-beta.1
v0.2.0
- ZTE MF192 support.
Addhardware: zteto the integration config. - In this release,
pyserialwas replaced with an asynchronous alternative to improve general stability and compatibility with other integrations. at_command: ATDTis deprecated and replaced byhardware: atdt.
But both options are supported, so no need to update your configuration immediately.
Full Changelog: v0.1.4...v0.2.0
v0.2.0-rc.1
- Experimental support for ZTE modems.
Addhardware: zteto the integraion config.
Full Changelog: v0.1.4...v0.2.0-rc.1
v0.1.4
- This release adds missing HACS manifest, fixing potential installation issues.
- Documentation updates.
- ZIP releases support so HACS shows downloads count.
- No changes to the integration itself.
Full Changelog: v0.1.3...v0.1.4