#Does anyone know how to help me how to get all the information from our sensors and save it to a csv
1 messages · Page 1 of 1 (latest)
So, not just motion sensors?
They are AQARA brand motion sensors.
What is your end goal here? You keep asking different questions, and it isn't clear what you're trying to actually do
I have a home assistant and I have 3 motion sensors connected and I need to extract all the information from the sensors to a csv file
What does that mean though?
Do you want a CSV of when each sensor detected motion (times and name of sensor)?
Do you want a CSV listing everything the sensor can report, every time it updates?
Do you want a one off extract of the history
What are you doing to do with this CSV?
I don't know if I'm writing English well, I'm using the translator since I'm from Colombia and I speak Spanish
yes I want a CSV of when each sensor detects motion (times and sensor name)
I have updated the example in https://www.codepile.net/pile/D1649qNK
You can extend that to as many sensors as it needs
and the code where I write it?
You put all of that in configuration.yaml
I've even made the edits to ensure it won't cause you problems
You need to change lines 12 to 14 to be the actual sensors, how ever many you have
So I take the code that you gave me and edit line 12 and 14 with the name of my sendore?
And where is the file saved?
