Smart Boat 9: Adding a Neo Indoor Siren to Home Assistant

Поделиться
HTML-код
  • Опубликовано: 3 фев 2025

Комментарии • 27

  • @svtosca3371
    @svtosca3371 10 месяцев назад +10

    It is possible to fully control the Tuya siren (TS0601) from Home Assistant.
    You need the IEEE code which is in Device Info, drop down Zigbee Info.
    Then create a script, klick three dots top right and select 'Edit in YAML'.
    Delete what is there and paste the below, change all IEEE's to your IEEE.
    Save as 'Sound Siren' and add as action in an automation - 'Script: Sound siren'.
    Supply your paramaters in the GIU and Bob's your uncle.
    Not all the sounds ar in the script = play with it, I think there are 12.
    YAML:
    alias: Sound siren
    fields:
    siren:
    description: Siren sound
    selector:
    select:
    options:
    - label: warning
    value: "8"
    - label: pending
    value: "16"
    - label: alarm
    value: "6"
    - label: alarm2
    value: "11"
    - label: dog
    value: "10"
    name: Siren
    default: warning
    required: true
    volume:
    description: Siren volume
    name: Volume
    default: low
    required: true
    selector:
    select:
    options:
    - label: low
    value: "0"
    - label: medium
    value: "1"
    - label: high
    value: "2"
    duration:
    description: Siren duration (s)
    name: Duration
    default: 10
    required: true
    selector:
    number:
    mode: box
    unit_of_measurement: seconds
    min: 1
    max: 59
    sequence:
    - service: zha.set_zigbee_cluster_attribute
    data:
    cluster_type: in
    ieee: a4:c1:38:2a:ed:24:14:9c
    endpoint_id: 1
    cluster_id: 6
    attribute: 1126
    value: "{{ siren }}"
    - delay:
    hours: 0
    minutes: 0
    seconds: 0
    milliseconds: 30
    - service: zha.set_zigbee_cluster_attribute
    data:
    cluster_type: in
    ieee: a4:c1:38:2a:ed:24:14:9c
    endpoint_id: 1
    cluster_id: 6
    attribute: 1140
    value: "{{ volume }}"
    - delay:
    hours: 0
    minutes: 0
    seconds: 0
    milliseconds: 30
    - service: zha.set_zigbee_cluster_attribute
    data:
    cluster_type: in
    ieee: a4:c1:38:2a:ed:24:14:9c
    endpoint_id: 1
    cluster_id: 6
    attribute: 615
    value: "{{ duration }}"
    - delay:
    hours: 0
    minutes: 0
    seconds: 1
    milliseconds: 0
    - service: switch.turn_on
    data: {}
    target:
    entity_id:
    - switch.alarm_siren_group
    - switch.indoor_siren_switch
    mode: single
    icon: mdi:bugle

    • @philipshergold4771
      @philipshergold4771 10 месяцев назад

      I couldn't get this to work in my case. I followed your steps but perhaps I'm doing something wrong :( I keep just getting "failed to call script".

    • @svtosca3371
      @svtosca3371 10 месяцев назад

      Can you try it in developer tools tab services? Might tell us some more

    • @philipshergold4771
      @philipshergold4771 10 месяцев назад

      @@svtosca3371 I take back what I said, I think I managed to get it working! After you run that script once I assume this becomes the Neo alarm's default setting from now on?
      Seriously can't thank you enough - you are amazing!!!

    • @svtosca3371
      @svtosca3371 10 месяцев назад

      Dunno if it becomes the standard. I only use the siren through this script.

    • @philipshergold4771
      @philipshergold4771 10 месяцев назад

      @@svtosca3371 I think it does become it's standard. I've just tested the alarm as an action by only turning the alarm on itself and not running the script again.
      Seems to working flawlessly atm. So glad I came across your comment! Have you posted your work through in any of the Home Assistant forums? Would definitely help many others!

  • @davidhopkins
    @davidhopkins 9 дней назад

    Rob, I want an alarm like this. I have some advance requirements though. Is it possible to setup multiple responses? I know you can change what alarm behaviour it exhibits. What I want to do is have this thing respond to different triggers in different ways. For instance, if my kettle switch is on I want it to simply light up the LED on the alarm. If the bilge is on I want a discreet beep. If the alternator temp is too high I want a loud alarm and lights flashing. Is this possible? From the videos I have seen it looks like these can respond to different triggers, but the response is always the same. Please clarify how this one works.
    Thanks!!

  • @marc4322
    @marc4322 Год назад +2

    Great video! But how can we change the alarm sound? Thanks

    • @SmartBoatInnovations
      @SmartBoatInnovations  Год назад +1

      Thanks. I only realized after the video that some of these sirens are more difficult to change the sound. There are 3 ways. In the video I show the ZHA zigbee installation. If you instead use zigbee2mqtt then changing the sound is easier.
      Or if you stay with ZHA then you can use a script to dynamically change the sound by setting the zigbee_cluster_attribute.
      Or you can manually set the zigbee_cluster_attribute to another sound.

    • @AsyrafAkira
      @AsyrafAkira 11 месяцев назад

      ​@@SmartBoatInnovationscan you show how to change via attribute? I can't find it via home assistant 😅

    • @svtosca3371
      @svtosca3371 10 месяцев назад +2

      @@AsyrafAkira I've posted a full description for doing this in Home Assistant in the comments on the RUclips clip

  • @skm7812
    @skm7812 Год назад +1

    How do you change the alarm sound without Zigbee hub?

    • @SmartBoatInnovations
      @SmartBoatInnovations  Год назад

      As shown in the video, the siren relies on a Zigbee hub for functionality. I haven't found an alternative method to modify its attributes

    • @svtosca3371
      @svtosca3371 10 месяцев назад +1

      I've posted a full description for doing this in Home Assistant in the comments on the RUclips clip

  • @KisameSempai
    @KisameSempai 11 месяцев назад +1

    Is there a difference between tuya zigbee and zigbee?

    • @SmartBoatInnovations
      @SmartBoatInnovations  11 месяцев назад

      The Tuya ones you can also use within the Tuya ecosystem with their apps. But in terms of Zigbee they are the same. Nearly always you can use a Tuya Zigbee device within the Smart Boat system using Home Assistant.

  • @robjans8159
    @robjans8159 7 месяцев назад

    Hi Rob, thanks for this vid. Just checking; using the zigbee edition makes it fully local correct (so no need for an active internet connection)? My starlink isn't isn't on all the time since it consumes quiet a lot of wh and I'm trying to avoid cloud based devices anyways.
    Cheers from ibiza
    Rob

    • @SmartBoatInnovations
      @SmartBoatInnovations  7 месяцев назад +1

      Yes it is fully local. No need for internet for it to work. No need for Internet for any of my Smart Boat recommendations once they are set up.
      Just transiting the Gibraltar Straits.
      Rob

    • @robjans8159
      @robjans8159 7 месяцев назад

      @@SmartBoatInnovations many thanks