#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)

rotund nacelle
#

Hi, Does anyone know how to help me how to get all the information from our sensors and save it to a csv file

grizzled idol
#

So, not just motion sensors?

rotund nacelle
#

They are AQARA brand motion sensors.

grizzled idol
#

What is your end goal here? You keep asking different questions, and it isn't clear what you're trying to actually do

rotund nacelle
#

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

grizzled idol
#

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?

rotund nacelle
#

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)

rotund nacelle
#

and the code where I write it?

grizzled idol
#

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

rotund nacelle
#

So I take the code that you gave me and edit line 12 and 14 with the name of my sendore?

grizzled idol
#

You may need more lines there, or less

rotund nacelle
#

And where is the file saved?