Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Egi testing #5

Merged
merged 15 commits into from
Feb 3, 2021
Next Next commit
Update egi.py
  • Loading branch information
luke-iqt committed Jan 22, 2021
commit b4dd70cd97fbc50e1aed1f3f126aa255ab67dbc0
3 changes: 2 additions & 1 deletion egi/egi.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,6 @@ def on_disconnect(client, userdata, rc):
clientLocal.publish(local_topic+"/Heartbeat","EGI-"+ID+" Heartbeat")
if timeTrigger < time.mktime(time.gmtime()):
timeTrigger = time.mktime(time.gmtime()) + 10
print("sending message: " + state)
clientLocal.publish(local_topic,state)
time.sleep(0.001)
time.sleep(0.1)