jheling / freeathome

Free@Home component for Home Assistant
103 stars 37 forks source link

Fixed writing monitor file and added date/time to filename #112

Closed EnricoBilla closed 2 years ago

EnricoBilla commented 2 years ago

Hi, I was trying the new PR #111 but I encountered a strange error where the SysAP disconnected while I was monitoring the XMPP communication. The outcome was a total crash of the freeathome integration, I just added a try/except to solve this.

I also added the date and time of the monitoring in the filename in order to save multiple sessions.