def simul_update_schedule(): device_id = 'labs1' relsen_id = 'POWER2' timer_list = [["6:20", "7:05"], ["12:30", "14:45"], ["17:0", "19:10"]] repeat = False if b.update_timer(device_id, relsen_id, timer_list, repeat): return {'result': 'schedule for labs1 updated'} else: return {'error': 'device schedule could not be updated'}
def test(): b.bridge_test_method() return (render_template('tester.html'))
def links(): result = b.dump_network_info() dprint(result) if ('error' in result): return (result) return render_template('links.html', SerVar=result)