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
Prev Previous commit
Next Next commit
Update egi.py
  • Loading branch information
luke-iqt committed Jan 23, 2021
commit 5167de6f546069c9fa41c2b57b9781a1a69ca149
1 change: 0 additions & 1 deletion egi/egi.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ def on_disconnect(client, userdata, rc):
#if timeHeartbeat < time.mktime(time.gmtime()):
# timeHeartbeat = time.mktime(time.gmtime()) + 10
# clientLocal.publish(local_topic+"Heartbeat","EGI-"+ID+" Heartbeat")
logging.info("Publishing " + state + " to " + local_topic)
if timeTrigger < time.mktime(time.gmtime()):
timeTrigger = time.mktime(time.gmtime()) + 10
clientLocal.publish(local_topic,state)
Expand Down