Adds a service freeathome.dump that dumps the getAll XML to a file into the Home Assistant config folder. This way, users won't need a working Python installation in order to send us debugging information.
Usage:
Go to Developer Tools -> Services
Enter Service: freeathome.dump
Leave Service data empty
Hit Call Service
Result:
2020-10-31 23:48:19 INFO (MainThread) [custom_components.freeathome] Dumped devices for host 10.0.0.2 to freeathome_dump_10.0.0.2.xml
~Let's keep the get-master-message.py around for a while, since it also continues to listen to the XMPP stream and prints e.g. status updates.~
Update
I've added another service that dumps device updates.
Usage:
Go to Developer Tools -> Services
Enter Service: freeathome.monitor
Enter Service data: duration: 5
Hit Call Service
Result:
2020-11-01 22:09:23 INFO (MainThread) [custom_components.freeathome] Start monitoring for device updates at host 10.10.10.2
2020-11-01 22:09:28 INFO (MainThread) [custom_components.freeathome] Finished monitoring for device updates at host 10.10.10.2, dumped to freeathome_monitor_10.10.10.2.xml
Adds a service
freeathome.dump
that dumps the getAll XML to a file into the Home Assistant config folder. This way, users won't need a working Python installation in order to send us debugging information.Usage:
freeathome.dump
Result:
~Let's keep the
get-master-message.py
around for a while, since it also continues to listen to the XMPP stream and prints e.g. status updates.~Update
I've added another service that dumps device updates.
Usage:
freeathome.monitor
duration: 5
Result: