Home Assistant on Zipatile?

Are you sure it’s working? With your code example I got a configuration error message: “Invalid config for [input_select]: expected dictionary for dictionary value @ data[‘input_select’]”

Ups sorry! Is a select. I forgot that I work with packages and I have the platform line in another file. The first line was missing with a select. It would look like this:

# Example configuration.yaml entry
select:
- platform: mqtt
  unique_id: zipatile_siren_select
  name: "Sonido Sirena Zipatile"
  state_topic: "homeassistant/zipato/zipatile/idyourzipatile/siren/events"
  value_template: "{{value_json['value']}}"
  command_topic: "homeassistant/zipato/zipatile/idyourzipatile/siren/commands"
  options:
    - '{"command":"SET_STATE","value":"STOP_SOUND"}'
    - '{"command":"SET_STATE","value":"EMERGENCY"}'
    - '{"command":"SET_STATE","value":"FIRE_ALERT"}'
    - '{"command":"SET_STATE","value":"AMBULANCE"}'
    - '{"command":"SET_STATE","value":"POLICE_CAR"}'
    - '{"command":"SET_STATE","value":"DOOR_CHIME"}'
    - '{"command":"SET_STATE","value":"BEEP"}'
#  optimistic: false
#  qos: 0
#  retain: true

This is how it works for me, try it and tell me if you need help :wink:

Thanks for the clarification! The config is ok now. It creates a select entity for me, but unfortunately I don’t hear any sound from the Zipatile when I choose and option on the lovelace UI.

image

I listened the siren mqtt topic and found that the siren events in my Zipatile2 are marked as numbers (like BEEP is equal to “6” in my case), so I gave it a go. Unfortunately nothing happened

Listening to siren events (when I manually push the BEEP siren button on internal app):

1 Like

Is the same for me. When I hear my Zipatile Siren from MQTT, it sends numbers as events.
event_6

However, when I send orders as commands, it doesn’t obey numbers, only words, like “BEEP” or “STOP SOUND”
command_beep

Take the following test. Post to your MQTT under the topic of your zipatile, which will be something like…

homeassistant/zipato/zipatile/youridzipatile/siren/commands

and the following payload:

{
    "command": "SET_STATE",
    "value": "BEEP"
}

And see if your zipatile sounds.

(You can also listen to the mqtt traffic from another screen to see if it gets the command and responds to it.)

Good Luck!

I think I did it as you described, but still nothing. The payload published, but no response to it.

maybe I should re-configure my mqtt broker…

Wow, is strange, then I don’t understand what’s going on there.

Do you have control of the Zipatile relays in Homeassistant?
For test it, you can publish:
homeassistant/zipato/zipatile/youridzipatile/relay1/commands
with the payload:

{
     "command": "SET_STATE",
     "value": "ON"
}

Or you can do the same with the RGB for test it:
topic:
homeassistant/zipato/zipatile/youridzipatile/rgb/commands
payload:

{
    "command": "SET_STATE",
    "value": "FF0000"
}

or:

{
    "command": "SET_STATE",
    "value": "0000FF",
    "parameters": {
        "BRIGHTNESS": "50"
    }
}

if not, maybe you should re-configure your mqtt broker… :sweat_smile:

They (RGB, relay) don’t work either. My mqtt broker can still receive Zipatile sensor data but not able to control the device. Recently I’ve submitted a ticket to Zipato, but I don’t expect that they will answer anytime soon…

Thanks for the help so far. I will keep you and the community updated if I can reach any progress

Ok thanks for the information.
It is true that they are not the fastest in the Far West :stuck_out_tongue_closed_eyes: hehe
I wish you can find a solution.
In the meantime, if anything else occurs to me, I’ll let you know

I got an answer from Zipato:

"MQTT is a one way street. We are only a client who sends commands but does not accept any.

If you install firmware 2.1.24 with firmware ID 251 (in the mobile app under firmware you can post an ID) even adding MQTT network throught the webUI will work and all things will be sent to the MQTT client."

So, I assume It won’t work without Zipato…

Wow, sorry to read this. But honestly, I don’t quite understand Zipato’s answer. (At least I’m glad they responded),

@amuntavant thank you for the good information. @horvathgergo I have the exact same issues as you do, on a Zipatile2. I am able to connect to my MQTT broker and see updates from the ZipaTile2 there. But unable to send commands via MQTT. I used to own a Zipatile1, there it worked, and i had the doorbell connected and it was super stable and reacted instantly. I could control the relays as well as the color of the buttons.

I’ve been trying to also set up the MQTT broker from the API on the Zipatile2, as i understood this is another thing than the internal one. It is very confusing, anyways I have also not been able to get anywhere with that. I’ve opened yet another ticket with Zipato. Lets see if they can fix it this time :slight_smile: