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 b3364f424b3415b84a6461009f1c4ca69376ec73
1 change: 1 addition & 0 deletions egi/egi.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ 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