Configuration help with "Alarm system - Egardia"

Hello. I try to connect my Egardia Alarm system to HA with the configuration as found in the docs.


  • platform: egardia
    host: xxx
    username: xxx
    password: xxx

I can reach the alarm system from an explorer and login. Si I’m sure that this part is working.

After starting up the HA, the alarm control panel doesn’t show up and I’m receiving errors in the log file:

2017-11-23 13:00:53 ERROR (MainThread) [homeassistant.components.alarm_control_panel] Error on device update!
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/”, line 216, in async_add_entity
yield from entity.async_device_update(warning=False)
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/”, line 309, in async_device_update
yield from self.hass.async_add_job(self.update)
File “/usr/lib/python3.6/asyncio/”, line 331, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.6/asyncio/”, line 244, in _wakeup
File “/usr/lib/python3.6/asyncio/”, line 244, in result
raise self._exception
File “/usr/lib/python3.6/concurrent/futures/”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.6/site-packages/homeassistant/components/alarm_control_panel/”, line 166, in update
File “/usr/lib/python3.6/site-packages/homeassistant/components/alarm_control_panel/”, line 157, in parsestatus
if status.upper() == k][0])

Is there somebody who can help me please.
Thanks in advance

There was an update to this component in the newest HA update. Have you tried that yet? I am also currently having an issue with this new version, no new entities appear in HA. @Jeroenterheerdt could you maybe be so kind and give us an updated walk through of how to set Egardia up and how to display the current status of the system and sensors in the ui?

You should have to do anything. If you had Egardiaserver running before, stop and disable it. Then update Hass and it should work. If not check the log. Sensor support is not there yet, this update just eliminates the need for the separate Egardiaserver service. Also note that you can use this component without using the built-in Egardiaserver but that would not pass along alarm triggered messages, just status. This has not changed by the way in this release.
@homejim I am the dev for this component so please let me know how I can help.

@jeroenterheerdt To login the local system you just need to type: http://ip-adress ?
i can not acces the system

you should yes. http://[the ip address of the alarm control panel on your local system]

yes found it already

Hi @jeroenterheerdt

I have the door sensors in a group and they show if the doors are open or not.

I also want to display the status of the alarmsystem here if its on or off. Any ideay how to do that or point me in the right direction?

what if you just create a group for it?

I can’t find other posts about Egardia so I tought add this to this thread.

Using the config on Egardia - Home Assistant does not work in my configuration.


gives errors on the components.

when edited to



it works like a charm.

The logbook also shows entries disarmed, armed_home and so. But is this all what is shown? Is 't possible to show the device that triggered the alarm? Where are the codes shown that are added to the configuration?

I/m running with woonveilig and got it working.
Now I want to capture the codes so I can work with automations when the alarm triggers.

How do I get this “sudo python3” working…


unfortunately egardia does not expose which device triggered the alarm.

just run it on any python installation - could be another computer - does not need to be on a raspi.

Aha oké thanks i’ll give it a try with terminal in my mac.

1 Like

I have all the codes and it’s partially working.

ip://[email protected]:52010/CID i have this as reporting url. Just is not accepted.

Sometimes the alarm is going to unknown. It’s happening spontaneous after it’s for hours on disarmed.

Any idea how it comes?

Good Morning
First I want to apologize for my level of English. Next, I would like to ask for help to integrate my Egardia alarm into Home Assistant (Hassio).

I have Hassio installed on a rasbperry 4, which I access from Windows with the Filezilla application, to upload or download files. I have not got my Laptop to access Samba directly.
I have downloaded github the python library from to my windows laptop.
I have installed Python on my laptop.
My question is how to run egardiadevice, egardiaserver, test_egardiadevice, test_egardiaserver.
In what situation should the alarm be?
Where to run from? With what parameters? What results can i get in each file? Where will I see the codes?
My data would be:

  • IP Raspberry
  • IP Alarm device
  • Model Gate-03


other screen shots:



Can you see my problem?

you are missing the ‘requests’ module for python. make sure it is installed!

Ok @jeroenterheerdt. I did not have the Requests module installed. I have already installed it.
Now when executing egardiaserver I get the following message: main: DEBUG Received new status code from alarm system: armed . when i run test_egardiaserver.
But I don’t see the codes.
test_egardiadevice works fine: weapon, disarm the alarm.
test_egardiaserver sends a message: Sent: [status: armed]
Received: ?


so the code is ‘armed’ in your case apparently. if you switch the status of the alarm to anything else - unarm it for example, you should see another code appearing. if you turn off of the sound of the alarm and then trigger the alarm after arming it you should see some code indicating it was triggered. this code is going to be unique (probably) per sensor that was triggered so you would have to trigger it for every single sensor you have, after first disarming/arming it again. If you have not read please do so. Also this helps: Finally, note that I have since moved and do not own a Egardia alarm any longer so there is only so much I can do.