Python Programm auf Raspberry - Wert in SQLite Tabelle eintragen
€8-30 EUR
Færdiggjort
Slået op næsten 6 år siden
€8-30 EUR
Betales ved levering
Hallo,
ich habe die rtl_433 Software installiert und kann im DOS-Fenster mit folgenden Befehl
rtl_433 -G
die Signale meines PIR abrufen:
{"time" : "2018-06-25 09:41:22", "model" : "Generic Remote", "id" : 53535, "cmd" : 222, "tristate" : "1F0F0F111F1!"}
{"time" : "2018-06-25 09:41:22", "model" : "Generic Remote", "id" : 53535, "cmd" : 222, "tristate" : "1F0F0F111F1!"}
{"time" : "2018-06-25 09:41:22", "model" : "Generic Remote", "id" : 53535, "cmd" : 222, "tristate" : "1F0F0F111F1!"}
Nun möchte ich diese Signale in meinem Python Programm abrufen und in eine SQLite Tabelle eintragen.
Leider klappt das mit
process = [login to view URL]('rtl_433 -G')
oder
process = [login to view URL](['rtl_433', '-G'], stdout=[login to view URL])
nicht bzw. habe ich hier wahrscheinlich noch einen Anfängerfehler drin :-(
[Removed for encouraging offsite communication which is against our Terms and Conditions -Section 13:Communication With Other Users]
I am an experienced Python developer familiar with various APIs. I have developed various systems with Raspberry Pi. Since, I am experienced with Raspberry Pi and database concepts, I will complete this project within 1 day. Thank you for the opportunity