Hi
I am trying to copy a system file created when using 1 wire temperature sensors so that i can match it against a v-lookup function in a CSV file to print out the room name and not the 28-**** identifier code with the temperature reading
I want to copy the
/sys/bus/w1/devices/w1_bus_master1/w1_master_slaves
system file at each reboot as this is when attached 1 wire temperature sensors (especially new ones) are attached
I think i have a syntax problem with the following
shutil.copy(/sys/bus/w1/devices/w1_bus_master1/w1_master_slaves, /home/pi/Home_Control/w1_connected_ids.csv, , )
as it says that i have a syntax error near unexpected token ...
Do I need to use ' ' around the src and dst paths? or do i need a file type for the w1_master_slaves source file
Any help would be great
Thanks
The Piemaker