Skip to content
Snippets Groups Projects
Commit dc09dfc0 authored by REMY Laurent's avatar REMY Laurent
Browse files

Node-RED

parent 6f7c6652
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
import time,sys
print("La demmande a été lancer")
#print(sys.argv[1])
time.sleep(2)
print("Fin la map et à jour")
......@@ -25,7 +25,7 @@ async def main():
try:
r = driver.getlep()
if r:
print(r)
#print(r)
mqtt.publish(r['id'],json.dumps(r))
influx.write_dist(r)
except KeyboardInterrupt:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment